Re: [tor-dev] PRELIMINARY: [PATCH] Adapt to changes in 'GHC.Handle'.

2013-06-22 Thread Nick Mathewson
On Fri, Jun 21, 2013 at 4:10 PM, Nikita Karetnikov wrote: Hello! I'll try to answer some of the easier stuff now, and put off the longer stuff till I have time after the weekend. >> Hm. I don't understand how the hgetLineN implementation can work. It >> looks like it reads N bytes uncondition

Re: [tor-dev] PRELIMINARY: [PATCH] Adapt to changes in 'GHC.Handle'.

2013-06-21 Thread Nikita Karetnikov
> It would be a bit sad if it fell to me to reviewing the haskell code > alone, since I don't really know Haskell very well. If so, don't spend too much time on the preliminary patches. I think that quick review is enough at this point. > I get that this is required for more warnings, though, an

Re: [tor-dev] PRELIMINARY: [PATCH] Adapt to changes in 'GHC.Handle'.

2013-06-20 Thread Nikita Karetnikov
> Hm, I can't build it with GHC 6.10.4. 'cabal build' returns the > following: > src/TorDNSEL/Compat/Exception.hs:23:7: > Could not find module `Control.OldException': > it is a member of the hidden package `base' > Use -v to see a list of the files searched for. > (Oh, I guess I

Re: [tor-dev] PRELIMINARY: [PATCH] Adapt to changes in 'GHC.Handle'. (was: Haskell packages?)

2013-06-20 Thread Nick Mathewson
On Wed, Jun 19, 2013 at 12:12 AM, Nikita Karetnikov wrote: [..] Hi, and thanks for the patches! Does anyone else on this list know Haskell at all well? It would be a bit sad if it fell to me to reviewing the haskell code alone, since I don't really know Haskell very well. I expect that some of

[tor-dev] PRELIMINARY: [PATCH] Adapt to changes in 'GHC.Handle'. (was: Haskell packages?)

2013-06-18 Thread Nikita Karetnikov
> In order to have TorDNSEL work on Debian Squeeze, I did some small > changes to make it uses Control.OldException. But this does not work > anymore on GHC 7.4. The later is the version currently in Debian Wheezy. Hm, I can't build it with GHC 6.10.4. 'cabal build' returns the following: src/To