Skip to content

Commit 3b3e38f

Browse files
committed
Fix old blog post with broken images
1 parent 35b77d3 commit 3b3e38f

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

_blogposts/archive/2020-03-26-generalize-uncurry.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,19 @@ message leaks the underlying encoding -- now all those limitations are gone!
5353

5454
**Previously:**
5555

56-
<img class="my-4" src="https://bucklescript.github.io/img/poly-error.png"/>
56+
<img src="/static/blog/archive/poly-error.png" className="my-4 mx-auto max-h-[500px]"/>
5757

58-
<img src="https://bucklescript.github.io/img/label-error.png"/>
58+
<img src="/static/blog/archive/label-error.png" className="my-4 mx-auto max-h-[500px]"/>
5959

60-
<img src="https://bucklescript.github.io/img/recursive-error.png"/>
60+
<img src="/static/blog/archive/recursive-error.png" className="my-4 mx-auto max-h-[500px]"/>
6161

6262
The error messages above are cryptic and hard to understand. And the limitation of not supporting recursive functions make uncurried support pretty weak.
6363

6464
Now those limitations are all gone, you can have polymorphic uncurried recursive functions and it support labels.
6565

66-
<img src="https://bucklescript.github.io/img/uncurry-label.png"/>
66+
<img src="/static/blog/archive/uncurry-label.png" className="my-4 mx-auto max-h-[500px]"/>
6767

68-
<img src="https://bucklescript.github.io/img/recursive.png"/>
68+
<img src="/static/blog/archive/recursive.png" className="my-4 mx-auto max-h-[500px]"/>
6969

7070
The error message is also enhanced significantly
7171

78.1 KB
Loading
43.2 KB
Loading
43.5 KB
Loading
47.2 KB
Loading
56.8 KB
Loading

tailwind.config.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default {
2424
content: [
2525
"./src/**/*.{mjs,js,res}",
2626
"./pages/**/*.{mjs,js,mdx}",
27+
"./_blogposts/**/*.mdx"
2728
],
2829
theme: {
2930
extend: {

0 commit comments

Comments
 (0)