Define toListOf
more efficiently using Endo?
#105
Closed
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
toListOf l = foldrOf l (:) []
is asymptotically more efficient than the current definition for e.g. a left-biased tree.The text was updated successfully, but these errors were encountered: