-
glguy updated
6 years ago
-
```
constraints-deriving-1.0.4.0$ cabal build -w ghc-8.8.4
...
src/Data/Constraint/Deriving/CorePluginM.hs:283:5: error:
• Illegal equational constraint SrcSpanLess a ~ ModuleName
(Use …
-
When I write:
```
{#- LANGUAGE GAD
```
I get an autocomplete suggestion for the `GADT` language extension.
But if I do:
```
{#- LANGUAGE
GAD
```
I don't get any suggestions. I …
-
## Compiler version
3.1.2
## Minimized code
```Scala
enum Nat:
case Zero private ()
case Succ[N
-
If I have time, I may try to tackle this. The main idea is changing the definition of `DAG.Expression` to `DAG.Expression a`
for Example:
``` haskell
{-# LANGUAGE GADTs #-}
data Expression a where
…
-
I'm thinking of expressing the steeloverseer "server" as a stream of typed "messages", where each one is responded to by the client (front-end: terminal, ncurses, etc).
Haven't though about it too ha…
-
You mentioned in the talk that the GADT technique you discussed in the talk does not support polymorphism, but it seems that it actually is possible, although not easy (I'm working through it rather s…
-
Dotty removes support for the `@specialized` annotation, but introduces specialising `inline` methods. This brings up some issues:
- can we make specialised code generic, with support for specialised…
-
```Haskell
-- compare to lens' functor with index
class FFunctor f => FFunctorWithIndex i f | f -> i where
iffmap :: (forall x . i x -> a x -> b x) -> f a -> f b
```
This can be very useful for…
-
It would be amazing to have support for something like this:
```sql
WITH foo (col1, col2, col3) AS (
SELECT * FROM (
VALUES
(1, 2, 3),
(2, 3, 4)
) AS…