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. apt cabal hackage (Anuradha L)
2. Re: apt cabal hackage (Amy de Buitl?ir)
3. Re: apt cabal hackage (Joey Hess)
4. Re: apt cabal hackage (csmagic)
5. Invitation to connect on LinkedIn (Mukesh Tiwari via LinkedIn)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Sep 2011 20:38:34 +0530
From: Anuradha L <[email protected]>
Subject: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID:
<CAB9Cb3Wm=pwtqwsd9ol9oxl7zcf4_anbbqhungxzg3vdeqq...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Can anyone point me to a tutorial or howto on haskell package management
under debian/ubuntu?
Some of the things that are making my head spin...
How when to use hackage/cabal? And when apt?
How to translate haskell internal names (ie names given to import) to
package names ie either cabal or apt names?
Global (/usr) vs local (under $HOME) packages and figuring out paths
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110921/aa55ec4b/attachment-0001.htm>
------------------------------
Message: 2
Date: Wed, 21 Sep 2011 15:37:40 +0000 (UTC)
From: Amy de Buitl?ir <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Anuradha L <csmagic <at> gmail.com> writes:
>
> Can anyone point me to a tutorial or howto on haskell package management under
debian/ubuntu?Some of the things that are making my head spin...How when to use
hackage/cabal? And when apt?
The conventional wisdom seems to be that if your distro provides the package,
you should install it using your distro's package management system. Otherwise,
install it using Cabal.
> How to translate haskell internal names (ie names given to import) to package
> names ie either cabal or apt names?
Say for example that you want to use ConfigFile in your code, but you're not
sure where it is. Go to either Hayoo
(http://holumbus.fh-wedel.de/hayoo/hayoo.html) or Hoogle
(http://haskell.org/hoogle/) and search for "ConfigFile". When the search
results appear, click on the one that you want, and at the top of the page,
you'll find the name of the package, with the most recent version of that
package.
As I write this, the package containing ConfigFile is ConfigFile-1.0.6. If you
don't have that installed, you would need (in this example) to do "cabal install
ConfigFile" before you could use that package.
Now the next question is: What do you import. On that same web page (which you
got to by searching Hayoo or Hoogle), you'll see the fully qualified Haskell
module name: Data.ConfigFile. So in your code, you would need "import
Data.ConfigFile".
> Global (/usr) vs local (under $HOME) packages and figuring out pathsThanks
I'm not quite sure what you're asking. Are you looking for the path to the
source code or documentation of something you installed using Cabal?
------------------------------
Message: 3
Date: Wed, 21 Sep 2011 11:57:12 -0400
From: Joey Hess <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Anuradha L wrote:
> Can anyone point me to a tutorial or howto on haskell package management under
> debian/ubuntu?
Don't know if there is one.
> Some of the things that are making my head spin...
>
> How when to use hackage/cabal? And when apt?
Opinions will vary, but my advice is to use your distribution's package
manager where possible, and where not possible, file bug reports to
get packages added. I filed a bug report requesting weighted-regexp,
and a package was uploaded to Debian unstable less than 24 hours later.
Debian has a very responsive haskell maintainence team whose main issue
is identifying remaining good packages in hackage that have not gotten
packaged yet.
I use cabal if I'm not on a development machine (so Debian stable rather
than unstable), and need a newer version of something.
The way Debian packages haskell packages lets cabal know about them,
so it interoperates nicely.
> How to translate haskell internal names (ie names given to import) to package
> names ie either cabal or apt names?
To find what package contains a module I typically use Hayoo.
http://holumbus.fh-wedel.de/hayoo/hayoo.html#0:Data.Text
>From hackage to debian package name there is a simple transformation
before ghc7, use libghc6-<hackagename>-dev
ghc7 and above, use libghc-<hackagename>-dev
> Global (/usr) vs local (under $HOME) packages and figuring out paths
Opinions will probably vary, I don't like installing system wide
software outside the control of my distribution's package manager and
so have only used cabal inside HOME.
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110921/36bb010a/attachment-0001.pgp>
------------------------------
Message: 4
Date: Wed, 21 Sep 2011 23:56:21 +0530
From: csmagic <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID:
<cab9cb3xgc1s5xcbddnu1vsmzeeuwkpnuevvy+7zhtmjxglx...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Thanks Joey, Amy
Now I want to go 'backwards'.
For example I have Language.Haskell.Exts.Syntax
I want to dig into it. Where/How do I start?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110921/38802e47/attachment-0001.htm>
------------------------------
Message: 5
Date: Wed, 21 Sep 2011 22:23:50 +0000 (UTC)
From: Mukesh Tiwari via LinkedIn <[email protected]>
Subject: [Haskell-beginners] Invitation to connect on LinkedIn
To: Mihai Maruseac <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="utf-8"
LinkedIn
------------
Mukesh Tiwari requested to add you as a connection on LinkedIn:
------------------------------------------
Mihai,
I'd like to add you to my professional network on LinkedIn.
- Mukesh
Accept invitation from Mukesh Tiwari
http://www.linkedin.com/e/-3dpk6t-gsuvqphz-6b/uyFflI7IwvrmSA8-0MFfTI7lXX8s3O9lyQ/blk/I200406164_25/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYRcBYQdz4Sc3gMc399bPh7hzBbgBBHbPwTc3oMcPkMcPgLrCBxbOYWrSlI/EML_comm_afe/?hs=false&tok=1oP9sKzij_RAU1
View invitation from Mukesh Tiwari
http://www.linkedin.com/e/-3dpk6t-gsuvqphz-6b/uyFflI7IwvrmSA8-0MFfTI7lXX8s3O9lyQ/blk/I200406164_25/3kOnPgScjoMd30McAALqnpPbOYWrSlI/svi/?hs=false&tok=3QGpt92Of_RAU1
------------------------------------------
DID YOU KNOW LinkedIn can help you find the right service providers using
recommendations from your trusted network? Using LinkedIn Services, you can
take the risky guesswork out of selecting service providers by reading the
recommendations of credible, trustworthy members of your network.
http://www.linkedin.com/e/-3dpk6t-gsuvqphz-6b/svp/inv-25/?hs=false&tok=3g_j1fK5X_RAU1
--
(c) 2011, LinkedIn Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110921/afa0c40d/attachment-0001.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 39, Issue 25
*****************************************