Calculating PI using streams, head & tail in DataWeave
Thanks to [head ~ tail] in DataWeave 2.0 we can easily create infinite
sequence generators.
What is the dollar sign in DataWeave?
TL;DR: It is an argument of an automatic function injection