I had the same problem on a Mac system, change "GHC" to "ghc" and things
will work.
I didn't even think that it was an actual bug! Ticket #379 reports the
problem.
On Tue, Oct 21, 2008 at 3:52 PM, Duncan Coutts
<[EMAIL PROTECTED]>wrote:
> On Wed, 2008-10-22 at 00:05 +0200, Henk-Jan van Tuyl wro
On Tue, Oct 21, 2008 at 9:33 PM, Duncan Coutts
<[EMAIL PROTECTED]> wrote:
> On Tue, 2008-10-21 at 20:33 -0700, Jason Dagit wrote:
>
>> Correct me if I'm wrong, but if I want to make this work on windows I
>> can't use System.Posix, right? If so, what is the portable way to set
>> environment varia
On Tue, 2008-10-21 at 20:33 -0700, Jason Dagit wrote:
> Correct me if I'm wrong, but if I want to make this work on windows I
> can't use System.Posix, right? If so, what is the portable way to set
> environment variables? I see[1] that getEnv exists in
> System.Environment, but setEnv is in Sys
Hello,
I'm not very perl literate, but I want to convert a perl script to
Haskell. This bit of perl is part of darcs' test suite. I was hoping
to make it "more portable" by writing it in Haskell. By more portable
I mean, works in windows without cygwin/mingw/msys and avoids the need
for perl al
On Wed, 22 Oct 2008 11:54:50 Luke Palmer wrote:
> On Tue, Oct 21, 2008 at 3:02 PM, Justin Bailey <[EMAIL PROTECTED]> wrote:
> > On Tue, Oct 21, 2008 at 11:43 AM, Luke Palmer <[EMAIL PROTECTED]> wrote:
> >> Hi, I need a rather strange data structure, and I can't find any
> >> existing implementation
you can also write an interpreter in haskell that will typecheck using GADT's
http://www.informatik.uni-bonn.de/~ralf/publications/With.pdf
http://www.haskell.org/pipermail/haskell/2005-May/015815.html
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.
On 10/21/08, Luke Palmer <[EMAIL PROTECTED]> wrote:
> Well, first, my question was highly malformed. I actually just want a
> spine lazy map of lists; queues were not what I wanted.
> [...]
> The best I've come up with so far is a binary search tree where the
> most recently inserted thing is
On 10/21/08 17:55, Duncan Coutts wrote:
On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote:
Just that one little piece of information, that |cabal install| , by
default, installs in ~/.cabal and then enables ghc to look there for
packages, would have saved an awful lot of time :(
Where would
On Wed, 22 Oct 2008, Ariel J. Birnbaum wrote:
> This is the part when the Lisp hackers in the audience chuckle, as one of
> them
> raises a hand and asks "What happens when you grow tired of writing TH
> boilerplate? Wait for another extension? And what after that?".
>
To be fair, the TH boil
> The thing that worries me is... if you need to write repetative Haskell
> source code, doesn't that mean that Haskell itself is broken in the
> first place?
I wouldn't go as far as calling it "broken". Sure, writing boilerplate is a
pain, but Haskell in this respect is far better than many (mos
On Tue, 21 Oct 2008, Andrew Coppin wrote:
> If I'm understanding this correctly, Template Haskell is a way to
> auto-generate repetative Haskell source code.
>
Amongst other things, yes. It's also a way to perform repetitive
transformations on code, for example.
> The thing that worries me is.
Andrew Coppin <[EMAIL PROTECTED]> wrote:
> If I'm understanding this correctly, Template Haskell is a way to
> auto-generate repetative Haskell source code.
>
> The thing that worries me is... if you need to write repetative
> Haskell source code, doesn't that mean that Haskell itself is broken
On Tue, 2008-10-21 at 09:41 -0500, Larry Evans wrote:
> Just that one little piece of information, that |cabal install| , by
> default, installs in ~/.cabal and then enables ghc to look there for
> packages, would have saved an awful lot of time :(
Where would you like that information to have bee
On Tue, Oct 21, 2008 at 3:02 PM, Justin Bailey <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 21, 2008 at 11:43 AM, Luke Palmer <[EMAIL PROTECTED]> wrote:
>> Hi, I need a rather strange data structure, and I can't find any
>> existing implementations or think of a way to implement it. It's a
>> "multiqu
On Wed, 2008-10-22 at 00:05 +0200, Henk-Jan van Tuyl wrote:
> L.S.,
>
> I keep getting the following warning for each "cabal install" command:
> Warning: Error parsing config file C:\Documents and
> Settings\[User]\Application Data\cabal\config: On line 1: GHC
> Warning: Using default
On Mon, 2008-10-20 at 17:04 -0200, Mauricio wrote:
> Hi,
>
> I would like to include a few source files
> as 'executable' sections in a .cabal package
> description. However, although I do want to
> use main=mainDefault features, I do not want
> those packages to be installed when I run
> 'Setup.h
L.S.,
I keep getting the following warning for each "cabal install" command:
Warning: Error parsing config file C:\Documents and
Settings\[User]\Application Data\cabal\config: On line 1: GHC
Warning: Using default configuration.
The first line of this file is:
compiler: GHC
What can I
On Tue, Oct 21, 2008 at 11:37 PM, Ken98 <[EMAIL PROTECTED]> wrote:
>
> Hello, I recently started using cabal-install to install packages. However,
> ran into a problem today trying to install ftphs where the current HUnit
> dependency required base (==4). I'm using ghc-6.8.2 on ubuntu.
>
Right, tha
Hello, I recently started using cabal-install to install packages. However,
ran into a problem today trying to install ftphs where the current HUnit
dependency required base (==4). I'm using ghc-6.8.2 on ubuntu.
To get around this, I looked through previous versions of HUnit and found
that 1.2.0
Hello Ketil,
Tuesday, October 21, 2008, 10:56:40 PM, you wrote:
>> what's the simplest way to install ghc + gtk2hs on Ubuntu x86 system?
> Untested, but try:
> sudo apt-get install libghc6-gtk-dev
thanks to everyone who answered. this one was shortest and it works. i
don't tested other answ
On Tue, Oct 21, 2008 at 11:43 AM, Luke Palmer <[EMAIL PROTECTED]> wrote:
> Hi, I need a rather strange data structure, and I can't find any
> existing implementations or think of a way to implement it. It's a
> "multiqueue", basically a map of queues. The trick is that it should
> be lazy in its
If I'm understanding this correctly, Template Haskell is a way to
auto-generate repetative Haskell source code.
The thing that worries me is... if you need to write repetative Haskell
source code, doesn't that mean that Haskell itself is broken in the
first place?
___
Mauricio <[EMAIL PROTECTED]> wrote:
> At first, make sure you have Bjarne Stroustrup book
> (very important: last edition). If there's anything good
> in C++, it's there. Look also at his homepage:
>
> http://www.research.att.com/~bs/homepage.html
>
I got the third edition and read it a couple o
Benjamin L.Russell <[EMAIL PROTECTED]> wrote:
> Read the following uncensored interview with Bjarne Stroustrup, the
> designer of C++, and then tell me what you think:
>
> An Interview with Bjarne Stroustrup
> http://www.ariel.com.au/jokes/An_Interview_with_Bjarne_Stroustrup.html
>
As I read it
Bulat Ziganshin <[EMAIL PROTECTED]> writes:
> what's the simplest way to install ghc + gtk2hs on Ubuntu x86 system?
Untested, but try:
sudo apt-get install libghc6-gtk-dev
-k
--
If I haven't seen further, it is by standing in the footprints of giants
Hi, I need a rather strange data structure, and I can't find any
existing implementations or think of a way to implement it. It's a
"multiqueue", basically a map of queues. The trick is that it should
be lazy in its spine and still support efficient access. For example,
the following should hold
Hi Bulat,
(Note, I'm not using Ubuntu) You may use the packaged versions from
Ubuntu. According to http://packages.ubuntu.org/ Hardy (which is the
current version of Ubuntu) has GHC vesion 6.8.2-2ubuntu1 and gtk2hs
version 0.9.12.1-1ubuntu2. Ubuntu package names are ghc6 and
libghc6-gtk-dev respec
Hello haskell-cafe,
i'm linux freshman
what's the simplest way to install ghc + gtk2hs on Ubuntu x86 system?
--
Best regards,
Bulat mailto:[EMAIL PROTECTED]
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.h
Thanks for that! I don't know yet what would be the easiest way
to automatically build up haskell code (Template haskell's Exps or
the HsDecls in your link).
Generating is only a part of what i need, though. I would like some
feedback from GHC about the generated code (to see if the expressions
I thought so too, but didn't find anything that seemed to work. One thing that
perhaps could work would be to set the -l flag from the .ghci file. But when I
tried giving -lincrease on the command line, apparently GHC expects to find a
file named libincrease.so, which apparently is not the same
On Mon, Oct 20, 2008 at 8:07 PM, Benjamin L. Russell <[EMAIL PROTECTED]
> wrote:
> On Sun, 19 Oct 2008 23:08:06 +0200, Achim Schneider <[EMAIL PROTECTED]>
> wrote:
>
> >What kind of things, barring coding on Haskell-less platforms and
> >library interfaces would you choose to do in C++?
> >
> >I'm
I would think there is a command you can embed in the .ghci file that
would automate the loading of the object files. But I didn't see one
on a quick scan of the manual:
http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-dot-files.html
-Corey O'Connor
On Tue, Oct 21, 2008 at 9:10 AM,
Hi,
I'm making my first attempt at using some C code in my Haskell program. I need
it because I have a large amount of small constant tables, and GHC takes ages to
compile the if I use ordinary lists (and the object file gets huge). If there's
any way of achieving this without going to C, I'd
I'm having the following issue with Haddock 2.0 and GHC 6.8.3 on cygwin:
$ haddock -o doc --html -B /cygdrive/c/Program\
Files/Haskell/ghc-6.8.3/lib Test.hs
$ haddock.exe: Can't find package.conf as \cygdrive\c\Program
Files\Haskell\ghc-6.8.3\lib\driver\package.conf.inplace
The windows install of
2008/10/20 z ghost <[EMAIL PROTECTED]>:
> hello, im interested in using haskell to generate code and make
> little AI applications for fun..
>
> is anyone already doing this sort of thing? it would be fun to collaborate
> with people on this.
>
I've been doing some work with Haskell code-generatio
zghost123:
>hello, im interested in using haskell to generate code and make
>little AI applications for fun..
>
>is anyone already doing this sort of thi
Achim Schneider wrote:
What kind of things, barring coding on Haskell-less platforms and
library interfaces would you choose to do in C++?
transactional database servers
HTML renderers
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www
On Tue, Oct 21, 2008 at 03:04:27PM +0200, Martin Hofmann wrote:
> We try to learn functional programs from examples, but our system is not
> yet ported to Haskell, though we are working on it. However, we thought
> about using TH.
>
> Do you have any pointers to papers, etc. ? You'll find our proj
On 10/21/08 07:35, Bertram Felgenhauer wrote:
Larry Evans wrote:
On 10/20/08 12:33, Larry Evans wrote:
With a file containing:
> module Main where
>
> import Array
> import Control.Functor.Fix
I get:
> make
> ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c
catamorphism.example
> > We try to learn functional programs from examples, but our
> system is
> > not yet ported to Haskell, though we are working on it. However, we
> > thought about using TH.
> >
> > Do you have any pointers to papers, etc. ? You'll find our project,
> > system and papers here:
> http://www.
Dear Haskellers,
The deadline for the November 2008 edition of the Haskell Communities
and Activities Report is only ten days away. If you haven't already,
please write an entry for your new project, or update your old entry.
Please mail your entries to [EMAIL PROTECTED] in plain text or LaTeX
f
On Mon, Oct 20, 2008 at 01:29:10PM +0200, Thomas van Noort wrote:
> Hi,
>
> I would like to verify a list of properties using QuickCheck. Of course, I
> can test a single property using:
>
> quickCheck :: Testable prop => prop -> IO ()
>
> Then, I can check a list of properties my mapping this fun
"We represent bars by integers... we have five primitive indicators:
high, low, open, close, and volume"
It looks like they are using a single implicit bar chart as the input
for the program; a "bar' is just an integer reference into that chart;
the only thing you can do with a Bar is pass it to a
We try to learn functional programs from examples, but our system is not
yet ported to Haskell, though we are working on it. However, we thought
about using TH.
Do you have any pointers to papers, etc. ? You'll find our project,
system and papers here: http://www.cogsys.wiai.uni-bamberg.de/effalip
Larry Evans wrote:
> On 10/20/08 12:33, Larry Evans wrote:
>> With a file containing:
>> > module Main where
>> >
>> > import Array
>> > import Control.Functor.Fix
>> I get:
>> > make
>> > ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c
>> catamorphism.example.hs
Yes, using -i to
It sounds like you're doing exactly what I'm looking for. I look forward to
more.
Reiner
On Tue, Oct 21, 2008 at 4:28 PM, Matt Morrow <[EMAIL PROTECTED]> wrote:
> > Is there a simple way to do this, i.e. using existing libraries?
>
> Yes indeed. I'll be traveling over the next two days, and am s
Hello Colin,
Tuesday, October 21, 2008, 12:56:30 PM, you wrote:
> Bulat> and what tool you choose in 80's? :)
> A TARDIS.
and why it not ruled the world? :)
--
Best regards,
Bulatmailto:[EMAIL PROTECTED]
___
Haskel
> "Bulat" == Bulat Ziganshin <[EMAIL PROTECTED]> writes:
Bulat> Hello Benjamin,
Bulat> Tuesday, October 21, 2008, 8:13:55 AM, you wrote:
> Maybe this is just me, but if I had to choose a tool, I'd choose one
>> that would be easy to use well.
Bulat> and what tool you choose i
Hello Benjamin,
Tuesday, October 21, 2008, 8:13:55 AM, you wrote:
> Maybe this is just me, but if I had to choose a tool, I'd choose one
> that would be easy to use well.
and what tool you choose in 80's? :)
--
Best regards,
Bulatmailto:[EMAIL PROTECTED]
Chris Dornan chrisdornan.com> writes:
> If I try the same with ghc:
>
> ghc test.hs -package hsql-1.7 -package hsql-mysql-1.7 -L.
> -llibmysql
>
> with libmysql.lib copied into the same directory I get:
>
> C:\Program Files\Haskell\hsql-mysql-1.7\ghc-6.8.3/libHShsql-mysql-
> 1.7.a
50 matches
Mail list logo