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
about partial functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-06-07 (18:23)
From: didier@f...
Subject: about partial functions

Congratulation for the last version of Ocaml ...
Finally OCaml introduces structural inclusion for variant types ...


Actually i develop a functional language with regular types (for XML
types introduction)and i try to detect  partial functions during the
type checking
pass !

X. Leroy suggests the introduction of these detections during the
in "The ZINC experiment, an economical implementation of the ML
technical report and this is done during the OCaml pattern matching
pass ...

Why this is not done during the typing pass ?
. Non conventional type checking rules ?
. Not a task for the type checker because it's a control based on
possible data flows ?
. No structural inclusion for classical variant types ?

Thank you ...

D. Plaindoux