Hacker News new | ask | show | jobs
by DiscoDays 952 days ago
Perhaps, but presumably code that is meant to have an external interface will be in a module and will have an *.mli file to it, and that is an excellent place to constrain your types explicitly if you must.