-
I have recently introduced a few compiler passes in the Slate compiler. For every optimisation there is a new compiler pass (a new Memoizer). The original expression between the passes is the same but…
-
https://blog.sumtypeofway.com/posts/introduction-to-recursion-schemes.html
such as catamorphisms, histomorphisms, etc
-
[Folds](https://en.m.wikipedia.org/wiki/Fold_(higher-order_function)) (catamorphisms) are dual to [unfolds](https://en.m.wikipedia.org/wiki/Anamorphism) (anamorphisms).
I want to perform the follow…
-
**[Original report](https://bitbucket.org/tkeller/prost/issue/48) by geisserf (Bitbucket: [557058:e7a9f9a5-3ea8-4154-97d2-10446425dce3](https://bitbucket.org/557058:e7a9f9a5-3ea8-4154-97d2-10446425dce…
-
opening this issue to track ideas for how to port Halide to nim.
This could be either using halide in Nim via:
* A1: a wrapper (eg using nimterop) or
* A2: re-implementing some ideas in nim directl…
-
I've a test-suite with many test cases in it, about 350-thousand of them actually.
Usually I just want to run it all, and tasty works great. But in certain cases, I'd like to be able to tell tasty …
-
Remarkably, _Immutables_ have pretty decent support for the algebraic data type -like classes.
Examples:
- ADT-like types using OO inheritance and object graphs:
https://github.com/immutables/immuta…
-
This will allow us to also remove deforestation (a.k.a. fusion for sum catamorphism), and update the fusion code accordingly, enabling us to implement #3.
-
Could be foldr over sums. (foldr over list would be separate because maybe we don't want to represent lists as sums.)
-
Many of the functions provided in `Data.List` (defined in `GHC.List`) also provide equivalent, stricter versions. Of those functions that currently don't provide these versions, `break` and `span` cou…