partial.lenses
Advanced tools
Comparing version 0.7.0 to 1.0.0
{ | ||
"name": "partial.lenses", | ||
"version": "0.7.0", | ||
"version": "1.0.0", | ||
"description": "Ramda compatible lenses", | ||
@@ -5,0 +5,0 @@ "main": "lib/partial.lenses.js", |
@@ -9,3 +9,3 @@ [ [Tutorial](#tutorial) | [Reference](#reference) | [Background](#background) ] | ||
In Javascript, missing data can be mapped to `undefined`, which is what partial | ||
In JavaScript, missing data can be mapped to `undefined`, which is what partial | ||
lenses also do. When a part of a data structure is missing, an attempt to view | ||
@@ -287,6 +287,6 @@ it returns `undefined`. When a part is missing, setting it to a defined value | ||
```haskell | ||
choose :: (Maybe a -> PartialLens b s) -> PartialLens a s -> PartialLens b s | ||
choose :: (Maybe a -> PartialLens s b) -> PartialLens s a -> PartialLens s b | ||
``` | ||
which is very similar to the type of the monadic bind operation. | ||
which is very similar to the type of a monadic bind operation. | ||
@@ -293,0 +293,0 @@ #### L.filter(predicate) |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
56785
0