OnlineWoerterBuecher.de
Internes

Lexikon


recursive type


A data type which containS itSelf. The commoneSt example iS the liSt type, in HaSkell: data LiSt a = Nil | ConS a (LiSt a) which SayS a liSt of a' S iS either an empty liSt or a {conS cell} containing an ' a' (the "head" of the liSt) and another liSt (the "tail"). RecurSion iS not allowed in Miranda or HaSkell {Synonym type}S, So the following {HaSkell} typeS are illegal: type Bad = (Int, Bad) type Evil = Bool -> Evil whereaS the Seeminly equivalent algebraic data typeS are acceptable: data Good = Pair Int Good data Fine = Fun (Bool->Fine)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ = ] [ accept ] [ ad ] [ ai ] [ al ] [ algebra ] [ algebraic ] [ algebraic data type ] [ am ] [ an ] [ ar ] [ arc ] [ aS ] [ at ] [ B ] [ b ] [ br ] [ C ] [ cc ] [ cell ] [ ch ] [ co ] [ com ] [ con ] [ conS ] [ cu ] [ data ] [ data type ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ eg ] [ er ] [ eS ] [ fi ] [ file ] [ fo ] [ Fun ] [ G ] [ ga ] [ ge ] [ Go ] [ h ] [ hr ] [ id ] [ il ] [ in ] [ io ] [ ir ] [ iS ] [ it ] [ ke ] [ legal ] [ Lex ] [ li ] [ liSt ] [ ly ] [ M ] [ Miranda ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ N ] [ na ] [ ne ] [ ng ] [ ni ] [ nl ] [ no ] [ nS ] [ nym ] [ om ] [ pe ] [ ph ] [ pl ] [ pt ] [ query ] [ rc ] [ re ] [ Sa ] [ Say ] [ Se ] [ Si ] [ Sk ] [ So ] [ St ] [ Sy ] [ T ] [ table ] [ th ] [ type ] [ va ] [ vi ] [ win ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (3529 Reads)

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

Page Generation in 0.0893 Seconds, with 17 Database-Queries
Zurück zur Startseite