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

Safe HaskellNone

Lvm.Core.Utils

Documentation

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

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

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

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

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

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