Re: 7.4.1-cand for docon

2011-12-30 Thread Thorkil Naur
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.

Re: build-depends

2011-12-22 Thread Thorkil Naur
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 ...

Re: Using CPP in Cmm

2011-06-09 Thread Thorkil Naur
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

Re: link problem under macosx

2010-11-02 Thread Thorkil Naur
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 ___

Re: [Haskell] Woes on MacOS 10.6 - linking issues

2010-06-11 Thread Thorkil Naur
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

[Haskell] ANNOUNCE: hpc-strobe-0.1: Hpc-generated strobes for a running Haskell program

2009-05-08 Thread Thorkil Naur
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

[Haskell-cafe] ANNOUNCE: hpc-strobe-0.1: Hpc-generated strobes for a running Haskell program

2009-05-08 Thread Thorkil Naur
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

Re: [Haskell-cafe] Re: [Announce] primes

2009-04-20 Thread Thorkil Naur
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.

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-21 Thread Thorkil Naur
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

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-18 Thread Thorkil Naur
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

Re: Under OS X 10.5.6: GHC 6.10.1 Release Candidate 1

2009-03-18 Thread Thorkil Naur
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

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-15 Thread Thorkil Naur
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

Re: [Haskell-cafe] Recursive modules, GHC /= Report?

2009-01-14 Thread Thorkil Naur
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

Re: [Haskell] Help : data concurrent packages

2009-01-13 Thread Thorkil Naur
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

Re: [Haskell-cafe] How to think about this? (profiling)

2008-12-16 Thread Thorkil Naur
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

Re: Can't compile GHC 6.8.2

2008-11-24 Thread Thorkil Naur
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:

Re: Can't compile GHC 6.8.2

2008-11-24 Thread Thorkil Naur
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,

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Thorkil Naur
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

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-28 Thread Thorkil Naur
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

Re: Making GHC work on BSD

2008-09-08 Thread Thorkil Naur
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

Re: [Haskell-cafe] Meaning of ribbonsPerLine at Text.PrettyPrint.HughesPJ ?

2008-06-19 Thread Thorkil Naur
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

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-17 Thread Thorkil Naur
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?

Re: [Haskell-cafe] Re: A question about monad laws

2008-02-14 Thread Thorkil Naur
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

Re: [Haskell-cafe] fast integer base-2 log function?

2008-02-10 Thread Thorkil Naur
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 ::

Re: [Haskell] Ancient, but still having fun

2008-01-19 Thread Thorkil Naur
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,

Re: bindist for Intel MacOS X 10.4 (Tiger) with static libs

2008-01-17 Thread Thorkil Naur
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

Re: gmp

2008-01-17 Thread Thorkil Naur
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

Re: Integrating editline with ghc

2008-01-16 Thread Thorkil Naur
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:

Re: bindist for Intel MacOS X 10.4 (Tiger) with static libs

2008-01-10 Thread 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 and libgmp.a with corresponding header files are included. (For license issues ask someone

Re: http://www.haskell.org/ghc/dist/mac_frameworks/GNUreadline-framework.zip

2008-01-05 Thread Thorkil Naur
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

Re: http://www.haskell.org/ghc/dist/mac_frameworks/GNUreadline-framework.zip

2008-01-03 Thread Thorkil Naur
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

readline problems building GHC on Mac OS X (was: Re: [Haskell-cafe] Re: ANNOUNCE: GHC version 6.8.2)

2007-12-21 Thread Thorkil Naur
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

Re: Building GHC 6.6.1 on Leopard/PPC

2007-12-20 Thread Thorkil Naur
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

Re: Building GHC 6.6.1 on Leopard/PPC

2007-12-20 Thread Thorkil Naur
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

Re: Data.HashTable.hashInt seems somewhat sub-optimal

2007-08-26 Thread Thorkil Naur
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,

Re: [Haskell-cafe] Re: Code and Perf. Data for Prime Finders (was: Genuine Eratosthenes sieve)

2007-07-30 Thread Thorkil Naur
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

Re: [GHC] #1563: -Onot is not described in the GHC User's Guide, Version 6.6.1

2007-07-28 Thread Thorkil Naur
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

[Haskell-cafe] Re: Using Gtk2Hs version 0.9.12 on a PPC Mac

2007-07-28 Thread Thorkil Naur
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

Is -O currently also implies -fvia-C. still true?

2007-07-27 Thread Thorkil Naur
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

Re: [Haskell-cafe] Re: Code and Perf. Data for Prime Finders (was: Genuine Eratosthenes sieve)

2007-07-24 Thread Thorkil Naur
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

Re: Installation Problem GHC 6-6

2007-07-22 Thread Thorkil Naur
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

Re: [Haskell-cafe] Maintaining the community

2007-07-13 Thread Thorkil Naur
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.

Re: [Haskell-cafe] Maintaining the community

2007-07-13 Thread Thorkil Naur
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

Re: The Glasgow-haskell-bugs Archives seems to end at April 2007

2007-07-11 Thread Thorkil Naur
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

Re: [Haskell-cafe] Literate Priority Queue, plus question

2007-06-16 Thread Thorkil Naur
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

Re: Haskell install error

2007-06-11 Thread Thorkil Naur
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:

[Haskell-cafe] How to selectively export internal entities from a module for testing?

2007-05-24 Thread Thorkil Naur
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

Re: [Haskell-cafe] k-minima in Haskell

2007-04-13 Thread Thorkil Naur
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 (

Re: ANNOUNCE: GHC 6.6.1 Release Candidate

2007-04-11 Thread Thorkil Naur
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

Re: Failed to load interface for `Prelude'

2007-04-07 Thread Thorkil Naur
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

Re: Failed to load interface for `Prelude'

2007-04-05 Thread Thorkil Naur
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

Re: [Haskell] Generator Function for Prime Numbers

2007-03-13 Thread Thorkil Naur
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

Re: Bug: --make non-functional on GHC compiler

2007-03-10 Thread Thorkil Naur
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

Re: [Haskell-cafe] Re: Code and Perf. Data for PrimeFinders(was:Genuine Eratosthenes sieve)

2007-03-03 Thread Thorkil Naur
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

Re: [GHC] #1171: GHC doesn't respect the imprecise exceptions semantics

2007-02-28 Thread Thorkil Naur
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

Re: [Haskell] Checking out the whole source tree

2007-02-12 Thread Thorkil Naur
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?

Re: [Haskell-cafe] Fractional sqrt

2007-01-19 Thread Thorkil Naur
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)

Re: Building GHC on Mac OS 10.2.1

2006-12-30 Thread Thorkil Naur
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 ...

Re: Building GHC on Mac OS 10.2.1

2006-12-29 Thread Thorkil Naur
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

Re: Replacement for GMP: Update

2006-12-29 Thread Thorkil Naur
: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

Re: Network.Socket endian problem?

2006-12-13 Thread Thorkil Naur
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

Re: Network.Socket endian problem?

2006-12-13 Thread Thorkil Naur
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

Re: [Haskell-cafe] Mozart versus Beethoven (was: Writing Haskell For Dummies ...)

2006-12-12 Thread Thorkil Naur
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

Fix ghc-6.6 darcs-all for Mac OS X 10.4

2006-11-23 Thread Thorkil Naur
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

Re: [GHC] #1004: ghci-6.6 crash on PPC

2006-11-14 Thread Thorkil Naur
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 ___ ___ _ / _ \ /\ /\/

Re: ghc-testsuite-6.6 on Macs

2006-11-14 Thread Thorkil Naur
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

Re: ghc-testsuite-6.6 on Macs

2006-11-13 Thread Thorkil Naur
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,

Re: GHC on MacOS

2006-10-02 Thread Thorkil Naur
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

Re: GHC on MacOS

2006-09-30 Thread Thorkil Naur
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,

Re: Replacement for GMP: Update

2006-08-24 Thread Thorkil Naur
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

Generalized Su Doku solver (was: [Haskell-cafe] Polymorphic Sudoku solver)

2006-06-07 Thread Thorkil Naur
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

Re: [Haskell-cafe] String to binary tree

2006-05-30 Thread Thorkil Naur
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) / =

Re: [Haskell-cafe] String to binary tree

2006-05-29 Thread Thorkil Naur
[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

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-31 Thread Thorkil Naur
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

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-28 Thread Thorkil Naur
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

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-28 Thread Thorkil Naur
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.

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-26 Thread Thorkil Naur
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

Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-22 Thread Thorkil Naur
/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