Created
April 11, 2018 07:14
-
-
Save afsalthaj/f2e76e99eba2338353529f5306d33b66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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