Ian Mackenzie
Ian Mackenzie
For what it's worth I don't think option 1 is so bad...are there actually many cases where you might want to write a fraction? One nice thing about option 1...
Option 3 is pretty annoying if you have examples where the result is (unavoidably) irrational though...if you wanted to write out an example for a circle area or sphere volume...
The `foo bar --> sin bar` thing is hard to figure out how to deal with though...I think the only not-overly-magical solution there is to just specify a floating point...
Perhaps simpler: expose `stdin` and `stdout` as `File` objects?
I like this idea, but I'd be inclined to modify it slightly: ```elm collectAll : (a -> Script x b) -> List a -> Script ( x, List x )...
I started looking at this and realized that `do`, `each` and `sequence` could all potentially use the same treatment - but following the same pattern, `eachAll` is a travesty 😛...
Here's another possibility I just thought of (open to alternate names for `ExecutionPolicy` and its various implementations): ```elm -- Opaque type that defines how to run a list of scripts...
Yeah, I definitely think that the "fail immediately" version should be the default (the non-`*With` version) so you don't have to worry about execution policies at all in the simple...