| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.PTS.WHNF
Synopsis
- class WHNF t where
Documentation
Weak-head normal form.
>>>prettyPut $ whnf (lambdaStarIdentity @@ "Bool" @@ "True" :: Term LambdaStar)True
Note: the evaluation proceeds even for ill-typed terms:
>>>prettyPut $ whnf (lambdaStarIdentity @@ "Int" @@ "True" :: Term LambdaStar)True
TODO: Othen than App/Lam pairs
Minimal complete definition