Word:

recursive type

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 types, 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)
Browse
Recurrent sensibility
recurrently
recurring
recurring decimal
Recurring series
Recursant
recurse
Recursion
recursion theory
recursive
recursive acronym
recursive definition
recursive descent parser
Recursive Functional Algorithmic Language
Recursive Macro Actuated Generator
recursive routine
-- recursive type --
Recurvate
Recurvation
Recurve
Recurved
Recurviroster
Recurvirostra
Recurvirostral
Recurvirostridae
Recurvity
Recurvous
recusal
Recusancy
Recusant
Recusants
Recusation
Recusative
Definitions Index: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

About this site and copyright information - Online Dictionary Home - Privacy Policy