[Haskell-cafe] cabal or stack command to fetch and add dependency to .cabal file

Michael Snoyman michael at snoyman.com
Mon Sep 7 08:05:44 UTC 2015


Yes, stack has plans for automatic stack.yaml maintenance:

https://github.com/commercialhaskell/stack/issues/115

It's been purposely back-burnered as we focus on more central features
first, but it's actually a pretty good issue for a newcomer to embark on
since it doesn't interact with the rest of the system too much.

I'm not exactly sure though what you mean by "fetch" here. To clarify:
stack will automatically download the source for the dependency when
building.

On Mon, Sep 7, 2015 at 11:02 AM, xu xiut <xiut.xu at gmail.com> wrote:

> With node.js, you can run `npm install --save package at 1.01`, and that
> version of the package will be retrieved and added to your list of
> dependencies. If you leave off the version number, it will retrieve the
> latest version from a default repository of packages.
>
> Are there any plans to add something this to either cabal or stack?
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150907/297de35c/attachment.html>


More information about the Haskell-Cafe mailing list