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
Functional unparsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andrey Riabushenko <cdome@b...>
Subject: Re: [Caml-list] Functional unparsing
> The Batteries Print module and associated syntax extension may be a
> useful base for implementing something similar to what you are
> proposing:
>b_plain;f=src/core/extlib/;hb=HEAD and
> This allows for syntax like:
> Print.printf p"This is a list of integers: %{int list}"
> to return:
> int list -> unit = <fun>

Thank you, this one was much more helpful then standard This one is 
much shorter and easier to understand.