RE: integer-simple

2011-07-31 Thread Chris Dornan
-in package integer-simple mapped to integer-simple-0.1.0.0-inplace wired-in package base mapped to base-4.4.0.0-inplace wired-in package rts mapped to builtin_rts wired-in package template-haskell mapped to template-haskell-2.6.0.0-inplace wired-in package dph-seq not found. wired-in package

Re: integer-simple

2011-07-31 Thread Malcolm Wallace
I notice that ghci is loading integer-simple before loading base. This at least explains why it cannot find a symbol from the base package - it hasn't been loaded yet. So the question is why does integer-simple use any function from the base package at all? I'm fairly sure that the dependency

RE: integer-simple

2011-07-30 Thread Chris Dornan
... done. Loading package integer-simple ... linking ... ghc: /usr/local/ghc/7.2.0.20110728/lib/ghc-7.2.0.20110728/integer-simple-0.1.0.0/ HSinteger-simple-0.1.0.0.o: unknown symbol `base_ControlziExceptionziBase_patError_info' ghc: unable to load package `integer-simple' This has

integer-simple

2011-07-29 Thread Chris Dornan
Hi All, I am still having difficulty getting a plain GHC build with INTEGER_LIBRARY = integer-simple. (I outlined my problem here yesterday http://www.haskell.org/pipermail/glasgow-haskell-users/2011-July/020631.htm l .) I suspected my failure to get a vanilla build (with GMP) was a minor

Re: integer-simple

2011-07-29 Thread Ian Lynagh
On Fri, Jul 29, 2011 at 05:51:23PM +0100, Chris Dornan wrote: But when I repeat with INTEGER_LIBRARY = integer-simple (on quick test) GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Note that 6.12.3 is quite old now, and neither that branch or the 7.0 branch are still being

Re: integer-simple

2011-07-29 Thread Daniel Fischer
On Friday 29 July 2011, 18:51:23, Chris Dornan wrote: Hi All, I am still having difficulty getting a plain GHC build with INTEGER_LIBRARY = integer-simple. (I outlined my problem here yesterday http://www.haskell.org/pipermail/glasgow-haskell-users/2011-July/020631 .htm l .) RHEL 5

RE: integer-simple

2011-07-29 Thread Chris Dornan
Thanks Daniel. I have just now built the 7.2.1 RC1 with integer-simple on CentOS 6 with the same failure. It doesn't surprise me -- there is clearly something in my setup that is causing this problem. But it's good to get it confirmed -- thanks! Chris -Original Message- From

RE: integer-simple

2011-07-29 Thread Chris Dornan
will be happy to try them out. Cheers, Chris -Original Message- From: Ian Lynagh [mailto:ig...@earth.li] Sent: 29 July 2011 21:42 To: Chris Dornan Cc: glasgow-haskell-users@haskell.org Subject: Re: integer-simple On Fri, Jul 29, 2011 at 05:51:23PM +0100, Chris Dornan wrote: But when I

integer-simple

2011-07-28 Thread Chris Dornan
/local/ghc/6.12.3-is/lib/ghc-6.12.3/integer-simple-0.1.0.0/HSinteger-sim ple-0.1.0.0.o: unknown symbol `base_ControlziExceptionziBase_patError_info' Loading package integer-simple ... linking ... ghc: unable to load package `integer-simple' My MO is to . get binary GHC package, install

Re: integer-simple by default

2010-02-23 Thread naur
-users@haskell.org Dato: Tir, 23. feb 2010 00:04 Emne: Re: integer-simple by default I wrote: As another data point, Python has also re-invented the GMP wheel, likely for the same licensing reasons. They have been using a simple implementation of Karatsuba multiplication for years. I

Re: integer-simple by default

2010-02-22 Thread Yitzchak Gale
Isaac Dupree: We could try to find out how large Integers get, in practice, in existing Haskell code (this may be difficult to find out). Daniel Fischer wrote: Just as a data-point, my code rarely exceeds 128 bits (at least, beyond that performance isn't so important anymore). And Daniel,

Re: integer-simple by default

2010-02-22 Thread Greg Fitzgerald
As another data point, Python has also re-invented the GMP wheel, likely for the same licensing reasons. They have been using a simple implementation of Karatsuba multiplication for years. I have never heard of anyone complaining about it Thanks for the data point. Looks like they swapped

Re: integer-simple by default

2010-02-22 Thread Isaac Dupree
I think it would be great to have a benchmark, to test Integer performance at various implementations. Perhaps it could test speed of Int, Int64, Int32 as well (for computations that fit within them). I suppose tight numeric loops are key to measuring performance in a useful way (except for

Re: integer-simple by default

2010-02-22 Thread Yitzchak Gale
I wrote: As another data point, Python has also re-invented the GMP wheel, likely for the same licensing reasons. They have been using a simple implementation of Karatsuba multiplication for years. I have never heard of anyone complaining about it Greg Fitzgerald wrote: Looks like they

Re: integer-simple by default

2010-02-21 Thread Isaac Dupree
the place, or is it fine to skip this and count on the optimizer?) I think relying on the optimiser is OK, but don't forget that you don't have the standard (+) etc. oh okay, interesting. I think I'd best start by finding out where integer-simple lies in the dependency tree. -Isaac

Re: integer-simple by default

2010-02-21 Thread Daniel Fischer
Am Sonntag 21 Februar 2010 19:56:54 schrieb Isaac Dupree: We could try to find out how large Integers get, in practice, in existing Haskell code (this may be difficult to find out). Just as a data-point, my code rarely exceeds 128 bits (at least, beyond that performance isn't so important

Re: integer-simple by default

2010-02-21 Thread Isaac Dupree
is to instrument integer-simple to report the sizes of integers it handles. For example, if you use Rational, (even toRational/fromRational), you might be handling Integers somewhat larger than you thought you were. And this could also report on how often the integers get that large. (Also it's

Re: integer-simple by default

2010-02-20 Thread Greg Fitzgerald
the GHC build a little simpler, and allows users to create standalone executables. Is there any reason we shouldn't attempt to make integer-simple the default? -Greg ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http

Re: integer-simple by default

2010-02-20 Thread Ian Lynagh
On Sat, Feb 20, 2010 at 11:11:15AM -0800, Greg Fitzgerald wrote: In any case, giving GMP the boot alleviates any licensing concerns, makes the GHC build a little simpler, and allows users to create standalone executables. Is there any reason we shouldn't attempt to make integer-simple

Re: integer-simple by default

2010-02-20 Thread Isaac Dupree
is obviously at least somewhat simpler for lawyers. Is there any reason we shouldn't attempt to make integer-simple the default? If you know that none of your code or libraries are using any particularly large integers [how would you know, though?], then it should perform alright. GMP, however

Re: integer-simple by default

2010-02-20 Thread Isaac Dupree
On 02/20/10 14:37, Ian Lynagh wrote: There's also HIntegerByInt: http://www.haskell.org/pipermail/libraries/2007-August/007909.html although it would need to be changed to user lower level types etc. that's true, (I wrote it), the current form uses a list-based implementation with a lot

Re: integer-simple by default

2010-02-19 Thread Don Stewart
garious: Static linking to GMP on Windows is sending me towards a bunch of red tape at work. What can I do to make integer-simple the default integer library for GHC? Need anything more than test suite and performance metrics? Any date planned for the 6.12.2 release? You can dynamically