1
0
forked from GitHub/gf-core

bugfix for predefined operations

This commit is contained in:
krangelov
2021-10-21 08:55:22 +02:00
parent 64ccd82958
commit 38d189f8ef
3 changed files with 4 additions and 1 deletions

View File

@@ -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"

View File

@@ -1,5 +1,6 @@
4
5
Predef.length Predef.nonExist
\v0 -> Predef.length v0
"ab"
"cd"