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:  can this be made shorter? (Sylvain HENRY)
   2.  haskell_doc.vim on Windows won't recognise       g:haddock_docdir
      (Tom Ayerst)
   3. Re:  TLS with RSA_PSK (Brent Yorgey)
   4. Re:  TLS with RSA_PSK (Patrick Mylund Nielsen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Jun 2013 13:14:27 +0200
From: Sylvain HENRY <[email protected]>
Subject: Re: [Haskell-beginners] can this be made shorter?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

>    afaik in scala you can say:
>
> null . dropWhile (_ == '.' || _ == '/')
>
>    which is a bit more compact than the haskell...

No, it would be desugared to:
dropWhile ((a,b) => a == '.' || b == '/')

scala> "abc".dropWhile(_ == '.' || _ == '/')
<console>:8: error: wrong number of parameters; expected = 1
               "abc".dropWhile(_ == '.' || _ == '/')

You would have to do the same thing as in Haskell to make it work:

scala> "abc".dropWhile(a => a == '.' || a == '/')
res20: String = abc

Cheers
Sylvain



------------------------------

Message: 2
Date: Fri, 21 Jun 2013 17:28:07 +0100
From: Tom Ayerst <[email protected]>
Subject: [Haskell-beginners] haskell_doc.vim on Windows won't
        recognise       g:haddock_docdir
To: [email protected]
Message-ID:
        <ca+qmjw-vlpmdfabxyhnc_1k-mgbhqw0n_f3sof7nvrcs1w7...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Does anyone have any experience setting up haskell for vim on Windows?

let g:haddock_browser =
"C:\Users\Tom\AppData\Local\Google\Chrome\Application\chrome.exe"
let g:haddock_docdir = "D:\tools\HaskellPlatform\2012.4.0.0\doc\html"

in _vimrc

the browser is getting recognised but the docdir isn't (or doesn't seem to
be).

Has anyone seen something like this (the problem or me making an obvious
mistake?)

Thanks

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130621/50a9869d/attachment-0001.htm>

------------------------------

Message: 3
Date: Fri, 21 Jun 2013 14:11:04 -0400
From: Brent Yorgey <[email protected]>
Subject: Re: [Haskell-beginners] TLS with RSA_PSK
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

This is not really a beginner question per se; you might have more
luck asking on StackOverflow.

-Brent

On Tue, Jun 18, 2013 at 11:37:05AM +0200, Friedrich Wiemer wrote:
> 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
> 
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners



------------------------------

Message: 4
Date: Fri, 21 Jun 2013 14:17:12 -0400
From: Patrick Mylund Nielsen <[email protected]>
Subject: Re: [Haskell-beginners] TLS with RSA_PSK
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Message-ID:
        <CAEw2jfyvKt2M-PnqDpCMV1yG3Su+JBnUOfMFJqfM6jP5MNWp=g...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

The GnuTLS wrapper seems to support TLS-PSK (with or without DHE):
http://hackage.haskell.org/packages/archive/hsgnutls/0.2.3.2/doc/html/Network-GnuTLS.html


On Tue, Jun 18, 2013 at 5:37 AM, Friedrich Wiemer <[email protected]
> wrote:

> 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
>
> _______________________________________________
> 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/20130621/38ec31b7/attachment-0001.htm>

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 60, Issue 33
*****************************************

Reply via email to