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:  Adding to a package (David McBride)
   2. Re:  Adding to a package (Kyle Murphy)


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

Message: 1
Date: Mon, 20 Feb 2012 09:15:49 -0500
From: David McBride <[email protected]>
Subject: Re: [Haskell-beginners] Adding to a package
To: AbdulSattar Mohammed <[email protected]>
Cc: [email protected]
Message-ID:
        <CAN+Tr42hvxmJzr76wBmgVMVR=50kqqv+dptv0uezvs5swce...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

If you want to test something, there are several packages for doing
that. cabal-dev and virthualenv both set up repositories in your
current directory, allowing you to cabal install packages willy nilly
without affecting your global package database.  I personally prefer
virthualenv (not the spelling), but both are very good programs.

On Mon, Feb 20, 2012 at 2:33 AM, AbdulSattar Mohammed
<[email protected]> wrote:
> I just submitted a patch to Wai, but I didn't like the process I went
> through while testing it on my machine.
>
> I cloned the repo, modified it and ran
>
> runghc Setup configure --prefix=$HOME --user
> runghc Setup install
>
> That registered as something like wai-2.1.1.1. ( I don't know what it
> exactly looked like, but it appended a ".1" to the previous version.)
> When I ran my test code, it used the latest version. Fine.
>
> But, is this the way everyone does that? I mean, adding a new version?
> I can't think of any other way, but I'm just against registering the
> package into the GHC registry. How does everyone do that?
>
> --
> Warm Regards,
>
> AbdulSattar Mohammed
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners



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

Message: 2
Date: Mon, 20 Feb 2012 23:27:16 -0500
From: Kyle Murphy <[email protected]>
Subject: Re: [Haskell-beginners] Adding to a package
To: David McBride <[email protected]>
Cc: [email protected]
Message-ID:
        <ca+y6jcwpphbep-sn8scka6_bn4d8-w8wagkdgzosfezgas3...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I'll give another recommendation for virthualenv, I've taken to using it
for just about everything I do because it keeps my repo clean. It's
slightly inefficient in that you can end up with many copies of common
libraries, not to mention a full ghc install for every project, but HD
space is cheap, and it saves you time trying to resolve library conflicts
down the line.
On Feb 20, 2012 9:16 AM, "David McBride" <[email protected]> wrote:

> If you want to test something, there are several packages for doing
> that. cabal-dev and virthualenv both set up repositories in your
> current directory, allowing you to cabal install packages willy nilly
> without affecting your global package database.  I personally prefer
> virthualenv (not the spelling), but both are very good programs.
>
> On Mon, Feb 20, 2012 at 2:33 AM, AbdulSattar Mohammed
> <[email protected]> wrote:
> > I just submitted a patch to Wai, but I didn't like the process I went
> > through while testing it on my machine.
> >
> > I cloned the repo, modified it and ran
> >
> > runghc Setup configure --prefix=$HOME --user
> > runghc Setup install
> >
> > That registered as something like wai-2.1.1.1. ( I don't know what it
> > exactly looked like, but it appended a ".1" to the previous version.)
> > When I ran my test code, it used the latest version. Fine.
> >
> > But, is this the way everyone does that? I mean, adding a new version?
> > I can't think of any other way, but I'm just against registering the
> > package into the GHC registry. How does everyone do that?
> >
> > --
> > Warm Regards,
> >
> > AbdulSattar Mohammed
> >
> > _______________________________________________
> > Beginners mailing list
> > [email protected]
> > http://www.haskell.org/mailman/listinfo/beginners
>
> _______________________________________________
> 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/20120220/564ec184/attachment-0001.htm>

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

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


End of Beginners Digest, Vol 44, Issue 21
*****************************************

Reply via email to