[Haskell-cafe] Small syntax question

Maurício briqueabraque at yahoo.com
Mon Feb 13 09:09:26 EST 2006


   Hi,

   This is valid code:

module Main where
main = do
	let a = 3
	return ()


   Why isn't this one?

module Main where
main = do {
	let a = 3;
	return ();
};

   Thanks for your help,
   Maurício



More information about the Haskell-Cafe mailing list