Experimental programming in Scala