Login  Register

Re: Url comparison

Posted by cedreek on Dec 10, 2010; 5:32pm
URL: https://forum.world.st/Url-comparison-tp3082182p3082381.html

Do you think #= is needed for Url ? (ie. do I open an issue ?)

if yes, is the following proposition enough ?
or should it be more precise according to each subclass ?

See you


>
> 'http://www.pharo-project.org' asUrl = 'http://www.pharo-project.org' asUrl.   => false
>
> What about having:
>
> Url>> = anotherUrl
>
>        ^self asText = anotherUrl asText
>
> Do we need to redefine hash too ?
>
> TIA
>
> Cédrick
>