wtetzner / exploding-fish

A URI library for Clojure
Other
150 stars 12 forks source link

Missing Uri methods and defrecord compatibility #15

Closed griff closed 9 years ago

griff commented 9 years ago

The Uri type was missing implementations for several of the methods that are part of the protocols and interfaces that Uri declares as implementing. The missing functions are:

There was also a problem with the implementation for entryAt which was not returning the expected IMapEntry type causing a runtime error when it was called (which find does).

All these problems are now fixed and tested with unit tests.

Lastly I have also made Uri implement java.util.Map as defrecord also does that and it improves interop with Java.

wtetzner commented 9 years ago

Awesome! Thanks for the fixes.