-
Migrated from TODO file.
There are a lot of libraries in Haskell that can be used to define an API to some external system. Ideally, there would be a way to mock all of these with HMock. This inc…
-
A `Result` pattern match of this form
``` Motoko
switch res {
case ...;
case (#err e) { ... (#err e) ... }
}
```
where the RHS `#err e` has type `Result` can always be optimised to
```…
-
Sometimes shrinking can take a long time, so a way to stop shrinking after some time and/or a number of failed tests would be nice to have. The new events added in my last PR should help do that in `Q…
Gbury updated
7 years ago
-
- https://arxiv.org/abs/1512.01897
- 2015
謎めいた型のエラーメッセージは、OCamlや他のMLベースの言語を学習する上での大きな障害となっています。
多くの場合,型推論アルゴリズムの十分に正確なモデルがなければ,エラーメッセージを解釈することはできません.
MLにおける型のエラーメッセージを改善する問題は,過去20年間にかなり注目されており,多…
e4exp updated
3 years ago
-
I'm trying to sort out the relationship of GHC rewrite rules and constructor wrappers. I have rules like
```
"reify/(:
conal updated
10 years ago
-
Happy New Year.
I noticed that `Vec n a` extends `Ord` as follows:
instance (KnownNat n, Ord a) => Ord (Vec n a) where
compare x y = foldr f EQ $ zipWith compare x y
where …
-
This can be seen as generation-time optimisation by growing the size of derived code. @AlgebraicWolf tested fusion in an ad-hoc example and it gave better results. We can generalise this.
The idea …
-
copy of https://github.com/reflex-frp/reflex-platform/issues/219#issuecomment-903305430
Trying to setup haskell-language-server but getting `Multi Cradle: No prefixes matched`
# How to reproduce…
-
There's some existing code for finding type declarations in the current module, and augmenting the autocomplete list with them. @nixorn is extending that to his new doc-on-hover feature, as well. Ho…
-
I'm not a huge fan of the way we implement unordered folds. The compiler has no clue what they're up to, so optimization is garbage. I experimented with using an operation
```haskell
viewU :: Bino…