Thanks for the playground. I see what you did with defining the `a_echo` 
**proc**. I read back through some of Salewski's book (specifically 
<https://ssalewski.de/nimprogramming.html#_procedure_variables>). It looks like 
I was mostly just overthinking it.

Do you know (unrelated) if there's an elegant way to be able to do like a 
`__repr__` on the **proc**? Here's the related compiler error:
    
    
    /usercode/in.nim(13, 3) Error: type mismatch
    Expression: echo act
      [1] act: Action
    
    Expected one of (first mismatch at [position]):
    [1] proc echo(x: varargs[typed, `$`])
    
    
    Run

Reply via email to