Copyright | (C) 2017-18 Jakub Daniel |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Jakub Daniel <jakub.daniel@protonmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- data IfThenElseF a (s :: Sort) where
- IfThenElse :: Sing s -> a BooleanSort -> a s -> a s -> IfThenElseF a s
- ite :: forall f s. (IfThenElseF :<: f, SingI s) => IFix f BooleanSort -> IFix f s -> IFix f s -> IFix f s
Documentation
data IfThenElseF a (s :: Sort) where Source #
A functor representing a conditional value (if-then-else)
IfThenElse :: Sing s -> a BooleanSort -> a s -> a s -> IfThenElseF a s |