[darcs-users] [patch106] resolve issue1208: trackdown --bisect (complete branch...

Radoslav Dorcik bugs at darcs.net
Sun Mar 7 15:03:30 UTC 2010

Radoslav Dorcik <dixiecko at gmail.com> added the comment:

Hello, I replaced both generic structures:
- Data.Tree
- Either

Attached patch depends on my previous patch with tests:
- resolve_issue1208_trackdown_bisect_with_tests_included.dpatch

New "PatchTree" encanpsulate Either logic using two node constructores
(FLNode and RLNode). Not all things are nice, like that function
"keepSearching" which has been optimalized by fis for algorithm with
generic Data.Tree. I have re-used it with not very nice approach -
passing lambda functions with messy meaning (it is not very readable). 

Anyway I would like to start with GADTs on PatchTree. 
Any suggestions/review comments?


Darcs bug tracker <bugs at darcs.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve_issue1208_replace_data_tree.dpatch
Type: application/octet-stream
Size: 93286 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100307/65c6d811/attachment-0001.obj>

More information about the darcs-users mailing list