aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html4
-rw-r--r--docs/index.xml8
-rw-r--r--docs/posts/auto-currying_rust_functions/index.html8
3 files changed, 12 insertions, 8 deletions
diff --git a/docs/index.html b/docs/index.html
index e426877..24d080e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8,13 +8,13 @@
8<meta name="HandheldFriendly" content="true"> 8<meta name="HandheldFriendly" content="true">
9<meta property="og:title" content="nerdypepper"> 9<meta property="og:title" content="nerdypepper">
10<meta property="og:type" content="website"> 10<meta property="og:type" content="website">
11<meta property="og:description" content="a static site {for, by, about} me "> 11<meta property="og:description" content="nerdypepper's micro musings">
12<meta property="og:url" content="https://peppe.rs"> 12<meta property="og:url" content="https://peppe.rs">
13<link rel="icon" type="image/x-icon" href="/favicon.png"> 13<link rel="icon" type="image/x-icon" href="/favicon.png">
14<title>peppe.rs</title> 14<title>peppe.rs</title>
15<body> 15<body>
16 <h1 class="heading">n</h1> 16 <h1 class="heading">n</h1>
17 <h4 class="subheading">nerdypepper's μblog</h4> 17 <h4 class="subheading">nerdypepper's μsings</h4>
18 <div class="posts"> 18 <div class="posts">
19 <div class="post"> 19 <div class="post">
20 20
diff --git a/docs/index.xml b/docs/index.xml
index dce3d00..07120bc 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -60,9 +60,11 @@ h(x)(y)(z) = g(y)(z) = k(z) = v</code></pre>
60<h3 id="procedural-macros">Procedural Macros</h3> 60<h3 id="procedural-macros">Procedural Macros</h3>
61<p>These are functions that take code as input and spit out modified code as output. Powerful stuff. Rust has three kinds of proc-macros:</p> 61<p>These are functions that take code as input and spit out modified code as output. Powerful stuff. Rust has three kinds of proc-macros:</p>
62<ul> 62<ul>
63<li>Function like macros: <code>println!</code>, <code>vec!</code>.</li> 63<li>Function like macros<br />
64<li>Derive macros: <code>#[derive(...)]</code>, used to automatically implement traits for structs/enums.</li> 64</li>
65<li>and Attribute macros: <code>#[test]</code>, usually slapped onto functions.</li> 65<li>Derive macros: <code>#[derive(...)]</code>, used to automatically implement traits for structs/enums<br />
66</li>
67<li>and Attribute macros: <code>#[test]</code>, usually slapped onto functions</li>
66</ul> 68</ul>
67<p>We will be using Attribute macros to convert a Rust function into a curried Rust function, which we should be able to call via: <code>function(arg1)(arg2)</code>.</p> 69<p>We will be using Attribute macros to convert a Rust function into a curried Rust function, which we should be able to call via: <code>function(arg1)(arg2)</code>.</p>
68<h3 id="definitions">Definitions</h3> 70<h3 id="definitions">Definitions</h3>
diff --git a/docs/posts/auto-currying_rust_functions/index.html b/docs/posts/auto-currying_rust_functions/index.html
index 2ed5419..db70890 100644
--- a/docs/posts/auto-currying_rust_functions/index.html
+++ b/docs/posts/auto-currying_rust_functions/index.html
@@ -85,9 +85,11 @@ h(x)(y)(z) = g(y)(z) = k(z) = v</code></pre>
85<h3 id="procedural-macros">Procedural Macros</h3> 85<h3 id="procedural-macros">Procedural Macros</h3>
86<p>These are functions that take code as input and spit out modified code as output. Powerful stuff. Rust has three kinds of proc-macros:</p> 86<p>These are functions that take code as input and spit out modified code as output. Powerful stuff. Rust has three kinds of proc-macros:</p>
87<ul> 87<ul>
88<li>Function like macros: <code>println!</code>, <code>vec!</code>.</li> 88<li>Function like macros<br />
89<li>Derive macros: <code>#[derive(...)]</code>, used to automatically implement traits for structs/enums.</li> 89</li>
90<li>and Attribute macros: <code>#[test]</code>, usually slapped onto functions.</li> 90<li>Derive macros: <code>#[derive(...)]</code>, used to automatically implement traits for structs/enums<br />
91</li>
92<li>and Attribute macros: <code>#[test]</code>, usually slapped onto functions</li>
91</ul> 93</ul>
92<p>We will be using Attribute macros to convert a Rust function into a curried Rust function, which we should be able to call via: <code>function(arg1)(arg2)</code>.</p> 94<p>We will be using Attribute macros to convert a Rust function into a curried Rust function, which we should be able to call via: <code>function(arg1)(arg2)</code>.</p>
93<h3 id="definitions">Definitions</h3> 95<h3 id="definitions">Definitions</h3>