Browse thread
[Caml-list] Toploop behaviour
- Jonathan Roewen
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-09-14 (11:57) |
From: | Jonathan Roewen <jonathan.roewen@g...> |
Subject: | [Caml-list] Toploop behaviour |
Hi, I'm using the toplevel, using Toploop.loop, which takes a Format.formatter object. The only problem is that it doesn't use it for all printing! E.g. parts of error messages, the warning messages and what not get printed on stdout/stderr irrespective of the formatter supplied. This even includes the prompt... =/ Is it possible for this to be fixed in later versions? Or is it because of the inner workings of the compiler parts themselves that these can't use the formatter (at least not without probably significant restructuring for very little benefit)? Jonathan