Continue and close in Loop.while
Loop.while takes a function of type (a, b, c, ...) => (a, b, c, ...)
It might make sense for continue
and stop
to be called as continue(a,b,c)
and not continue((a,b,c))
or, alternatively to use a sum type and make it Continue (a, b, c)
and Stop (a, b, c)
...