slist
slist copied to clipboard
♾️ Sized list
``` Error: setup: Encountered missing or private dependencies: base >=4.10.1.0 &&
Because of how ordinary lists are implemented in Haskell, left-associative appending of such lists is very slow. The following takes much more time than it should: ```haskell ((((l1 ++ l2)...
Create another data structure similar to `NonEmpty` implemented through the ordinary list. Something like this: ```haskell data SNonEmpty a = a :| Slist a ```
This is more of a comment for something to keep in mind in future work, rather than an issue about something that exists now in the code. I mention it...