RE: [Haskell-cafe] London HUG domain expired

2010-04-26 Thread Bayley, Alistair
From: sefer@gmail.com [mailto:sefer@gmail.com] On Behalf Of Yitzchak Gale On Fri, Apr 23, 2010 at 1:24 PM, Bayley, Alistair wrote: Looks like the London HUG domain (londonhug.net) registration has expired. Neil Bartlett was the registrant. Neil: do you plan to renew

London HUG domain expired

2010-04-23 Thread Bayley, Alistair
From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of Denys Rtveliashvili On the side note, is London HUG still active? The website seems to be down... Looks like the London HUG domain (londonhug.net) registration has expired.

RE: GHCi's search path

2009-05-13 Thread Bayley, Alistair
From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of Peter Gammie http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/se parate-compilation.html#search-path GHCi is not overly keen to go looking for modules in

RE: 6.10.3 plans

2009-04-23 Thread Bayley, Alistair
From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of Alexander Dunlap 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

RE: breakage with Cabal-1.6

2008-10-10 Thread Bayley, Alistair
* Takusen-0.8.3 Imports writeHookedBuildInfo from Distribution.PackageDescription While the fix for these three packages' Setup scripts is trivial, there is not fix that will make them compile with old and new versions of the lib. For Takusen I'd be happy to fix the Setup and

RE: [Haskell-cafe] Haskell garbage collector notes?

2008-08-06 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galchin, Vasili Is http://hackage.haskell.org/trac/ghc/wiki/GarbageCollectorNotes a reliable source of info on the ghc garbage collector? Depends which version of GHC... the next release (6.10) will include the new

RE: ghc-6.8.1 on WinXP: windres: can't open font file `for'

