quchen/articles
View on GitHub ↗ ★ 1,307 Haskell
Miscellaneous articles. The readme is the table of contents.
22 mentions on Hacker News by 19 people: 12 stories, 10 comments · first 2013-08-12 · latest 2026-10-05
20082026
-
…implement arbitrary traversals of lists, including foldl' or list traversals that exit early. See https://github.com/quchen/articles/blob/master/useful_techni...
comment by s-zeng · 2026-10-05 · in Differences Between `Foldl` and `Foldr` -
…there were problems involving circuits of gates that were elegantly solved using the Löb function: https://github.com/quchen/articles/blob/master/loeb-moeb.md
comment by taolson · 2025-11-30 · in Advent of Code 2025 -
▲ 91
Löb and Möb: Loops in Haskell (2013)story by fanf2 · 2025-11-07 · 16 comments
-
▲ 2
Algebraic Blindnessstory by aiono · 2024-11-11 · 1 comment
-
▲ 153
Löb and möb: strange loops in Haskell (2015)story by hjnkk · 2023-01-30 · 60 comments
-
▲ 4
Löb and möb: strange loops in Haskellstory by isaac21259 · 2022-06-02 · 0 comments
-
…players perception of efficiency, but I find it fun. https://en.wikipedia.org/wiki/PID_controller https://github.com/quchen/articles/blob/factorio/factorio/ci...
comment by willis936 · 2020-08-18 · in Factorio and Software Engineering -
▲ 86
Löb and möb: strange loops in Haskell (2013)story by improv32 · 2018-10-07 · 10 comments
-
▲ 1
Algebraic blindness: Boolean blindness for often type systemsstory by fanf2 · 2018-06-27 · 0 comments
-
…don't carry semantic information. Same goes for `Optional<T>` in an argument position, though https://github.com/quchen/articles/blob/master/algebraic-bli...
comment by Tarean · 2018-06-27 · in Anti-If: The missing patterns (2016) -
▲ 1
How to write unmaintainable Haskell codestory by networked · 2017-12-10 · 0 comments
-
▲ 2
Undefined is not Haskell's nullstory by networked · 2017-12-08 · 0 comments
-
▲ 2
Haskell equality tablestory by quickthrower2 · 2017-11-20 · 0 comments
-
▲ 1
Algebraic blindnessstory by dmit · 2016-12-11 · 0 comments
-
…counterparts. The fact that it uses constant space is an implementation detail of GHC. Reference: https://github.com/quchen/articles/blob/master/fbut.md#seq-d... Structural recursion always terminates in SML. Supporting infinite/cyclic…
comment by cousin_it · 2016-07-17 · in Destroy All Ifs – A Perspective from Functional Programming -
…Löb function over (Haskell) functors implements spreadsheet-like computations in an unexpected way: https://github.com/quchen/articles/blob/master/loeb-moeb.md ex. loeb [const 1, const 2, \xs -> x !! 0 + x !! 1] gives you [1, 2, 3].…
comment by rfw · 2015-07-24 · in How to implement a spreadsheet -
▲ 2
Löb and möb: strange loops in Haskellstory by wz1000 · 2015-03-14 · 0 comments
-
…than Lisp stacks of parentheses. - ByteString.Char8 is usually a wrong choice, more on that here: https://github.com/quchen/articles/blob/master/fbut.md#bytes... - If you count to "length x" then often there's a more elegant solution that…
comment by quchen · 2014-12-19 · in Haskell version of Norvig's spelling corrector -
If you really want to go down the rabbit hole on stuff like this, check out bouncy folds https://github.com/quchen/articles/blob/master/useful_techni...
comment by platz · 2014-11-03 · in Functional programming recursion schemes -
I heartily recommend this short accessible article to anyone interested in loeb: https://github.com/quchen/articles/blob/master/loeb-moeb.md
comment by maninalift · 2014-08-31 · in Twitter waterflow problem and loeb (2013) -
▲ 4
Löb and möb: strange loops in Haskellstory by lelf · 2013-11-18 · 0 comments
-
…times, I wrote together a file that guides me through the process, which you can find here: https://github.com/quchen/articles/blob/master/install_haske...
comment by quchen · 2013-08-12 · in Mio: A High-Performance Multicore IO Manager for GHC [pdf]