News for hackers. Stuff that matters.
Re:Use Haskell for shell scripting by mercurial on Friday January 30, 2015 @11:39AM (#8972798)
Yes, that's exactly what I wouldn't want to type. Also, your record is going to blow up in the likely case another utility uses a recursive flag, because of Haskell's pervasive namespacing problems.
Re:Use Haskell for shell scripting by tel on Friday January 30, 2015 @12:56PM (#8973259)
It probably wouldn't be too hard to do something like

    grep "foo"
      & "recursive" <~ True
      & "maxCount"  <~ 100
in a typesafe way. It just probably wouldn't be worth the complexity. It also probably couldn't be a straight `IO` action then, which was a design constraint of Gabriel's.