1. 12
  1.  

  2. 3

    For my own development I generally stick with the more brute force approach the author starts with. let foo = failwith "nyi". I don’t know I’d switch to the shorter solution or not, I haven’t found doing the failwith approach to be a bottleneck in development.

    1. 2

      Yeah, it seems like a little bit of a complex trick to achieve such a small programming convenience. I do a similar thing all the time with Haskell’s undefined and don’t find it troublesome.

      1. 2

        This is hole driven development, which GHC is going to have actual support for in the future. It’s going to be awesome!

        1. 3

          To be clear, I’m already using 7.8.3. To be doubly clear—if you are too, then replace undefined with _. It’s awesome!

          (Not actually directed at puffnfresh who I’m certain already knows this.)