Break

From: Andrew Conway (arc@sequence.Stanford.EDU)
Date: Mon Feb 24 1997 - 21:00:53 MET


Date: Mon, 24 Feb 1997 12:00:53 -0800 (PST)
From: Andrew Conway <arc@sequence.Stanford.EDU>
Message-Id: <199702242000.MAA28634@vegemite.Stanford.EDU>
To: caml-list@pauillac.inria.fr
Subject: Break

Dear Caml community,

I would like to suggest a "new" standard exception: Pervasives.Break.

I frequently wish to break out of a "for" loop, when looking for
something, and want some exception designed for that purpose. Having
a standard one would make programs more standard, and reduce proliferation
of custom Break type exceptions.

[ En mauvais francais ]

Chers Utilisateurs de Caml,

Je voudrais vous proposer un exception nouveau : Pervasives.break.

Souvent je veux quitter "for ... do .. done", quand je cherche quelque
chose, et il faut definer un exception neuveau. S'il y avait un
exception commun, les logiciels serait plus facile a comprendre, et
il n'y aurait pas tellement des exceptions comme A.Break, B.Break,...

Amities,

Andrew.



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:09 MET