Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
class BadStep(Exception): | |
pass | |
class WrongArgument(Exception): | |
pass | |
class Figure: | |
def __init__(self, coord): | |
self.__coord = (ord(coord[0]) - 64, int(coord[1])) | |
def next_step(self, dest): |
import java.io.InputStream | |
import scala.io.Source | |
object Receipts { | |
case class Receipt(id: Int, payer: String, paid: Double, separatePaids: Seq[(String, Double)]) | |
case class Cost(total: Double = 0.0, mutual: Double = 0.0, separate: Double = 0.0) | |
val Consumers = Map( |
#!/bin/sh | |
exec /Users/sroebuck/local/bin/scalas $0 $@ | |
!# | |
/*** | |
libraryDependencies ++= Seq( | |
"com.github.scala-incubator.io" %% "scala-io-file" % "0.2.0", | |
"joda-time" % "joda-time" % "2.0", | |
"org.joda" % "joda-convert" % "1.1" | |
) | |
*/ |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of