News for hackers. Stuff that matters.
Re:What Made Lisp Different (2002) by chillee on Tuesday February 20, 2018 @01:21PM (#16422538)
I guess the closest thing to what you want in Ocaml is modular implicits. http://tycon.github.io/modular-implicits.html

As far as the tradeoff, my view on types is a bit different than yours, I think. First, a quick note:

> specify manually all the types of all the functions This is usually encouraged in OCaml, in the form of a .mli file.

I think types can be a lot more than "compiler checked documentation that can also work as basic tests". They allow you to encode invariants that allow the compiler to check more than basic stuff. I thought this video had a good example. https://www.youtube.com/watch?v=-J8YyfrSwTk&t=20m10s

Re:What Made Lisp Different (2002) by nnq on Wednesday February 21, 2018 @09:29AM (#16429650)
wow, that video rocks! thx!