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
Application wiich massively use exceptions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-10-25 (22:44)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Application wiich massively use exceptions
On Wednesday 25 October 2006 14:59, Frédéric Gava wrote:
> With my research teams, we are working on parallel exceptions in parallel
> programs.
> To have pratical examples, we are looking for an application which
> massively use exceptions, i.e. use exceptions (many different ones if
> possible) to propagate results/errors in an algorithm.
> Would somebody have an idea of such an algorithm or such an application ?
> Many thanks !

IIRC, you did the parallel Set implementation. You could dust that off and 
reuse it, implementing insertion of an already-present element into a set 
using an exception and applying it to the "n"th-nearest neighbours example 
from my book again.

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists