module Extfun: sig end
This module implements pattern matching extensible functions.
To extend, use syntax pa_extfun.cmo
:
extfun e with [ pattern_matching ]
type ('a, 'b)
t
'a -> 'b
val empty : ('a, 'b) t
val apply : ('a, 'b) t -> 'a -> 'b
exception Failure
val print : ('a, 'b) t -> unit