This file contains hidden or 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
This gist shows a VERY simple use of Scala implicits and how to use it from | |
sbt & the scala console. | |
Create these two files... | |
============================================================================= | |
Xp.scala | |
----------------------------------------------------------------------------- | |
package xp { | |
class Xp { | |
def beep() = { println("beep!") } |
NewerOlder