Sven Van Caekenberghe-2 wrote
> But I understand the confusion, I'll flag this for my todo/tothink

- Conceptually, an empty collection seems to fit better e.g. there is:
  self assert: 'http://google.com/' asUrl queryKeys isEmpty
- It also makes processing easier because you can just "url pathSegments do:
aBlock" without always having to do a check first. This is how I found the
problem - my code was working until I passed it a url with an empty path.



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Possible-Zinc-Bug-empty-path-segments-returns-nil-tp4758371p4758666.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to