forked from GitHub/gf-core
bugfix for predefined operations
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
i -retain prelude/Predef.gfo
|
||||
cc length "abcd"
|
||||
cc length ("ab"++"cd")
|
||||
cc length nonExist
|
||||
cc <\x -> length x : Str -> Int>
|
||||
cc take 2 "abcd"
|
||||
cc drop 2 "abcd"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
4
|
||||
5
|
||||
Predef.length Predef.nonExist
|
||||
\v0 -> Predef.length v0
|
||||
"ab"
|
||||
"cd"
|
||||
|
||||
Reference in New Issue
Block a user