Added a List type to the AST

This commit is contained in:
Neil Brown 2007-10-25 10:02:50 +00:00
parent cbc6a70b30
commit 201c6ab754

View File

@ -114,6 +114,8 @@ data Type =
-- | An array.
-- For N-dimensional arrays, the [Dimension] list will be of length N.
| Array [Dimension] Type
-- | A (linked) list that allows element-wise removal, and easy concatentation. Has dynamic size.
| List Type
-- | A user-defined data type.
| UserDataType Name
-- | A record type.