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. getting cabal to work under windows 8 (Nathan H?sken)
2. Re: getting cabal to work under windows 8 (Stephen Tetley)
3. typo in tutorial? (Jason Sachs)
4. Re: getting cabal to work under windows 8 (Nathan H?sken)
5. Re: getting cabal to work under windows 8 (Stephen Tetley)
6. Re: typo in tutorial? (Brent Yorgey)
7. Re: getting cabal to work under windows 8 (Nathan H?sken)
----------------------------------------------------------------------
Message: 1
Date: Mon, 02 Sep 2013 14:55:01 +0200
From: Nathan H?sken <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] getting cabal to work under windows 8
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hey,
I have installed haskell-plarform 2013.2.0.0 on windows 8.
I have MinGW + Msys isntalled.
I am trying to install some package with cabal. So I do:
cabal install netwire
in the msys console. Now I get:
cabal.exe: The program ghc-pkg is required but the version of c:\Program
Files
(x86)\Haskell Platform\2013.2.0.0\bin\ghc-pkg.exe could not be determined.
ghc-pkg.exe exists at the given position. What am I missing?
Thanks!
Nathan
------------------------------
Message: 2
Date: Mon, 2 Sep 2013 17:22:56 +0100
From: Stephen Tetley <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] getting cabal to work under windows 8
Message-ID:
<cab2tprbrub0fm7h0bsbrvfk1z9mk98zslpbtnjpphr-u85p...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Fishing for an answer...
What is the output of
> ghc-pkg list
Also, even though we are in 2013, I still personally avoid spaces in paths
for programs in windows that I'm going to use from the shell.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130902/2fbac7c7/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 2 Sep 2013 10:05:12 -0700
From: Jason Sachs <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] typo in tutorial?
Message-ID:
<CAOo6sOPG8SR5R=XDWXkewZ6MUinkqsW+xr=panjjxzjask+...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
is there a typo in the tutorial? http://www.haskell.org/tutorial/io.html
sequence_ :: [IO ()] -> IO ()
sequence_ [] = return ()
sequence_ (a:as) = do a
sequence as
Shouldn't that last line be the following? (if so could someone please
report it? i don't know where to report typos/bugs in the tutorial)
sequence_ (a:as) = do a
sequence_ as
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130902/bcc74f6a/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 02 Sep 2013 19:14:11 +0200
From: Nathan H?sken <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] getting cabal to work under windows 8
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Am 9/2/2013 6:22 PM, schrieb Stephen Tetley:
> Fishing for an answer...
>
> What is the output of
>
> > ghc-pkg list
$ ghc-pkg.exe list
c:/Program Files (x86)/Haskell Platform/2013.2.0.0\lib\package.conf.d:
Cabal-1.16.0
GLURaw-1.3.0.0
GLUT-2.4.0.0
HTTP-4000.2.8
HUnit-1.2.5.2
OpenGL-2.8.0.0
OpenGLRaw-1.3.0.0
QuickCheck-2.6
Win32-2.3.0.0
array-0.4.0.1
async-2.0.1.4
attoparsec-0.10.4.0
base-4.6.0.1
bin-package-db-0.0.0.0
binary-0.5.1.1
bytestring-0.10.0.2
case-insensitive-1.0.0.1
cgi-3001.1.7.5
containers-0.5.0.0
deepseq-1.3.0.1
directory-1.2.0.1
fgl-5.4.2.4
filepath-1.3.0.1
(ghc-7.6.3)
ghc-prim-0.3.0.0
hashable-1.1.2.5
haskell-platform-2013.2.0.0
haskell-src-1.0.1.5
(haskell2010-1.1.1.0)
(haskell98-2.0.0.2)
hoopl-3.9.0.0
hpc-0.6.0.0
html-1.0.1.2
integer-gmp-0.5.0.0
mtl-2.1.2
network-2.4.1.2
old-locale-1.0.0.5
old-time-1.1.0.1
parallel-3.2.0.3
parsec-3.1.3
pretty-1.1.1.0
primitive-0.5.0.1
process-1.1.0.2
random-1.0.1.1
regex-base-0.93.2
regex-compat-0.95.1
regex-posix-0.95.2
rts-1.0
split-0.2.2
stm-2.4.2
syb-0.4.0
template-haskell-2.8.0.0
text-0.11.3.1
time-1.4.0.1
transformers-0.3.0.0
unordered-containers-0.2.3.0
vector-0.10.0.1
xhtml-3000.2.1
zlib-0.5.4.1
>
>
> Also, even though we are in 2013, I still personally avoid spaces in
> paths for programs in windows that I'm going to use from the shell.
I reinstallesd haskell platform without spaces. Something changed!
A first attempt to cabal.exe update resulted in a segmentation fault,
the second worked. Now if I do:
cabal install netwire
I cet:
$ cabal install netwire
cabal.exe:
nothing else ...
>
>
>
> _______________________________________________
> 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/20130902/699e5769/attachment-0001.html>
------------------------------
Message: 5
Date: Mon, 2 Sep 2013 19:00:14 +0100
From: Stephen Tetley <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] getting cabal to work under windows 8
Message-ID:
<CAB2TPRDrhF=uxj8mhdrlzp5xyviszc6cbyiarm769-hkkz2...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Nathan
I think that looks like a positive step.
What happens if you try to cabal install one of netwires dependencies - e.g
"semigroups" which doesn't have so many dependencies itself.
Again I'm fishing for an answer, but if semigroups installs that would
indicate that `cabal install` is working.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130902/4af992d1/attachment-0001.html>
------------------------------
Message: 6
Date: Mon, 2 Sep 2013 14:05:53 -0400
From: Brent Yorgey <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] typo in tutorial?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Mon, Sep 02, 2013 at 10:05:12AM -0700, Jason Sachs wrote:
> is there a typo in the tutorial? http://www.haskell.org/tutorial/io.html
>
> sequence_ :: [IO ()] -> IO ()
> sequence_ [] = return ()
> sequence_ (a:as) = do a
> sequence as
>
> Shouldn't that last line be the following? (if so could someone please
> report it? i don't know where to report typos/bugs in the tutorial)
>
> sequence_ (a:as) = do a
> sequence_ as
Yes, you are absolutely right.
By the way, this is not "the" tutorial, it is just one particular
tutorial (and a very old one at that). Yes, I know its URL is
haskell.org/tutorial, that is a historical accident rather than a
blessing of canonicity.
I am not sure who has access to the website to be able to fix it.
-Brent
------------------------------
Message: 7
Date: Tue, 03 Sep 2013 01:24:16 +0200
From: Nathan H?sken <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] getting cabal to work under windows 8
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Hey,
Unfortantly same result:
cabal install semigroup
cabal.exe:
I also tried zlib (which is already installed), same result.
Any remaining Ideas?
Thanks!
Nathan
Am 9/2/2013 8:00 PM, schrieb Stephen Tetley:
> Hi Nathan
>
> I think that looks like a positive step.
>
> What happens if you try to cabal install one of netwires dependencies
> - e.g "semigroups" which doesn't have so many dependencies itself.
>
> Again I'm fishing for an answer, but if semigroups installs that would
> indicate that `cabal install` is working.
>
>
>
> _______________________________________________
> 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/20130903/1d07d208/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 63, Issue 4
****************************************