1{-# LANGUAGE OverloadedStrings #-}
2-- wraps up primitives plus other basic data types
3module ProjectM36.DataTypes.Basic where
4import ProjectM36.DataTypes.Primitive
7basicTypeConstructorMapping :: TypeConstructorMapping
8basicTypeConstructorMapping = primitiveTypeConstructorMapping ++ moreTypes
10 moreTypes = [(ADTypeConstructorDef "Day" ["a"],
11 [DataConstructorDef "Day" [DataConstructorDefTypeConstructorArg (PrimitiveTypeConstructor "Int" intAtomType)]]),
12 (ADTypeConstructorDef "Maybe" ["a"],
13 [DataConstructorDef "Nothing" [],
14 DataConstructorDef "Just" [DataConstructorDefTypeVarNameArg "a"]])
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list