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. about installation of Haskell (love_pku)
2. how long it will take to install Haskell (love_pku)
3. Re: [Announcement] Fedora 12 rpms for leksah 0.8.0.1 now
available (Lakshmi Narasimhan)
4. Re: Getting into a Haskell project? (Yitzchak Gale)
5. Re: about installation of Haskell (Yitzchak Gale)
6. ghci parse error on input (Rick Murphy)
7. Re: ghci parse error on input (Stephen Tetley)
8. Re: ghci parse error on input (Chadda? Fouch?)
----------------------------------------------------------------------
Message: 1
Date: Thu, 18 Mar 2010 00:22:42 +0800 (CST)
From: love_pku <[email protected]>
Subject: [Haskell-beginners] about installation of Haskell
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="gbk"
Dear Sir or Madam::
Sorry to trouble you!
I am a beginner of Haskell and I just run into problems to install it.
Things went smoothly when I do ./configure,but when I do the command
'make',errors appeared. The errors are as follows(red font):
$make
scripts/build.sh
Building
"/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal"
Linking Setup ...
"./Setup" "configure" "--package-db=../../packages/package.conf.inplace"
"--prefix=/usr/local" "--with-compiler=/usr/bin/ghc"
"--with-hc-pkg=/usr/bin/ghc-pkg" "--with-hsc2hs=/usr/bin/hsc2hs"
"--enable-library-profiling"
Setup: Unrecognised flags:
--package-db=../../packages/package.conf.inplace
Error:
Configuring the mtl-1.1.0.2 package failed
make: *** [build.stamp] Error 2
So I do hope you can give me some suggestions. Thank you very much!
Best wishes,
Yours, juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20100317/2315d5df/attachment-0001.html
------------------------------
Message: 2
Date: Thu, 18 Mar 2010 12:46:41 +0800 (CST)
From: love_pku <[email protected]>
Subject: [Haskell-beginners] how long it will take to install Haskell
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="gbk"
Dear Sir or Madam:
I met problems when install haskell. Following are the interface after do the
command 'make',and it stay at the state 'Linking Setup'for a long time. So I am
wondering how long it will take to finish 'linking setup'.
#make
scripts/build.sh
Platform package mtl-1.1.0.2 is already installed. Skipping...
Building
"/usr/local/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal-1.6.0.3"
Linking Setup ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20100318/31420a74/attachment-0001.html
------------------------------
Message: 3
Date: Thu, 18 Mar 2010 13:52:00 +0530
From: Lakshmi Narasimhan <[email protected]>
Subject: [Haskell-beginners] Re: [Announcement] Fedora 12 rpms for
leksah 0.8.0.1 now available
To: [email protected], [email protected],
[email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="utf-8"
One update:
Make sure that ghc is installed before proceeding with the installation. ghc
can be installed with this command
yum install ghc
On Thu, Mar 18, 2010 at 12:45 PM, Lakshmi Narasimhan <
[email protected]> wrote:
> Leksah - 0.8.0.1 rpms for Fedora 12 now available
>
> http://leksah.org/download.html
>
> About Leksah:
> *Leksah* is the Haskell IDE of choice. It is written in Haskell, uses Gtk,
> and runs on Linux, Windows and Mac OS X. Leksah is a practical tool to
> support the Haskell development process. It requires the Glasgow Haskell
> Compiler (GHC).
>
> *Installation Instructions
> *
> *Procedure for x86 platform*
> Before proceeding to install the leksah rpms,
> Uninstall leksah-0.6.1, ghc-binary-devel packages, incase you have
> installed them from the leksah download page. Use the following command
> yum remove leksah ghc-binary-devel
>
> Install these dependencies from the following location
>
> http://leksah.org/packages/dependencies-0.8.0.1.fc12.i386.tar.gz
>
> Extract the rpms from the tar.gz file. Select the rpms, right click and
> click Install. To install from command line, change into
> the extracted directory, become superuser and type in this command for x86
>
> yum --nogpgcheck install ghc-binary-devel-0.5.0.2-1.fc12.i386.rpm
> ghc-deepseq-devel-1.1.0.0-1.fc12.i386.rpm ghc-ltk-devel-0.8-1.fc12.i386.rpm
> ghc-binary-shared-devel-0.8-1.fc12.i386.rpm
> ghc-hslogger-devel-1.0.10-1.fc12.i386.rpm
> haddock-leksah-2.5.0-1.fc12.i386.rpm
>
> Download the leksah rpms from this location
>
> http://leksah.org/packages/leksah-0.8.0.1-1.fc12.i386.rpm
> http://leksah.org/packages/leksah-server-0.8.0.1-1.fc12.i386.rpm
>
> Use the same procedure used for installing the dependencies.
> *
> Procedure for x86_64 platform*
> Before proceeding to install the leksah rpms, please install these
> dependencies from the following location
>
> http://leksah.org/packages/dependencies-0.8.0.1.fc12.x86_64.tar.gz
>
> Extract the rpms from the tar.gz file. Select the rpms, right click and
> click Install. To install from command line, change into
> the extracted directory, become superuser and type in this command
>
> yum --nogpgcheck install ghc-binary-devel-0.5.0.2-1.fc12.x86_64.rpm
> ghc-hslogger-devel-1.0.10-1.fc12.x86_64.rpm
> ghc-binary-shared-devel-0.8-1.fc12.x86_64.rpm
> ghc-ltk-devel-0.8-1.fc12.x86_64.rpm
> ghc-deepseq-devel-1.1.0.0-1.fc12.x86_64.rpm
> haddock-leksah-2.5.0-1.fc12.x86_64.rpm
>
> Download leksah rpms from this location
>
> http://leksah.org/packages/leksah-0.8.0.1-1.fc12.x86_64.rpm
> http://leksah.org/packages/leksah-server-0.8.0.1-1.fc12.x86_64.rpm
>
> Use the same procedure used for installing the dependencies
>
> *Running leksah
> *Once installation is completed, leksah menu item appears under
> Applications->Programming (in GNOME).
> --
> Regards
> Lakshmi Narasimhan T V
>
--
Regards
Lakshmi Narasimhan T V
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20100318/9ed94040/attachment-0001.html
------------------------------
Message: 4
Date: Thu, 18 Mar 2010 12:34:26 +0200
From: Yitzchak Gale <[email protected]>
Subject: Re: [Haskell-beginners] Getting into a Haskell project?
To: Brent Yorgey <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Duncan Mortimer wrote:
>> I was wondering whether anyone has any suggestions about good open
>> source Haskell projects I could cut my teeth on, and any advice in
>> general in getting into this stuff more deeply?
Brent Yorgey wrote:
> Here's my advice...
> 1...5
Great suggestions! I would add:
6. Follow the Haskell reddit: http://www.reddit.com/r/haskell/
The linked articles and the comments are both important.
Good luck, and welcome to the community!
Yitz
------------------------------
Message: 5
Date: Thu, 18 Mar 2010 14:25:36 +0200
From: Yitzchak Gale <[email protected]>
Subject: Re: [Haskell-beginners] about installation of Haskell
To: love_pku <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Juan,
You wrote:
> I am a beginner of Haskell and I just run into problems to install it...
You seem to be trying to compile the GHC compiler manually.
For most platforms, that is not the recommended way to start
out. It is somewhat complicated, takes a long time, and is not
even all that you need. There is probably a much easier way,
depending on what operating system you are using.
You seem to be using some Unix-like environment. Exactly
what operating system do you have? If Linux, which
distribution and which version? If not Linux, please give us
similar details about your platform.
Thanks,
Yitz
------------------------------
Message: 6
Date: Thu, 18 Mar 2010 08:21:57 -0400
From: Rick Murphy <[email protected]>
Subject: [Haskell-beginners] ghci parse error on input
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello All:
Using GHCi, I am working from an existing example which surprisingly
contains a parse error in an export statement. I have reproduced the
parse error as follows:
> module Export
> (
> (^)
> , (#)
> )
> where
> import Prelude hiding ((^))
GHCi reports: parse error on input (#
I read 5.2 Export Lists in the Haskell Report, but the syntax above does
not appear to contradict the Haskell Report.
I have eliminated the following solutions:
1. Add (#) to the hiding list.
2. Swap the (#) and (^).
3. Load as non-literate file.
Would anyone be able to provide advice on how to avoid this parse error?
--
Rick
blog: http://phaneron.rickmurphy.org
------------------------------
Message: 7
Date: Thu, 18 Mar 2010 13:14:11 +0000
From: Stephen Tetley <[email protected]>
Subject: Re: [Haskell-beginners] ghci parse error on input
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Rick
The code loads fine for me as a .lhs file using ghci / GHC 6.12.1.
What is the exact error message and which version of GHC are you using?
Best wishes
Stephen
------------------------------
Message: 8
Date: Thu, 18 Mar 2010 14:26:01 +0100
From: Chadda? Fouch? <[email protected]>
Subject: Re: [Haskell-beginners] ghci parse error on input
To: Rick Murphy <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
On Thu, Mar 18, 2010 at 1:21 PM, Rick Murphy <[email protected]> wrote:
> Using GHCi, I am working from an existing example which surprisingly
> contains a parse error in an export statement. I have reproduced the parse
> error as follows:
>
>> module Export
>> Â Â Â (
>> Â Â Â Â Â Â Â (^)
>> Â Â Â , Â Â Â (#)
>> Â Â Â )
>> where
>> import Prelude hiding ((^))
>
> GHCi reports: parse error on input (#
>
> I read 5.2 Export Lists in the Haskell Report, but the syntax above does not
> appear to contradict the Haskell Report.
That's probably due to you using GHCi in a version where the
GHC-specific extension concerning # is active by default (with this
extension (# 2, 3 #) is an unboxed strict pair). While it's probably
possible to compile this code by making sure that the extension isn't
active (for instance, using ghc instead of ghci), it is probably a
better idea to avoid # as an operator name.
--
Jedaï
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 21, Issue 20
*****************************************