Closed Horneth closed 7 years ago
@cjllanwarne @danbills re "it shouldn't be a fold"
I got it to work by having the InputDefinitionFold
be a monoid and map/traverse
the list + combineAll
at the end but I honestly don't think it changes much, readability looks the same to me. And unless we parallelize the map
it'll still do it in order so..
I was thinking of foldMap
but yeah it's just a small win
@danbills I gave it a shot (last commit)
New attempt at call node creation, this time most of the logic is handled by language specific code. This generates a lot of boilerplate code when creating nodes from WOM directly which shows in the tests.