Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Add Generic instance for Maybe #9

Merged
merged 1 commit into from
Jun 3, 2017
Merged

Add Generic instance for Maybe #9

merged 1 commit into from
Jun 3, 2017

Conversation

LiamGoodacre
Copy link
Contributor

No description provided.

@paf31
Copy link
Contributor

paf31 commented Apr 30, 2017

Seems fine to me, thanks. Curious what you need this for though, since typically I'd expect Maybe to be used as an Argument or Field, but not as Generic itself.

@LiamGoodacre
Copy link
Contributor Author

My motivation is that as we do more interesting things with interpreting generics-rep structures (like with generating optics, encodings, etc) it seems appropriate to be able to apply them not only to our own data structures but also existing ones like Maybe (which I think is the only data structure this library depends on?)

@paf31 paf31 merged commit 0444c79 into purescript-deprecated:master Jun 3, 2017
@paf31
Copy link
Contributor

paf31 commented Jun 3, 2017

Thanks!

@LiamGoodacre LiamGoodacre deleted the feature/maybe-instance branch June 3, 2017 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants