When I try to ./configure, I get this error:
aragon: .../i386-unknown-linux/ghc-6.8.3
./configure --prefix=/projects/ctl/franksen/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Which we'll
Ian Lynagh wrote:
On Thu, Jun 26, 2008 at 02:51:05PM +0200, Benjamin Franksen wrote:
aragon: .../i386-unknown-linux/ghc-6.8.3 utils/pwd/pwd forwardslash
[1]28489 floating point exception utils/pwd/pwd forwardslash
This happens when your system (libc?) is too old to run the binaries
I get a strange error building Takusen (more precisely: the module
Foreign/C/UTF8.hs) with ghc-6.8.3. It says
aragon: .../ghc-6.8.3/Takusen-0.8.1 ./Setup build -v
Reading parameters
from
/srv/projects/ctl/franksen/haskell/ghc-6.8.3/Takusen-0.8.1/takusen.buildinfo
Creating dist/build (and its
Alistair Bayley wrote:
I get a strange error building Takusen (more precisely: the module
Foreign/C/UTF8.hs) with ghc-6.8.3. It says
[1 of 9] Compiling Foreign.C.UTF8 ( Foreign/C/UTF8.hs,
dist/build/Foreign/C/UTF8.o )
/tmp/ghc18936_0/ghc18936_0.s: Assembler messages:
On Saturday 06 November 2004 17:57, you wrote:
Benjamin Franksen wrote:
My question: Is this as it should be or is it a bug?
The Monomorphism Restriction.
Grumble... I almost suspected it. Only the context in which I got the error
originally didn't _look_ as if MR would apply, and when I
Hello,
I want to use ghc as a script interpreter, using the '-e' option. The
problem is that I can't give the script any command line arguments,
because 'ghc -e' intepretes everything argument as the name of a module
to compile.
cat Test.hs
import System
main = getArgs = print
ghc -e
Hi,
I am using Foreign.Concurrent.newForeignPtr and touchForeignPtr inside the
finalizers to express liveness dependencies as hinted to by the
documentation. This doesn't seem to work, though, or at least I can't see
what I've done wrong. I attached a test module; compiled with ghc
On Monday 22 November 2004 14:45, Simon Marlow wrote:
On 20 November 2004 23:02, Benjamin Franksen wrote:
I am using Foreign.Concurrent.newForeignPtr and touchForeignPtr
inside the finalizers to express liveness dependencies as hinted to
by the documentation. This doesn't seem to work
On Monday 22 November 2004 18:55, Sven Panne wrote:
Abraham Egnor wrote:
I've found that when writing an interface to a C library that requires
resource management, it's much better to use the withX (see
Control.Exception.bracket) style of function than to use finalizers -
programs are
On Tuesday 23 November 2004 13:06, Simon Marlow wrote:
On 22 November 2004 17:28, Benjamin Franksen wrote:
I understand that there are situations where finalizers cannot be
guaranteed to run: First because of an unconditional termination
signal (SIGKILL), second because of circular
On Wednesday 17 November 2004 15:06, Nils Anders Danielsson wrote:
On Wed, 17 Nov 2004, Benjamin Franksen wrote:
I want to use ghc as a script interpreter, using the '-e' option. The
problem is that I can't give the script any command line arguments,
because 'ghc -e' intepretes everything
On Wednesday 24 November 2004 02:39, Nils Anders Danielsson wrote:
On Wed, 24 Nov 2004, Benjamin Franksen wrote:
What about putting this thing on the Haskell Wiki?
Feel free to do so. I recently noted that some version of GHC (6.3?)
ships with a runghc program, so this problem will most
Hi,
I have been racking my brain over the infamous 'gfoldl' and 'gunfold'
combinators. (Yes, I have read the papers). What finally made me understand
how they worked was reading the code: first the implementation of the gmap
functions (Data/Generics/Basics.hs), then the long and detailed
I haven't followed this thread too closely so please excuse me if this has
already been mentioned (or even fixed).
After I installed the latest binary package (20050228) the documentation was
not correctly linked from the main documentation page. 'Hierarchical
Libraries' on the main page
On Saturday 02 April 2005 22:29, Peter Hercek wrote:
What is $ function good for?
Mostly for avoiding parentheses. $ is right associative and has lowest
precedence, whereas normal application is left associative and binds most
tightly:
f $ g $ h x === f ( g ( h x ) )
There are more
Has anyone ever succeeded in porting ghc to HP-UX 10.20 or later?
Ben
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On Thursday 21 April 2005 11:38, Benjamin Franksen wrote:
Has anyone ever succeeded in porting ghc to HP-UX 10.20 or later?
Sidenote: The background is that I want to persuade people at work to
switch from CVS to darcs. It would be a lot easier to do so if I could
get darcs to compile under
...has package version 1.0, but the current darcs repo (and the home page)
says latest version is 0.6. May I assume that the 1.0 versioning is
accidental (i.e. wrong)?
Ben
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
I know that ghc cannot produce shared libraries on all systems, but what about
just linking existing ones (i.e. for ffi code)? Is there a secret command
line switch for that, or do I have to use the C linker? Is there an option in
cabal that I have been missing that could help me?
Cheers
Ben
-haskell-users/2005-July/00
8786.html
Thomas
On 7/29/05, Benjamin Franksen [EMAIL PROTECTED] wrote:
Bug.lhs:27:0:
Contexts differ in length
When matching the contexts of the signatures for
printer :: Viewer
printCatalog :: forall c. (Catalog c) = View c
On Saturday 30 July 2005 03:54, Thomas Jäger wrote:
You're probably refering to the version where you omit the type
signatures of both 'printer' and 'printCatalog'. Here the situation
is different because the compiler needs to infer the types and not
just check. In the explicitely typed
On Saturday 06 August 2005 20:12, Robert van Herk wrote:
Is it true to say that to perform idempotent IO actions inside a STM
monad by using unsafeSTMToIO is safe? I mean something like:
do ... -- some STM actions
unsafeSTMToIO a -- Here, a is an idempotent IO action
... -- some
On Monday 08 August 2005 09:43, Simon Peyton-Jones wrote:
| | Are you saying, that the second error causes the first one? Thus,
| | everything is caused by 'printer' being recursively defined?
| |
| | Yes, that's what I believe. I'm not sure why it shows the first
| | error message at all; in my
On Tuesday 11 October 2005 18:16, Lajos Nagy wrote:
While working on a toy compiler I realized that Data.Set.Set (Set) is
not an instance of the Functor class. In other words: 'fmap' is not
defined on it. I tried various ways of defining an instance but I
failed. The reason is quite
On Monday 24 October 2005 12:01, Simon Marlow wrote:
On 23 October 2005 19:00, Esa Ilari Vuokko wrote:
I have been trying to build some Windows DLLs with
GHC, and I have run into some misfeatures or maybe
I have misunderstood how to use GHC. Any help or
advice would be appreciated. :)
On Thursday 27 October 2005 13:11, John Meacham wrote:
I am not sure how much sense this makes though. I am no expert on the
spineless tagless G machine (which would make an excellent name for
a band BTW)
:-)
Ben
___
Glasgow-haskell-users
On Thursday 29 December 2005 18:22, Christian Maeder wrote:
Einar Karttunen wrote:
On 22.12 14:43, Christian Maeder wrote:
How can I detect this sharing in order to avoid traversing the
very same symbol table for every symbol?
By using System.Mem.StableName
SerTH
On Friday 03 March 2006 15:10, Bulat Ziganshin wrote:
it will also be great to make syntax analysis of all source files
before compiling them. typical situation - after correcting program i
run --make, long wait while some modules will be compiled and only
after that ghc complains about some
On Thursday 30 March 2006 14:13, Brian Hulley wrote:
John Meacham wrote:
On Thu, Mar 30, 2006 at 03:50:06AM +0100, Brian Hulley wrote:
where the intention is that the callback will take the width and
height of the window and return a RenderM action, the problem is
that because the FFI
On Wednesday 05 April 2006 20:32, Pedro Miguel Duarte wrote:
I am writing a Java program with a call to a Haskell module M.hs,
in order to evaluate some expression expr.
A very simple idea, which I got somewhere in the net, is to create a
Process object p which executes a GHC
30 matches
Mail list logo