Easy syntax question

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
27 Aug 2001 19:54:56 GMT


Mon, 27 Aug 2001 15:02:24 -0400 (EDT), Mark Carroll <mark@chaos.x-philes.com> pisze:

> Generally, this is a question about where multiple cases lead to the same
> thing, maybe even in the middle of a function. (Like C's "case 1: case 2:
> case 3: foo; break;".)

Apart from what others said, if the common expression is big,
the common solution is to bind it outside using 'let' or 'where'.

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