Backport from sid to buster
[hcoop/debian/mlton.git] / regression / cycle.sml
CommitLineData
7f918cf1
CE
1datatype t = T of u | V
2and u = U of t * t
3
4fun f V = T (U (f V,f V))
5 | f (T _) = V
6
7val _ = f V