lama_byterun/regression/test088.lama

8 lines
114 B
Text
Raw Permalink Normal View History

2020-01-05 03:33:17 +03:00
fun len(l) {
case l of
_ : xs -> len(xs) + 1
|{} -> 0
esac
}
write(len({}));
write(len({1, 2, 3}))