2 lines
75 B
Standard ML
2 lines
75 B
Standard ML
fun flatten (L x) = [x]
|
|
| flatten (N xs) = List.concat (map flatten xs)
|