Skip to content

Add TraversableWithIndex instances for newtypes#18

Merged
garyb merged 1 commit into
purescript:masterfrom
MonoidMusician:TraversableWithIndex
Oct 13, 2018
Merged

Add TraversableWithIndex instances for newtypes#18
garyb merged 1 commit into
purescript:masterfrom
MonoidMusician:TraversableWithIndex

Conversation

@MonoidMusician
Copy link
Copy Markdown
Contributor

Just the sensible instances for {Functor, Foldable, Traversable}WithIndex, for (Co)Product (combining indices with Either), and Compose (combining with Tuple), and App (maintaining same index).

These instances have to be here, since this depends on -foldable-traversable already :)

Copy link
Copy Markdown
Member

@garyb garyb left a comment

Choose a reason for hiding this comment

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

LGTM!

@garyb garyb merged commit f5665c4 into purescript:master Oct 13, 2018
@MonoidMusician
Copy link
Copy Markdown
Contributor Author

Thank you!! :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants