Skip to content

Commit cd5bfe1

Browse files
committed
Docs
1 parent bf9271c commit cd5bfe1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ monad](https://buzzdecafe.github.io/2018/04/10/no-promises-are-not-monads),
17411741
which explains the "monadish". Fortunately one usually does not want nested
17421742
promises in which case the approximation can be close enough.
17431743

1744-
##### <a id="l-select-applicative"></a> [](#contents) [](https://calmm-js.github.io/partial.lenses/index.html#l-Constant) [`L.Select ~> Applicative`](#l-select-applicative "L.Select: Applicative") <small><sup>v14.0.0</sup></small>
1744+
##### <a id="l-select-applicative"></a> [](#contents) [](https://calmm-js.github.io/partial.lenses/index.html#l-select-applicative) [`L.Select ~> Applicative`](#l-select-applicative "L.Select: Applicative") <small><sup>v14.0.0</sup></small>
17451745

17461746
`L.Select` is the [Static
17471747
Land](https://github.com/rpominov/static-land/blob/master/docs/spec.md)
@@ -1766,7 +1766,7 @@ It is a monoid, because it satisfies the Monoid laws:
17661766
```js
17671767
const MonoidLaws = (M, x, y, z) => ({
17681768
associativity: test(M.concat(M.concat(x, y), z), M.concat(x, M.concat(y, z))),
1769-
leftIdentity: test(M.concat(M.empty(), x), x) ,
1769+
leftIdentity: test(M.concat(M.empty(), x), x),
17701770
rightIdentity: test(M.concat(x, M.empty()), x)
17711771
})
17721772

@@ -5561,7 +5561,7 @@ collections and back).
55615561
* `undefined` is not a valid JSON value and does not get mixed up with valid
55625562
JSON values.
55635563
* We can form a [monoid over JavaScript values by treating `undefined` as
5564-
zero](#l-select).
5564+
zero](#l-select-applicative).
55655565

55665566
Some libraries use `null`, but that is arguably a poor choice, because `null` is
55675567
a valid JSON value, which means that when accessing JSON data a result of `null`

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ <h5><a id="l-identityasync"></a> <a href="#contents">≡</a> <a href="https://gi
14751475
monad</a>,
14761476
which explains the &quot;monadish&quot;. Fortunately one usually does not want nested
14771477
promises in which case the approximation can be close enough.</p>
1478-
<h5><a id="l-select-applicative"></a> <a href="#contents"></a> <a href="https://github.com/calmm-js/partial.lenses/blob/master/README.md#l-Constant"></a> <a href="#l-select-applicative" title="L.Select: Applicative"><code>L.Select ~&gt; Applicative</code></a> <small><sup>v14.0.0</sup></small></h5>
1478+
<h5><a id="l-select-applicative"></a> <a href="#contents"></a> <a href="https://github.com/calmm-js/partial.lenses/blob/master/README.md#l-select-applicative"></a> <a href="#l-select-applicative" title="L.Select: Applicative"><code>L.Select ~&gt; Applicative</code></a> <small><sup>v14.0.0</sup></small></h5>
14791479
<p><code>L.Select</code> is the <a href="https://github.com/rpominov/static-land/blob/master/docs/spec.md">Static
14801480
Land</a>
14811481
compatible
@@ -1492,7 +1492,7 @@ <h5><a id="l-select-applicative"></a> <a href="#contents">≡</a> <a href="https
14921492
<p>It is a monoid, because it satisfies the Monoid laws:</p>
14931493
<pre><code class="hljs lang-js">var MonoidLaws = (M, x, y, z) =&gt; ({
14941494
associativity: test(M.concat(M.concat(x, y), z), M.concat(x, M.concat(y, z))),
1495-
leftIdentity: test(M.concat(M.empty(), x), x) ,
1495+
leftIdentity: test(M.concat(M.empty(), x), x),
14961496
rightIdentity: test(M.concat(x, M.empty()), x)
14971497
})
14981498

@@ -3867,7 +3867,7 @@ <h4><a id="use-of-undefined"></a> <a href="#contents">≡</a> <a href="https://g
38673867
value.</li>
38683868
<li><code>undefined</code> is not a valid JSON value and does not get mixed up with valid
38693869
JSON values.</li>
3870-
<li>We can form a <a href="#l-select">monoid over JavaScript values by treating <code>undefined</code> as
3870+
<li>We can form a <a href="#l-select-applicative">monoid over JavaScript values by treating <code>undefined</code> as
38713871
zero</a>.</li>
38723872
</ul>
38733873
<p>Some libraries use <code>null</code>, but that is arguably a poor choice, because <code>null</code> is

0 commit comments

Comments
 (0)