2008-02-15 Thread Bayley, Alistair
From: Simon Marlow [mailto:[EMAIL PROTECTED] c:\ghc\ghc-6.8.1\bin/windres: can't open font file `for': No such file or directory This one was fixed in 6.8.2. Bummer. I was hoping to be able to use 6.8.1 with gtk2hs (AFAIUI, gtk2hs doesn't work with/hasn't been compiled against

RE: ghc-6.8.1 on WinXP: windres: can't open font file `for'

2008-02-15 Thread Bayley, Alistair
From: Neil Mitchell [mailto:[EMAIL PROTECTED] Bummer. I was hoping to be able to use 6.8.1 with gtk2hs (AFAIUI, gtk2hs doesn't work with/hasn't been compiled against 6.8.2 yet). Is there a workaround or something I can tweak in my 6.8.1 installation? It's much easier to gently

ghc-6.8.1 on WinXP: windres: can't open font file `for'

2008-02-14 Thread Bayley, Alistair
I've just installed ghc-6.8.1 on my WinXP workstation (I already have it successfully working on my laptop). When I compile anything, the linking stage fails with: c:\ghc\ghc-6.8.1\bin/windres: can't open font file `for': No such file or directory Any clues as to what's wrong? Google isn't

RE: upgrading visual studio integration to use 6.8.2....

2007-12-14 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Kurtzberg Wouldn't an eclipse plug in make more sense? (Unless one exists that I'm unaware of.) http://eclipsefp.sourceforge.net/ Alistair *

RE: Status of GHC runtime dependency on GNU multi precisionarithmetic library

2007-08-16 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan O'Rear http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes It's less of an issue on Linux where libgmp is dynamically linked but when thinking about using Haskell ghc for creating Windows apps it is for

RE: haskell for web

2007-07-17 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ??? help haskell for web code http://www.haskell.org/haskellwiki/Applications_and_libraries/Web_programming Try a few of these out (whatever meets your needs). For web apps WASH and HAppS seem popular. Feel free to ask the

RE: ghci attempts to link entire package

2007-01-04 Thread Bayley, Alistair
From: Simon Marlow [mailto:[EMAIL PROTECTED] Is this a feature or a bug? Neither really, just a consequence of the design. Well, that would make it a feature, then ;-) There has been talk of adding support to link .a files which would simplify package management, but I guess it

RE: ghci attempts to link entire package

2007-01-04 Thread Bayley, Alistair
From: Bayley, Alistair The result is that a user of Takusen can't easily use the library with ghci/runhaskell out of the box, unless they have the full set of DBMS client libraries installed. I forgot to mention that there's another difference between ghci and gnu ld: if the external

ghci attempts to link entire package

2006-12-20 Thread Bayley, Alistair
Related to some of the problems Takusen users have had, I have a question about ghci's linker/loader: why does it appear to try to link an entire package archive, rather than just the modules that are used? This is in contrast to the GNU ld program which the compiler uses, which only tries to link

RE: [Haskell] ANNOUNCE: Visual Haskell 0.2 final

2006-12-11 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krasimir Angelov The final version of Visual Haskell 0.2 is ready: http://www.haskell.org/visualhaskell This is the first version that is: - available for both VStudio 2003 and VStudio 2005 - distributed with a

RE: [Haskell] ANNOUNCE: Visual Haskell 0.2 final

2006-12-11 Thread Bayley, Alistair
From: Krasimir Angelov [mailto:[EMAIL PROTECTED] This usually happens when there is an uncaught Haskell exception. In this case the RTS shows it in a message box. The problem is that with threaded RTS the running thread might be different from the main thread and in this case you can't see

RE: [Haskell] ANNOUNCE: Visual Haskell 0.2 final

2006-12-11 Thread Bayley, Alistair
From: Krasimir Angelov [mailto:[EMAIL PROTECTED] No. It should be toplevel window. Try Spy\Processes from the menu to see only these windows that are part of devenv. OK. I assume that I'm only looking at the threads under DEVENV. There are 9 of them, and only one has any (lots) windows

RE: [Haskell] ANNOUNCE: Visual Haskell 0.2 final

2006-12-11 Thread Bayley, Alistair
To: 'Krasimir Angelov' No. It should be toplevel window. Try Spy\Processes from the menu to see only these windows that are part of devenv. OK. I assume that I'm only looking at the threads under DEVENV. There are 9 of them, and only one has any (lots) windows under it. I still don't

RE: OPTIONS_GHC -auto-all

2006-12-04 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge D. Mechveliani Now, I improve the typo and enter {-# OPTIONS_GHC -fglasgow-exts -prof -auto-all #-} in order to force -auto-all for a certain particular module. It still reports LemmaSearch.hs:

RE: hsman

2006-11-07 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Mitchell - command-line autocompletion No, how do I add it? I use Windows which doesn't support this, but if someone gives me the technical details of how to do it, I'm sure I can add it. How would it work on Unix?

ld.exe distributed with Windows ghc-6.4.1 buggy?

2006-02-13 Thread Bayley, Alistair
(MS Windows) GHC users, I've experienced a small problem with the version of ld that ships with GHC-6.4.1 for Windows. I used it to build a Postgres sample C program, and the resulting executable segfaults on a certain line. The same program works correctly when linked with the version of ld (a

GHC 6.4.1 barfs building haskell-src-exts on MingW/WinXP

2005-10-17 Thread Bayley, Alistair
Hello all, I'm trying to build haskell-src-exts-0.2 with GHC 6.4.1 under MingW on WinXP. It segfaults on the runhaskell Setup.hs build command (in the src/haskell-src-exts subdir). Does anyone else get this, or is it just me? sh-2.04$ runhaskell Setup.hs build -v5 Preprocessing library

RE: error in your article? about meaning of safe/unsafe in forei gn import

2005-05-20 Thread Bayley, Alistair
From: Bulat Ziganshin [mailto:[EMAIL PROTECTED] and one more question: is it possible to download sources of http server mentioned in this article? i want to browse the code, it's no matter how it compiles and works I believe the web-server mentioned became HWS:

Linker errors when using FFI on Windows

2005-04-27 Thread Bayley, Alistair
I'm trying to link an FFI program against a Windows (XP) DLL (c:\windows\system32\ntwdblib - this is the MS Sql Server client library). The output from ghc6.4 -v is below; the errors start in the Linker section. Comments: - Where do these objects dxx.o come from? (They're not in my

RE: Help with a Shootout program

2005-02-25 Thread Bayley, Alistair
From: Simon Marlow [mailto:[EMAIL PROTECTED] PackedStrings are still slow in 6.x. I know there are various other PackedString implementations out there, we just need to incorporate one. They certainly seem to be. Below are the profiles (compiled with -O2; ran them twice; took the second

RE: Help with a Shootout program

2005-02-25 Thread Bayley, Alistair
Here's your program, but a little slimmer. I think size counts for something in the shootout. Still runs at the same speed though :-( The program seems to spend about 50% reading the files, 22% building the hash table (7% chopping input into lines, 11% inserting into table), 25% spellchecking

RE: Problem with DB and Char size (2)

2005-01-28 Thread Bayley, Alistair
promotional-plug Actually... there is a native Oracle driver, or rather, one that uses the OCI. It's usable, but certainly not complete. http://cvs.sourceforge.net/viewcvs.py/haskell-libs/libs/takusen/src/ However, I've only tested it with bog-standard ASCII Cstrings (my NLS_LANG setting

RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-14 Thread Bayley, Alistair
I've built a small test case. When I compile with: ghc Main.hs test.c -o Main.exe ... the (correct) output from Main.exe is: 123.0 5678901234567890 And when I compile with: ghc -prof Main.hs test.c -o Main.exe ... the (incorrect) output from Main.exe is: 1.0 986516178 -- Main.hs: {-#

Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-13 Thread Bayley, Alistair
(using GHC 6.2.1 under Windows XP) I'm trying to use the Sqlite (version 3) dll - see http://www.sqlite.org/ . Marshalling of 32-bit ints and Strings works well, but 64-bit Ints and Doubles fail (I get garbage back from the FF calls) when I compile with -prof -auto-all. If I compile without

RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-13 Thread Bayley, Alistair
, just to make sure the problem isn't with the Sqlite dll. -Original Message- From: Krasimir Angelov [mailto:[EMAIL PROTECTED] Sent: 13 September 2004 10:53 To: Bayley, Alistair; [EMAIL PROTECTED] Subject: Re: Profiling makes FFI Marshalling of Doubles and Int64s fail --- Bayley

RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-13 Thread Bayley, Alistair
: 13 September 2004 12:28 To: Bayley, Alistair; [EMAIL PROTECTED] Subject: RE: Profiling makes FFI Marshalling of Doubles and Int64s fail --- Bayley, Alistair [EMAIL PROTECTED] wrote: Thanks Krasimir. I did have a look at your code, but I don't see any foreign types other than

Marshalling Haskell String - UTF-8

2004-09-01 Thread Bayley, Alistair
I want to call a foreign C function that takes a UTF-8 encoded string as one of its arguments (and there's also a version of the function that receives UTF-16). Can someone point me to documentation or examples of how this would be done? AFAICT (reading the FFI spec) marshalling a String to a

RE: Marshalling Haskell String - UTF-8

2004-09-01 Thread Bayley, Alistair
From: George Russell [mailto:[EMAIL PROTECTED] http://www.haskell.org//pipermail/glasgow-haskell-users/2004-April/006 564.html Thanks George, this looks useful. There are some things I want to clarify... module UTF8( toUTF8, -- :: String - String -- Converts a String

RE: prebuilt Haddock for Windows

2004-08-20 Thread Bayley, Alistair
I have one, although I'm not sure how best to get it to you. I don't have a website, but if you point me to an ftp site I could upload it. Or I could try emailing you a zip file... It's not hard to build, but I did it with Cygwin installed - I don't know if you have this. -Original

RE: Network, sClose

2004-08-11 Thread Bayley, Alistair
-Original Message- From: Glynn Clements [mailto:[EMAIL PROTECTED] Sent: 10 August 2004 19:06 To: Jon Fairbairn Cc: [EMAIL PROTECTED] * Shouldn't sClose be reexported from Network? Once you start down that route, you end up at the inevitable conclusion that everything from

RE: Network, sClose

2004-08-11 Thread Bayley, Alistair
-Original Message- From: Glynn Clements [mailto:[EMAIL PROTECTED] However, even if sClose was exported, that wouldn't be of any help in Jon's case, as neither of the sockets which recvFrom creates are visible outside of recvFrom. Ahh, OK. I haven't used recvFrom/sendTo yet...

RE: Using GHC and FFI

2004-07-16 Thread Bayley, Alistair
After that I wrote ghc -fffi -c test.lhs. But when I call blah from ghci I get the error message: test.o unknown symbol '_test' I think ghc doen't link test.o to projekt.obj. What do I have to do? I don't know about linking object files I've created myself, but to link an existing library

RE: Prelude/main magicks?

2004-05-14 Thread Bayley, Alistair
By using an explicit Lava compiler you declare that this is indeed a Lava program, and you don't expect it to work in any other setting, in particular not with a Haskell compiler like GHC. ... And in the same line of thinking, I would want a way of specifying suffixes of input

GHC 6.2.1 retaining profiling broken?; program segfaults with -hr flag

2004-04-30 Thread Bayley, Alistair
I've tried to get a heap retaining profile (-hr) of my (largish) program with GHC 6.2.1 (on Windows NT4), but it segfaults when run. I can produce a -hc profile without grief. Is this a known problem? P.S. I've trimmed my program back a bit to provide a test case (and to remove FFI code), but

RE: GHC 6.2.1 compilation fails when compiling FFI code with -pro f or -O2

2004-04-21 Thread Bayley, Alistair
the GHC native code-generator wouldn't have picked up. Plus it gives warnings on other dodgy things I'm doing. Better fix 'em...) Alistair. -Original Message- From: Bayley, Alistair [mailto:[EMAIL PROTECTED] The oci.h file in question is located in c:\orant817\oci\include

RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

2003-07-24 Thread Bayley, Alistair
the WASH/CGI library with a Web server written in Haskell by Simon Marlow [24]. In this server, a WASH/CGI application can run like a servlet in its own thread. -Original Message- From: Gerardo Valeri [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 00:37 To: Bayley, Alistair; [EMAIL

RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

2003-07-22 Thread Bayley, Alistair
: ./Auxiliary.hi Shell.o : Shell.hs Unique.o : Unique.hs Unique.o : ./Locking.hi Unique.o : ./Auxiliary.hi # DO NOT DELETE: End of Haskell dependencies -Original Message- From: Gerardo Valeri [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 05:28 To: Bayley, Alistair; [EMAIL PROTECTED

RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

2003-07-21 Thread Bayley, Alistair
(Your caps-lock key seems to be stuck :-) You should give more information, like the error messages you received. Did the installation of Wash etc complete successfully? Did the example programs compile? (They will produce exes.) I recently (2-3 weeks ago) downloaded Wash and installed it on a

How do I profile Prelude functions?

2003-02-05 Thread Bayley, Alistair
I can't find advice in the GHC manual on determining how much time your program spends in Prelude functions. I've discovered that I can alias a Prelude function e.g. import Data.Set myMkSet = mkSet ... which will give me a cost-centre for mkMySet. Isn't there an easier way to do this?

RE: Profiling trouble

2003-01-30 Thread Bayley, Alistair
From: Ferenc Wagner [mailto:[EMAIL PROTECTED]] ... One more question: is there a way not to truncate the call stacks? Ie in the hp file I see lines like (144)showData2/showData/ma... 12 and I'd like to see showData2/showData/main or so. hear, hear... I'm also having some fun with

Help: Windows ghc profiler errors

2002-11-14 Thread Bayley, Alistair
I want to profile my Haskell program (it solves the Queens and Knights problem stated here: http://www.itasoftware.com/careers/programmers.php ). I'm compiling with GHC 5.04.1 under Windows NT using the following command line (as per the Users Guide): ghc -prof -auto-all -o queens --make Main