-
The Idris 2 documentation says that ipkg files [support multiline comments](https://idris2.readthedocs.io/en/latest/reference/packages.html#comments), but when I attempt to use them I get the error: `…
-
Add an immutable deque:
```scala
enum Deque[a] {
// A deque has two lists: the "in" elements and the "out" elements.
// When "out" runs dry, we move "in" to "out" (but in reverse order).
…
-
```
You include what you call Tarjan-Mihaesau deques, but apparently without
concatenation! Since I believe the primary point of their implementation (as
well as earlier, related implementations by …
-
```
You include what you call Tarjan-Mihaesau deques, but apparently without
concatenation! Since I believe the primary point of their implementation (as
well as earlier, related implementations by …
-
See http://sneezy.cs.nott.ac.uk/fplunch/weblog/?p=445, or Okasaki, "Red-Black Trees in a Functional Setting".
-
References with nested types:
- Okasaki chapter 6
- Hinze's [Numerical Representations as Higher-Order Nested Datatypes](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.46.571)
- Hinz…
-
Following up on the discussion at the end of the last meet-up, I wanted to suggest working through the following book on functional data structures:
http://www.amazon.com/Purely-Functional-Structures…
-
These algorithms only need queues; the full power of `Seq` is overkill, and must necessarily slow things down. We could switch to something simpler, like Okasaki's bootstrapped queues. Alternatively, …
-
Long time ago I started similar project after reading Okasaki's book. it turned out to be a purely academical but still you can find some interesting ideas/links inside and apply them here.
https://g…
-
Here's some food for thought:
```scala
// Adapted from [Okasaki 1996]
sealed trait LSeq[+A]
case object LNil extends LSeq[Nothing]
case class LCons[+A](head: A, tail: LSeq[(A, A)]) extends LSeq[A…