summaryrefslogtreecommitdiff
path: root/grammars/prelude
diff options
context:
space:
mode:
authoraarne <unknown>2003-11-21 15:28:25 +0000
committeraarne <unknown>2003-11-21 15:28:25 +0000
commit9cd2c273a273ded21c637908f2dfd3c07e785f36 (patch)
tree67fbc6ce2186eca4ce590f37de76c6aeb1227f96 /grammars/prelude
parent6d99debdff614708454e899201cd6f14ec353049 (diff)
Working on with new resource API.
Diffstat (limited to 'grammars/prelude')
-rw-r--r--grammars/prelude/Prelude.gf3
1 files changed, 2 insertions, 1 deletions
diff --git a/grammars/prelude/Prelude.gf b/grammars/prelude/Prelude.gf
index 5d8734d04..8c29232e7 100644
--- a/grammars/prelude/Prelude.gf
+++ b/grammars/prelude/Prelude.gf
@@ -42,7 +42,7 @@ oper
-- parametric order between two strings
preOrPost : Bool -> Str -> Str -> Str = \pr,x,y ->
- if_then_else Str pr (x ++ y) (y ++ x) ;
+ if_then_Str pr (x ++ y) (y ++ x) ;
-- Booleans
@@ -59,6 +59,7 @@ oper
orB : (_,_ : Bool) -> Bool = \a,b -> if_then_else Bool a True b ;
notB : Bool -> Bool = \a -> if_then_else Bool a False True ;
+ if_then_Str : Bool -> Str -> Str -> Str = if_then_else Str ;
-- zero, one, two, or more (elements in a list etc)