glam
Safe HaskellSafe-Inferred
LanguageHaskell2010

Glam.Utils

Synopsis

Parsing

Type checking

(|-) :: MonadReader r m => (r -> r) -> m a -> m a infix 1 Source #

lookupLevel :: Eq a => a -> [(a, b)] -> Maybe (b, Int) Source #

Like lookup, but also returns the de Bruijn level of the variable.

Orphan instances

a ~ String => IsString (Parser a) Source # 
Instance details

Methods

fromString :: String -> Parser a #