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. autocomplete in haskell-aquamacs interpreter (Miro Karpis)
2. Re: setting up haskell-mode in gnu-emacs (OSX) (Jack Henahan)
3. Re: Cabal build dependency using a git repo (Jack Henahan)
----------------------------------------------------------------------
Message: 1
Date: Wed, 11 Dec 2013 15:06:22 +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] autocomplete in haskell-aquamacs
interpreter
Message-ID:
<CAJnnbxH1-pk3gJJQGiMk=h1cfhvoihd8sp7zgvvqctrmdxb...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Please, is there a shortcut for autocomplete in aquamacs (for files and
haskell functions)?
Cheers,
m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131211/6270c5bb/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 11 Dec 2013 20:13:45 -0500
From: Jack Henahan <[email protected]>
To: [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: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
You might not have the right package archive available. Try
M-x package-list-packages
And then see if haskell-mode is listed. If not, you?ll need to add
require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"
))
(package-initialize)
to your .emacs (or the equivalent statement for MELPA).
On Dec 10, 2013, at 1:19 AM, Miro Karpis <[email protected]> wrote:
> 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
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131211/a527f481/attachment-0001.sig>
------------------------------
Message: 3
Date: Wed, 11 Dec 2013 20:19:01 -0500
From: Jack Henahan <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Cc: Peter Jones <[email protected]>
Subject: Re: [Haskell-beginners] Cabal build dependency using a git
repo
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
I honestly recommend a sandbox. That is exactly the scenario they are used in,
and there is no effect on your users since it?s just a local development
concern.
On Dec 10, 2013, at 10:55 AM, Michael Baker <[email protected]> wrote:
> Ok, I'll try that. Thanks.
>
>
> On Tue, Dec 10, 2013 at 9:44 AM, Peter Jones <[email protected]> wrote:
> Michael Baker <[email protected]> writes:
> > 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.
>
> I believe it's possible to run your own installation of the Hackage
> server or at least host packages on a web server under a specific
> directory structure. You can then configure cabal to fetch packages
> from your private Hackage mirror. Then you just host your private
> packages and any necessary public packages. More details:
>
> http://comonad.com/reader/2012/hackage-mirror/
>
> --
> Peter Jones, Founder, Devalot.com
> Defending the honor of good code
>
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131211/b8a8e828/attachment-0001.sig>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 66, Issue 9
****************************************