Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbgi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jbgi
9y ago
It depends. Bare minimum, in scala you have to do: sealed trait Either[A, B] final case class Left[A, B](a: A) extends Either[A, B] final case class Right[A, B](b: B) extends Either[A, B] and it is still not a real sum type due t
2.
▲
Show HN: Derive4j – Java8 support for ADTs, pattern matching, and more
(github.com)
10 points
by
jbgi
11y ago
|
0 comments
3.
▲
by
jbgi
11y ago
Derive4J: a Java 8 annotation processor for deriving algebraic data types constructors, pattern matching and more!
4.
▲
Show HN: Derive4j – Java8 support for ADTs, pattern matching, and more
(github.com)
2 points
by
jbgi
11y ago
|
1 comments