Switch more posts to work with KaTeX and the latex macro
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -36,12 +36,13 @@ if (if True False True) 11 3
|
||||
This is because, for this to work, both of the following would need to hold (borrowing
|
||||
some of our notation from the [typechecking]({{< relref "03_compiler_typechecking.md" >}}) post):
|
||||
|
||||
$$
|
||||
\\text{if} : \\text{Int} \\rightarrow \\text{Int}
|
||||
$$
|
||||
$$
|
||||
\\text{if} : \\text{Bool} \\rightarrow \\text{Bool}
|
||||
$$
|
||||
{{< latex >}}
|
||||
\text{if} : \text{Int} \rightarrow \text{Int}
|
||||
{{< /latex >}}
|
||||
|
||||
{{< latex >}}
|
||||
\text{if} : \text{Bool} \rightarrow \text{Bool}
|
||||
{{< /latex >}}
|
||||
|
||||
But using our rules so far, such a thing is impossible, since there is no way for
|
||||
\\(\text{Int}\\) to be unified with \\(\text{Bool}\\). We need a more powerful
|
||||
|
||||
Reference in New Issue
Block a user