by steveklabnik · 8y ago · 0 comments
As for lifetimes, that syntax is from OCaml, though they use it for something else. “life” and “lt” seem too short, “span” is overloaded. We tried to explore options but none were clearly better, so we kept what we had.
I hadn't noticed the similarity but it makes sense. This is the OCaml syntax for generics, eg:
type 'a list_with_generic = 'a list;