Applied, thanks!
resolve issue1238: refactor "darcs setpref" help.
-------------------------------------------------
> +setpref_description :: String
> +setpref_description = "Set the value of a preference (" ++ ps ++ ")."
> + where ps = iter valid_prefs
> + iter [x] = x
> + iter [x,y] = x ++ " or " ++ y
> + iter (x:xs) = x ++ ", " ++ (iter xs)
> + iter [] = "" -- impossible, but keeps -Wall happyIt might be worth putting this in our English module -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
