Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
teaching:cc4101:tareas:2015-1:tarea2 [2015/04/30 17:57] – etanter | teaching:cc4101:tareas:2015-1:tarea2 [2015/05/11 17:08] (current) – [P2 - Variables fluidas (1.0pt)] flarenas | ||
---|---|---|---|
Line 19: | Line 19: | ||
<code haskell> | <code haskell> | ||
- | class A { | ||
- | def x = 1 | ||
- | } | ||
- | |||
> run "((fun (x) (+ x 1)) 3)" | > run "((fun (x) (+ x 1)) 3)" | ||
- | 4 | + | NumV 4 |
</ | </ | ||
Line 42: | Line 38: | ||
(flet (x 10) | (flet (x 10) | ||
(f 1))))" | (f 1))))" | ||
- | 11 | + | NumV 11 |
</ | </ | ||