Strange error in show for datatype

Marcin 'Qrczak' Kowalczyk [email protected]
4 Oct 2001 15:25:32 GMT


Thu, 4 Oct 2001 14:29:43 +0100, Ross Paterson <[email protected]> pisze:

> So this extension adds something we already have in Haskell 98, with either
> 
> 	newtype Void = Void Void
> or	data Void = Void !Void

Theoretically yes, but this introduces a warning that the data
constructor Void is not used, and it doesn't look clear.

-- 
 __("<  Marcin Kowalczyk * [email protected] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK