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] How to read three integers from a text-file... ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-30 (13:54)
From: T. Kurt Bond <tkb@t...>
Subject: Re: [Caml-list] How to read three integers from a text-file... ?
Francois Pottier, speaking of using a "Functional Unparsing" like 
approach (cps) to regexps writes:

> Yes, it would be very nice to use this approach for regexps. Unfortunately,
> Danvy's encoding relies on the fact that the format specification is *not*
> a string. So, it would be possible to devise something along these lines,
> but the good old regexp syntax would probably have to be dropped.

That is not necessarily a bad thing.  The classic string-based regexp
syntax has often been criticized for unreadability.  Scsh's SRE
sexp-based regexp syntax may be an improvement.  I imagine that
something using this a cps approach could be an improvement, since the
"Functional Unparsing" approach to printing seems to provide a
reasonable notation.
T. Kurt Bond,

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