Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/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: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Brandon Allbery) 2. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Bj?rn ?ivind Bj?rnsen) 3. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Imants Cekusins) 4. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Bj?rn ?ivind Bj?rnsen) 5. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Imants Cekusins) 6. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Bj?rn ?ivind Bj?rnsen) 7. Re: Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 (Michael Snoyman) ---------------------------------------------------------------------- Message: 1 Date: Fri, 10 Jul 2015 10:56:00 -0400 From: Brandon Allbery <allber...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <cakfcl4woeb99eyjw3z+-0x_o1miena3dq+kuavvoo4jsqwv...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" On Fri, Jul 10, 2015 at 10:48 AM, Imants Cekusins <ima...@gmail.com> wrote: > Are Stackage packages - a subset of Hackage packages? Do packages get > uploaded to Hackage and then get transferred to Stackage? > Stackage is a curated subset of Hackage. (Sadly, the main criterion for curation is "works with Yesod", so you get to take your chances if you're not using Yesod.) It's more an alternative to the Haskell Platform, since Yesod always wants newer stuff. (De facto the Haskell Platform is irrelevant, since everyone is rushing pell-mell to tie themselves to Yesod via Stackage. We're Ruby now! When the ecosystem is defined by a web platform, the ecosystem *becomes* the web platform. This might even work for you; for me, it's a cliff rushing ever closer.) -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150710/18755c99/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 10 Jul 2015 16:57:15 +0200 From: Bj?rn ?ivind Bj?rnsen <bo.bjorn...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <559fdd4b.4010...@gmail.com> Content-Type: text/plain; charset="utf-8" On 10/07/15 16:48, Imants Cekusins wrote: > Thank you very much Bj?rn. > > Are Stackage packages - a subset of Hackage packages? Do packages get > uploaded to Hackage and then get transferred to Stackage? > > It would be nice to agree to merge Hackage & Stackage, cabal-install & > stack one day. Without this merge the "DLL-mess" might get worse. My experience from playing around with stack the last couple of nights have been that Stackage is indeed a subset of Hackage packages, but that it is possible (and fairly easy - if not very documented) to use packages from Hackage with stack as well. One caveat - depending on how you look at it - is that you end up specifying these packages with specific versions in the stack.yaml file for your project. I personally believe that both a curated subset of "known good" packages like Stackage and the complete set of packages like Hackage can co-exist to their mutual benefit. I can certainly see the appeal of stack - I rather like it so far. Bj?rn ?ivind -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150710/2331021f/attachment-0001.sig> ------------------------------ Message: 3 Date: Fri, 10 Jul 2015 17:06:43 +0200 From: Imants Cekusins <ima...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <cap1qinyh7qe3mafnjja+6jpfh1eh881nhoetcyuwna2-bq+...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Well if Stackage packages ? Hackage packages, there is choice: If you need the added benefits Stackage gives, "upgrade". Otherwise can stay with Hackage. ? ------------------------------ Message: 4 Date: Fri, 10 Jul 2015 17:20:21 +0200 From: Bj?rn ?ivind Bj?rnsen <bo.bjorn...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <559fe2b5.3020...@gmail.com> Content-Type: text/plain; charset="utf-8" On 10/07/15 17:06, Imants Cekusins wrote: > Well if Stackage packages ? Hackage packages, there is choice: > > If you need the added benefits Stackage gives, "upgrade". Otherwise > can stay with Hackage. > > ? There's nothing stopping you from using Stackage in addition to Hackage. As an example, I used stack to create a new app-skeleton last night. One of the packages I wanted to use was the FFT package not available in Stackage. I just added it to the .cabal file, and ran "stack solver": % stack solver This command is not guaranteed to give you a perfect build plan It's possible that even with the changes generated below, you will still need to do some manual tweaking Asking cabal to calculate a build plan, please wait flags: carray: bytestringinbase: false extra-deps: - carray-0.1.5.2 - fft-0.1.8.1 - ix-shapable-0.1.0 Resulting in the following stack.yaml file: % cat stack.yaml flags: carray: bytestringinbase: false packages: - '.' extra-deps: - carray-0.1.5.2 - fft-0.1.8.1 - ix-shapable-0.1.0 resolver: nightly-2015-07-08 When building using "stack build", it automatically downloaded, configured and installed all my dependencies. No worrying about sandboxes (because stack handles this gracefully by default as far as I can tell) and no problems getting this simple skeleton up and running. Note that I used the nightly resolver simply because I wanted to use GHC 7.10 which I already had installed. There are multiple resolvers available (for GHC 7.8 and an LTS version with GHC 7.10 looks to arrive shortly after GHC 7.10.2 has been released: https://groups.google.com/forum/#!topic/stackage/Ux7ideofwIA) Bj?rn ?ivind -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150710/b06098dc/attachment-0001.sig> ------------------------------ Message: 5 Date: Fri, 10 Jul 2015 17:33:41 +0200 From: Imants Cekusins <ima...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <CAP1qinZwdZLQoL1JrVJanqLfj9s6XyYDgJ=zpwb9yfan7nx...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 .. does stack also allow to reference local packages (not on Hackage)? I just began to learn cabal so maybe it is early for me to switch to stack yet. One thing at a time :) ------------------------------ Message: 6 Date: Fri, 10 Jul 2015 17:38:55 +0200 From: Bj?rn ?ivind Bj?rnsen <bo.bjorn...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <559fe70f.6030...@gmail.com> Content-Type: text/plain; charset="windows-1252" On 10/07/15 17:33, Imants Cekusins wrote: > .. does stack also allow to reference local packages (not on Hackage)? > > I just began to learn cabal so maybe it is early for me to switch to > stack yet. One thing at a time :) I believe so, but I have not tried it yet. Check out the wiki on Github: https://github.com/commercialhaskell/stack/wiki/FAQ#i-need-to-use-a-package-or-version-of-a-package-that-is-not-available-on-hackage-what-should-i-do Maybe that works for you? I must admit that I am still quite green at Haskell infrastructure/tooling stuff, but I have still had a fair amount of trouble with cabal-install, so trying stack was a no-brainer for me at least :) Bj?rn ?ivind -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150710/7e3f67f8/attachment-0001.sig> ------------------------------ Message: 7 Date: Fri, 10 Jul 2015 15:49:05 +0000 From: Michael Snoyman <mich...@snoyman.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Fwd: cabal install snap-server-0.9.5.1: At least the following dependencies are missing: attoparsec >=0.10 && <0.13 && ==0.13.0.1 Message-ID: <caka2jglpdxr2b2ejfwoot2qiy8eyewjmc2frroa1-i5ylth...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" If you have questions getting started, feel free to ask them over on the stack mailing list[1], you'll find many very helpful people over there. >From quickly scanning this thread, I don't see any use cases that aren't handled well by stack, but I'd rather not spam the beginner mailing list with details of how to make it all happen. I would also recommend reading the wiki pages, which give quite a bit of information on various use cases. [1] https://groups.google.com/d/forum/haskell-stack On Fri, Jul 10, 2015 at 8:39 AM Bj?rn ?ivind Bj?rnsen <bo.bjorn...@gmail.com> wrote: > On 10/07/15 17:33, Imants Cekusins wrote: > > .. does stack also allow to reference local packages (not on Hackage)? > > > > I just began to learn cabal so maybe it is early for me to switch to > > stack yet. One thing at a time :) > > I believe so, but I have not tried it yet. > Check out the wiki on Github: > > https://github.com/commercialhaskell/stack/wiki/FAQ#i-need-to-use-a-package-or-version-of-a-package-that-is-not-available-on-hackage-what-should-i-do > > Maybe that works for you? > > I must admit that I am still quite green at Haskell > infrastructure/tooling stuff, but I have still had a fair amount of > trouble with cabal-install, so trying stack was a no-brainer for me at > least :) > > Bj?rn ?ivind > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150710/b4e76269/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 85, Issue 5 ****************************************