[Haskell-beginners] Improving Performance
Robert Heumüller
mailing at heum.de
Tue Jun 19 21:44:10 CEST 2012
Hi again,
I've added the type signatures. What's next?
http://privatepaste.com/26073e4b0e
Thanks
Am Tue, 19 Jun 2012 17:01:26 +0200
schrieb Ertugrul Söylemez <es at ertes.de>:
> Robert Heumüller <mailing at heum.de> wrote:
>
> > in order to tune my brain to "functional thinking" I've decided to
> > start writing some "real" programs. After having spent a couple of
> > days figuring out how to translate an imperative algorithm into
> > stateless haskell I beleive I've now managed a simple implementation
> > of the DBSCAN clustering algorithm.
> >
> > http://privatepaste.com/e6bb4fb665
>
> When asking people to review your code, it would be very helpful to
> write type signatures for your top-level functions. This alone makes
> code greatly more readable and also tells a lot about the quality
> right away. I advice you to get used to writing type signatures for
> yourself as well.
>
>
> Greets,
> Ertugrul
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120619/a26caa00/attachment.pgp>
More information about the Beginners
mailing list