Re: HOF implementation of "until"
- From: Andre <andre@xxxxxxxxxxxxx>
- Date: Sat, 12 Nov 2005 12:49:25 -0500
Dirk Thierbach wrote:
>
> Andre <andre@xxxxxxxxxxxxx> wrote:
> > Dirk Thierbach wrote:
>
> >> And now pattern matching is also syntactic sugar? :-)
>
> [...]
> > Case expressions themselves may be regarded as syntactic sugar
> > as described in figures 3.1 and 3.2 from the Haskell report.
>
> I didn't mean that case expressions can be translated to patterns (or
> the other way round), I meant pattern matching in itself.
Me too. The case productions mentioned translate composite
patterns into a simple set of base patterns.
Regards
Andre
.
- Follow-Ups:
- Re: HOF implementation of "until"
- From: Dirk Thierbach
- Re: HOF implementation of "until"
- References:
- Re: HOF implementation of "until"
- From: Dirk Thierbach
- Re: HOF implementation of "until"
- From: Adrian Kubala
- Re: HOF implementation of "until"
- From: Vesa Karvonen
- Re: HOF implementation of "until"
- From: Dirk Thierbach
- Re: HOF implementation of "until"
- From: Andre
- Re: HOF implementation of "until"
- From: Dirk Thierbach
- Re: HOF implementation of "until"
- From: Andre
- Re: HOF implementation of "until"
- From: Dirk Thierbach
- Re: HOF implementation of "until"
- Prev by Date: Re: HOF implementation of "until"
- Next by Date: Re: HOF implementation of "until"
- Previous by thread: Re: HOF implementation of "until"
- Next by thread: Re: HOF implementation of "until"
- Index(es):
Relevant Pages
|