[darcs-devel] darcs patch: Make syncPristine lazy.

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Thu Jul 21 10:16:26 PDT 2005


> Is there any reason we couldn't we acheive the same result by

> syncPristine :: Pristine -> IO ()
> syncPristine (PlainPristine n) = do ocur <- mmap_slurp n
>                                     owork <- co_slurp ocur "."
>                                     sync n ocur owork

Pristine doesn't depend on Slurpy.  I'm rather nervous about changing
that, although I have no objections if you don't see any issues with
that.

Oh, I'm away for two weeks tomorrow, so don't worry if you hear
nothing from me.

                                        Juliusz





More information about the darcs-devel mailing list