News for hackers. Stuff that matters.
Re:Effective Programs: 10 Years of Clojure by cube2222 on Tuesday October 31, 2017 @08:25PM (#15597950)
Not in OCaml. You can have a function like that:

let printAge object = print object.age

And it'll just check if anything passed to printAge has a field "age".

There are no comments on this comment yet.