2 ms·
It can grow cartesian though. I think the best compromise is to declare a new data type for the argument, such as: data ExecutionDirectory = ExecuteInCWD |
by Peaker 11y ago
It can grow cartesian though.
I think the best compromise is to declare a new data type for the argument, such as:
data ExecutionDirectory = ExecuteInCWD | ExecuteInDir FilePath
And take an ExecutionDirectory instead of a `Maybe FilePath`.
Of course, you need light-weight data declarations for that.