[Haskell-cafe] Collection of objects?
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Fri Nov 17 17:19:55 EST 2006
On Fri, 17 Nov 2006 20:04:22 +0100, Steve Schafer <steve at fenestra.com>
wrote:
> myList = [(Integer 42), (Character 'a'), (Float 3.14159)]
You can leave out the parentheses, making even simpler:
myList = [Integer 42, Character 'a', Float 3.14159]
--
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
More information about the Haskell-Cafe
mailing list