weak head normal form
Transcription
-
- US Pronunciation
- US IPA
-
-
- US Pronunciation
- US IPA
-
Definition of weak head normal form words
- noun Technical meaning of weak head normal form (reduction, theory) (WHNF) A lambda expression is in weak head normal form (WHNF) if it is a head normal form (HNF) or any lambda abstraction. I.e. the top level is not a redex. The term was coined by Simon Peyton Jones to make explicit the difference between head normal form (HNF) and what graph reduction systems produce in practice. A lambda abstraction with a reducible body, e.g. \ x . ((\ y . y+x) 2) is in WHNF but not HNF. To reduce this expression to HNF would require reduction of the lambda body: (\ y . y+x) 2 --> 2+x Reduction to WHNF avoids the name capture problem with its need for alpha conversion of an inner lambda abstraction and so is preferred in practical graph reduction systems. The same principle is often used in strict languages such as Scheme to provide call-by-name evaluation by wrapping an expression in a lambda abstraction with no arguments: D = delay E = \ () . E The value of the expression is obtained by applying it to the empty argument list: 1
Information block about the term
Parts of speech for Weak head normal form
noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation
See also
Matching words
- Words starting with w
- Words starting with we
- Words starting with wea
- Words starting with weak
- Words starting with weakh
- Words starting with weakhe
- Words starting with weakhea
- Words starting with weakhead
- Words starting with weakheadn
- Words starting with weakheadno
- Words starting with weakheadnor
- Words starting with weakheadnorm
- Words starting with weakheadnorma
- Words starting with weakheadnormal
Was this page helpful?
Thank you for your feedback! Tell your friends about this page
Tell us why?