GithubHelp home page GithubHelp logo

hablapps / dontfeartheprofunctoroptics Goto Github PK

View Code? Open in Web Editor NEW
414.0 16.0 25.0 154 KB

Don't Fear the Profunctor Optics!

Haskell 100.00%
optics profunctor-optics immutability modularity lenses profunctors

dontfeartheprofunctoroptics's Introduction

Don't Fear the Profunctor Optics!

This is a series of posts on Profunctor Optics. They're heavily inspired on this awesome article by Pickering et al. Our contribution relies on providing box diagrams to make profunctor and profunctor optics easier to approach.

Any feedback is welcome!

dontfeartheprofunctoroptics's People

Contributors

bxt avatar foollbar avatar jon-hanson avatar neutropolis avatar vaibhavsagar avatar yuanw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dontfeartheprofunctoroptics's Issues

Lens type deeper explanation

Hello
I'm new in Opticts, could you clary if am i correct that the type parameters mean

data Lens s t a b = Lens { view :: s -> a
, update :: (b, s) -> t }

-- "s" whole data
-- "t" whole new data
-- "a" focus related to "s"
-- "b" focus related to "t"

is it correct ?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.