Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Alex

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners