Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/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: iterateM (Karl Voelker)
2. TLS with RSA_PSK (Friedrich Wiemer)
3. Re: iterateM (Adrian May)
----------------------------------------------------------------------
Message: 1
Date: Mon, 17 Jun 2013 22:28:31 -0700
From: Karl Voelker <[email protected]>
Subject: Re: [Haskell-beginners] iterateM
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<CAFfow0xH94_qB2A87vFNoLBBGsHMZOLvkqb_KHZ6y+=hWUtL=a...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I would use the State monad rather than passing the state explicitly. Then
the "body of the loop" is of type "m a" rather than "a -> m a", and you can
use "sequence . repeat" on it.
-Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130617/df451e61/attachment-0001.htm>
------------------------------
Message: 2
Date: Tue, 18 Jun 2013 11:37:05 +0200
From: Friedrich Wiemer <[email protected]>
Subject: [Haskell-beginners] TLS with RSA_PSK
To: Haskell-Beginners Mailing List <[email protected]>
Message-ID:
<cagvtqw5itsdil1cdpmo9uyl9xcd6bzcpiydqff3yqtbk5rd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hey,
is it possible to use RSA_PSK as a TLS-ciphersuit in any TLS library?
I didnt found such a ciphersuit in Network.TLS.
Thanks in advance,
Friedrich
------------------------------
Message: 3
Date: Tue, 18 Jun 2013 17:53:51 +0800
From: Adrian May <[email protected]>
Subject: Re: [Haskell-beginners] iterateM
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<cad-ubzgwdpx1wqx2hgydci5g1ee6miqid6nvwdi1zc1aswo...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Volker,
In the meantime I did something very simple. I just have a step function
taking a maybe state parameter which recurses until the state is nothing.
Then main = step init
Adrian.
On 18 Jun 2013 13:29, "Karl Voelker" <[email protected]> wrote:
> I would use the State monad rather than passing the state explicitly. Then
> the "body of the loop" is of type "m a" rather than "a -> m a", and you can
> use "sequence . repeat" on it.
>
> -Karl
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130618/dd600998/attachment-0001.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 60, Issue 29
*****************************************