kachayev / fn.py

Functional programming in Python: implementation of missing features to enjoy FP
Other
3.35k stars 204 forks source link

Binary trees #68

Open clrnd opened 9 years ago

clrnd commented 9 years ago

I've implemented immutable Maps in spirit of Haskell's Data.Map.

So far "singleton", "empty", "insert" and "lookup" work correctly. Adding "delete" would make the implementation almost complete, but it's usable as it is.

Thank's for reviewing.