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] nosy p4 question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] nosy p4 question

On Wed, Jan 23, 2002 at 12:36:23PM -0800, Ian Zimmerman wrote:

> My question was, _how_ you do it - that's why I labelled it "nosy"

The function which parses the input is a hook (a reference) which
can be modified: it is Toploop.parse_toplevel_phrase. I just lay
my eggs there.

Same for pretty printing. The main hook is Toploop.print_out_value.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: