This is a little trick to turn an executable Java jar.
It works on all unixy like systems including Linux, MacOS, Cygwin, and Windows Linux subsystem.
$ ls
hello.jar
scala> import shapeless._, syntax.singleton._, record._ | |
import shapeless._ | |
import syntax.singleton._ | |
import record._ | |
scala> object ->> { | |
| def unapply[K, V](f: FieldType[K, V])(implicit k: Witness.Aux[K]) = Option((k.value, f: V)) | |
| } | |
defined module $minus$greater$greater |