On Wed, 2008-07-30 at 14:58 -0400, John Dorsey wrote:
[problems with cabal install yi]
Curious, I tried this out, on a Debian etch box with GHC 6.8.3.
cabal update ; cabal install yi --global
complained about needing alex =2.0.something and 3.
Then cabal install alex happily installed
On Mon, 2008-07-28 at 11:11 +0100, Malcolm Wallace wrote:
FYI: Haskell's OpenGL binding has just been dropped from GHC's
extralibs, which means that it will no longer be kept in sync with GHC
development, at least not by GHC HQ.
GHC HQ has its hands full and -generally speaking -
On Tue, 2008-07-29 at 15:34 +0100, Malcolm Wallace wrote:
I don't think that's right. The HP maintainers are not (and cannot be)
the maintainers of each individual package. That just does not scale.
Oh absolutely, but I was imagining that (at least part of) the purpose
of the Platform is
On Sun, 2008-07-27 at 21:01 -0500, John Lato wrote:
On Sun, Jul 27, 2008 at 3:25 PM, Duncan Coutts
Use Haskell String syntax for paths that contain spaces:
include-dirs: C:\\Program Files\\program\\include
Hi Duncan,
Thanks, this worked (mostly). Although I had to change the line
On Mon, 2008-07-28 at 07:39 +, Jean-Philippe Bernardy wrote:
Niklas Broberg niklas.broberg at gmail.com writes:
The gtk frontend should not suffer from this:
yi -fgtk
C:\Documents and Settings\Niklas Brobergyi -fgtk
yi: exception :: System.Glib.GError.GError
I'm out
On Mon, 2008-07-28 at 15:02 -0700, Philip Weaver wrote:
However, passing the same CPP definition via cabal does not work.
runhaskell Setup.hs build --ghc-options=-DFOO=\hello world\
runhaskell Setup.hs build --ghc-options=-DFOO='hello world'
With either of these commands, I get
On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote:
Hello,
Can anyone point me to a method for including path names with spaces
in a cabal file? I would like to add a line similar to the following:
include-dirs: C:\Program Files\program\include
and of course a corresponding library as
On Mon, 2008-07-28 at 00:27 +0400, Bulat Ziganshin wrote:
Hello Henk-Jan,
Sunday, July 27, 2008, 11:36:32 PM, you wrote:
Can anyone point me to a method for including path names with spaces
in a cabal file? I would like to add a line similar to the following:
Have you tried replacing
On Fri, 2008-07-25 at 17:57 +0100, Claus Reinke wrote:
So, if one of you wanted to step forward and offer to keep these
Haskell bindings for OpenGLco maintained, perhaps steward them
into the H(L)P, now would probably be a good time.
I fully expect the GL and AL binding libs to join the
On Sat, 2008-07-26 at 03:02 +0200, Mitar wrote:
Hi!
If we spend so long blocked on memory reads that we're only utilising
50% of a core's time then there's lots of room for improvements if we
can fill in that wasted time by running another thread.
How can you see how much does your
On Thu, 2008-07-24 at 16:43 +1200, Richard A. O'Keefe wrote:
On 24 Jul 2008, at 3:52 am, Duncan Coutts wrote:
[Sun have donated a T5120 server + USD10k to develop
support for Haskell on the SPARC.]
This is wonderful news.
I have a 500MHz UltraSPARC II on my desktop running Solaris 2.10
On Thu, 2008-07-24 at 14:38 -0700, John Meacham wrote:
Neat stuff. I used to work at Sun in the solaris kernel group, the SPARC
architecture is quite elegant. I wonder if we can find an interesting
use for the register windows in a haskell compiler. Many compilers for
non c-like languages
On Fri, 2008-07-25 at 10:38 +1000, Ben Lippmeier wrote:
I'd be more interested in the 8 x hardware threads per core, [1]
suggests that (single threaded) GHC code spends over half its time
stalled due to L2 data cache miss.
Right, that's what I think is most interesting and why I wanted
http://haskell.org/opensparc/
I am very pleased to announce a joint project between Sun Microsystems
and the Haskell.org community to exploit the high performance
capabilities of Sun's latest multi-core OpenSPARC systems via Haskell!
http://opensparc.net/
Sun has
On Wed, 2008-07-23 at 21:05 +0100, Eric wrote:
Hi all,
I wanted to embark on a Haskell program that implements a simple text
editor. Before doing so, however, I thought that I should ask: Does
anyone know of a literate Haskell program already in existence that does
the job?
I don't
On Sat, 2008-07-19 at 23:55 -0500, Galchin, Vasili wrote:
yes Duncan I am trying to pass-by-value. I am familiar with
ForeignPtr; however, I don't comprehend what you and Brandon are
suggesting to do. Could either of you provide a code illustration or
point at existing code to illustrate your
On Sat, 2008-07-19 at 01:26 +0200, Ben Franksen wrote:
Henning Thielemann wrote:
On Mon, 14 Jul 2008, Tillmann Rendel wrote:
Apropos cabal-install: can i make it build documentation during the
installation process and store them in some central location?
I also wondered about that.
On Sat, 2008-07-19 at 01:40 -0500, Galchin, Vasili wrote:
hello,
Following is more of a criticism of Linux implementation of the
Posix real-time extension of asynchronous I/O if not interesting
please skip. The central data structure for Posix AIO is an aiocb. In
any case,
On Sat, 2008-07-19 at 10:45 -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jul 19, at 2:40, Galchin, Vasili wrote:
My viewpoint is that the above Internal members must be carried
around in a Haskell program. Am I correct?? If I am correct, then
the Linux implementation of Posix AIO is
On Wed, 2008-07-16 at 22:45 -0300, Felipe Lessa wrote:
Hi,
I tried googling and searching the haskellwiki about this but wasn't
lucky enough. My question is: is there a way to send struct arguments
to C functions via the FFI or do I need to create a C wrapper? I guess
there isn't, and
On Thu, 2008-07-17 at 13:36 -0300, Felipe Lessa wrote:
I am using hsc2hs currently, but googling about #def with Cabal I
found out that some people were having trouble to make Cabal discover
that hsc2hs had created a new C file. Specifically, bug #245 [1] which
says that the milestone is
On Tue, 2008-07-15 at 19:45 -0500, Austin Seipp wrote:
For the purpose of experimenting with NDP I went through the
process of getting the GHC head from darcs.haskell.org. As
specified in the developer wiki[1], using darcs get is basically
not possible because there're so many patches. So I
On Thu, 2008-07-10 at 18:53 -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jul 10, at 14:00, Eric wrote:
I have downloaded cabal and am trying to install it but have gotten
the
following error message:
C:\cabal\cabal-install-0.5.1runghc Setup configure
Note that Eric is talking
On Wed, 2008-06-25 at 10:15 +0200, Sasko Mateski wrote:
I wanted to install cabal-install to check it out. Soon I found out
that it has a dependency on Cabal (=1.41.5), so next thing to do
was getting and installing Cabal-1.4.0.1 (since the version coming
with ghc-6.8.3 is 1.2.4.0). But
On Fri, 2008-06-20 at 12:12 -0400, Gwern Branwen wrote:
On Fri, Jun 20, 2008 at 11:43 AM, Henning Thielemann
[EMAIL PROTECTED] wrote:
Is there some command which tests a tar.gz created by 'Setup.lhs sdist' by
unpacking the archive to say /tmp and compiling and documenting the sources?
On Thu, 2008-06-19 at 11:33 +0800, jinjing wrote:
Hi guys,
This is my second attempt to learn Haskell :)
Any way here's the code:
module Dot where
import Prelude hiding ( (.) )
(.) :: a - (a - b) - b
a . f = f a
infixl 9 .
Note that if you redefine (.) composition to be
On Mon, 2008-06-16 at 13:25 +0100, Claus Reinke wrote:
The main point of the Program abstraction is about configuring and
running programs. As it happens some programs are provided by some
haskell packages (but not all, eg ld, ar, etc).
option to get version info and code to extract it
cabal-install 0.5
=
cabal-install version 0.5 is out:
http://haskell.org/cabal/download.html
or get it from hackage:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal-install
If you are already using a cabal-install pre-release then you can just:
$ cabal update
$
On Wed, 2008-06-18 at 22:44 +0200, Daniel Fischer wrote:
Is there a tutorial/user's guide for cabal-install somewhere?
My limited google skills haven't found one and I really need it, because
there
MUST be a better way to get a package and its dependencies built and the
haddock
On Wed, 2008-06-18 at 13:55 -0700, Evan Laforge wrote:
byorgey: fons: I can't explain it, all I know is that you must set it
to 1 or else it does bizarre things
fons: hahah, ok
fons: byorgey: that's funny considering its default value is 1.5
byorgey: if you set it to 1 then lineLength
On Sat, 2008-06-14 at 11:03 +0100, Claus Reinke wrote:
http://hackage.haskell.org/trac/hackage/ticket/227
One problem is that not all build-tools correspond to haskell
packages. Some do some don't. We have a hard coded list of them
at the moment (which can be
On Sat, 2008-06-14 at 19:21 +0100, Sebastian Sylvan wrote:
I think that if GTK did use this system (rather than append the module
name to the function and export them flatly) a lot of people would
resort to ugly hacks like putting the import statements in a file
somewhere and using the C
On Sat, 2008-06-14 at 18:18 +0200, Sebastiaan Visser wrote:
Hi,
I've got a question about lazy IO in Haskell. The most well known
function to do lazy IO is the `hGetContents', which lazily reads all the
contents from a handle and returns this as a regular [Char].
The thing with
On Sat, 2008-06-14 at 10:26 -0400, Dimitry Golubovsky wrote:
Hi,
Is there any way to query the latest version of a particular package
stored on Hackage, that was successfully built?
It is certainly part of the plan. There is currently no convenient way
to get at the information. I've been
On Fri, 2008-06-13 at 22:10 -0400, Gwern Branwen wrote:
I think this may be Cabal's fault anyway. The yi.cabal includes the line:
build-tools: alex = 2.0.1 3
in the 'executable yi' section, right after the build-depends, so Yi
is being straightforward and upfront about its
On Fri, 2008-06-13 at 05:15 -0400, Dominic Espinosa wrote:
Hello,
I'm trying to install hscurses on debian-testing. I have ghc6 installed,
which I've written some toy programs with, but I haven't tried to
install any Hackage packages until now.
hscurses depends on old-time and old-locale
On Fri, 2008-06-13 at 11:19 -0400, Darrin Thompson wrote:
Cabal-install is looking good. It now, for the record, has only two
deps outside of Cabal-1.4.
I installed cabal-install-0.5 on ubuntu with the haskell.org linux
binary for ghc 6.8.2.
I then tried cabal-install yi
Got this
On Wed, 2008-06-11 at 23:50 -0700, Anatoly Yakovenko wrote:
any idea what could be causing this error when i add the -fvia-C option
/tmp/ghc32300_0/ghc32300_0.hc:6:23:
error: SFMT_wrap.h: No such file or directory
make: *** [release] Error 1
Some package you're using is a FFI binding
On Thu, 2008-06-12 at 00:07 -0700, Don Stewart wrote:
aeyakovenko:
any idea what could be causing this error when i add the -fvia-C option
/tmp/ghc32300_0/ghc32300_0.hc:6:23:
error: SFMT_wrap.h: No such file or directory
make: *** [release] Error 1
I am also passing these
On Thu, 2008-06-12 at 16:07 -0500, Aditya Siram wrote:
Hi all,
I downloaded cabal-install and the cabal-1.4 branch from darcs. The following
error occurs when building:
runhaskell Setup.hs build
Building cabal-install-0.4.9...
[19 of 27] Compiling Hackage.SrcDist ( Hackage/SrcDist.hs,
On Tue, 2008-06-10 at 21:38 -0700, Anatoly Yakovenko wrote:
nevermind, i am a little slow today. ghci -lcblas
You should not need to do this manually. The blas package should say
that it needs this library, in which case ghc and ghci will pick it up
automatically. Using ghci -package foo is
On Mon, 2008-06-09 at 16:04 +0200, Ketil Malde wrote:
I think designing modules for qualified-only use is a mistake. I also
think import lists get quite ugly, with multiple instances of
import qualified Data.Set as S
import Data.Set (Set)
for multiple - sometimes even the
On Sat, 2008-06-07 at 09:36 -0700, Thomas Hartman wrote:
cabal issue?
Yes and no.
What is happening is that there are several versions of the Cabal
library installed. In particular Cabal-1.3.12 and Cabal-1.5.2. The happy
package uses build-type Custom so cabal-install compiles the Setup.lhs
On Sat, 2008-06-07 at 18:44 +0100, Duncan Coutts wrote:
Perhaps a better solution is for cabal-install to choose the version of
the Cabal library differently. Of course it has to be within the hard
constraints specified in the .cabal file and on the command line. But
after that perhaps
On Sat, 2008-06-07 at 21:20 +0200, Bertram Felgenhauer wrote:
Duncan Coutts wrote:
The immediate workarounds are:
* unregister Cabal-1.5.2
Better, hide it (that's reversible) - or does that not work with
cabal-install?
If Cabal ignored hidden packages then you could never install
On Sat, 2008-06-07 at 14:46 -0700, Thomas Hartman wrote:
great, sudo cabal install from inside 1.17 distribution dir now seems
to do the right thing.
however, after it's done installing (apparently without error) the
happy version is still 1.16 and the happy executable is from 2006.
This
Hi everyone,
== Cabal-1.4 release candidate ==
The second release candidate of Cabal-1.4 is out:
http://haskell.org/cabal/download.html
Please test and report bugs:
http://hackage.haskell.org/trac/hackage/
The aim for the Cabal-1.4 release is to get various fixes and
improvements into the
On Thu, 2008-06-05 at 09:16 +0100, Simon Marlow wrote:
As I see it we need both. We need to make it easy to translate cabal
packages into distro packages. We do have tools to do that at the moment
for Gentoo, Debian and Fedora. I'm sure they could be improved.
However we cannot expect
On Wed, 2008-06-04 at 09:32 +0200, Henning Thielemann wrote:
On Tue, 3 Jun 2008, Don Stewart wrote:
I wrote up the second part of the tour of understanding low level
performance in GHC here,
http://reddit.com/r/programming/info/6lx36/comments/
Follows on from the discussion
On Wed, 2008-06-04 at 14:54 +0200, Ketil Malde wrote:
You have a point, though, and I wouldn't mind at all cabal-install
being integrated into portage,
I'm not too familiar with portage, but I think a better solution is to
provide tools to automatically generate packages for the various
On Wed, 2008-06-04 at 11:33 +0100, Simon Marlow wrote:
Claus Reinke wrote:
- i don't want to have to remove anything explicitly, becausethat
would mean bypassing the haskell installation managers
- i would want to see a single haskell installation manager
for each system,
I
On Wed, 2008-06-04 at 15:25 +0200, Achim Schneider wrote:
Well, you have a point but still don't have one. Many of gentoo's
haskell .ebuilds are seriously outdated, eg. wxhaskell still depends on
ghc 6.4. See Damnit, we need a CPAN
The haskell overlay features about 240 packages from alex
On Wed, 2008-06-04 at 15:14 +0100, Claus Reinke wrote:
I think that's fundamentally the wrong approach. We shouldn't have to
build a Haskell installation manager. Would you also want installation
managers for Perl, Python, Ruby, C, C++, etc. each with their own different
user
On Wed, 2008-06-04 at 17:22 +0200, Achim Schneider wrote:
The question, IMHO, seems to be
How would a package manager for a posix-compilant kinetic look like?
http://nixos.org/index.html
Duncan
___
Haskell-Cafe mailing list
On Wed, 2008-06-04 at 10:26 -1000, Tim Newsham wrote:
I built darcs for win32 recently and it was much more difficult than
it should be. Probably most of the blame goes to ghc-6.8.2 binary
release for win32. Half of the effort is getting the zlib prereq
working.
Previously to build zlib
On Mon, 2008-06-02 at 23:11 -0500, Galchin, Vasili wrote:
at this point rebuild and install the unix package ...
[EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell
Setup.lhs clean
cleaning...
[EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell
Setup.lhs
On Tue, 2008-06-03 at 00:04 -0500, Galchin, Vasili wrote:
Duncan,
By installing localling, I runhaskell Setup.hs configure
--prefix=$HOME plus add local path to LD_LIBRARY_PATH and
LD_RUN_PATH? On Linux, does ghc use .so's or is it linked statically?
ghc is linked statically but when
On Tue, 2008-06-03 at 10:23 -0700, Don Stewart wrote:
A new version of happs was written on a Monday a couple of months ago,
using fastcgi and takusen. We're running it at galois, and you can
find the code on code.haskell.org/hpaste. So not quite what you wanted,
but another data point.
On Mon, 2008-06-02 at 00:07 -0500, Galchin, Vasili wrote:
Hello,
I have been developing new code for the unix package. I have
run into what I think are ghc 6.8.2 anomalies but couldn't see a
pattern. Possibly now I do. I have been using the 32-bit x86 ghc
binary that I downloaded
On Mon, 2008-06-02 at 22:35 +0200, Krasimir Angelov wrote:
The problem with this is that both the Map and the Set are traversed
twice. The first time from lookup/member and the second time from
insert. Does someone have an idea how to do this with the current
libraries?
The chart
On Mon, 2008-06-02 at 09:42 -0700, Thomas Hartman wrote:
Can cabal install be made to work for this package?
*
[EMAIL PROTECTED]:~sudo cabal install happs-hsp-template
[sudo] password for thartman:
cabal: internal error: could not construct a valid install plan.
The proposed (invalid)
On Fri, 2008-05-30 at 10:38 +0200, Ketil Malde wrote:
Johan Tibell [EMAIL PROTECTED] writes:
I guess this is where I don't follow: why would you need more short
strings for Unicode text than for ASCII or 8-bit latin text?
But ByteStrings are neither ASCII nor 8-bit Latin text!
On Thu, 2008-05-29 at 20:12 -0700, Philip Neustrom wrote:
I'm having issues trying to get cabal-install (latest darcs)
installed, as well. I'm seeing the message:
Hackage/Types.hs:19:29:
Module `Distribution.Version' does not export `Dependency'
which was mentioned on this list
On Fri, 2008-05-30 at 16:33 +0200, Chaddaï Fouché wrote:
2008/5/30 Achim Schneider [EMAIL PROTECTED]:
I already was pleasantly surprised when discovering cabal-install, I
think it deserves some more prominence, or even integration into cabal
itself, to make everyone aware of the fact that
On Thu, 2008-05-29 at 11:25 -0700, Bryan O'Sullivan wrote:
Tom Harper wrote:
Because I'm writing the Unicode-friendly ByteString =p
Perhaps I'm not understanding. Why wouldn't you use ByteString for I/O,
even if you're writing a different library? After all, ByteString's own
internals
On Thu, 2008-05-29 at 18:12 +, Chad Scherrer wrote:
My work uses WebSense to filter viewable pages - I don't have an option.
I used to be able to get to darcs.haskell.org just fine, but apparently a
/hacking directory was added somewhere, so WebSense put it on the naughty
list.
Do you
On Thu, 2008-05-29 at 17:38 +0200, Achim Schneider wrote:
No, wait, there's cabal-install. And it doesn't even depend on 20+
packages I'd have to install manually. My day, for now, is saved, at
least if portage installs it without hesitation.
Ah, there it is:
Compiling source
in
On Fri, 2008-05-30 at 01:10 +0200, Marc Weber wrote:
On Thu, May 29, 2008 at 03:51:56PM -0700, Thomas Hartman wrote:
echoextra-lib-dirs: ${zlib}/lib zlib.cabal
echoinclude-dirs: ${zlib}/include zlib.cabal'';
Try patching the cabal file using something like that.
Actually
On Wed, 2008-05-28 at 10:22 +0200, Henning Thielemann wrote:
On Wed, 28 May 2008, Bulat Ziganshin wrote:
Hello Henning,
Wednesday, May 28, 2008, 9:51:28 AM, you wrote:
We could simulate a list with strict elements, i.e.
data StrictList a = Elem !a (StrictList a) | End
On Tue, 2008-05-27 at 15:33 -0700, Thomas Hartman wrote:
I think dist gets populated when you do build.
Actually we also stash the configuration in ./dist/setup-config so that
gets created at configure time.
Galchin's problem is that something goes wrong during the configure and
so nothing
On Fri, 2008-05-23 at 15:07 -0500, John Lato wrote:
Hello,
I recently ran into a strange cabal error. When trying to configure a
package (leksah 0.1.1) I get the following error:
MacBook-Pro:leksah-0.1.1 jwl$ runhaskell Setup.lhs configure
Configuring leksah-0.1.1...
Setup.lhs: ghc
On Wed, 2008-05-21 at 17:32 -0500, Galchin, Vasili wrote:
Hello,
https://bugs.launchpad.net/ubuntu/+source/gtk2hs/+bug/229489 this
is almost identical to my problem. I am just trying to help others on
this list who are using Ubuntu Linux to avoid my predicament!
I had that problem
On Tue, 2008-05-20 at 09:30 +0200, Ketil Malde wrote:
Don Stewart [EMAIL PROTECTED] writes:
You can use either bytestrings, which will ignore any encoding,
Uh, I am hesitant to voice my protest here, but I think this bears
some elaboration:
Bytestrings are exactly that, strings of
On Sun, 2008-05-18 at 23:09 -0400, Braden Shepherdson wrote:
I run Vista Business 32-bit on my desktop, and I installed Gtk2Hs using
that LSystemSetup.exe installer. I don't have a link handy, I apologize.
That's a handy way to install with a few clicks for non-programmers.
I had no idea
On Sun, 2008-05-18 at 11:20 +0100, Andrew Coppin wrote:
So, as Bulat says, explain why your code should have similar performance
to the C version.
Because it executes the same algorithm? I mean, there's essentially only
one way round that you can perform the MD5 algorithm, so it just
On Sun, 2008-05-18 at 19:26 +0100, Ben Arnold wrote:
I'm running Windows Vista and I've been trying to set up an
environment for writing GUI applications.
A Google search pointed me at two major GUI toolkits for Haskell:
gtk2hs and wxHaskell.
I started with gtk2hs. The installation
On Mon, 2008-05-19 at 00:35 +0400, Bulat Ziganshin wrote:
Hello Duncan,
Friday, May 16, 2008, 2:05:53 AM, you wrote:
Of course if you're deploying a Windows program that uses gtk2hs then
using just the runtime dlls is just the right thing to do. Though for
that case we provide the
On Mon, 2008-05-19 at 00:13 +0400, Bulat Ziganshin wrote:
Hello Ben,
Sunday, May 18, 2008, 10:26:09 PM, you wrote:
So, in practice, do other people write GUI apps with Haskell on
Windows? And if they do, how do they do it? I feel I've got to the
stage where I need a concrete
On Mon, 2008-05-19 at 00:02 +0300, Yitzchak Gale wrote:
Hi Bulat,
Bulat Ziganshin wrote:
if main part of your program is GUI - it's better to stick with C# and
all its visual bells and whistles. the only good thing with gtk2hs is
that you got Linux portability for free. actually, people
On Sun, 2008-05-18 at 22:49 +0200, Josef Svenningsson wrote:
On Sun, May 18, 2008 at 3:24 AM, Galchin, Vasili [EMAIL PROTECTED] wrote:
Hi Josef,
What generates dist/setup-config? When I run runhaskell Setup.hs
configure, nothing including dist/setup.config gets generated. ??
Ok,
On Sat, 2008-05-17 at 15:12 +0200, Achim Schneider wrote:
Token.hs:103:15:
Overlapping instances for Show (SourcePos, Tok)
arising from a use of `anyToken' at Token.hs:103:15-22
Matching instances:
instance (Show a, Show b) = Show (a, b) -- Defined in GHC.Show
On Thu, 2008-05-15 at 21:04 -0400, Olivier Boudry wrote:
I tried to place a length text `seq` before the mapM_ writeExport to
force the process output to be read but the result was even worst
(only one line printed). Apparently withtout the `evaluate` function
it causes more troubles than it
On Thu, 2008-05-15 at 01:01 +0400, Bulat Ziganshin wrote:
Hello Andrew,
Thursday, May 15, 2008, 12:49:32 AM, you wrote:
touch. Now, let's see what this IDE actually looks li-- oh you have GOT
to be KIDDING me! It can't find the right GTK DLL?!?
gtk2hs includes *developer* gtk2
On Wed, 2008-05-14 at 21:49 +0100, Andrew Coppin wrote:
At this point, my best guess is that the unofficial Gtk2hs binary is
broken somehow. [Although I don't recall hearing anybody yelling about
it...] Maybe tomorrow I'll try again on my other box that has an older
GHC on it and see how
On Thu, 2008-05-15 at 13:40 -0400, Olivier Boudry wrote:
Hi all,
It's the first time I use the runInteractiveCommand and I was probably
bitten by laziness.
Yes. I think Philip diagnosed the problem correctly.
As an example let me show you as an example how we use it in Cabal:
On Mon, 2008-05-12 at 04:00 -0500, Galchin, Vasili wrote:
Hello,
As I said in a Friday posting, I changed the version # of the
cabal file that I am using, unix.cabal. Now my build environment is
broken and I am dead in the water:
[EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0$
On Mon, 2008-05-12 at 20:01 +0100, Andrew Coppin wrote:
In short, as a fairly new Haskell programmer, I find it completely
impossibly to write code that doesn't crawl along at a snail's pace.
Even when I manage to make it faster, I usually have no clue why. (E.g.,
adding a seq to a
On Wed, 2008-05-07 at 08:33 -0700, Bryan O'Sullivan wrote:
David Roundy wrote:
This is the correct behavior (although it's debatable whether kpsewhich
should be outputting in text mode).
I think it would be more accurate to say that runInteractiveProcess has
an inadequate API, since
On Wed, 2008-05-07 at 08:46 -0700, David Roundy wrote:
On Wed, May 07, 2008 at 08:33:23AM -0700, Bryan O'Sullivan wrote:
David Roundy wrote:
This is the correct behavior (although it's debatable whether kpsewhich
should be outputting in text mode).
I think it would be more accurate
On Thu, 2008-05-08 at 00:12 +0200, Harri Kiiskinen wrote:
Thank You all for the lively discussion, and of course, a nice and
simple answer to my problem:
On Wed, 2008-05-07 at 21:17 +0100, Duncan Coutts wrote:
(inh,outh,errh,pid) - runInteractiveProcess path args Nothing Nothing
-- We
On Tue, 2008-05-06 at 09:43 -0400, Mario Blazevic wrote:
Trevor Elliott wrote:
Cabal doesn't pass the --main-is option, I believe because it is
specific to GHC. What you could do is add this flag in the ghc-options
field of your executable in the cabal file, like this:
ghc-options:
On Mon, 2008-05-05 at 13:37 -0400, Mario Blazevic wrote:
Trevor Elliott wrote:
Hi Mario,
Is the name of the module within the Shell.hs file Main? If not, that
could be your problem.
You may be right, the module's name is Shell, not Main. GHC does not
have problem with that
On Wed, 2008-04-30 at 11:32 +0100, Malcolm Wallace wrote:
Peter Gammie [EMAIL PROTECTED] wrote:
The most-recent darcs version relies on a newer ByteString than I
have, so it is not easy for me to test it.
I believe there was a patch to fix this. Apparently only one version of
the
On Sun, 2008-04-27 at 21:44 +0100, Malcolm Wallace wrote:
Ian Lynagh wrote a pure haskell readline implementation a while ago,
I think that was Malcolm Wallace.
... and it is part of the readline package! See
System.Console.SimpleLineEditor. Needless to say, it is far from
On Fri, 2008-04-25 at 17:30 +0100, Richard Kelsall wrote:
I've just been investigating a performance oddity in using splitAt
on a long stream of random numbers. I don't understand why GHC
appears to want to traverse the first part of the list twice.
GHC seems to implement the splitAt
Just to keep haskell-cafe updated on this issue...
On Tue, 2008-04-15 at 22:15 -0500, John Goerzen wrote:
When I went to make my upload of MissingH 1.0.1, Hackage rejected it,
saying:
Instead of 'ghc-options: -XPatternSignatures' use 'extensions:
PatternSignatures'
Now fixed!
(Well, at
On Mon, 2008-04-21 at 14:30 -0400, Brandon S. Allbery KF8NH wrote:
On Apr 21, 2008, at 7:38 , Hans van Thiel wrote:
On Fri, 2008-04-18 at 16:19 +0100, Duncan Coutts wrote:
If there are any that you think are rejecting legitimate packages
then do
complain (as in this thread
On Mon, 2008-04-21 at 13:38 +0200, Hans van Thiel wrote:
Configuring Emping-0.5.1...
cabal-setup: At least the following dependencies are missing:
gtk -any
I'll have to leave it at that, since my local Cabal version does configure
and build,
and I obviously can't use Hackage as a
On Sun, 2008-04-20 at 14:02 -0700, Ben wrote:
hi all --
using binary 0.4.1 on ghc 6.8.2, vista 64 sp1. consider the following
program:
import System.Directory
import Data.Binary
main = do
let dat = [1..10]::[Int]
fname = foo.dat
encodeFile fname dat
dat2 - decodeFile
On Sun, 2008-04-20 at 14:24 -0700, Bryan O'Sullivan wrote:
Doh! For all that I wrote about encodeFile, substitute decodeFile.
Indeed the version of encodeFile you wrote should be exactly identical
to the original because the lazy bytestring writeFile already uses
bracket like that:
writeFile
701 - 800 of 1242 matches
Mail list logo