NewOptionType returns a new ListType.
(elem ast.BaseTerm)
| 73 | |
| 74 | // NewOptionType returns a new ListType. |
| 75 | func NewOptionType(elem ast.BaseTerm) ast.ApplyFn { |
| 76 | return newTypeExpr(OptionType, elem) |
| 77 | } |
| 78 | |
| 79 | // NewListType returns a new ListType. |
| 80 | func NewListType(elem ast.BaseTerm) ast.ApplyFn { |