[Haskell-cafe] Using _ on the RHS of an equation?

James Cook mokus at deepbondi.net
Tue Apr 5 18:00:50 CEST 2011


It's quite hacky, but this can be done with CPP and quasiquoting  
(incidentally, it would be _REALLY_ nice if 'undefined' and 'error'  
had similar source-location-dependent error messages by default):

https://github.com/mokus0/junkbox/commit/bad59f486c3457f1d880a1cfa5b1baa33aff4ade

-- James



More information about the Haskell-Cafe mailing list