mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Cheat-sheet: small fixes
This commit is contained in:
parent
d66cd1e29c
commit
03f31b4923
Binary file not shown.
@ -358,6 +358,7 @@
|
||||
match expr with pattern
|
||||
-- Case1 of x: ...
|
||||
-- Case2 : ...
|
||||
-- anything : ...
|
||||
```
|
||||
\end{catala}
|
||||
\\
|
||||
@ -444,9 +445,9 @@
|
||||
\\
|
||||
State transitions declaration & \begin{catala}
|
||||
```catala
|
||||
internal var1 content ...
|
||||
state before
|
||||
state after
|
||||
internal var1 content ...
|
||||
state before
|
||||
state after
|
||||
```
|
||||
\end{catala}
|
||||
\\
|
||||
|
@ -364,6 +364,7 @@
|
||||
selon expr sous forme
|
||||
-- Cas1 de x: ...
|
||||
-- Cas2 : ...
|
||||
-- n'importe quel : ...
|
||||
```
|
||||
\end{catala}
|
||||
\\
|
||||
@ -422,7 +423,7 @@
|
||||
\\
|
||||
Déclaration d'énumération & \begin{catala}
|
||||
```catala
|
||||
déclaration énumeration Énum1:
|
||||
déclaration énumération Énum1:
|
||||
-- Cas1 contenu entier
|
||||
-- Cas2
|
||||
```
|
||||
@ -450,9 +451,9 @@
|
||||
\\
|
||||
Transitions d'état & \begin{catala}
|
||||
```catala
|
||||
interne var1 contenu ...
|
||||
état avant
|
||||
état après
|
||||
interne var1 contenu ...
|
||||
état avant
|
||||
état après
|
||||
```
|
||||
\end{catala}
|
||||
\\
|
||||
|
Loading…
Reference in New Issue
Block a user