[Haskell-cafe] The range operator

Matthias Kilian kili at outback.escape.de
Fri Apr 4 16:19:50 EDT 2008


On Fri, Apr 04, 2008 at 08:58:06PM +0100, PR Stanley wrote:
> [x, y..z]
> What's the role of x?

It's the first argument passed to enumFromThenTo.

See sections 3.10 and 6.3.4 of the Haskell report.

Ciao,
	Kili

-- 
There's a limit to how many buttons a shirt should have.
		-- Theo de Raadt


More information about the Haskell-Cafe mailing list