ostensibly made foldP work -- at least I can get a counter like from elm-lang working