Er, the GHC library *is* GHC. The answer is very probably no.
--
brandon s allbery kf8nh
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, February 15, 2013 at 9:52 AM, C Rodrigues wrote:
Hi,
I was going to do some hacking on Haddock. Haddock depends on the GHC API
using forkOS?
--
brandon s allbery kf8nh
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/20/11 12:09 , Sittampalam, Ganesh wrote:
Simon Marlow wrote:
judgement as to whether we should spend effort on backwards
compatibility or not. Perhaps we're getting it wrong - so feedback
from
users is always valuable.
From the point of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/20/11 21:12 , Ian Lynagh wrote:
On Thu, Jan 20, 2011 at 09:22:37PM +0100, Axel Simon wrote:
I therefore think that keeping the number of extensions
to a minimum should be a high priority. It seems that the ghc team is
going overboard with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/8/10 03:45 , Simon Peyton-Jones wrote:
| known problem with darcs with no obvious solution. For me, switching
| GHC to git would certainly be a win.
I have personal experience of git, because I co-author papers with git users.
I am not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/7/10 21:42 , David Peixotto wrote:
P.S.
Apparently Linus used to use Lennart's method of diff and patch for version
control before switching to bitkeeper and then git:
http://www.youtube.com/watch?v=4XpnKHJAok8 about 10:30 minutes in. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/29/10 18:36 , Bryan O'Sullivan wrote:
On Sat, Nov 27, 2010 at 9:05 PM, wren ng thornton w...@freegeek.org
mailto:w...@freegeek.org wrote:
So I've just started playing around with STM and -threaded programs and
I've run into a bug.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/18/10 13:06 , Serge D. Mechveliani wrote:
In ghc-7.0.1, to import `partition', it is sufficient the line
import List (partition),
but to import `intercalate', it is needed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/5/10 19:22 , David Peixotto wrote:
Probably there are some wins to be had by choosing a good optimization
sequence for the code generated from GHC, rather than just using `-O1`,
`-O2`, etc. I believe It should be possible to find
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/28/10 05:16 , Kazu Yamamoto (山本和彦) wrote:
When I compiled a network server with GHC 7 without the -threaded
option and ran it, I got the following error.
file descriptor 5496824 out of range for select (0--1024).
I would be extremely
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/2/10 18:07 , Christian Höner zu Siederdissen wrote:
cd syb-0.2.1
* remove base4.3 constraint from syb.cabal
cabal install
* syb-0.2.1 is now installed and works!
$ cabal install parsec-3.1.0
cabal: cannot configure syb-0.2.1. It requires
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/10/10 04:59 , Christian Maeder wrote:
Brandon S Allbery KF8NH schrieb:
On 9/9/10 05:35 , Christian Maeder wrote:
System.Process.readProcessWithExitCode metis filename
If all else fails, there's:
sh -c '(sleep 120; kill -TERM $$ /dev/null
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/10/10 21:39 , Daniel Fischer wrote:
On Saturday 11 September 2010 03:12:11, Greg wrote:
a unicode symbol (defined as any Unicode symbol or punctuation). I'm
pretty sure º is a unicode symbol or punctuation.
Prelude Data.Char
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/10/10 21:12 , Greg wrote:
unicode symbol (defined as any Unicode symbol or punctuation). I'm pretty
sure º is a unicode symbol or punctuation.
No, it's a raised lowercase o used by convention to indicate gender of
abbreviated ordinals. You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/9/10 05:35 , Christian Maeder wrote:
System.Process.readProcessWithExitCode metis filename
If all else fails, there's:
sh -c '(sleep 120; kill -TERM $$ /dev/null 21) exec metis'
which makes the shell deal with timeouts for you. (Adjust
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/23/10 11:57 , Christian Maeder wrote:
However, when I try to compile the simplest source with on older
gcc-3.4.4 I get the link error below, but only for the threaded rts!
With ghc-6.12.1 and gcc-4.x.y (x 3) I did not have such a problem
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/17/2010 03:22 PM, Ben Moseley wrote:
{-# LANGUAGE GADTs #-}
module Foo where
data TemplateValue t where
TemplateList :: [x] - TemplateValue [x]
instance (Eq a) = Eq (TemplateValue a) where
(==) (TemplateList b) (TemplateList c) =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/21/10 13:18 , John Lask wrote:
it does spoil the nice layout - it would be nice to just be able to write
(which does not parse)
do rec
a - getChar
b - f c
c - g b
putChar c
return b
I don't particularly care
On Jun 10, 2010, at 05:59 , Philip K.F. Hölzenspies wrote:
[holze...@ewi1043:work/FPPrac]% ghci BugDemo.hs
GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ...
On May 20, 2010, at 06:23 , Simon Marlow wrote:
On 18/05/2010 17:48, John Lato wrote:
From: Simon Marlowmarlo...@gmail.com
But currently there is one problem with GhcShared=YES: with this
option, the stage-2 compiler gets linked dynamically but the
corresponding inplace shell wrapper does not
On May 20, 2010, at 08:29 , John Lato wrote:
On Thu, May 20, 2010 at 1:07 PM, Brandon S. Allbery KF8NH
allb...@ece.cmu.edu wrote:
On May 20, 2010, at 06:23 , Simon Marlow wrote:
On 18/05/2010 17:48, John Lato wrote:
From: Simon Marlowmarlo...@gmail.com
But currently there is one problem
On Apr 15, 2010, at 15:34 , Denys Rtveliashvili wrote:
As for the performance of alloca, I though it would be faster than
malloc. However, in a simple test I have just written it is
actually slower. The test allocates 16-bytes arrays and immediately
de-allocates them. This operation is
On Mar 18, 2010, at 18:33 , Milan Straka wrote:
I would like to have basic data structures connected together. I do
not
really mind if the modules are in one library or in several, as long
as
I could say I want 'containers'.
This is what the Haskell Platform is for. No real need to add
On Mar 18, 2010, at 19:50 , Thomas Schilling wrote:
The Haskell Platform is really is intended to be available at your
fingertips. Unfortunately, the following does not work (although I
thought it's supposed to)
$ cabal install haskell-platform
Other way around: installing the Haskell
On Feb 21, 2010, at 23:46 , Tyson Whitehead wrote:
I'm writing a perl module that interfaces some haskell code and its
a bit of a
pain because both perl and ghc have their own custom build system.
Is there a way to get ghc to give you the gcc/as/ld options (library
paths,
include paths,
On Dec 14, 2009, at 14:04 , Jost Berthold wrote:
The reason is, when packaging parallel, this package has been
removed from the GHC core libraries. BTW I am unsure whether this is
at all clever, since it needs specific GHC support (at least for now
- am I right here?)
Only to the extent
On Nov 20, 2009, at 12:25 , Sean Leather wrote:
Perhaps I don't quite get how this works, but when I :set -fbreak-on-
exception in GHCi, I get an exception using readFile. It reads the
entire file and then throws what appears to be an EOF exception.
I believe that's normal; the runtime
On Nov 20, 2009, at 13:02 , Sean Leather wrote:
On Fri, Nov 20, 2009 at 18:31, Jose Iborra wrote:
This is by design, -fbreak-on-exception breaks on any exception, be
it captured or not, even on library code.
Ah, that's what I missed. I would've guessed that it only breaks on
uncaught
On Nov 14, 2009, at 11:16 , Colin Paul Adams wrote:
This seems to work up to a point. That is I get no crashes in ghci.
I do appear to have some line-feed problems. So if I type:
Prelude let x = 10
It appears to do nothing, but that is not the case - I can then
overtype with :t x and ghci
On Oct 29, 2009, at 04:31 , Kazu Yamamoto (山本和彦) wrote:
Since the handle is associated with UDP, the entire data size should
be known when a UDP packet arrived. But I cannot find a way to know
data size. (I want a function like hFileSize.) Note that hGetContents
blocks.
The short answer is:
On Jul 16, 2009, at 03:32 , Johan Tibell wrote:
2009/7/16 Kazu Yamamoto k...@iij.ad.jp
I have a standalone (i.e. not integrated into the RTS yet) proof
of concept
working using kqueue. However, to be portable we still need to
fall back to
select on systems that don't support anything
On Jul 14, 2009, at 21:48 , Kazu Yamamoto (山本和彦) wrote:
running well at the beginning. But after several hours, it receives an
error, buildFdSets: file descriptor out of range.
I believe the runtime uses select(), which has a hard limit (enforced
by the kernel) that the maximum file
On Jun 27, 2009, at 15:37 , Niklas Broberg wrote:
* NewConstructorSyntax: Lets the programmer write data types using the
GADTs *syntax*, but doesn't add any type-level power (and no forall
syntax). Could probably use a better name (bikeshed warning).
GeneralizedTypeSyntax occurs to me.
--
On Jun 26, 2009, at 00:47 , Ahn, Ki Yung wrote:
We got a code (please refer to the attached lhs file) that uses type
families and type classes very cleverly. We don't know who wrote
I'm under the impression that many clever uses of type families
require GHC HEAD, as they're still evolving.
On Jun 24, 2009, at 02:27 , Sittampalam, Ganesh wrote:
Brandon S. Allbery KF8NH wrote:
Sure - but it hurts more when in some environments you get away with
it and others you don't.
You'll still have that though, it'll just be a different set of
environments. The next failure mode after
On Jun 24, 2009, at 05:04 , Simon Marlow wrote:
There's one exception: if GHC is forced to use blocking mode on a
particular FD, and you're using the non-threaded RTS, then a large
write using hPutBuf may block all Haskell threads. There doesn't
seem to be much we can do about this, except
On Jun 23, 2009, at 09:41 , Simon Marlow wrote:
main = do
(ih, oh, _, _) - runInteractiveProcess cat [] Nothing Nothing
comphszp - hGetContents oh
print (length comphszp)
-- hClose ih -- with this line they both deadlock
Note that you can trigger this in any language; it's a classic
On Jun 23, 2009, at 20:32 , Niklas Broberg wrote:
In my quest to implement all known syntactic extensions to Haskell in
my haskell-src-exts package, I've become painfully aware of the
sometimes ad-hoc nature that these extensions have been added to GHC.
Someone really needs to sit down and
On Jun 24, 2009, at 00:52 , Ganesh Sittampalam wrote:
On Tue, 23 Jun 2009, Brandon S. Allbery KF8NH wrote:
On Jun 23, 2009, at 09:41 , Simon Marlow wrote:
main = do
(ih, oh, _, _) - runInteractiveProcess cat [] Nothing Nothing
comphszp - hGetContents oh
print (length comphszp)
-- hClose ih
On Jun 16, 2009, at 05:19 , Simon Peyton-Jones wrote:
(B) data RecTest a where
B :: { arg :: a } - RecTest a
For what it's worth (considering that I have yet to actually use
GADTs), (A) looks wrong to me because there is type information before
the actual type. (B) looks kinda
On May 7, 2009, at 06:27 , Neil Mitchell wrote:
If however I run it with runhaskell Test.hs +RTS -N2 I get told the
-N2 flag isn't supported. Is there a way to runhaskell a program on
As a workaround you could use 'ghc -e main foo.hs +RTS -N2'.
That works great :-) Perhaps this trick should
On Apr 30, 2009, at 09:52 , Jan Jakubuv wrote:
*Main :t nonsense
nonsense :: (SUBST s) = t - Maybe s
But, when I put this signature into the code (that is, when the
commented
line above is uncommented) then type checking fails with the following
error:
Ambiguous type variable `s'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 28, 2009, at 01:24 , Scott Michel wrote:
I've been hacking along on a NetBeans Haskell plugin (*) Looking at
Parser.y.pp, because both Eclipse and NetBeans work with antlr, it
seems like there are interesting cases in which chimeric
On Apr 22, 2009, at 22:00 , Alexander Dunlap wrote:
On Wed, Apr 22, 2009 at 4:56 PM, Ian Lynagh ig...@earth.li wrote:
An exception to this rule is that we will probably also rebundle
time in
the bindists, as that has little chance of breaking anything else.
Would this be a good time to add
On 2009 Mar 18, at 16:34, Colin Paul Adams wrote:
The one routine that stood out was this one (about 35% CPU time, with
0% attributed to children):
-- | Value of one rank of the board
rank_value :: (Int, Array Int Square) - Int
rank_value (rank_coord, rank') = sum (map (cell_value rank_coord)
On 2009 Mar 18, at 16:59, Colin Paul Adams wrote:
Brandon == Brandon S Allbery KF8NH allb...@ece.cmu.edu
writes:
The array has 12 elements.
Brandon How many times do you call it? Perhaps the real
Brandon optimization you need is to memoize.
Very many times indeed
On 2009 Mar 17, at 10:36, Christian Maeder wrote:
Ralph Crawford wrote:
ln -s /usr/lib/libm.so.1 $BOS_ROOT/lib/libm.so.2
You need an actual libm.so.2 library that contains the missing
symbols.
To this library you set a link libm.so in a directory that is in the
front of your
On 2009 Mar 17, at 20:28, Duncan Coutts wrote:
On Tue, 2009-03-17 at 11:09 +0100, Christian Maeder wrote:
Under Solaris sh is not bash!
Indeed.
According to the OpenGroup that syntax should be fine:
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_02
It
On 2009 Mar 15, at 11:59, Lingappan, Loganathan wrote:
FindBBUsage.o:fake:(.text+0x44d): undefined reference to
`__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_'
collect2: ld returned 1 exit status
Either use ghc --make or ghc -package regex-posix. The former is
preferred.
--
On 2009 Mar 9, at 9:32, Claus Reinke wrote:
One way out would be to treat the whole mutual recursion as a single
entity, either implicitly, as I indicated, or explicitly, as I
interpret Brandon's somewhat ambiguous comment. In other words, the
peel/unroll limits would apply to a whole group
On 2009 Feb 20, at 4:38, Serge D. Mechveliani wrote:
The first command outputs
-
t = ((a : nil) + (b : nil))
Bug:
substitute {(X, a), (Xs, nil), (Ys, (b : nil))} X:
sort mismatch in substitution
-
And the second command
On 2009 Feb 10, at 8:55, Alistair Bayley wrote:
Perhaps CPP shouldn't be a pragma, just a command-line flag? It seems
to be the only one that affects/involves preprocessor(s). AFAICT, the
others all affect the haskell compiler stage.
Or require the CPP pragma to be the first thing in the
On 2009 Feb 5, at 5:49, Remi Turk wrote:
SPJ agreed with the idea itself, but suggested an alternative set of
commands:
:info Show-- See class definition only
:instances Show -- See instances of Show
(...)
However, it would make :i ambiguous, which is rather sad.
:class
On 2009 Jan 11, at 9:48, Duncan Coutts wrote:
On Fri, 2009-01-02 at 21:06 +1100, Ben Lippmeier wrote:
I'm running into some huge compile times that I'm hoping someone will
have some suggestions about. When compiling Parser.hs the
intermediate
.hc file is 4MB big, and is taking GCC 4.2.1 more
On 2008 Nov 26, at 9:30, Markus Barenhoff wrote:
Because the ports seem not to get updated, I tried to compile ghc
6.10.1
under freebsd 7 on amd64 myself. For compiling I first used the
ports ghc
The tree's not being updated because 64-bit on freebsd doesn't work
yet, as you found. I
On 2008 Nov 22, at 12:12, Colin Paul Adams wrote:
Arnar == Arnar Birgisson [EMAIL PROTECTED] writes:
Arnar To clarify - most of modern fonts do in deed have
Arnar latin-greek-cyrillic (including the U+03BB lambda), but I
Arnar was referring to the specific math symbols such as the
On 2008 Nov 21, at 9:01, Simon Marlow wrote:
* extract the GHCi UI from the GHC package, put it in the ghc-bin
package
(maybe we should rename this package to ghc-main or something).
This
removes the editline and bytestring (for now) dependencies from
the GHC
package.
* Move to
On 2008 Nov 18, at 20:53, Kazu Yamamoto (山本和彦) wrote:
If we reserve the greek lambda as special like '\', the lexer can
separate lambdax into two tokens: lambda and 'x', I guess.
Not without redefining it as a symbol instead of a lowercase letter,
which won't be done as previously
On 2008 Nov 14, at 13:09, James Swaine wrote:
/home/jswaine/ghc/ghc-6.10.1/ghc/ghc -Wall -DCABAL_VERSION=1,6,0,1 -
odir /home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -hidir /
home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -i/home/jswaine/
ghc/ghc-6.10.1/libraries/Cabal
On 2008 Nov 8, at 22:13, Rohan Drape wrote:
Emacs sends text to processes in packets of at most 255 characters.
In between these ghci now gets a ^D character sequence inserted into
the text. This did not happen previously (ie. with 6.8.2).
This sounds like a bug: either editline or ghci
On 2008 Nov 4, at 20:26, Jason Dagit wrote:
On Tue, Nov 4, 2008 at 4:26 PM, Manuel M T Chakravarty
[EMAIL PROTECTED] wrote:
Jason Dagit:
I'm on OSX and I currently have ghc-6.6.1 and ghc-6.8.3 (installed
from a pkg). I would like to add ghc-6.10.1 to my system. I tried
to
do this with RC1
On 2008 Oct 30, at 10:08, Johannes Waldmann wrote:
are there any known issues
with file handles/descriptors in ghc-compiled executables?
My program has a lot of calls to System.Process.runInteractiveProcess
and I'm running into unpredictable behaviour (sometimes the program
just silently dies,
On Oct 3, 2008, at 04:55 , Simon Marlow wrote:
Duncan Coutts wrote:
I propose two solutions:
* Fix the dependency resolver
* Add support in Cabal and Hackage for suggested version
constraints
Simon PJ just came up with a suggestion for the second part. The
idea is this:
On 2008 Oct 3, at 18:09, Bulat Ziganshin wrote:
Friday, October 3, 2008, 8:53:05 PM, you wrote:
Choose the lowest available version that satisfies all of the
constraints?
and bugfixed versions will be never used :)
As Duncan said, I misspoke slightly. I was actually assuming
something
On Sep 22, 2008, at 13:43 , Christian Maeder wrote:
Matthias Kilian wrote:
2.
/bin/sh: test: argument expected
gmake[1]: *** [binary-dist] Error 1
-e does not work for test under sh, so I changed it to -r:
... if [ -r $$FILE ]; then ...
I doubt `-e' doesn't work on Solaris, because `-e' is
On 2008 Sep 23, at 9:38, Christian Maeder wrote:
But finally installation succeeded (editline is missing and the arrow
keys don't work). Why are there 2 base packages?
Backward compatibility; older Haskell programs using base-3.x will
still work. (6.10 has unbundled a bunch more libraries
On 2008 Sep 16, at 11:01, Serge D. Mechveliani wrote:
reports that Happy is needed.
But earlier, I compiled ghc-6.8.3 with itself,
and it did not required Happy.
Generally, as I recall, I got used to making GHC from source without
installing Happy.
Please, what (and why) has changed about
On 2008 Aug 28, at 5:27, Simon Peyton-Jones wrote:
This isn't a criticism: one of the hardest thing to do is to
accurately convey this underwater stuff. But I wonder whether there
might be a useful paper hiding here? Something that establishes
terminology, writes down principles, explains
On 2008 Aug 28, at 22:00, Sterling Clover wrote:
We do have, although not with easy access, an additional declarative
layer built in 90% of the time as configuration as type signature.
Sure? I think it's easier than you think: someone's already written
code to extract the information from
On 2008 Aug 20, at 10:52, Claus Reinke wrote:
I seem to be unable to join the ghc chatroom at irc.freenode.net
at the moment (using Opera). Is that an issue with my irc client or
a general problem?
15:47 Joining chat room...
Disconnected from chat
For a while some home routers/APs were
On 2008 Aug 17, at 23:45, Paul Jarc wrote:
A somewhat related issue: I'd like to avoid hard-coding the path to
runhaskell or ghc in the #! line. Instead, I'd like to use #!/bin/sh,
and have the shell find runhaskell or ghc in $PATH. This means the
#! /usr/bin/env runhaskell ...
--
brandon
On 2008 Aug 10, at 2:12, Jason Dagit wrote:
On Sat, Aug 9, 2008 at 10:44 PM, Roman Leshchinskiy [EMAIL PROTECTED]
wrote:
Maybe investing some time in fixing the most obvious darcs problems
would be a better solution?
We're working on that over at Darcs HQ, but there is no guarantee
On 2008 Aug 10, at 20:17, Norman Ramsey wrote:
For the last year I have been hoping to make 'a new darcs-like thing,
with a real theory founding it' an important part (one of three) of a
grant proposal in distributed computing. So you can see I am in favor
of spending money to create a
On 2008 Jun 29, at 4:56, Philip Weaver wrote:
I am under the impression they are deprecated and slated for removal.
This is the second time I have seen someone comment on implicit
parameters being planned for removal, so now you have my attention :).
I'd like to mention that a rather large
On 2008 Jun 12, at 16:58, Dominic Steinitz wrote:
Ok but doesn't that rebuild everything not just the bits that have
changed?
Enough stuff usually changes that it's necessary (and for whatever
reason dependencies don't catch enough of it).
--
brandon s. allbery
On 2008 Jun 11, at 0:43, Simon Marlow wrote:
Unix semantics just isn't the right thing when it comes to non-
blocking I/O. If only there were non-blocking read()/write() system
calls, we'd be fine.
Have you considered using aio_read() and company?
--
brandon s. allbery
On 2008 May 21, at 12:31, Bulat Ziganshin wrote:
Wednesday, May 21, 2008, 8:11:56 PM, you wrote:
Suppose p1, p2, p3 are 3 predicates
that take an input -- say, a String.
They return either (True, result)
or False.
if they return Just result or Nothing - yes, use Maybe as
77 matches
Mail list logo