Open lue-bird opened 2 months ago
I think I agree.
I think it makes sense to keep them on the ones that clash with core types. As far I can tell, that's only List
, String
, Char
, Float
, and maybe Integer
(although it doesn't clash with Int
, so no name clash, but inconsistent maybe? Though I think it's just fine like this).
My point was that there is no "clash with core types" ever. So I don't see why it's useful to use a suffix (that already has a clear meaning).
Oh ok. I think we meant different things with name clashes. You meant that you don't get compiler errors, while I meant that it's potentially confusing. Maybe my worry is not warranted though :man_shrugging:
Since there's no name clashes with core types, what's "literal" between e.g. a
Record
,Tuple
orListLiteral
?I suggest either dropping the literal suffix (preferred by me) or only use it for
Integer
,Hex
,Floatable
,Char
,String
,Unit
(?).