Nicknamed the "Just fucking do it" operator, it forces any value to typecheck correctly regardless of how much it violates all that's good and holy in the world. And yes, it's a unicode emoticon of a guy flipping over a table. (I also considered using the 'look of disapproval').
Mind you this was only for a temporary workaround. I figured out where I was going wrong the the code is now type checking as you would expect.
View all comments
Show parent comment
22
u/zoomzoom83 Apr 30 '14
I had some code that was correct and works, but for the life of me I couldn't get it to typecheck properly.
Since Scala allow unicode symbols in function names, I created an amusing temporary workaround.
Nicknamed the "Just fucking do it" operator, it forces any value to typecheck correctly regardless of how much it violates all that's good and holy in the world. And yes, it's a unicode emoticon of a guy flipping over a table. (I also considered using the 'look of disapproval').
Mind you this was only for a temporary workaround. I figured out where I was going wrong the the code is now type checking as you would expect.