Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Pattern matching and strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-02 (22:59)
From: Alessandro Baretta <alex@b...>
Subject: [Caml-list] Re: views for strings (was: Pattern matching and strings)

Chris Hecker wrote:
>> take to make it work. Probably all it takes is some syntax-magic since 
>> the above can be mapped onto the following:
> I'm wondering if you couldn't do something with views rather than 
> hacking enhanced string matching into caml.

Views are an interesting idea. I had not thought about it. I 
have to look into this, although, as you pointed out, they 
are probably not what I'm looking for.

I want to point out that I think this string thing is not 
vital to Ocaml. The various regexp libraries amount to more 
than is necessary for any string processing task. I'd just 
like to have a more Camlesque way of dealing with strings 
than what is offered by regexps and the like.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: