mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Predef.Ints is of type PType not Type
This commit is contained in:
@@ -13,7 +13,7 @@ resource Predef = {
|
|||||||
|
|
||||||
oper Error : Type = variants {} ; -- the empty type
|
oper Error : Type = variants {} ; -- the empty type
|
||||||
oper Int : Type = variants {} ; -- the type of integers
|
oper Int : Type = variants {} ; -- the type of integers
|
||||||
oper Ints : Int -> Type = variants {} ; -- the type of integers from 0 to n
|
oper Ints : Int -> PType = variants {} ; -- the type of integers from 0 to n
|
||||||
|
|
||||||
oper error : Str -> Error = variants {} ; -- forms error message
|
oper error : Str -> Error = variants {} ; -- forms error message
|
||||||
oper length : Tok -> Int = variants {} ; -- length of string
|
oper length : Tok -> Int = variants {} ; -- length of string
|
||||||
|
|||||||
Reference in New Issue
Block a user