head-strict
Transcription
-
- US Pronunciation
- US IPA
-
-
- US Pronunciation
- US IPA
-
Definition of head-strict word
- noun Technical meaning of head-strict (theory) A head-strict function will not necessarily evaluate every cons cell of its (list) argument, but whenever it does evaluate a cons cell it will also evaluate the element in the head of that cell. An example of a head-strict function is beforeZero :: [Int] -> [Int] beforeZero [] = [] beforeZero (0:xs) = [] beforeZero (x:xs) = x : beforeZero xs which returns a list up to the first zero. This pattern of evaluation is important because it is common in functions which operate on a list of inputs. See also tail-strict, hyperstrict. 1
Information block about the term
Parts of speech for Head-strict
noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation
See also
Matching words
- Words starting with h
- Words starting with he
- Words starting with hea
- Words starting with head
- Words starting with heads
- Words starting with headst
- Words starting with headstr
- Words starting with headstri
- Words starting with headstric
- Words starting with headstrict
Was this page helpful?
Thank you for your feedback! Tell your friends about this page
Tell us why?