Skip to content

Instantly share code, notes, and snippets.

@vhutov
Created June 23, 2020 22:29
Show Gist options
  • Save vhutov/a76fa80e2bf3f65ae595cddd563413f3 to your computer and use it in GitHub Desktop.
Save vhutov/a76fa80e2bf3f65ae595cddd563413f3 to your computer and use it in GitHub Desktop.
TypeAlias
type A = Int :+: String :+: Double
type B = (Int :+: (String :+: Double))
type C = Either[Int, Either[String, Double]]
// A === B === C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment