-
I sketched this out on paper and wanted to note it here so I didn't forget. This might be a simple path to adding GADTs which makes exhaustivity checking somewhat trivial.
- Patterns are just prisms (…
paf31 updated
2 years ago
-
**Internal**
**Describe the feature you'd like**
Because the transaction generator runs a TxSubmission protocol peer, it has to use its type language, which includes `GenTx blk`. Internally the …
-
My problem is that `type empty = |` is not a subtype of other types when it could perfectly be:
```ocaml
val x : empty
(* ... *)
let y : int = x
```
Currently the output is :
```
Erro…
-
The guts of the `Aliases` GADT probably don't need to be exposed in the main `ByOtherNames` module.
-
Right now, we represent unvalidated and validated User_commands as `User_command.t` and `User_command.With_valid_signature.t`.
It would be useful to have this be represented as a GADT. So, it would…
-
Trying the latest release 0.10.0.0 with a nix triggers
```
note: keeping build directory '/tmp/nix-build-polysemy-conc-0.10.0.0.drv-0'
error: builder for '/nix/store/ydf5gqjwpnbchnw1d2gcbhv…
-
When built with GHC 9.2.3 and 9.2.4, encountering error
```
[ 83 of 104] Compiling Monomer.Widgets.Containers.Dropdown ( src/Monomer/Widgets/Containers/Dropdown.hs, dist/build/Monomer/Widgets/Cont…
futu2 updated
2 years ago
-
There seems to be a problem with compiling pattern-matches against the application of a polymorphic method or field to a polymorphic variant. Here is an example with a method:
```ocaml
class idfunc…
-
The set of all event results are represented as a tagged union (`EventReturn`).
For a particular event received, deconstruction is required in the user's code, in order to obtain the result.
For exa…
-
This is needed for GADT and will result in a better syntax too:
type rec list = [ Nil ; Cons of a * list ]
will become
type rec list = [ Nil ; Cons of a * list ]
craff updated
2 years ago