$ocaml Objective Caml version 3.09.3 # let f x y = failwith (x^y);; val f : string -> string -> 'a = # (fun g -> g "foo" "bar") f;; Exception: Failure "foobar". OK。 # let f ?(a=0) x y = x ^ y;; val f : ?a:int -> string -> string -> string…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。