3 ms·
I've never mentioned my code as being famous. I've always used h and t in one-liners, maybe because of the person who taught me OCaml. H and t can also be foun
by flaie 14y ago
I've never mentioned my code as being famous. I've always used h and t in one-liners, maybe because of the person who taught me OCaml.
H and t can also be found in the official Caml and batteries source code, along with hd/tl, a/l and probably x/xs if it pleases you.
I can't agree more about naming variables correctly where it makes sense though.