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)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">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 - (2729 Reads)

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

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