Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
teaching:cc4101:tareas:2015-1:tarea2 [2015/04/30 14:56] etanterteaching:cc4101:tareas:2015-1:tarea2 [2015/04/30 14:57] etanter
Line 19: Line 19:
  
 <code scala> <code scala>
 +class A {
 +  def x = 1
 +}
 +
 > run "((fun (x) (+ x 1)) 3)" > run "((fun (x) (+ x 1)) 3)"
 4 4