devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoUh....oh....i guess it's work thenlemmy.worldimagemessage-square21fedilinkarrow-up1827arrow-down115
arrow-up1812arrow-down1imageUh....oh....i guess it's work thenlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square21fedilink
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up5arrow-down1·edit-29 months agoghc -fdefer-type-errors:
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·9 months agoWTF! How does that even work? What does the compiler do when there are 5 implementations for the same name, and none fit the type system?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up1·9 months agoRaises a runtime error. (Also, overloads don’t exist.)
ghc -fdefer-type-errors
:WTF! How does that even work?
What does the compiler do when there are 5 implementations for the same name, and none fit the type system?
Raises a runtime error. (Also, overloads don’t exist.)