Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
teaching:cc4101:tareas:2016-2:tarea3 [2017/11/07 14:55] – folmedo | teaching:cc4101:tareas:2016-2:tarea3 [2017/11/07 14:56] (current) – old revision restored (2016/11/30 16:16) folmedo | ||
---|---|---|---|
Line 16: | Line 16: | ||
<code scheme> | <code scheme> | ||
< | < | ||
- | | + | |
- | | + | |
- | | + | |
</ | </ | ||
Line 36: | Line 36: | ||
<code scheme> | <code scheme> | ||
< | < | ||
- | | + | |
| <id> | | <id> | ||
- | | + | |
- | | + | |
</ | </ | ||
Line 53: | Line 53: | ||
<code scheme> | <code scheme> | ||
< | < | ||
- | | + | |
- | | + | |
</ | </ | ||
Line 72: | Line 72: | ||
<code Java> | <code Java> | ||
- | java tarea3 "(+ 4 3)" | + | java tarea3 "{+ 4 3}" |
>" | >" | ||
</ | </ | ||
<code Java> | <code Java> | ||
- | java tarea3 "(fun (x) x)" | + | java tarea3 "{fun {x} x}" |
>" | >" | ||
</ | </ | ||
Line 83: | Line 83: | ||
Ejemplos con C: | Ejemplos con C: | ||
<code C> | <code C> | ||
- | ./Tarea3 "(((fun (x) x) | + | ./Tarea3 "{{{fun {x} x} |
- | | + | |
- | 3)" | + | 3}" |
>" | >" | ||
</ | </ | ||
<code C> | <code C> | ||
- | ./Tarea3 "(8 10)" | + | ./Tarea3 "{8 10}" |
- | >" | + | >" |
</ | </ | ||
<code C> | <code C> | ||
- | ./Tarea3 "(with (x 3) | + | ./Tarea3 "{with {x 3} |
- | (with (f (fun (y) (+ x y))) | + | {with {f {fun {y} {+ x y}}} |
- | (with (x 5) | + | {with {x 5} |
- | (f 4))))" | + | {f 4}}}}" |
>" | >" | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |