Arantium Maestum

プログラミング、囲碁、読書の話題

2020-11-01から1ヶ月間の記事一覧

OCamlでの相互再帰的なPolymorphic Variantに関するメモ

発端は@dico_lequeさんのこのツイート そういえばOCamlでtype t = [ atom | `List of t list | `DottedList of t list * atom ]and atom = [ `Int of int | `Vector of t array ]みたいなのはThe type constructor atom is not yet completely definedになっ…