Skip to content

Instantly share code, notes, and snippets.

@bitemyapp
Last active June 7, 2026 11:46
Show Gist options
  • Select an option

  • Save bitemyapp/8739525 to your computer and use it in GitHub Desktop.

Select an option

Save bitemyapp/8739525 to your computer and use it in GitHub Desktop.
Learning Haskell
@JulianBirch

Copy link
Copy Markdown

Just to be clear, you think we should add ghc, alex and happy to the path, but not cabal?

...and now I understand why. But it might be worth making that explicit.

@bitemyapp

Copy link
Copy Markdown
Author

@eborden the placement of recursion schemes is intentional. Did you look at the material it links to? It's not mere recursion, it's the formalization of recursion patterns such as those found in the famous Meijer paper.

So, less "write a foldr" and more "that's a zygo preprohistomorphism!"

The foundational material covers basic recursion already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment