
On Feb 24, 2010, at 20:51 , Ivan Miljenovic wrote:
On 25 February 2010 11:24, Don Stewart
wrote: Seriously?? Doesn't that break the module system?
Maybe I misunderstood it; all I know is that Curt Sampson says he uses this kind of stuff for testing purposes by not having to export functions.
See the -fwarn-unused-binds section at http://www.haskell.org/ghc/docs/latest/html/users_guide/options-sanity.html
As I read that, the leading underscore doesn't export anything; it just suppresses any "unused" warning for the symbol (which is consistent with the other uses of leading underscore in warnings; it's also consistent with binding to _ to throw a result away). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH