declare a polymorphic locally abstract type variable? Well then I have good news: introducing https://ocamlsyntax.com, a cheat sheet for all the weird syntax that you only use once a year.
joined to say this doesn't even touch the more obscure ocaml syntax stuff.. the whole object layer is full of fun examples like the immutable object update syntax: object val x = 69 method x = x method update n = {< x = x + n >} end
Обсуждают сегодня