Copyright | (c) Erich Gut |
---|---|
License | BSD3 |
Maintainer | zerich.gut@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
reducing a value to head normal form. This is much weaker then Control.DeepSeq.
Documentation
fromHNFValue :: HNFValue x -> x Source #
from head normal form.
Property Let x'
be in
then holds:HNFValue
x
- If
x'
matches
then the result ofHNFValue
x
isfromHNFValue
x'x
. - If
x'
matches
then evaluationFailure
e
will end up in a throwingfromHNFValue
x'e
.
class HNFData x where Source #
data reducible to head normal form.
tries to reduce a value to its head normal form, throwing an Exception
for
undefined values.
Instances
HNFData Statement Source # | |
Defined in OAlg.Data.Statement.Definition | |
HNFData () Source # | |
Defined in OAlg.Control.HNFData | |
HNFData Bool Source # | |
Defined in OAlg.Control.HNFData | |
HNFData (X x) Source # | |
Defined in OAlg.Data.X | |
HNFData [x] Source # | |
Defined in OAlg.Control.HNFData |