-
With type classes and the use of KEEP-87 arrow-kt/arrow-meta-prototype#2 with compiler plugins, it should be possible to:
- Derive an HList representation for all data classes
- Derive a Coproduct r…
-
### Your environment
Which OS do you use?
ArchLinux
Which version of GHC do you use and how did you install it?
8.10.7
How is your project built (alternative: link to the project)?
def…
-
It's probably a stretch to expect something like Shapeless to play well with Accord, but using Coproducts and HLists within your data types can lead to a more expressive domain model. I'd love to see…
-
A `java.lang.ClassCastException` is raised when projecting a sample `Coproduct` obtained through a scalacheck `Arbitrary`. Example:
```scala
import iota.{ Cop, TNil }
import iota.TList.::
import…
-
When running `idris --build idris-ct.ipkg` (or `idris --checkpkg idris-ct.pkg`), the build fails on `CoLimits/CoProduct.lidr` with the following error :
```
Entering directory `./src'
Type checki…
-
I do a small bit of this in the coproduct `embed` PR, but I think there should be more:
There should be one central piece of documentation (which other methods can link to) describing the `Index` t…
ExpHP updated
6 years ago
-
I have an interesting challenge:
I need to map some coproduct type `Coprod!(A, B, C, D)` to `Coprod!(T, U, V, W)`. However, I have to be able to perform this mapping in two arbitrarily-partitioned …
-
Near the end of section 2.4 there is the following example:
```{scala}
sealed trait Shape
final case class Rectangle(width: Double, height: Double) extends Shape
final case class Circle(radi…
SamDM updated
6 years ago
-
`Algebra.Construct.DirectProduct` and `Algebra.Module.Construct.DirectProduct` define some objects which are the *binary* products of the appropriate algebras, which are moreover in some case also bip…
-
`VariantF` is an extensible version of `Coproduct`. We should have a `RecordF` for `Product`.