Skip to content

Foldable and Functor #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _data/contents.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ typeclasses:
- enumeration
- string-representation
- monoids
- iteration
- constructor-classes
- functors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would seem that this lesson is absorbed by the current one, is that right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's right. I had previously used "iteration" as the tag when the lesson was going to lead up to Traversable, since the whole thing was going to build up to what has been described as "essence of the iterator pattern", but since dropping Traversable from the lesson I renamed it from "iteration" to "constructor-classes".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realise now that the GitHub UI isn't the best when I thought I had highlighted one particular line. The functor lesson is also absorbed, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see. The one called "functors" is Applicative/Monad.

- traversal
- numbers
970 changes: 970 additions & 0 deletions en/lessons/typeclasses/constructor-classes.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions en/lessons/typeclasses/iteration.md

This file was deleted.

4 changes: 4 additions & 0 deletions en/lessons/typeclasses/traversal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
version: "0.0.1"
title: "Actions meet data structures: Traversable"
---