Open jvoigtlaender opened 5 months ago
This is per the hint
If the entire list is intended to be reduced via a fold, just fold the structure directly bypassing the list.
from the documentation: https://hackage.haskell.org/package/base-4.19.0.0/docs/Data-Foldable.html#v:toList
This is per the hint
from the documentation: https://hackage.haskell.org/package/base-4.19.0.0/docs/Data-Foldable.html#v:toList