Safe Haskell | None |
---|---|
Language | Haskell98 |
Vectorise variables and literals.
Documentation
vectBndrNew :: Var -> FastString -> VM VVar Source
Vectorise a binder variable, along with its attached type, but give the result a new name.
vectBndrIn :: Var -> VM a -> VM (VVar, a) Source
Vectorise a binder then run a computation with that binder in scope.
vectBndrNewIn :: Var -> FastString -> VM a -> VM (VVar, a) Source
Vectorise a binder, give it a new name, then run a computation with that binder in scope.
vectBndrsIn :: [Var] -> VM a -> VM ([VVar], a) Source
Vectorise some binders, then run a computation with them in scope.