[tor-dev] PRELIMINARY: [PATCH 3/3] Replace 'TorDNSEL.System.Timeout' with 'System.Timeout'.
lunar at torproject.org
Thu Jul 25 15:37:51 UTC 2013
Sorry for being slow to get to your patches. They are much appreciated
and even needed now that checks.tpo has seen repetitive failures.
An overall comment: I am unconvinced about commit messages that details
obvious changes for each impacted file.
> * src/TorDNSEL/Util.hsc: Use 'GHC.IO.Handle.Types' and 'GHC.IORef'
> instead of 'GHC.IOBase'.
> (splitByDelimiter): Remove it.
Both are completly obvious by looking at the commit diff, so there is no
added value in such message. This single commit should probably be split
in two, one saying "update imports to the new locations of internal
GHC functions" and another one saying "remove the unused
I am not sure I completly understand all the intents, so I might have
misunderstood the intents.
> The first one deals with this issue: "GHC was recently changed to not
> allow you to use newtypes in FFI imports unless the constructor of the
> newtype is in scope."
This one looks good.
> The second patch removes a redundant function and adjusts some imports.
> (I wrote a version of 'splitByDelimiter' that uses 'B.breakSubstring'
> instead of 'B.findSubstrings'. Let me know if you want to keep
> 'splitByDelimiter', and I'll use that version.)
Redundant or unused? I don't see any changes other than removing the
> The third patch removes 'TorDNSEL.System.Timeout'. There is a similar
> module in 'base'. […] There is another reason to remove
> 'TorDNSEL.System.Timeout': it's the only module that is not in the
> public domain.
I think this is because this module is actually based on an earlier
version that what finally landed in base. Switching to that makes a lot
Lunar <lunar at torproject.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the tor-dev