On Fri, 16 Feb 2007 22:44:25 +0100, David House <[EMAIL PROTECTED]> wrote:
On 16/02/07, Henk-Jan van Tuyl <[EMAIL PROTECTED]> wrote:
Yet simpler:
> formatTableItems (a,b) = a : " = " ++ (show b) ++ "\n"
You can drop the parentheses around 'show b'; infix function
application always binds tighter than pretty much everything else.
I missed that one; of course I knew it, but you could say it's in my
passive vocabulary.
--
Met vriendelijke groet,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
--
Using Opera's revolutionary e-mail client:
https://secure.bmtmicro.com/opera/buy-opera.html?AID=789433
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe