forked from avsm/ocaml-lens
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Description: | |
see http://www.youtube.com/watch?v=efv0SQNde5Q - Functional lenses for Scala by Edward Kmett on YouTube | ||
see http://patternsinfp.wordpress.com/2011/01/31/lenses-are-the-coalgebras-for-the-costate-comonad - Lenses are the coalgebras for the costate comonad by Jeremy Gibbons | ||
Homepage: https://github.com/avsm/ocaml-lens | ||
Version: 1.0.0 | ||
Version: 1.0.2 | ||
Synopsis: Functional lenses | ||
Authors: Alessandro Strada <[email protected]> | ||
Maintainers: Paolo Donadeo <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Functional lenses | ||
Based on F# implementation in https://github.com/fsharp/fsharpx | ||
see https://github.com/fsharp/fsharpx/blob/master/src/FSharpx.Core/Lens.fs for the original implementation | ||
see http://bugsquash.blogspot.com/2011/11/lenses-in-f.html - Lenses in F# | ||
see http://stackoverflow.com/questions/8179485/updating-nested-immutable-data-structures - Stackoverflow question about Updating nested immutable data structures | ||
see http://stackoverflow.com/questions/5767129/lenses-fclabels-data-accessor-which-library-for-structure-access-and-mutatio - Haskell libraries for structure access and mutation | ||
see http://www.youtube.com/watch?v=efv0SQNde5Q - Functional lenses for Scala by Edward Kmett on YouTube | ||
see http://patternsinfp.wordpress.com/2011/01/31/lenses-are-the-coalgebras-for-the-costate-comonad - Lenses are the coalgebras for the costate comonad by Jeremy Gibbons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
opam-version: "1.2" | ||
available: [ ocaml-version >= "4.01.0" ] | ||
maintainer: "Paolo Donadeo <[email protected]>" | ||
authors: [ "Alessandro Strada <[email protected]>" ] | ||
license: "BSD-3-clause" | ||
homepage: "https://github.com/pdonadeo/ocaml-lens" | ||
dev-repo: "https://github.com/pdonadeo/ocaml-lens.git" | ||
bug-reports: "https://github.com/pdonadeo/ocaml-lens/issues" | ||
build: [ | ||
["ocaml" "setup.ml" "-configure" "--prefix" prefix] | ||
["ocaml" "setup.ml" "-build"] | ||
] | ||
install: ["ocaml" "setup.ml" "-install"] | ||
remove: [ | ||
["ocamlfind" "remove" "lens"] | ||
] | ||
depends: [ | ||
"ocamlfind" { build } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/pdonadeo/ocaml-lens/archive/v1.0.1.tar.gz" | ||
checksum: "5907e5d883976be6c1b5b5ba7e00d1c3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters