devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoUh....oh....i guess it's work thenlemmy.worldimagemessage-square20fedilinkarrow-up1821arrow-down115
arrow-up1806arrow-down1imageUh....oh....i guess it's work thenlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square20fedilink
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.)