> In Haskell, about the worst thing you might have to type is
>
> Data.ByteString.Lazy.Char8.empty
>
> If you're sensible, you'll alias this so you only write
>
> BS.empty
>
> or similar. Suddenly autocomplete seems a whole lot less necessary.
Still useful for when you write the alias though at the top of your
function/program.
> Of course, the *other* function of autocomplete is not to save typing, but
> to help you look stuff up faster. Generally in Haskell, remembering the
> name isn't the problem; it's remembering what the hell the difference
> between "insert" and "update" is. The type signature will usually tell you
> that; if not, you need the documentation. ASSUMING THERE IS ANY! >_<
AutoComplete in Visual Studio Express usually gives you a line or two of
explanation underneath the function name and parameter list - see attached
image. After you have chosen the function, you can scroll through the
various overloads if they exist to get more details.
Post a reply to this message
Attachments:
Download 'image1.png' (34 KB)
Preview of image 'image1.png'
![image1.png](/povray.off-topic/attachment/%3C4bcf180b%40news.povray.org%3E/image1.png?preview=1)
|