Have you discovered Scala? I did and I'm keeping track of it here, recording my experiments and lessons learned. -- Steve
Posted by Steve Yen on January 24, 2008 at 11:40pm — 1 Comment
package scalanateimport scala.xml._… Continue
import java.util.Date
import org.hibernate._
import org.hibernate.cfg._
class Event {
var id: Long = 0L
var title: String = null
var date: Date = null
var p
Posted by Steve Yen on January 24, 2008 at 7:08pm
object User extends User with MetaMegaProtoUser[User, User with KeyedMetaMapper[Long, User]]Posted by Steve Yen on December 28, 2007 at 10:16am
"a calculator" should {
"provide an add operation" in {
"a" | "b" | "result" |>
1 ! 2 ! 3 |
5 ! 2 ! 7 |
3 ! 0 ! 3 | {
(a: Int, b: Int, result: Int) => { calc.add(a, b) must_== result }
}
}
}
Posted by Steve Yen on December 20, 2007 at 9:54am
mvn archetype:create -U \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-blank \
-DarchetypeVersion=0.3.0 \
-DremoteRepositories=http://scala-tools.org/repo-releases \
-DgroupId=com.test \
-DartifactId… Continue Posted by Steve Yen on December 19, 2007 at 9:30pm
© 2009 Created by Steve Yen on Ning. Create Your Own Social Network