OnlineWoerterBuecher.de
Internes

Lexikon


head-strict


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. (1995-05-11)

In addition suitable contents:
[ = ] [ ad ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ argument ] [ at ] [ au ] [ b ] [ be ] [ ca ] [ cell ] [ ch ] [ co ] [ com ] [ con ] [ cons ] [ do ] [ du ] [ ec ] [ ee ] [ element ] [ er ] [ era ] [ es ] [ et ] [ evaluation ] [ fi ] [ file ] [ fo ] [ for ] [ function ] [ gu ] [ h ] [ hat ] [ hr ] [ id ] [ il ] [ import ] [ in ] [ input ] [ io ] [ ir ] [ is ] [ it ] [ Lex ] [ li ] [ list ] [ ls ] [ lu ] [ ly ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ no ] [ np ] [ ns ] [ om ] [ op ] [ pa ] [ pe ] [ ph ] [ pl ] [ port ] [ query ] [ rc ] [ re ] [ ro ] [ S ] [ sa ] [ se ] [ so ] [ st ] [ strict ] [ T ] [ tail-strict ] [ th ] [ theory ] [ to ] [ tr ] [ tt ] [ ua ] [ um ] [ up ] [ us ] [ va ] [ ve ] [ Z ] [ zero ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (2705 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.095 Seconds, with 16 Database-Queries
Zurück zur Startseite