Next: Nondeterminism and I/O
Up: An Overview of Curry
Previous: An Overview of Curry
Values in Curry are, similarly to functional
or logic languages, data terms constructed from constants
and data constructors. For instance, the datatype declarations
data Bool = True | False
data List a = [] | a : List a
introduce the datatype
Next: Nondeterminism and I/O
Up: An Overview of Curry
Previous: An Overview of Curry
F. Steiner
Sat Sep 4 22:03:32 MEST 1999