Send Beginners mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Haskell Question (Leonhard Applis)
----------------------------------------------------------------------
Message: 1
Date: Thu, 17 Oct 2019 13:22:25 +0000
From: Leonhard Applis <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Re: [Haskell-beginners] Haskell Question
Message-ID:
<O21yXSjpZFn90on6tP6P-WpAdf0SWrZ117ixTxOGG154w_wzkbRh-sMd14qZs6ExLq4WBdJQSceARoIMViDbU8Q412Jd3tRJw-48FjwamhI=@protonmail.com>
Content-Type: text/plain; charset="utf-8"
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 - [email protected] - 0x807FDDF3.asc
Type: application/pgp-keys
Size: 1843 bytes
Desc: not available
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20191017/ad4d6887/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/20191017/ad4d6887/attachment-0001.sig>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 136, Issue 2
*****************************************