Daniel @webcloud.se · Nov 22

A tour of OCaml is trying to tell me something. On a more serious note, maybe it's my OCD but it trips me up as a beginner: Why is this parameter named specifically "u"? Is it some kind of convention? I've seen u being used for unit in other places? Why not list?

3 likes 2 replies

?

Replies

Leo 🏴‍☠️ · Nov 22

I wish there was a good reason for FP to lean towards this naming, and tbh sometimes the context you’re working with is so small that naming is less important than the structure of the code, but it’s very likely that we need to shed off a lot of academic pressure to publish a within page limits

sabine 🐫🦀 / "use ocaml"; · Nov 22

🙏 yeah, "u" is a bad name, need to change that