Re:GHC 8.0.1 is available
by chadaustin on Sunday May 22, 2016 @01:26PM
(#11749405)
Your argument generalizes to "The lack of any feature that can be worked around is an inconvenience", which, okay, but it's not a very useful statement. By that definition, lots of really important things are inconveniences.
> What would be nice is if Haskell would allow any name collision so long as it could use the type system to disambiguate the function.
That would need very careful design to work well with type inference, I suppose?
Re:GHC 8.0.1 is available
by johncolanduoni on Sunday May 22, 2016 @08:56AM
(#11748430)
Idris[1] already has a working system for this, and it's type system is more complicated (it has much more support for dependent typing). It allows this principle for regular function names as well.
What would be nice is if Haskell would allow any name collision so long as it could use the type system to disambiguate the function.