2006-05-09から1日間の記事一覧

限界

# class type ['a] mylist = object method map : 'b . ('a -> 'b) -> 'b mylist end;; This type scheme cannot quantify 'b : it escapes this scope.うむむ…['a] mylistを、Polymorphicに定義中に使うことができないので、'a = 'bになってしまい、そしてm…