[Haskell-cafe] Perl-ish =~ operator

2004-02-23 Thread ozone
In my effort to turn Haskell into a language more like Perl (muahaha)[1], I got a bit fed up and implemented something like Perl 5's =~ binding operator (a.k.a. regex operator); I thought maybe somebody else here might find it useful. Perl has the concept of 'contexts': a function does

[Haskell-cafe] Re: Perl-ish =~ operator

2004-02-23 Thread ozone
On 24/02/2004, at 1:30 AM, Andre Pang wrote: In my effort to turn Haskell into a language more like Perl (muahaha)[1], I got a bit fed up and implemented something like Perl 5's =~ binding operator (a.k.a. regex operator); I thought maybe somebody else here might find it useful. Perl has the

Re: [Haskell-cafe] Perl-ish =~ operator

2004-02-23 Thread Mark Carroll
On Tue, 24 Feb 2004 [EMAIL PROTECTED] wrote: In my effort to turn Haskell into a language more like Perl (muahaha)[1], I got a bit fed up and implemented something like Perl 5's =~ binding operator (a.k.a. regex operator); I thought maybe (snip) This reminds me that one thing I do miss from

Re: [Haskell-cafe] Perl-ish =~ operator

2004-02-23 Thread John Meacham
On Mon, Feb 23, 2004 at 12:09:12PM -0500, Mark Carroll wrote: On Tue, 24 Feb 2004 [EMAIL PROTECTED] wrote: In my effort to turn Haskell into a language more like Perl (muahaha)[1], I got a bit fed up and implemented something like Perl 5's =~ binding operator (a.k.a. regex operator); I

Re: [Haskell-cafe] Perl-ish =~ operator

2004-02-23 Thread Mark Carroll
On Mon, 23 Feb 2004, John Meacham wrote: (snip) a standard pcre (pcre.org) binding would also be a cool thing to work on. (snip) Heh - maybe a Cambridge computer science student could do it, having both PCRE's author and Haskell experts handy locally. (-: -- Mark

Re: [Haskell-cafe] Perl-ish =~ operator

2004-02-23 Thread ozone
On 24/02/2004, at 1:30 AM, [EMAIL PROTECTED] wrote: In my effort to turn Haskell into a language more like Perl (muahaha)[1], I got a bit fed up and implemented something like Perl 5's =~ binding operator (a.k.a. regex operator); I thought maybe somebody else here might find it useful. Perl