as there is
var
  a=1
  b=2
#make for proc template macros etc
proc
  proc1:
    ...
  proc2:
    ...
You can do something similar using a macro - this is a valid syntax.
pr:
    a(a: int): str = 12
But I doubt it would make any sense as most procedures are longer than one-two line, and won't benefit from being grouped in a single section.