1module ProjectM36.TypeConstructor where
4name :: TypeConstructor -> TypeConstructorName
5name (ADTypeConstructor name' _) = name'
6name (PrimitiveTypeConstructor name' _) = name'
7name (RelationAtomTypeConstructor _) = error "name called on RelationAtomTypeConstructor"
8name (TypeVariable _) = error "name called on TypeVariable" --v --not really the name, but this is used for display only
10arguments :: TypeConstructor -> [TypeConstructor]
11arguments (ADTypeConstructor _ args) = args
12arguments (PrimitiveTypeConstructor _ _) = []
13arguments (RelationAtomTypeConstructor _) = []
14arguments (TypeVariable _) = []
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