Skip to content

Instantly share code, notes, and snippets.

@bitemyapp
Last active May 7, 2021 23:22
Show Gist options
  • Save bitemyapp/8739525 to your computer and use it in GitHub Desktop.
Save bitemyapp/8739525 to your computer and use it in GitHub Desktop.
Learning Haskell
@JulianBirch
Copy link

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
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