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. Cabal build dependency using a git repo (Michael Baker)
2. Re: Cabal build dependency using a git repo (Peter Jones)
3. Re: Cabal build dependency using a git repo (Michael Baker)
4. Re: Cabal build dependency using a git repo (Mateusz Kowalczyk)
5. setting up haskell-mode in gnu-emacs (OSX) (Miro Karpis)
6. Re: setting up haskell-mode in gnu-emacs (OSX) (Brandon Allbery)
7. Re: setting up haskell-mode in gnu-emacs (OSX) (Miro Karpis)
----------------------------------------------------------------------
Message: 1
Date: Mon, 9 Dec 2013 15:11:36 -0600
From: Michael Baker <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] Cabal build dependency using a git repo
Message-ID:
<CACwW0Ub8PADFGbqAzi4EF_8S=ybfo94ec8uo9n4iuwjva+a...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I have a library which isn't on Hackage that I would like to use as a build
dependency in another project. In Rubygems you can provide a git repository
in the absence of an actual Rubygems repository.
Does Cabal support something like that? I would like to specify that a
particular build depend can be fetched from a given git repository rather
than from Hackage and have Cabal fetch it when installing the build
dependencies.
I'm guessing that it's not possible because I don't see a mention of this
feature anywhere. If it's not possible, how do people typically handle this
problem? Git submodules?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131209/c555f3bd/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 09 Dec 2013 14:45:07 -0700
From: Peter Jones <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Cabal build dependency using a git
repo
Message-ID: <[email protected]>
Content-Type: text/plain
Michael Baker <[email protected]> writes:
> I have a library which isn't on Hackage that I would like to use as a build
> dependency in another project. In Rubygems you can provide a git repository
> in the absence of an actual Rubygems repository.
Use a git submodule (or place the source code to the package anywhere on
your file system) then use `cabal sandbox add-source <path>`. Provided
of course that you're using cabal sandboxes.
--
Peter Jones, Founder, Devalot.com
Defending the honor of good code
------------------------------
Message: 3
Date: Mon, 9 Dec 2013 17:02:56 -0600
From: Michael Baker <[email protected]>
To: Peter Jones <[email protected]>, The Haskell-Beginners Mailing
List - Discussion of primarily beginner-level topics related to
Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Cabal build dependency using a git
repo
Message-ID:
<cacww0uyn5a-xh9xxxa0mksgmm3ov73sc_gkxpffkwbq1ek7...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Mon, Dec 9, 2013 at 3:45 PM, Peter Jones <[email protected]> wrote:
>
> Michael Baker <[email protected]> writes:
> > I have a library which isn't on Hackage that I would like to use as a
build
> > dependency in another project. In Rubygems you can provide a git
repository
> > in the absence of an actual Rubygems repository.
>
> Use a git submodule (or place the source code to the package anywhere on
> your file system) then use `cabal sandbox add-source <path>`. Provided
> of course that you're using cabal sandboxes.
What is commonly done if you aren't using sandboxes? I would rather not use
them in an effort to make installing this project easier on my users,
because the current Haskell Platform doesn't have sandboxes yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131209/3cc3ebb5/attachment-0001.html>
------------------------------
Message: 4
Date: Tue, 10 Dec 2013 01:23:50 +0000
From: Mateusz Kowalczyk <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Cabal build dependency using a git
repo
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On 09/12/13 23:02, Michael Baker wrote:
> On Mon, Dec 9, 2013 at 3:45 PM, Peter Jones <[email protected]> wrote:
>>
>> Michael Baker <[email protected]> writes:
>>> I have a library which isn't on Hackage that I would like to use as a
> build
>>> dependency in another project. In Rubygems you can provide a git
> repository
>>> in the absence of an actual Rubygems repository.
>>
>> Use a git submodule (or place the source code to the package anywhere on
>> your file system) then use `cabal sandbox add-source <path>`. Provided
>> of course that you're using cabal sandboxes.
>
> What is commonly done if you aren't using sandboxes? I would rather not use
> them in an effort to make installing this project easier on my users,
> because the current Haskell Platform doesn't have sandboxes yet.
>
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
Sandboxes are for development. If you really want to make it easy for
your users, publish your other package to Hackage. If that's not an
option, perhaps require them to install the other package manually
first? Maybe provide a script which fetches sources and cabal installs.
--
Mateusz K.
------------------------------
Message: 5
Date: Tue, 10 Dec 2013 06:13:36 +0100
From: Miro Karpis <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] setting up haskell-mode in gnu-emacs
(OSX)
Message-ID:
<cajnnbxhertwk-hpcpmfnmu0otuub1m7adtjoozbg_czbcuz...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to
emacs,...
Instructions says: via package manager add: M-x package-install <RET>
haskell-mode <RET>
I can open package manager, but where should I paste the command?
Thanks,
m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131210/df789936/attachment-0001.html>
------------------------------
Message: 6
Date: Tue, 10 Dec 2013 00:27:37 -0500
From: Brandon Allbery <[email protected]>
To: Miro Karpis <[email protected]>, The Haskell-Beginners
Mailing List - Discussion of primarily beginner-level topics related
to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] setting up haskell-mode in gnu-emacs
(OSX)
Message-ID:
<CAKFCL4W9E+X_CMtXQvzbS34itbiJ=e_yBkksL3KT3fdd9=p...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Tue, Dec 10, 2013 at 12:13 AM, Miro Karpis <[email protected]>wrote:
> I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to
> emacs,...
> Instructions says: via package manager add: M-x package-install <RET>
> haskell-mode <RET>
> I can open package manager, but where should I paste the command?
>
That's not really pasteable as such.
M-x refers to pressing Meta-x (for a terminal this may not be available
without special configuration) or Esc followed by x. <RET> is the Return
key.
So: press Esc, x (minibuffer shows "M-x "), type "package-install", press
Return, type "haskell-mode", press Return. (If you have configured Terminal
to use Option for Meta --- this is not default as it disables
internationalization --- then you can press Option-x instead of Esc
followed by x.)
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131210/74215970/attachment-0001.html>
------------------------------
Message: 7
Date: Tue, 10 Dec 2013 07:19:15 +0100
From: Miro Karpis <[email protected]>
To: Brandon Allbery <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] setting up haskell-mode in gnu-emacs
(OSX)
Message-ID:
<cajnnbxewyk177xq0cd1e-am+9abu+q5g+0la_8gw9x7rvpa...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Thanks,
now I'm getting "Install package: haskell-mode[No match]". I'm doing this
via gnu-emacs in OSX
Do I need to download the package and place it somewhere?
Thanks,
m.
On Tue, Dec 10, 2013 at 6:27 AM, Brandon Allbery <[email protected]>wrote:
> On Tue, Dec 10, 2013 at 12:13 AM, Miro Karpis
> <[email protected]>wrote:
>
>> I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to
>> emacs,...
>> Instructions says: via package manager add: M-x package-install <RET>
>> haskell-mode <RET>
>> I can open package manager, but where should I paste the command?
>>
>
> That's not really pasteable as such.
>
> M-x refers to pressing Meta-x (for a terminal this may not be available
> without special configuration) or Esc followed by x. <RET> is the Return
> key.
>
> So: press Esc, x (minibuffer shows "M-x "), type "package-install", press
> Return, type "haskell-mode", press Return. (If you have configured Terminal
> to use Option for Meta --- this is not default as it disables
> internationalization --- then you can press Option-x instead of Esc
> followed by x.)
>
> --
> brandon s allbery kf8nh sine nomine
> associates
> [email protected]
> [email protected]
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131210/e6bdcf4a/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 66, Issue 6
****************************************