multimatch patch 2006-02-02
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
f6190f3d0c
commit
310090b591
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue