pointless icon indicating copy to clipboard operation
pointless copied to clipboard

Make map work with set (and others)

Open roetlich opened this issue 5 years ago • 0 comments

This is my attempt to solve #11. I added a call to toList to the map function that is being called by the for comprehension. That allows for to be used with a lot of things, such as lists, sets, tuples and even strings.

This does solve the issue that for needs to work with sets, but it might be too much. Maybe iterating over strings isn't intended?

roetlich avatar Oct 17 '20 13:10 roetlich