On 4 August 2010 23:13, Johannes Waldmann <waldm...@imn.htwk-leipzig.de> wrote: > >> 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? > > well, try this: > > String s = "foo"; > String t = "bar"; > int u = 42; > s.equalsIgnoreCase( > > it suggests s, t, and null (but not u), > so this is again type-based.
Huh, last time I tried an IDE for Java (which was admittedly quite a while ago) it wouldn't do anything like that... I stand corrected then. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe