Send Beginners mailing list submissions to
        beginners@haskell.org

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
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  parser error coordinates transformation from
      preprocessed to original text (Radoslav Dorcik)
   2. Re:  TLS, PGP and maybe more crypto-stuff (Mateusz Neumann)
   3. Re:  parser error coordinates transformation from
      preprocessed to original text (Stephen Tetley)
   4.  About Data (was List of all prelude function     types?)
      (Rustom Mody)
   5. Re:  About Data (was List of all prelude  function types?)
      (David McBride)
   6. Re:  TLS, PGP and maybe more crypto-stuff (Lorenzo Bolla)
   7. Re:  TLS, PGP and maybe more crypto-stuff (Mateusz Neumann)


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

Message: 1
Date: Thu, 20 Oct 2011 13:49:58 +0200
From: Radoslav Dorcik <radoslav.dor...@gmail.com>
Subject: Re: [Haskell-beginners] parser error coordinates
        transformation from preprocessed to original text
To: Stephen Tetley <stephen.tet...@gmail.com>
Cc: beginners@haskell.org
Message-ID:
        <CACvsd6TcGYAgZTTWxx2mY=vxk8wei2byciy1wmivncwqwdx...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Stephen,

On Sun, Sep 18, 2011 at 6:56 PM, Stephen Tetley <stephen.tet...@gmail.com>wrote:

> Comment removal is usually done as part of lexing, so during lexing
> you will have access to the true source position - if you care about
> line numbering (and have a split between lexing and parsing) usually
> you would annotate lexemes with their source position.
>

Thanks! And sorry for late reply.
The answer for me means that I should use common method of separate lexem /
parser instead of using parsec with Char Parser.

I will do that anyway since it will probably improve the performance of the
parser.

One more question:
Do you know If there is a lexing technology which can inter work with Parsec
based Parser ?
With inter work I mean that line number information is preserved across
lexing/parsing.

Rado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20111020/08f2aab2/attachment-0001.htm>

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

Message: 2
Date: Thu, 20 Oct 2011 22:21:48 +0200
From: Mateusz Neumann <mate...@neumanny.net>
Subject: Re: [Haskell-beginners] TLS, PGP and maybe more crypto-stuff
To: Lorenzo Bolla <lbo...@gmail.com>
Cc: beginners <beginners@haskell.org>
Message-ID: <20111020222148.0679b913@grasshopper.localdomain>
Content-Type: text/plain; charset=US-ASCII

On Thu, 20 Oct 2011 09:19:34 +0100 Lorenzo Bolla <lbo...@gmail.com>
wrote:

> "cabal list pgp" returns openPGP:
> https://github.com/singpolyma/OpenPGP-Haskell
> "tls" and "hecc" are available from cabal, too.

Thank you very much, especially for the "cabal list ..." part :)

Have you got any experience with mentioned libraries?  Would you
consider them "decent" (with all due respect to the authors)?


> On Thu, Oct 20, 2011 at 8:28 AM, Mateusz Neumann
> <mate...@neumanny.net>wrote:
> 
> > [...]
> >
> > My questions are:
> >  * is there a (decent) GnuPG (PGP) library in Haskell?
> >  * what TLS (possibly 1.2) library would you suggest?
> >  * is there a ECC library?

-- 
Mateusz



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

Message: 3
Date: Thu, 20 Oct 2011 21:22:11 +0100
From: Stephen Tetley <stephen.tet...@gmail.com>
Subject: Re: [Haskell-beginners] parser error coordinates
        transformation from preprocessed to original text
To: Radoslav Dorcik <radoslav.dor...@gmail.com>
Cc: beginners <beginners@haskell.org>
Message-ID:
        <CAB2TPRD1q=8MYHvtcFGS8YWZT2K=hx5gc9hgn1nxcnvnvm7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 20 October 2011 12:49, Radoslav Dorcik <radoslav.dor...@gmail.com> wrote:

> One more question:
> Do you know If there is a lexing technology which can inter work with Parsec
> based Parser ?
> With inter work I mean that line number information is preserved across
> lexing/parsing.

Yes, you can use Alex lexers with Parsec for instance. The pattern to
do this covered in section 2.11 "Advanced: Separate scanners" of the
Parsec manual. For a full scanner this unfortunately leads to quite a
bit of boilerplate so usually I use Parsec's own tokenizing code via
Token module.

http://research.microsoft.com/en-us/um/people/daan/download/parsec/parsec.pdf



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

Message: 4
Date: Fri, 21 Oct 2011 08:54:40 +0530
From: Rustom Mody <rustompm...@gmail.com>
Subject: [Haskell-beginners] About Data (was List of all prelude
        function        types?)
To: beginners <beginners@haskell.org>
Message-ID:
        <CAJ+TeodU6TgV5G1CREzrg0U1dtkGOPSvM_m=mwpsjdqlem-...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Ive a related couple of questions:

Whats with the word 'Data'? Almost every Haskell module seems to be under
Data.  I dont get exactly the usage of the word.

Also is there some easy way of browsing up and down the hackage hierarchical
structure?
[I know about hoogle and hayoo. I perhaps dont know how to use them well]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20111021/d11af57f/attachment-0001.htm>

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

Message: 5
Date: Thu, 20 Oct 2011 23:54:17 -0400
From: David McBride <toa...@gmail.com>
Subject: Re: [Haskell-beginners] About Data (was List of all prelude
        function types?)
