[Haskell-cafe] Re: ANNOUNCE: HNOP 0.1

Simon Marlow simonmarhaskell at gmail.com
Fri Jun 30 12:26:40 EDT 2006


My congratulations to the development team; this is an important 
contribution to the community.

You might want to use {-# OPTIONS_GHC #-} rather than {-# OPTIONS #-}, 
unless compatibility with older versions of GHC is a goal.  Still, the 
pragma only turns on warnings, so it's harmless.

Ashley Yakeley wrote:

> One interesting line of development would be to spin off the core 
> functionality into a separate library, to provide no-op services to 
> other Haskell applications. I'm thinking something like this:
> 
>   noop :: IO ()  -- generalise to other Monads?

Only IO makes sense really, since by definition every non-IO expression 
does nothing, so the only interesting way to do nothing is in the IO 
monad.  I imagine this interface would be relatively stable.  I'm not 
sure at this stage where in the module hierarchy we should place it, though.

Cheers,
	Simon


More information about the Haskell-Cafe mailing list