-
Maybe in could be a good idea to put some shaders in the library ?
Typically:
- a shader for points and lines (from examples/curves)
- a shader for illumination with ambient/diffuse/specular li…
craff updated
3 years ago
-
A significant fraction of bugs in Agda (or at least, in the parts of Agda that I tend to work on) are somehow caused by messing up de Bruijn indices in some way. In an ideal world, we would use a GADT…
-
If we get rid of the higher-order nested types, then we get better type roles:
```haskell
newtype Zero a = Zero a
data Succ k rk = Succ {-# UNPACK #-} !(Tree k rk) rk
data Tree k rk = Tree !k rk…
-
-
From https://github.com/scala/scala/pull/9672#issuecomment-892850835
```scala
trait C[+T]
trait D[T] extends C[T] {
def f(x: T): T
}
class E extends D[String] {
def f(x: String) = x.trim
…
lrytz updated
3 years ago
-
Sometimes it can be difficult to implement an `MFunctor` instance for a given type due to the lack of a `Monad` constraint on the result type of `hoist`. Especially if you only have access to what is …
-
Before 1.0 I'd like to propose bringing back the pre-reflection variant of the `Interpret` carrier in some form.
Here is my typical `fused-effects` workflow:
- Define effect GADT, pray I have a …
-
This is related to https://github.com/lukas-reineke/indent-blankline.nvim/issues/926
In summary, in indent-blankline, there is a logic which allows to highlight indentation based on "visibility" sc…
-
Hi,
I have some troubles to deactivate the positivity checking. When I do:
```coq
From TypingFlags Require Import Loader.
Unset Guard Checking.
Inductive foo : Type :=
| bar : (foo -> unit…
-
Take for example, this language of literals, type-annotated expressions and
kind annotated types.
```haskell
data Expr h
= ExprLit Int
| -- | ExprAdd (h :# Expr) (h :# Expr)
ExprAnn (h…