multimatch patch 2006-02-02

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2006-02-02 06:39:55 +00:00
parent f6190f3d0c
commit 310090b591
2 changed files with 1419 additions and 0 deletions

1418
testlabl/multimatch.diffs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -145,6 +145,7 @@ end = struct let poly = poly end;;
(* type dispatch *)
type num = [ `Int | `Float ]
let print0 = multifun
`Int -> print_int
| `Float -> print_float