Skip to content

Instantly share code, notes, and snippets.

@eduardo22i
Last active December 14, 2015 16:39
Show Gist options
  • Save eduardo22i/5116713 to your computer and use it in GitHub Desktop.
Save eduardo22i/5116713 to your computer and use it in GitHub Desktop.
Propuesta
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