|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> |
6 | 6 | <meta name="generator" content="pdoc3 0.11.5"> |
7 | 7 | <title>better_functools API documentation</title> |
8 | | -<meta name="description" content="More functools improves functional programming ergonomics in Python …"> |
| 8 | +<meta name="description" content="Better functools improves functional programming ergonomics in Python …"> |
9 | 9 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/13.0.0/sanitize.min.css" integrity="sha512-y1dtMcuvtTMJc1yPgEqF0ZjQbhnc/bFhyvIyVNb9Zk5mIGtqVaAB1Ttl28su8AvFMOY0EwRbAe+HCLqj6W7/KA==" crossorigin> |
10 | 10 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/13.0.0/typography.min.css" integrity="sha512-Y1DYSb995BAfxobCkKepB1BqJJTPrOp3zPL74AWFugHHmmdcvO+C48WLrUOlhGMc0QG7AE3f7gmvvcrmX2fDoA==" crossorigin> |
11 | 11 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" crossorigin> |
|
36 | 36 | <h1 class="title">Package <code>better_functools</code></h1> |
37 | 37 | </header> |
38 | 38 | <section id="section-intro"> |
39 | | -<p>More functools improves functional programming ergonomics in Python</p> |
| 39 | +<p>Better functools improves functional programming ergonomics in Python</p> |
| 40 | +<h2 id="installation">Installation</h2> |
| 41 | +<pre><code>$ pip install better-functools |
| 42 | +</code></pre> |
| 43 | +<h2 id="background">Background</h2> |
40 | 44 | <p>The library introduces 2 different operators for use with functions: |
41 | 45 | - <code>|</code> which we'll call "pipe" |
42 | 46 | - <code>@</code> which we'll call "apply"</p> |
@@ -118,9 +122,13 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2> |
118 | 122 | <nav id="sidebar"> |
119 | 123 | <div class="toc"> |
120 | 124 | <ul> |
| 125 | +<li><a href="#installation">Installation</a></li> |
| 126 | +<li><a href="#background">Background</a><ul> |
121 | 127 | <li><a href="#pipe">pipe</a></li> |
122 | 128 | <li><a href="#apply">apply</a></li> |
123 | 129 | <li><a href="#putting-and-together">Putting @ and | together</a></li> |
| 130 | +</ul> |
| 131 | +</li> |
124 | 132 | <li><a href="#general-tips">General Tips</a><ul> |
125 | 133 | <li><a href="#type-checking">Type Checking</a></li> |
126 | 134 | <li><a href="#functoolspartial">functools.partial</a></li> |
|
0 commit comments