-
Hello,
I was trying out the package and wanted to reproduce the very simple example in the README of DynamicSumTypes.jl to compare synthax/performance.
That example (slightly adapted) creates a …
-
Currently these are inferred as `nominal`, but I think the parameter should be representational. This would let us say
```haskell
newtype CheckboxEvent = CheckboxEvent { toEvent :: Event Bool }
…
-
-
In the following little code snippet I have to functions, function "libFunc", which has a constraint i < d for two Typelits (e.g. indexing with an index i into some sort of vector of length d). If I …
-
Adding a non-existent extension (e.g. typo) to `default-extensions` makes it so that only module extensions are active. For instance, starting with the obelisk skeleton
```diff
, mtl
, text…
-
`` in insert mode is used to enter a literal character.
ghost updated
9 years ago
-
## Compiler version
3.0
## Minimized code
```Scala
sealed trait Ty {
type T
}
case object TUnit extends Ty {
type T = Unit
}
final case class TFun(dom: Ty, cod: Ty) extends Ty {
…
-
Good news:
I finally decide to spend some time and dive into LR parsing again. The result is we have a stackless LR(1) parser for grammar 4.55 in [ASU86](https://en.wikipedia.org/wiki/Compilers:_Princ…
-
For example, in this type:
```
type HtmlAttribute =
private | HtmlAttribute of name:string * value:string
```
What's the effect that `private` should have? I see that in C# projects, I …
-
The [ocaml-manual](https://caml.inria.fr/pub/docs/manual-ocaml/) is the official handbook for using OCaml. It fully describes all features and syntax elements and is highly valuable for explaining com…