summaryrefslogtreecommitdiff
path: root/examples/features/Param.gf
blob: 0b5ed24538da0ad0402eb7618b8158f3c81c13e9 (plain)
1
2
3
4
5
6
7
8
9
10
resource Param = {

  param Bool = True | False ;

  oper and : Bool -> Bool -> Bool = \x,y -> case x of {
    True => y ;
    _ => False
    } ;

}