To: Rustom Mody <rustompm...@gmail.com>
Cc: beginners <beginners@haskell.org>
Message-ID:
        <CAN+Tr435jJQYmmbWA2jiS7GoPvOisDqH4iWLb6WLuX12ySq=7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Haskell has so many pure functions and utilities, that nearly
everything falls into data manipulation if you think about it.  IO
related things tend to be in system.  Control has concurrency and
monadic stuff.  Most larger applications have their own toplevel
module like Yesod, or XMonad.  Mostly it comes down to, it feels
appropriate to put things in Data most of the time, especially if it s
a small library that does nothing on its own, so people do it.

When I want to browse a hierarchy, I go to ghci and type :bro Control.
and hit tab to complete on all the ones, then look at ones that
interest me.  If I want more info, look up that import in hayoo and
read the haddock documentation for it.

On Thu, Oct 20, 2011 at 11:24 PM, Rustom Mody <rustompm...@gmail.com> wrote:
> Ive a related couple of questions:
>
> Whats with the word 'Data'? Almost every Haskell module seems to be under
> Data.? I dont get exactly the usage of the word.
>
> Also is there some easy way of browsing up and down the hackage hierarchical
> structure?
> [I know about hoogle and hayoo. I perhaps dont know how to use them well]
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>



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

Message: 6
Date: Fri, 21 Oct 2011 09:02:58 +0100
From: Lorenzo Bolla <lbo...@gmail.com>
Subject: Re: [Haskell-beginners] TLS, PGP and maybe more crypto-stuff
To: Mateusz Neumann <mate...@neumanny.net>
Cc: beginners <beginners@haskell.org>
Message-ID:
        <CADjgTRxtYp3StLcod+A0tWrtVk=jq4hcgftx6o+zj_jd-bq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Thu, Oct 20, 2011 at 9:21 PM, Mateusz Neumann <mate...@neumanny.net>wrote:

> On Thu, 20 Oct 2011 09:19:34 +0100 Lorenzo Bolla <lbo...@gmail.com>
> wrote:
>
> > "cabal list pgp" returns openPGP:
> > https://github.com/singpolyma/OpenPGP-Haskell
> > "tls" and "hecc" are available from cabal, too.
>
> Thank you very much, especially for the "cabal list ..." part :)
>
> Have you got any experience with mentioned libraries?  Would you
> consider them "decent" (with all due respect to the authors)?
>

Unfortunately, I don't have experience with any of them (I'm a beginner
myself).
The approach I usually take in this kind of situations is to read the source
code myself (is it "clean"?), get in contact with the author and the
community involved (is it actively maintained?) and test the library (does
it do what I need?)!

L.





>
>
> > On Thu, Oct 20, 2011 at 8:28 AM, Mateusz Neumann
> > <mate...@neumanny.net>wrote:
> >
> > > [...]
> > >
> > > My questions are:
> > >  * is there a (decent) GnuPG (PGP) library in Haskell?
> > >  * what TLS (possibly 1.2) library would you suggest?
> > >  * is there a ECC library?
>
> --
> Mateusz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20111021/797e491d/attachment-0001.htm>

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

Message: 7
Date: Fri, 21 Oct 2011 11:27:27 +0200
From: Mateusz Neumann <mate...@neumanny.net>
Subject: Re: [Haskell-beginners] TLS, PGP and maybe more crypto-stuff
To: Lorenzo Bolla <lbo...@gmail.com>
Cc: beginners <beginners@haskell.org>
Message-ID: <20111021112727.3c6d0070@grasshopper.localdomain>
Content-Type: text/plain; charset="us-ascii"

On Fri, 21 Oct 2011 09:02:58 +0100 Lorenzo Bolla <lbo...@gmail.com>
wrote:

> On Thu, Oct 20, 2011 at 9:21 PM, Mateusz Neumann
> <mate...@neumanny.net>wrote:
> 
> > On Thu, 20 Oct 2011 09:19:34 +0100 Lorenzo Bolla <lbo...@gmail.com>
> > wrote:
> >
> > > "cabal list pgp" returns openPGP:
> > > https://github.com/singpolyma/OpenPGP-Haskell
> > > "tls" and "hecc" are available from cabal, too.
> >
> > Thank you very much, especially for the "cabal list ..." part :)
> >
> > Have you got any experience with mentioned libraries?  Would you
> > consider them "decent" (with all due respect to the authors)?
> >
> 
> Unfortunately, I don't have experience with any of them (I'm a
> beginner myself).
> The approach I usually take in this kind of situations is to read the
> source code myself (is it "clean"?), get in contact with the author
> and the community involved (is it actively maintained?) and test the
> library (does it do what I need?)!
> 
> L.

Thanks, I shall try that.


> > > On Thu, Oct 20, 2011 at 8:28 AM, Mateusz Neumann
> > > <mate...@neumanny.net>wrote:
> > >
> > > > [...]
> > > >
> > > > My questions are:
> > > >  * is there a (decent) GnuPG (PGP) library in Haskell?
> > > >  * what TLS (possibly 1.2) library would you suggest?
> > > >  * is there a ECC library?
> >
> > --
> > Mateusz
> >



-- 
Mateusz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20111021/f3f7dec0/attachment-0001.pgp>

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

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 40, Issue 34
*****************************************

Reply via email to