3 lines
87 B
Standard ML
3 lines
87 B
Standard ML
datatype 'a nestedList =
|
|
L of 'a (* leaf *)
|
|
| N of 'a nestedList list (* node *)
|