go-ify foldr2