You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use drawTree on a Tree Int but it does not work for the drawing functions only accept Tree String instances. In my opinion this is too strict and can easily be generalized to Show s => Tree s. I made that change in a fork here: jonasc@e650dda
I would be happy to create a pull request for this commit.
The text was updated successfully, but these errors were encountered:
There needs to be no discussion about this change, it is a simple generalization, consistent with showTree and showTreeWith functions from {,Int}{Map,Set}.
Hi,
I wanted to use
drawTree
on aTree Int
but it does not work for the drawing functions only acceptTree String
instances. In my opinion this is too strict and can easily be generalized toShow s => Tree s
. I made that change in a fork here: jonasc@e650ddaI would be happy to create a pull request for this commit.
The text was updated successfully, but these errors were encountered: