Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
silentOpen
on April 12, 2022
|
parent
|
context
|
favorite
| on:
-h –Help -help Help –? –?
OCaml exception constructors are just term constructors in the open sum type `exn`. In OCaml, to distinguish constructors from bound variables, constructors must begin with a capital letter. Thus `let Foo = 4;;` is an error.
alexiaya
on April 12, 2022
[–]
That doesn't explain why they couldn't have used `Not_Found` or `NotFound` instead.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: