Add some more built-in slice functions

This commit is contained in:
Nigel Tao committed 2017-12-21 14:25:00 +11:00
1 parent 339673ae82
commit c59f65674b
2 files changed
+14 -21

No files matched your search

+3 -2
View File
@@ -34,8 +34,9 @@ var (
// typeExprFoo is an *ast.Node MType (implicit type).
var (
typeExprIdeal = a.NewTypeExpr(0, t.IDDoubleZ, nil, nil, nil)
typeExprList = a.NewTypeExpr(0, t.IDDollar, nil, nil, nil)
typeExprGeneric = a.NewTypeExpr(0, t.IDDiamond, nil, nil, nil)
typeExprIdeal = a.NewTypeExpr(0, t.IDDoubleZ, nil, nil, nil)
typeExprList = a.NewTypeExpr(0, t.IDDollar, nil, nil, nil)
typeExprU8 = a.NewTypeExpr(0, t.IDU8, nil, nil, nil)
typeExprU16 = a.NewTypeExpr(0, t.IDU16, nil, nil, nil)