> What are the chances of keeping typed and untyped and making it actually
> meaningful? Like
template a: untyped =
# This actually has no type
for i in 0..9:
echo i
template b: typed =
# This has a type
procReturningSomething()
Run
no, untyped can be used to (when instantiated), return either void or non-void,
so that suggestion would not work.
Eg:
template foo_typed5(foo: static bool):untyped=
when foo: 1
else: echo2 2
Run
