This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BoratBoolean(b: Boolean) { | |
lazy val not = !b | |
def naaat() = not | |
//Lazy eval, to wait as long as possible before the NAAT | |
} | |
implicit def kazakhstaniBoolean(b: Boolean) = new BoratBoolean(b) | |
usage: |
NewerOlder