Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- pcompare :: forall (a :: S -> Type) (b :: S -> Type) (s :: S). POrd a => Term s a -> Term s a -> Term s b -> Term s b -> Term s b -> Term s b
- pcond :: forall (s :: S) (a :: S -> Type). [Term s a -> Term s a] -> Term s a -> Term s a
- passert :: forall (a :: PType) (s :: S). Term s PString -> Term s PBool -> Term s a -> Term s a
Documentation
:: forall (a :: S -> Type) (b :: S -> Type) (s :: S). POrd a | |
=> Term s a | First |
-> Term s a | Second |
-> Term s b | Result if first |
-> Term s b | Result if first |
-> Term s b | Result if first |
-> Term s b | Final outcome based on test |
Perform a 'three-way' comparison on two Term
s, then return a result
based on the outcome.
Since: 1.0.0