[Haskell-cafe] Re: can Haskell do everyting as we want?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Aug 4 08:47:21 EDT 2010


Johannes Waldmann <waldmann at imn.htwk-leipzig.de> writes:

>> My understanding of tab-completion in IDEs for Java, etc. is that it
>> just displayed every single possible class method for a particular
>> object value, and then did some kind of matching based upon what you
>> typed to narrow down the list, not that it was type-based.
>
> With Eclipse, try something like (within some method)
>   String s = "foo";  s.   (stop after the dot)
> and you see only methods of String (and Object).
> To me, that seems very much "type-based".

Well, yes, it is every single possible class method for a String object.
However, if you tried to do "s.equalsIgnoreCase(", does it offer to
insert every single String available and every function that could
result in a String?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list