#compute commands¶
The compute commands evaluate terms to their normal forms or weak head normal forms.
Syntax¶
Description¶
#compute <term>— alias for#compute-whnf, computes the weak head normal form (WHNF) of a term#compute-whnf <term>— computes the weak head normal form (WHNF) of a term#compute-nf <term>— computes the full normal form (NF) of a term
These commands are useful for debugging and understanding how terms evaluate. The computed form is printed to the output during typechecking.