1
0
forked from GitHub/gf-core

Karin C's example

This commit is contained in:
aarne
2004-09-16 14:47:18 +00:00
parent d5c0814180
commit e2f00638e2
55 changed files with 2212 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
resource prologResource = {
oper
app : Str -> Str -> Str =
\pred -> \arg ->
pred ++ "(" ++ arg ++ ")" ;
appHakeOne : Str -> Str =
\arg ->
"["++ arg ++ "]" ;
oper
--with single quotes
--app2 : Str -> Str -> Str -> Str = \pred -> \argH -> \argM -> pred ++ "(" ++ "'" ++ argH ++ ":" ++ argM ++ "'" ++ ")" ;
--without single quotes
--app2 : Str -> Str -> Str -> Str = \pred -> \argH -> \argM -> pred ++ "(" ++ argH ++ ":" ++ argM ++ ")" ;
app3 : Str -> Str -> Str = \argH -> \argM -> argH ++ ":" ++ argM ;
}