Last active
December 14, 2015 16:39
-
-
Save eduardo22i/5116713 to your computer and use it in GitHub Desktop.
Propuesta
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
def and2 (x:Boolean, y:Boolean) = println( x&y) | |
and2: (x: Boolean, y: Boolean)Unit | |
scala> and2(true,true) | |
true | |
scala> and2(true,false) | |
false | |
scala> and2(false,false) | |
false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment