Hello Serge,
On Fri, Dec 30, 2011 at 07:55:05PM +0400, Serge D. Mechveliani wrote:
...
Has the status of the module Random changed in ghc-7.4.1 ?
Between ghc-7.0.4 and ghc-7.4.1, we find
http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/release-7-2-1.html
that says:
1.5.12.22.
Hello Serge,
On Thu, Dec 22, 2011 at 10:03:45PM +0400, Serge D. Mechveliani wrote:
...
This leads to
DExport.hs:28:8:
Could not find module `System.Random'
System.Random can be found in http://hackage.haskell.org/package/random.
Best regards
Thorkil
...
Hello,
On Thu, Jun 09, 2011 at 03:44:43PM +0200, Johan Tibell wrote:
...
I initially
tried to use the CPP ## string concatenation operator to create unique
names (tedious, but works) but GHC runs CPP in traditional mode so
that doesn't work.
One -traditional way that I have used to
Hello,
On Tue, Nov 02, 2010 at 01:03:04PM +0100, Christian Maeder wrote:
...
Are there better workarounds?
I am not sure about that, I assume that you have looked at
http://hackage.haskell.org/trac/ghc/ticket/4068?
...
Best regards
Thorkil
___
Hello,
Concerning the undefined iconv symbols, take a look at
http://hackage.haskell.org/trac/ghc/ticket/4068, it seems to be about something
similar.
Best regards
Thorkil
On Thu, Jun 10, 2010 at 08:53:13PM -0600, Brett Giles wrote:
Hi Folks
I seem to have Gtk2HS 0.11 installed, but not
I am pleased to announce the initial release of hpc-strobe: Hpc-generated
strobes for a running Haskell program. hpc-strobe is a rudimentary library
that demonstrates the possibility of using Hpc (Haskell Program Coverage) to
inspect the state of a running Haskell program. hpc-strobe-0.1 has
I am pleased to announce the initial release of hpc-strobe: Hpc-generated
strobes for a running Haskell program. hpc-strobe is a rudimentary library
that demonstrates the possibility of using Hpc (Haskell Program Coverage) to
inspect the state of a running Haskell program. hpc-strobe-0.1 has
Hello,
On Thursday 16 April 2009 17:22, Sebastian Fischer wrote:
...
Thanks! Feel free to incorporate ideas from NaurPrimes.hs. I don't
understand them yet.
NaurPrimes.hs is derived from the EratoS.hs that you get from unpacking
thorkilnaur.dk/~tn/Haskell/EratoS/T64_20070303_1819.tar.gz.
Hello,
On Thursday 19 March 2009 18:03, Ian Lynagh wrote:
On Wed, Mar 18, 2009 at 12:35:01PM +0100, Thorkil Naur wrote:
...
1. An important property of such installers is that you are told, right
from
the start, that all the information you are presented with during the
installation
Hello,
On Sunday 15 March 2009 16:51, Ian Lynagh wrote:
We are pleased to announce the first release candidate for GHC 6.10.2:
...
Please test as much as possible; bugs are much cheaper if we find them
before the release!
...
I have tried the Intel Mac installer and the source package on
Hello Thomas,
On Wednesday 18 March 2009 15:03, Thomas Schilling wrote:
There should be a file called testlog somewhere, either at the
toplevel or within the tests directory. Could you search for
apirecomp001 and send me the test output from running that test. I
can't reproduce this
Hello,
On Thursday 15 January 2009 19:59, Peter Verswyvelen wrote:
It is rather funny. When we are young kids, we learn weird symbols like
A B C a b c 1 2 3
which we accept after a while.
Then we get to learn more complex symbols like
! ? + - /
and that takes some time to get
Hello,
On Wednesday 14 January 2009 12:59, Mauricio wrote:
Hi,
Here:
http://www.haskell.org/onlinereport/modules.html
I read:
Modules may reference other modules via
explicit import declarations, each giving
the name of a module to be imported and
specifying its
Hello,
On Tuesday 13 January 2009 18:26, bft wrote:
Hi !
Can someone tell me where to download the *data* and *concurrent *packages.
I recall data and concurrent packages from some years back, but I would assume
that they are merged into the base package nowadays where GHC-6.10.1 is the
Hello,
On Tuesday 16 December 2008 13:19, Felipe Lessa wrote:
2008/12/16 Magnus Therning mag...@therning.org:
That is, where each value depends on _all_ preceding values. AFAIK
list access is linear, is there a type that is a more suitable state
for this changed problem?
I realise
Hello,
On Monday 24 November 2008 23:15, Barney Stratford wrote:
There's good news and bad news. The good news is that the compilation of
my shiny almost-new GHC is complete. The bad news is, it won't link.
It's grumbling about
ld:
Hello,
On Monday 24 November 2008 23:48, Barney Stratford wrote:
The heading seems to be: Your build is missing it's required GMP (GNU
Multiple Precision) library
No, I have GMP installed, and it's correctly compiling against it. The
issue isn't that these symbols are missing altogether,
Hello Greg,
On Friday 21 November 2008 15:56, Gregory Wright wrote:
...
ppc/
Leopard still
fails, but I now have an account on a machine that I can use to test
and debug.
And if you need such an access (now or in the future), please just say the
word and you can get access to my PPC
Hello,
On Sunday 28 September 2008 19:27, humasect wrote:
Ah, indeed it does! Then, more about GHC API:
Shell: Shell: missing -Bdir option
I can't find any information of what this -B is, it is not in GHC sources or
anything helpful from google.
The -B is used from a ghc shell script to
Hello,
On Monday 08 September 2008 14:22, Simon Peyton-Jones wrote:
Dear BDS hackers
We'd like GHC to be buildable on BSD, but at the moment it isn't. We
support GHC on Linux, Windows, Mac, but we really need help with BSD.
I would like to do something about this. I have (a number of) x86s
Hello,
On Wednesday 18 June 2008 22:13, Alfonso Acosta wrote:
Hi,
Can anyone give a good explanation of what ribbonsPerLine means?
Maybe it would be better to simply ask for the meaning of ribbon in
this context. The documentation is totally meaningless to me:
reibbonsPerLine: Ratio of
Hello Christian,
On Monday 17 March 2008 12:31, Christian Maeder wrote:
Thanks Chris!
This should fix
http://hackage.haskell.org/trac/ghc/ticket/1958
http://hackage.haskell.org/trac/ghc/ticket/2117
Thorkil, you called your patch illustrative only. I suggest to commit
it. Any objections?
Hello,
On a tangent, probably:
On Thursday 14 February 2008 10:24, Roman Leshchinskiy wrote:
...
Hmm. Personally, I've never seen an algorithm where comparing for exact
equality was algorithmically necessary. Sometimes (rarely) it is
acceptable but necessary? Do you know of one?
Finding
Hello,
If the standard libraries provide such a function, I haven't found it. I must
admit that I haven't studied your code in detail. I usually do as follows for
integer logarithms, shamelessly stolen from the Haskell report:
-- Integer log base (c.f. Haskell report 14.4):
imLog ::
Young Man,
On Saturday 19 January 2008 00:07, Simon Peyton-Jones wrote:
Friends,
It's Friday 18 January 2008, which makes it my 50th birthday.
Congratulations!
...
Ancient or not, I'm still having a terrific time in this community. When I
first became addicted to functional programming,
Hello,
On Thursday 17 January 2008 05:24, Manuel M T Chakravarty wrote:
Thorkil Naur:
Hello,
On Tuesday 08 January 2008 15:07, Christian Maeder wrote:
Hi,
I've succeeded in building a binary distribution that uses static
libraries for gmp and readline. libreadline.a, libncurses.a
Hello,
On Thursday 17 January 2008 17:57, Christian Maeder wrote:
I understand that gmp is needed for the certain libraries like the
Prelude with Double and Integer.
But I do not understand why gmp is so deeply buried in the rts.
Are the basic types Int and Pointer not enough to write a
Hello,
On Wednesday 16 January 2008 22:05, Judah Jacobson wrote:
Hi all,
I have managed to build ghc using the initial release of the editline
package:
Hackage link:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/editline-0.1
Haddock:
Hello,
On Tuesday 08 January 2008 15:07, Christian Maeder wrote:
Hi,
I've succeeded in building a binary distribution that uses static
libraries for gmp and readline. libreadline.a, libncurses.a and libgmp.a
with corresponding header files are included. (For license issues ask
someone
Hello,
On Friday 04 January 2008 12:03, Christian Maeder wrote:
...
Thanks a lot for this response.
I'm not happy about this framework hick-hack either.
I am glad we agree about that.
I've only pushed
it, because we needed a readline solution on macs.
I understand that there are
Hello,
Thanks everybody. However, I believe that using a modified readline library is
debatable, mainly because it adds the burden of keeping this library
up-to-date to the GHC maintenance process. Having a renamed library is one
thing and it does not seem that also modifying the contents of
Hello,
Although I have been building various GHC versions on various PPC Mac OS X
systems for a while now, I'm afraid that I don't really have a good answer
for your questions. However, your questions provide an excellect opportunity
to discuss this, so that is what I am going to do.
There
Hello,
First of all: Welcome to the club. I hope you will find it enjoyable. And then
to your questions:
I have never tried to bootstrap GHC from C, so I am not really able to help
with your specific problem. However, if you just want a running GHC, the
binary distributions should provide an
Hello,
On Thursday 20 December 2007 20:15, Jerry Charumilind wrote:
...
Besides getting a working compiler, my other goal is to get contribute
a working build process on Leopard back to MacPorts, since they
continue to have no solution right now
Hello,
On Monday 20 August 2007 13:15, Ian Lynagh wrote:
...
I'm also suspicious of this, though:
-- | A sample hash function for Strings. We keep multiplying by the
-- golden ratio and adding.
--
-- Note that this has not been extensively tested for reasonability,
Hello,
On Wednesday 25 July 2007 01:42, Thorkil Naur wrote:
Hello Melissa,
On Tuesday 24 July 2007 19:09, Melissa O'Neill wrote:
...
(See ONeillPrimes.hs in http://www.cs.hmc.edu/~oneill/code/haskell-
primes.zip for the complete code. I've also added Thorkil Naur's
code from March
Hello,
To get some help with Haskell, it is probably best to write to the
[EMAIL PROTECTED] mailing list. I also suggest that you include some
details of what your difficulties seem to be.
Best regards
Thorkil
On Saturday 28 July 2007 02:44, Paulo Silva wrote:
Hi
I have a dificult how to
Hello,
On Saturday 28 July 2007 14:22, Duncan Coutts wrote:
On Sat, 2007-07-28 at 12:16 +0200, Thorkil Naur wrote:
Hello,
(From the archives:)
[Haskell] ANNOUNCE: Gtk2Hs version 0.9.12 released
Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Jul 27 15:20:57 EDT 2007
Hello,
The GHC User's Guide, Versio 6.6.1
(http://www.haskell.org/ghc/docs/latest/html/users_guide/options-optimise.html)
says:
-O currently also implies -fvia-C.
I seem to remember some communication a while back that seemed to imply that
this is no longer the case. So my question is: Is
Hello Melissa,
On Tuesday 24 July 2007 19:09, Melissa O'Neill wrote:
apfelmus wrote:
After some pondering, the List a data structure for merging is
really
ingenious! :) Here's a try to explain how it works:
Thanks apfelmus! A detailed explanation of this code is really
helpful
Hello,
Can you tell us exactly which package you have attempted to install? That
would be very useful, thanks. Also, if you could make the exact sequence of
commands used and the output somehow available, that would also help a lot to
figure out what has happened.
(A quick shot at a possible
Hello,
On Friday 13 July 2007 16:45, Ian Lynagh wrote:
...
* At any point, create [EMAIL PROTECTED]
This would have the advantage that people might not be so intimidated
at making their first post here, and posts wouldn't be answered with
category theory or scary type extensions.
Hello,
On Friday 13 July 2007 17:08, Neil Mitchell wrote:
Hi
* At any point, create [EMAIL PROTECTED]
This would have the advantage that people might not be so intimidated
at making their first post here, and posts wouldn't be answered with
category theory or scary type
Hello,
On Sunday 08 July 2007 19:59, Ian Lynagh wrote:
On Sun, Jul 08, 2007 at 06:46:10PM +0200, Thorkil Naur wrote:
The Glasgow-haskell-bugs Archives
http://www.haskell.org/pipermail/glasgow-haskell-bugs/
seem to end at April 2007. Other archives (like
http://www.haskell.org
Hello,
On Saturday 16 June 2007 14:53, Michael T. Richter wrote:
I'm trying my hand at making an improved, more efficient, Sieve of
Eratosthenes implementation based on Melissa O'Neil's paper
(http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf) to augment the
inefficient not-Sieve I've
Hello,
You may find these details useful:
http://www.haskell.org/pipermail/glasgow-haskell-users/2007-May/012576.html
(This is referred from the ghc 6.6.1 download page
http://haskell.org/ghc/download_ghc_661.html.)
Best regards
Thorkil
On Thursday 31 May 2007 14:06, schulzy wrote:
Hello,
It is common practice to export only selected entities from a Haskell module
and refrain from exporting other entities so that they are only available for
internal use. There are many reasons for wanting to do this, such as reducing
the number of importable entities, avoiding the
Hello,
My Hugs tells me this:
Prelude let sort [] = []; sort l@(x:_) = filter (x) l ++ filter (==x) l ++
filter (x) l in sort [1,3,2]
[1,3,2]
Prelude
So, no, this is not a working sorting function. Inserting the few missing
recursive calls:
Prelude let sort [] = []; sort l@(x:_) = sort (
Hello,
On Tuesday 10 April 2007 16:41, Ian Lynagh wrote:
We are pleased to announce the Release Candidate phase for GHC 6.6.1.
...
A few comments to the source bundles
http://www.haskell.org/ghc/dist/stable/dist/ghc-6.6.20070410-src.tar.bz2
Hello,
I'm afraid that this is outside my direct experience. However, looking at
http://lists.apple.com/archives/xcode-users/2006/Oct/msg00578.html
that google was kind enough to find for me, some assembler code generation
error seems indicated. I can see that you use -O2, but not whether
Hello,
A long shot, but perhaps worth looking into: The reaction that you report here
seems similar to the one reported in trac #1195 Build error on MacOSX (Intel)
10.4.8 for HEAD from 2007-03-05 when compiling with ghc-6.6:
http://hackage.haskell.org/trac/ghc/ticket/1195
That ticket
Hello,
On Tuesday 13 March 2007 00:40, Jacques Carette wrote:
And yet Taral would be wrong and Dave Feustel correct:
http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
I wouldn't say that a polynomium applies as using only addition and
subtraction.
There is a polynomial (of
Hello,
Try to change the line
module CutParse(main) where
in Main.hs to
module Main(main) where
Best regards
Thorkil
On Saturday 10 March 2007 18:08, Samuel A. Falvo II wrote:
Required Information:
1. What kind of machine are you running on, and exactly what version
of the operating
Hello all felllow primefinders,
I have followed this discussion of Haskell programs to generate small primes
with the greatest interest. The thing is, I have been running my Haskell
implementation of the so-called Elliptic Curve Method (ECM) of factoring for
a number of years. And that method
Hello,
The code in YHC is roughly if some list is empty then error No files found
else error Many files found. If this code were changed to the equivalent
of error (if some list is empty then No files found else Many files
found), would there still be circumstances where the actual output
Hello,
On Tuesday 13 February 2007 08:09, Donald Bruce Stewart wrote:
hoelz:
I recently checked out the X11 package from darcs.haskell.org, and I'd
like to check out more of the source from the darcs repository. I'm
still unfamiliar with darcs; how do I check out the whole source tree?
Hello,
On Friday 19 January 2007 16:48, [EMAIL PROTECTED] wrote:
...
sqrtApprox' :: Integer - Rational
sqrtApprox' n
| n 0 = error sqrtApprox'
| otherwise = approx n 1
where
approx n acc
| n 256 = (acc%1) * approxSmallSqrt (fromIntegral n)
Hello,
Sometimes, ghc complains about '#' for me when the C preprocessor has not been
run and there is an unexpected #include or #define in the way. Also, as I
read
ifeq $(ghc_ge_603) YES
# These modules are provided in GHC 6.3+
EXCLUDED_SRCS += \
System/Directory/Internals.hs
...
Hello,
Not much help, I'm afraid, but for what it's worth: I have built GHC-6.6 and
some HEAD-ish version successfully on a PowerBook G4 with Mac OS X 10.3
(Panther?) and also after upgrading to 10.4 Tiger. I have never tried with
10.2. To assist in your difficult decisions, here are some
:39 PM, Thorkil Naur wrote:
I am truly unable to tell what I would consider the ideal
situation. On the
one hand, I value greatly the freedom of choosing my circumstances
without
restraints. And I appreciate the desire of noble people like the GHC
developers to be equally free
Hello,
I am not an expert on sockets, but I have both a Linux installation and a PPC
Mac OS X 10.4 with both ghc-6.4.1 and ghc-6.6. So if you allow me some
additional details (such as complete program texts), perhaps I can perform
some useful experiments under your conductance.
Best regards
Hello,
It appears that you already got an answer to your question that I hope you can
use. So just for completeness: On my PPC Mac OS X 10.4, both ghc-6.4.1 and
ghc-6.6 produce results similar to the one you report for OSX. And on my Suse
Linux, both ghc-6.4.1 and ghc-6.6 produce results
Hello,
In the spring of 1978, I wrote a (circa) 700-word microprogram for
multiprecision integer arithmetic on paper, typed it into a computer, had it
cleaned of syntax errors by the micro-code assembler, printed it, and spent
much of the summer in my mother's summer house debugging this
Hello,
The following patch fixes ghc-6.6 darcs-all for Mac OS X 10.4.
Best regards
Thorkil
New patches:
[Fix darcs-all for Mac OS X
Thorkil Naur [EMAIL PROTECTED]**20061123125539
The regular exporession /\? which is used by darcs-all to stand for zero or one /'s
seems to be a GNU extension
Hello,
I tried to reproduce this. Here is the result:
Thorkil-Naurs-Computer:~/tn/tmp/GHC/trac/#1004: ghci-6.6 crash on
PPC/ghc-6.4.1
thorkilnaur$
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-6.6/ghc/compiler/stage2/ghc-inplace
--interactive Checksum.hs
___ ___ _
/ _ \ /\ /\/
Hello,
On Tuesday 14 November 2006 11:34, Simon Marlow wrote:
Thorkil Naur wrote:
... I have
produced an experimental darcs patch that solves some problems, while
possibly introducing others:
http://thorkilnaur.dk/~tn/GHC/testsuite/patch/barton_mangler_bug_patch_1.patch
Hello,
This is an attempt to address (a very small part of) this: On my PowerPC Mac
OS X 10.3 (Panther, I think, not Tiger as I have written elsewhere), I have
built the ghc-6.6 branch (of about 2006-Nov-07 19.00 UTC) using
GHC-6.4.1.pkg.zip (The Glorious Glasgow Haskell Compilation System,
Hello,
Let me make that offer, then, that I would like to help investigate and fix
GHC on MacOS. The obstacles that I have mentioned earlier are ones that I
would eventually have removed in any case, so don't worry, I will not be
wasting any time.
Regards Thorkil
On Monday 02 October 2006
Hello,
Nobody seems to have reacted on this. I own a Mac that I don't use
particularly much. It seems within reach that I could use it to assist you
with both of your questions. As a side effect of having great fun myself, of
course.
There are several obstacles that need to be removed,
Hello Peter,
Sorry for the late reply. From your latest communication which seems to be
Date: Sat, 12 Aug 2006 21:12:05 -0400
From: Peter Tanski [EMAIL PROTECTED]
Subject: Re: OpenSSL License (was Replacement for GMP: Update)
To: John Goerzen [EMAIL PROTECTED]
I am a bit uncertain where the
Hello,
Inspired by this, I have added my Su Doku solver to
http://www.haskell.org/haskellwiki/Sudoku.
Regards
Thorkil Naur
On Wednesday 31 May 2006 18:32, Chris Kuklewicz wrote:
A while back there was a long thread about Sudoku solvers (some of which
ended
up on http://haskell.org
Hello,
Both my Hugs and my GHCi report a type error when presented with this. A
possible repaired version looks like this:
calc :: String - Float
calc = g . foldl f [] . words
where
f (x:y:zs) + = y+x:zs
f (x:y:zs) - = y-x:zs
f (x:y:zs) * = y*x:zs
f (x:y:zs) / =
[t] = foldl cvBase [] s in t
Example using Hugs:
Main cv 12H3V
Node 'V' (Node 'H' (Folha '1') (Folha '2')) (Folha '3')
Main
Regards
Thorkil Naur
On Monday 29 May 2006 20:53, Nuno Santos wrote:
Hi,
I have this type which represents polish expressions (floorplan
representation
On Wednesday 29 March 2006 01:35, Bulat Ziganshin wrote:
primitives work with just the same internal structures. i thinl that
only real advantage of adding primop instead of adding FFI import is
that PrimOps.cmm contains already implemented wrappers for calling GMP
functions while for FFI you
On Monday 27 March 2006 12:57, Simon Marlow wrote:
quotInteger2Expzh_fast is the function you are adding to PrimOps.cmm to
implement the primop. The patch in your original message indicated that
you had added a stub for this function, so it should link ok. I don't
understand what has gone
On Monday 27 March 2006 16:33, Bulat Ziganshin wrote:
Thorkil, i can't understand why you can't just use FFI to import
functions you required? why you need to patch the PrimOps list?
Hello,
As I wrote earlier, using FFI is also a candidate for getting access to
additional GMP functions.
to make GHC.Prim.hi
but I have not been able to find anything that relates to this.
So I am again at a loss, aksing for help to proceed.
Thanks a lot in advance.
Best regards
Thorkil Naur
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users
/Haskell/work ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.2
[EMAIL PROTECTED]:~/tn/tmp/Haskell/work
Best regards
Thorkil Naur
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http
78 matches
Mail list logo