partial evaluation for (+)

This commit is contained in:
krangelov
2021-10-05 15:37:42 +02:00
parent 93c2f47752
commit 3c4e7dd20c
3 changed files with 9 additions and 0 deletions

View File

@@ -31,3 +31,5 @@ cc "x"++SOFT_BIND++"y"
cc "x"++SOFT_SPACE++"y"
cc "x"++CAPIT++"y"
cc "x"++ALL_CAPIT++"y"
cc "a"+"b"
cc eqInt (length ("a"+"b")) 2

View File

@@ -32,3 +32,5 @@ CallStack (from HasCallStack):
"x" ++ Predef.SOFT_SPACE ++ "y"
"x" ++ Predef.CAPIT ++ "y"
"x" ++ Predef.ALL_CAPIT ++ "y"
"ab"
Predef.PTrue