|Subject:||Re: [Haskell-cafe] ghc -e|
|Date:||Wed, 13 Jan 2010 22:25:32 +0100 CET|
On Wed, 6 Jan 2010, Gwern Branwen wrote:
On Wed, Jan 6, 2010 at 7:23 PM, Tony Morris <[email protected]> wrote:ghc -e "import Control.Monad; forM [[1,2,3]] reverse"As of 6.10.2, the bug whereby the GHC API lets you use functions from anywhere just by naming them (Java-style) has not been fixed: $ ghc -e "Control.Monad.forM [[1,2,3]] reverse" package flags have changed, resetting and loading new packages...
Why is this a bug? This is the intended behaviour in GHCi and you can include and exclude packages with -package and -hide-package options, respectively.
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [Haskell-cafe] Re: what is *hack*?, Michael Snoyman|
|Next by Date:||Re: [Haskell-cafe] Re: looking for origin of quote on preprocessors and language design, Henning Thielemann|
|Previous by Thread:||Re: [Haskell-cafe] ghc -e, Gwern Branwen|
|Next by Thread:||Re: [Haskell-cafe] ghc -e, Reid Barton|
|Indexes:||[Date] [Thread] [Top] [All Lists]|