devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agoUh....oh....i guess it's work thenlemmy.worldimagemessage-square25fedilinkarrow-up1811arrow-down114
arrow-up1797arrow-down1imageUh....oh....i guess it's work thenlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square25fedilink
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up5·edit-28 months agoghc -fdefer-type-errors:
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·8 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·8 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.)