spir Wrote:
> >> > attribute funcName inputParams -> outputParams { body }
> > ReturnType funcAttributes funcName(params) { body }
>
> So what?
So there's no need for FP-style syntax to just disambiguate attribute placing.
> > BTW the problem is in separation of function attributes from return type
> > attributes. I'm afraid, your example doesn't solve it.
>
> ??? what do you /actually/ mean?
>
> attribute funcName inputParams -> attribute outputParams { body }
Look at the return type attribute. Whether it's a function attribute or type
constructor? Both come first.