On 12/29/06, Neil Mitchell <[EMAIL PROTECTED]> wrote:
map (:[]), :[] takes a single element and puts it into a list. Some
people refer to this as "box"
The final f3 clause can be made a bit neater:
> f3 la@(a:as) lb@(b:bs) | sum a <= sum b = a : f3 as lb
| otherwise = b : f3 la bs
Hi Neal,
Neat tricks on both counts - thanks! Thanks, Quan
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
