[Haskell-beginners] Haskell Question

Leonhard Applis Leonhard.Applis at protonmail.com
Thu Oct 17 13:22:25 UTC 2019


As I think you´re learning Haskell, I´m just giving some hints:

There is a function for dropping elements: http://zvon.org/other/haskell/Outputprelude/drop_f.html
Also there is similiar a "take" which may helps you with "reverse". 


And for multiplying everything you might want to use a fold: http://zvon.org/other/haskell/Outputprelude/foldr_f.html

best regards
Leonhard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - Leonhard.Applis at protonmail.com - 0x807FDDF3.asc
Type: application/pgp-keys
Size: 1843 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20191017/ad4d6887/attachment.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/20191017/ad4d6887/attachment.sig>


More information about the Beginners mailing list