[Haskell-cafe] about Haskell code written to be "too smart"

Conal Elliott conal at conal.net
Tue Mar 24 17:50:37 EDT 2009


I'd love to help newbies get the hang of Haskell without having to jump in
the deep (and smart-infested) end first.  And I'd love for people to keep
writing smart code for non-newbies to enjoy.

Perhaps a practical suggestion would be some wiki pages devoted to pointing
out code with various learning qualities, to help haskellers of all levels
of experience learn effectively.

  - Conal

On Tue, Mar 24, 2009 at 2:43 PM, Manlio Perillo <manlio_perillo at libero.it>wrote:

> Jonathan Cast ha scritto:
>
>> [...]
>>
>> I think, in general, the best way to document the purpose of the
>> function is
>>
>>    -- | Split a function into a sequence of partitions of specified
>> lenth
>>    takeList :: [Int] -> [a] -> [[a]]
>>
>>
> Note that I was not speaking about the best way to document a function.
>
> I was speaking about the best way to write a function, so that it may help
> someone who is learning Haskell.
>
> > [...]
>
> Manlio
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090324/979a8c1e/attachment.htm


More information about the Haskell-Cafe mailing list