Ah, but you can define it using a recursive function:Range(s) == {s[i] : i \in DOMAIN s}
FlatMap(F(_), seq) ==
LET FM[s \in Seq(Range(seq))] ==
IF s = << >> THEN << >> ELSE F(Head(s)) \o FM[Tail(s)]
IN FM[seq]
FlatMap(F(_), seq) ==
LET RECURSIVE Helper(_)
Helper(s) == IF Len(s) = 0 THEN <<>> ELSE F(Head(s)) \o Helper(Tail(s))