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
shouldn't the Tree class implement the typescript Iterable<T> interface? also have you considered giving more conventional methods that mimic javascripts Set and Map so that users are generally already familiar with the API. Also (and this is my opinion, that JS should have done this for set), maybe all the extra methods like .map, .filter, .foreach from array, for set. Lastly, it'd be cool if you could add optional constructor methods
newTreeSet(['a','c','x','y'])// Set Takes an IterablenewTreeMap([['key','value'],['nextkey', 'value]]) // takes an array of tuple? key value pairs.
The text was updated successfully, but these errors were encountered:
shouldn't the
Tree
class implement the typescriptIterable<T>
interface? also have you considered giving more conventional methods that mimic javascriptsSet
andMap
so that users are generally already familiar with the API. Also (and this is my opinion, that JS should have done this for set), maybe all the extra methods like .map, .filter, .foreach from array, for set. Lastly, it'd be cool if you could add optional constructor methodsThe text was updated successfully, but these errors were encountered: