Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Ann exp a where
- data Signature exp pred a where
- lam :: (pred a, FreeExp exp, FreePred exp a) => (exp a -> Signature exp pred b) -> Signature exp pred (a -> b)
- name :: (pred a, FreeExp exp, FreePred exp a) => String -> (exp a -> Signature exp pred b) -> Signature exp pred (a -> b)
- ret :: pred a => String -> exp a -> Signature exp pred a
- ptr :: pred a => String -> exp a -> Signature exp pred a
- arg :: (pred a, FreeExp exp, FreePred exp a) => Ann exp a -> (exp a -> exp b) -> (exp b -> Signature exp pred c) -> Signature exp pred (a -> c)
- translateFunction :: forall m exp a. (MonadC m, CompExp exp) => Signature exp CType a -> m ()
- argProxy :: Signature exp pred (b -> c) -> Proxy b
Language
Signature annotations
Combinators
lam :: (pred a, FreeExp exp, FreePred exp a) => (exp a -> Signature exp pred b) -> Signature exp pred (a -> b) Source #
name :: (pred a, FreeExp exp, FreePred exp a) => String -> (exp a -> Signature exp pred b) -> Signature exp pred (a -> b) Source #
arg :: (pred a, FreeExp exp, FreePred exp a) => Ann exp a -> (exp a -> exp b) -> (exp b -> Signature exp pred c) -> Signature exp pred (a -> c) Source #