mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-20 18:29:33 -06:00
started a directory of grammars testing testgf3 features
This commit is contained in:
10
examples/features/Param.gf
Normal file
10
examples/features/Param.gf
Normal file
@@ -0,0 +1,10 @@
|
||||
resource Param = {
|
||||
|
||||
param Bool = True | False ;
|
||||
|
||||
oper and : Bool -> Bool -> Bool = \x,y -> case x of {
|
||||
True => y ;
|
||||
_ => False
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user