How come Nim contradicts its effective readability philosophy, repeating this 
proc 's declaration/definition:
    
    
    type
      Foo = object
       bar: proc( n: uint) : uint
    
    var foo = Foo()
    foo.bar = proc( n: uint): uint = n + n
    
    
    Run

not its simplicity philosophy
    
    
    var foo = Foo()
    foo.bar  = n + n
    
    
    Run

How to make it sort of this instead

Reply via email to