lvmlib-1.1: The Lazy Virtual Machine (LVM).

Safe HaskellNone
LanguageHaskell98

Lvm.Core.Utils

Documentation

unzipBinds :: [Bind] -> ([Id], [Expr]) Source

mapBinds :: (Id -> Expr -> Bind) -> Binds -> Binds Source

mapAccumBinds :: (a -> Id -> Expr -> (Bind, a)) -> a -> Binds -> (Binds, a) Source

zipBindsWith :: (a -> Id -> Expr -> Bind) -> [a] -> Binds -> Binds Source

mapAlts :: (Pat -> Expr -> Alt) -> Alts -> Alts Source

zipAltsWith :: (a -> Pat -> Expr -> Alt) -> [a] -> Alts -> Alts Source

mapAccum :: (a -> b -> (c, a)) -> a -> [b] -> ([c], a) Source