Re: HOF implementation of "until"



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
.



Relevant Pages

  • Re: Converting MSIL to C# Source Code
    ... look for patterns and construct trees. ... RPN code for simple expressions is almost trivially ... the flow into basic blocks - i.e. contiguous stretches of instructions ... that don't have any jump targets inside them, ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Lisp and Scheme with fewer parentheses
    ... patterns and expressions. ... The above functional expansion in Mathematica can be done ... decompose and reconstruct expressions. ... How would you write a C macro to compute the symbolic derivative of a C ...
    (comp.lang.lisp)
  • Re: Architetural Decisions
    ... Best Regards, ... > I do not answer questions on behalf of my employer. ... > programmer helping programmers. ... >>>The book to start with is not the Gang of Four book (Design Patterns by ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: flex: doubt regarding the meaning of some character classes
    ... the help of character class expressions. ... The patterns are as ... flex manual but also anywhere. ...
    (comp.unix.programmer)
  • Re: Perl RegExp question
    ... c> The same is true for your data, YOU DON'T HAVE PATTERNS TO MATCH. ... c> What is the title of "King of Royal Mounted Murderer's Row"? ... Obviously Perl is pretty "natural" by design. ... regular expressions can provide (more like the Perl 5 Parse::RecDescent ...
    (comp.lang.perl.misc)