Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Configuration of Environment (Leonhard Applis)


----------------------------------------------------------------------

Message: 1
Date: Fri, 22 Nov 2019 14:13:15 +0000
From: Leonhard Applis <leonhard.app...@protonmail.com>
To: "beginners@haskell.org" <beginners@haskell.org>
Subject: Re: [Haskell-beginners] Configuration of Environment
Message-ID:
        
<LgL8bBwW97tZNUL-ak1sYGEBXhXMVh4V4aZX-D-SoKvp08-ZNEzNGc-7uWtyzy9hE69cBoGAGEdT603rehEgzw333NuVenjVsN1YJ8RwzdA=@protonmail.com>
        
Content-Type: text/plain; charset="utf-8"

> Hi All,
> 

> I’m a newcomer to Haskell and mailing list, so I am not sure if my question 
> is proper.
> 

> I use notepad++ to learn Haskell now. Are there any suggestions or 
> conventions which can help me learn Haskell?
> 

> Best regards,
> Juncheng

Hi Juncheng, 


I think for learning "code", as in writing nice code, get yourself the Hlinter 
[1] running. 

It really spots great improvements and some very haskelly ways. 

For Learning purposes I would suggest that you first "try it your way" step by 
step, and check every step with hlint. 

So: fun1 -> Hlint -> fun2 -> Hlint 


Additionally you might want to enable a spell-checker (like, a normal one, for 
english). 


Last thing you might find very useful is a local Hoogle [2] install.
It's amazingly convenient if you want to know, e.g. the function which gives a 
length of a list, but you don't remember if it was len, length, size, count ... 

So you just search for [a] -> Int and voila. 

Second Hoogle can help you find similar functions to what you are currently 
building, often you are implementing something that is somewhere as a higher 
order function already. 


best regards,
Leonhard



[1] Hlint: http://hackage.haskell.org/package/hlint
[2] Hoogle: http://hackage.haskell.org/package/hoogle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - leonhard.app...@protonmail.com - 0x807FDDF3.asc
Type: application/pgp-keys
Size: 1843 bytes
Desc: not available
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20191122/582afdf3/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 477 bytes
Desc: OpenPGP digital signature
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20191122/582afdf3/attachment-0001.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 137, Issue 9
*****************************************

Reply via email to