News for hackers. Stuff that matters.
Re:Better Java – Resources for Writing Modern Java by Peaker on Sunday September 20, 2015 @02:45AM (#10246768)
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.

There are no comments on this comment yet.