askql
askql copied to clipboard
Syntax for using a resource can be simplified
I read in @YonatanKra's article how to use resources in askQL and the syntax for using a resource can be simplified as it currently required typing 2 function identifiers while 1 could be enough. The current syntax:
The suggested syntax:
ask {
names: map((name, i) {...})
}
There is no need on the user, consumer side to write map(fun(...)){...}
, that is my suggestion.