Re: Hoopl: Combining CheckingFuelMonad with State?

2011-06-24 Thread Antoine Latter
Hi Justin, this message might be better on the haskell-cafe list (or the excellent beginers list!). When you tried to write the get/put implementations, what problems were you running into? Antoine On Sat, Jun 25, 2011 at 7:50 AM, Justin Bailey wrote: > I'd like to carry around some state when

Hoopl: Combining CheckingFuelMonad with State?

2011-06-24 Thread Justin Bailey
I'd like to carry around some state when rewriting. It seems like CheckingFuelMonad, etc. are set up to use with other monads but I can't get the types to agree. Using MTL I've managed to come up with these types: > newtype RewriteOnce a = R (State Bool a) > deriving (Monad) > > instance MonadS

Re: gitweb on darcs.haskell.org?

2011-06-24 Thread Iavor Diatchki
Hello, We now have a git-web instance running on darcs.haskell.org. You can access it at the following URL: http://darcs.haskell.org/cgi-bin/gitweb.cgi -Iavor On Tue, Jun 21, 2011 at 10:26 AM, austin seipp wrote: > I am also a fan of cgit: > > http://hjemli.net/git/cgit/about/ > > As it's ver

Re: GHC and Haskell 98

2011-06-24 Thread Simon Marlow
On 17/06/2011 16:42, Brandon Allbery wrote: On Fri, Jun 17, 2011 at 11:11, Jacques Carette wrote: they chose to stick to pure Haskell 98. Plan B is actually more fragile in that respect, in that if they forget to be really really explicit about their code being pure Haskell 98, the resulting c

Re: GHC and Haskell 98

2011-06-24 Thread Simon Marlow
On 18/06/2011 11:20, Malcolm Wallace wrote: As one of the few people who has habitually used Haskell'98 wherever possible, I favour plan A. As I recently discovered, in ghc 7 it is already very fragile to attempt to depend on both the base and haskell98 packages simultaneously. In most cases it

Re: Reducing the cost of garbage collecting small arrays

2011-06-24 Thread Simon Marlow
On 23/06/2011 09:54, Johan Tibell wrote: On Thu, Jun 23, 2011 at 8:27 AM, Johan Tibell wrote: Is 5 the optimal number of bits to slice off at a time (ie the best fanout)? It sounds like node copy cost on insert argues for a slightly narrower fanout. You'll be evacuating / scanning more words