Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upArgument auto-splitting #119
Open
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Currently, each argument to fx treated as an anonymous function. Here is an example:
But this requires a lot of
'quotes. My idea is to split the argument by whitespaces. So next will be possible to write:fx 'groupBy("commit.author.name") mapValues(size) toPairs sortBy(1) reverse take(10) fromPairs'But of caouse, this is shuld be done properly. And next code shoukd work as expected:
fx '.map(x => x.foo) .bar'