Fix mistakes in blog posts
This commit is contained in:
parent
db16dbda18
commit
dc9a68ad10
|
@ -46,7 +46,7 @@ defn snd p = {
|
||||||
P x y -> { y }
|
P x y -> { y }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
defn slow x = { returns x after waiting for 4 seconds }
|
defn slow x = { returns x after waiting for 1 second }
|
||||||
defn main = { fst (P (slow 320) (slow 6)) }
|
defn main = { fst (P (slow 320) (slow 6)) }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -514,7 +514,7 @@ We run the following commands in our build directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
./compiler < ../examples/work1.txt
|
./compiler < ../examples/work1.txt
|
||||||
gcc -no-pie main.c progrma.o
|
gcc -no-pie ../runtime.c progrma.o
|
||||||
./a.out
|
./a.out
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user