-
Notifications
You must be signed in to change notification settings - Fork 0
maw/scala-implicits-test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
-*- text -*- A snippet of code I wrote as an exercise to figure out how Scala's implicit conversions work. It's a neat concept -- it lets you fake subclassing types declared as final. I just have a simple use-case here, but it's easy to imagine more interesting ones: a safe SQL string class is one; guaranteed prime integers is another. To build and run: $ scalac EmailAddress.scala ImplicitsTest.scala $ scala ImplicitsTest
About
A snippet of test code which shows how to use Scala's implicit conversion feature
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published