Skip to content

v1.1.0

Compare
Choose a tag to compare
@ryanstull ryanstull released this 28 Mar 05:28
· 36 commits to master since this release
  • Added optional default for ? macro. Simply add the default as the second argument and that will be returned in the absent case. e.g:
case class Person(name: String)

val person: Person = null

assert(?(person.name,"") == "")