-
Coconut's [documentation for the `data` keyword](http://coconut.readthedocs.io/en/master/DOCS.html#data) states that it lets you create immutable ADTs. I see a nice concise language for creating immut…
-
We're already planning on adding objects and arrays, but we also want union types. Tuples would be cool too. You get union types for free in a dynamically typed language because it's like everything i…
-
Building on #48 there should be a simple way to build more complex data structures that support tagging (at compile time where possible).
Ideally these would be subtypable (i.e. Left a and Right b …
-
[just dumping my comment from matrix]
For the high-level type descriptions, I'm still wondering if we should make it more future-proof from the start. We will have general algebraic data types in the…
-
This probably requires a new specialized annotation, but it would be really cool if adt4j could help to define GADTs in Java!
This is what I am after: https://gist.github.com/jbgi/208a1733f15cdcf78eb5…
-
-
I'd like to propose a new standard for creating algebraic data types. Consider the following.
```javascript
const Maybe = {}; // Static Land Canonical Module
const Nothing = (() => {
funct…
-
| | |
|------------------|-----------------|
|Previous ID | SR-14045 |
|Radar | rdar://17539086 |
|Original Reporter | @…
-
Right now have some consistency in the rendering of algebraic data types. For example:
```scala
// Either
Repr.VConstructor(List("scala"), "Left", List(e.debug))
//
Debug.Repr.VConstructor(Li…
-
Bits of LiveScript's syntax is inspired by Haskell, so I thought what you guys think about adding ADT's to LiveScript, arguably one of the most useful features of Haskell?
@natefaubion has two excell…