[Haskell-cafe] indexed writer monad

Magnus Therning magnus at therning.org
Wed Apr 8 12:36:52 UTC 2015


On 8 April 2015 at 14:33, Nicholls, Mark <nicholls.mark at vimn.com> wrote:
> Hmmm...remember me.
>
> I have returned to this....after some time.
>
> My Haskell is embryonic.
>
> Control.Category seems to be available without installing any magic (maybe I've installed that magic before).
>
>> import Control.Category
>
> Success...
>
> An IxMonad seems a harder feat.
>
> Installing packages and using them a leap into the unknown for me...I can drive a car, but assembling one is harder.
>
> I install the indexed package by using cabal?
>
> Cabal install indexed?
>
> https://hackage.haskell.org/package/indexed
>
> Seemed to do something.
>
> Then I want to use that package...
>
> So I want to import it..
> It all seems to live in a module called Control.Monad.Indexed
>
> So...
>
>> import Control.Monad.Indexed
>
> Would have been my guess
>
> Boom...unknown...

Possibly silly question but... did you restart `ghci` after installing indexed?

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus


More information about the Haskell-Cafe mailing list