gh-pages
MarcoIeni 1 year ago
parent e01a4d3cb9
commit 7606befa43

@ -156,7 +156,7 @@ Nevertheless, exploring the concept may be helpful to understand other
patterns in Rust APIs, such as <a href="../patterns/behavioural/visitor.html">visitors</a>. patterns in Rust APIs, such as <a href="../patterns/behavioural/visitor.html">visitors</a>.
They also have niche use cases.</p> They also have niche use cases.</p>
<h2 id="lenses-uniform-access-across-types"><a class="header" href="#lenses-uniform-access-across-types">Lenses: Uniform Access Across Types</a></h2> <h2 id="lenses-uniform-access-across-types"><a class="header" href="#lenses-uniform-access-across-types">Lenses: Uniform Access Across Types</a></h2>
<p>A lens is a concept from functional progamming languages that allows <p>A lens is a concept from functional programming languages that allows
accessing parts of a data type in an abstract, unified way.<sup class="footnote-reference"><a href="#1">1</a></sup> accessing parts of a data type in an abstract, unified way.<sup class="footnote-reference"><a href="#1">1</a></sup>
In basic concept, it is similar to the way Rust traits work with type erasure, In basic concept, it is similar to the way Rust traits work with type erasure,
but it has a bit more power and flexibility.</p> but it has a bit more power and flexibility.</p>

@ -3598,7 +3598,7 @@ Nevertheless, exploring the concept may be helpful to understand other
patterns in Rust APIs, such as <a href="functional/../patterns/behavioural/visitor.html">visitors</a>. patterns in Rust APIs, such as <a href="functional/../patterns/behavioural/visitor.html">visitors</a>.
They also have niche use cases.</p> They also have niche use cases.</p>
<h2 id="lenses-uniform-access-across-types"><a class="header" href="#lenses-uniform-access-across-types">Lenses: Uniform Access Across Types</a></h2> <h2 id="lenses-uniform-access-across-types"><a class="header" href="#lenses-uniform-access-across-types">Lenses: Uniform Access Across Types</a></h2>
<p>A lens is a concept from functional progamming languages that allows <p>A lens is a concept from functional programming languages that allows
accessing parts of a data type in an abstract, unified way.<sup class="footnote-reference"><a href="#1">1</a></sup> accessing parts of a data type in an abstract, unified way.<sup class="footnote-reference"><a href="#1">1</a></sup>
In basic concept, it is similar to the way Rust traits work with type erasure, In basic concept, it is similar to the way Rust traits work with type erasure,
but it has a bit more power and flexibility.</p> but it has a bit more power and flexibility.</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save