Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mgaunard
on Aug 2, 2022
|
parent
|
context
|
favorite
| on:
Understanding Jane Street
That is not the idiomatic way to use OCaml, so I wouldn't assume they do that.
SonOfLilit
on Aug 2, 2022
|
next
[–]
At least in similar languages like Haskell, what you do is let the compiler infer types and then press an IDE key combination to write out those inferred types as part of your code so you would get an error if you ever accidentally change the types.
LeonidasXIV
on Aug 2, 2022
|
prev
[–]
Writing `mli` files is pretty much idiomatic or at the very least, not unusual.
mgaunard
on Aug 2, 2022
|
parent
[–]
Only for the public API boundary.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: