Skip to content
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

Add Lens as a Category. #3

Closed
gusty opened this issue Nov 4, 2013 · 3 comments
Closed

Add Lens as a Category. #3

gusty opened this issue Nov 4, 2013 · 3 comments
Labels

Comments

@gusty
Copy link
Member

gusty commented Nov 4, 2013

No description provided.

@mausch
Copy link
Member

mausch commented Nov 4, 2013

Actually, the latest Haskell lens package composes lens with the standard function composition operator from the Prelude (previous implementations had to use the generalized composition from Category). ( https://github.com/ekmett/lens/wiki/Overview ).
I need to look deeper into its implementation (which seems quite complex!). It may be possible to port this quite directly with the tools FsControl provides.

@gusty
Copy link
Member Author

gusty commented Nov 4, 2013

Profunctor, Arrow, MonadState, Comonad?
True, that's not straightforward.
A good exercise with no doubt.

@gusty
Copy link
Member Author

gusty commented Oct 6, 2015

Implemented !
Not as complete as the one in the link but it's just a matter of adding more functions and some more types.

@gusty gusty closed this as completed Oct 6, 2015
gusty added a commit that referenced this issue Dec 24, 2016
Add Pure, Map, Foldable for Sets.
@gusty gusty added the RFC label Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants