Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
teaching:cc4101:tareas:2021-1:tarea1 [2021/04/29 21:00] – [Parte 2. Verificación estática y opcional de tipos] bortiz | teaching:cc4101:tareas:2021-1:tarea1 [2021/05/10 14:34] (current) – P3, add '}' on first example bortiz | ||
---|---|---|---|
Line 120: | Line 120: | ||
{id 5}} | {id 5}} | ||
- | {{define {add1 {x : Num}} {+ x 1}} | + | {{define {add2 {x : Num}} {+ x 2}} |
{with {{oops #f}} | {with {{oops #f}} | ||
- | {add1 oops}}} | + | {add2 oops}}} |
</ | </ | ||
Line 205: | Line 205: | ||
| | ||
| | ||
- | | + | |
{/ {* y y} x}} | {/ {* y y} x}} | ||
{calc 25 3}} | {calc 25 3}} |