doc-src/Tutorial/Datatype/mutnested
changeset 5851 15ce4c1c8313
child 9255 2ceb11a2e190
equal deleted inserted replaced
5850:9712294e60b9 5851:15ce4c1c8313
       
     1 datatype expr = Var string | Lam string expr | App expr expr
       
     2               | Data data
       
     3 and      data = Bool bool | Num nat
       
     4               | Closure string expr "(string * data)list"