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

  param Bool = True | False ;

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

}