By making it anonymous and calling the proc you define:
    
    
    import macros
    when compiles((proc() =
      echo "hi"
      echo "foo"
      echo "bar")()):
      proc hello() = echo "hi"
    
    
    Run

Reply via email to