
Hello, I am learning Haskell, and as a first program have made a JSON-RPC client library (code accessible here: https://patch-tag.com/r/Azel/hs-json-rpc/home). I would like to know if I have done great errors, be that errors of style or of library use. Thanking you for your time. Best regards, ARJANEN Loïc

Hi,
On 5 February 2012 18:38, ARJANEN Loïc Jean David
I would like to know if I have done great errors, be that errors of style or of library use.
A good start is to use the hlint program [1] on your source code and evaluate its suggestions. [1] http://community.haskell.org/~ndm/hlint/ -- Erlend Hamberg ehamberg@gmail.com

Your code look very nice.
One suggestion I could make is to use an error monad for the error
handling. This will take a lot of work from your hands in a later
stage in the development of your project.
On 2/6/12, Erlend Hamberg
Hi,
On 5 February 2012 18:38, ARJANEN Loïc Jean David
wrote: I would like to know if I have done great errors, be that errors of style or of library use.
A good start is to use the hlint program [1] on your source code and evaluate its suggestions.
[1] http://community.haskell.org/~ndm/hlint/
-- Erlend Hamberg ehamberg@gmail.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
ARJANEN Loïc Jean David
-
edgar klerks
-
Erlend Hamberg