Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save afsalthaj/f2e76e99eba2338353529f5306d33b66 to your computer and use it in GitHub Desktop.
Save afsalthaj/f2e76e99eba2338353529f5306d33b66 to your computer and use it in GitHub Desktop.
import SuperExchange._
import scalaz.std.string._
import scalaz.syntax.validation._
import SuperExchange._
case class SuperExchange(id: ExchangeId, name: Name)
object SuperExchange {
type ExchangeId = ExchangeId.Type
object ExchangeId extends Tagger[String]
type Name = Name.Type
object Name extends Tagger[String]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment