Any in Haskell Report

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
12 Mar 2001 16:33:53 GMT


Mon, 12 Mar 2001 07:43:33 -0800, Simon Peyton-Jones <simonpj@microsoft.com> pisze:

>  I have no idea why it can't be just
> 
> 	ANYseq   ->   {ANY}_<opencomment | closecomment>

This would mean: it's a sequence of characters which is not equal to
'{-' or '-}'. But it should mean: it's a sequence of characters which
doesn't contain '{-' or '-}'. The current definition is correct,
this one is not.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK