> - else do setCurrentDirectory dir > - return $ Right "" > + else if dir /= "" > + then do setCurrentDirectory dir > + return $ Right "" > + else return $ Right ""
Hmm... that's particularly convoluted logic -- it took me a few
minutes to work out what's going on. What about testing for
findRepository' before testing for cd' /= cd ?
Juliusz
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
