On 13 May 2010 19:24, Steffen Schuldenzucker
<[email protected]> wrote:

> Or just:
>
> makeOrdered a b c = let (s:t:u:_) = sort [a, b, c] in Object s t u
>

Hi Steffen

True - but it does include a partial pattern (that will always match
in this case, of course).
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to