1
Sep2 = List +
2
consts sep :: "'a * 'a list => 'a list"
3
recdef sep "measure (%(a,xs). length xs)"
4
"sep(a, x#y#zs) = x # a # sep(a,y#zs)"
5
"sep(a, xs) = xs"
6
end