Y
Hacker News
new
|
ask
|
show
|
jobs
by
weberc2
2923 days ago
I’ve seen this in ocaml and always thought it strange. I think it’s useful, but binding it to a package seems odd since packages are units of code distribution or some such.
2 comments
pjmlp
2923 days ago
It is not strange if you think of objects in OOP as modules/packages you can inherit from.
link
bakul
2923 days ago
Think of it as a package macro.
link