5 ms·
We couldn't use `:` as that one is already used for too many things. We then experimented with different tokens, and `/` felt best.
by floitsch 4y ago
We couldn't use `:` as that one is already used for too many things.
We then experimented with different tokens, and `/` felt best.
- mananaysiempre 4y agoWadler’s law or not, I’m not criticising, just curious :) Thank you (and 'EricCorry in sibling comment) for taking the time to answer! [Yes, colons are nice as block introducers but don’t play nice with colons for type ascription, which is where we got Python’s asinine f(x: int, y: bool) -> str; don’t know why Rust went with that instead of ML’s uniform f(x: int, y bool): str.]
- hoosieree 4y agoAnswers from the implementors, awesome!