Re: 6.10.3 plans

2009-04-27 Thread Sigbjorn Finne
Simon Marlow wrote: On 27/04/2009 01:28, Sigbjorn Finne wrote: ... As a compromise, how about expanding the runtime error message to make it clear that this is a change in 6.10.2? finalizer: error: a C finalizer called back into Haskell. This was previously allowed, but is disallowed

Re: 6.10.3 plans

2009-04-26 Thread Sigbjorn Finne
On 4/25/2009 07:16, Ian Lynagh wrote: On Fri, Apr 24, 2009 at 11:08:38AM +0100, Simon Marlow wrote: We do have a WARNING pragma, incedentally: http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html#warning-deprecated-pragma I don't think that using it for this would be a

Re: 6.10.3 plans

2009-04-23 Thread Sigbjorn Finne
On 4/23/2009 02:05, Duncan Coutts wrote: On Wed, 2009-04-22 at 18:55 -0700, Sigbjorn Finne wrote: Hi Ian, thanks for the update on plans and the willingness to jump in and do another release cycle so soon after 6.10.2. The suggested fixes seem agreeable to me, but I have one _minor_

Re: 6.10.3 plans

2009-04-22 Thread Sigbjorn Finne
Hi Ian, thanks for the update on plans and the willingness to jump in and do another release cycle so soon after 6.10.2. The suggested fixes seem agreeable to me, but I have one _minor_ additional request for 6.10.3 if you end having to rebuild 'base' -- add a DEPRECATED (or some such) to Foreign

Re: Using FFI for .NET

2009-04-21 Thread Sigbjorn Finne
Hi Guilherme, the support for 'dotnet' FFI declarations isn't really there any longer, having bitrotted badly and hasn't been in use for a number of years. (I'd suggest removing the final vestiges of them from the codebase, actually.) You may want to have a look at http://haskell.forkIO.com/dot

Re: Building GHC on Windows

2009-02-21 Thread Sigbjorn Finne
Felix Martini wrote: Sigbjorn Finne: It works fine, but be mindful of how 'git' handles crlf translations on Windows. Having run into this a couple of times, it certainly looks the likely cause. Felix may want to try cloning as follows: foo$ git config --global core.autocrlf

Re: Building GHC on Windows

2009-02-21 Thread Sigbjorn Finne
Simon Marlow wrote: Felix Martini wrote: . All this is likely trivial to fix but at the same time these little roadblocks may also explain why few developers on Windows contribute code to GHC and Haskell. I haven't tried sync-all on Windows - can anyone help out here? It works fine, but

Re: hsc2hs and HsFFI.h

2009-02-10 Thread Sigbjorn Finne
Hi Ian, it may encompass some of your suggested approaches below, but have you considered either: - add "--print-hsc-options" to the GHC driver, which is akin to "--print-libdir". A ghc-installed hsc2hs shell wrapper or as you suggest have 'hsc2hs' probe the compiler it is using would then

Re: git

2009-01-21 Thread Sigbjorn Finne
1080 is SOCKS, so there's some defaulting proxy setup kicking in here. Set the 'http_proxy' environment variable to point it at your local proxy server. --sigbjorn On 1/21/2009 07:05, Lennart Augustsson wrote: What port is git using for getting the ghc repo via http? I'm getting this message

Re: length of module name affecting performance??

2008-12-15 Thread Sigbjorn Finne
Ditto. Can I claim the [A-Z].* hierarchies as belonging to me? :-) --sigbjorn "putting them up on eBay afterwards...maybe" On 12/15/2008 18:00, Lennart Augustsson wrote: That's a truly awesome feature! I'll shorten all my module names to single letters tomorrow. -- Lennart On Tue, Dec 16,

Re: Control.Exception

2008-11-03 Thread Sigbjorn Finne
On 11/3/2008 07:34, Jason Dagit wrote: Ah, but I had one more question that I don't think anyone has answered yet. That is, how to deal with multiple types of exceptions. Suppose, as a concrete example, that I was looking out for both ExitCode and PatternMatchFail exceptions. Maybe I'm be

Re: Control.Exception

2008-11-01 Thread Sigbjorn Finne
(+1) to that request - what is the "best practices" for portable exception handling code that straddles version 6.10, i.e. that compiles with compilers at either side with minimal fuss? I can imagine a couple of alternatives, but would like to hear what others are doing here. thanks --sigbjorn

ANNOUNCE: Bamse 1.0

2007-08-16 Thread Sigbjorn Finne
Galois is pleased to announce the first public release of Bamse, a Windows Installer creator framework written in Haskell. Using Bamse, you can easily create applications that let you build Windows Installer (MSIs) for your project's product deliverables. The tool was written quite a while ago (

Re: -optl doesn't seem to pass to ld (on Windows)

2007-08-16 Thread Sigbjorn Finne
There's another level of indirection to punch through (the gcc driver); try -optl-Wl,--enable-stdcall-fixup --sigbjorn Alistair Bayley wrote: -optl--enable-stdcall-fixup With ghc-6.6.1 on WinXP, I want to pass --enable-stdcall-fixup (or --disable-stdcall-fixup, depending on my mood) to ld, b

Re: ghc-6.6.1 win32 msi available

2007-05-09 Thread Sigbjorn Finne
'll find in bin/ as unicows.dll hth --sigbjorn On 5/8/2007 15:25, Sigbjorn Finne wrote: In case anyone's interested, http://www.galois.com/~sof/msi/ghc-6-6-1.msi contains a Windows installer for 6.6.1; most (all?) libraries/ are in there; no C++ bits (sorry.) enjoy --sigbjorn [And, i

ghc-6.6.1 win32 msi available

2007-05-08 Thread Sigbjorn Finne
In case anyone's interested, http://www.galois.com/~sof/msi/ghc-6-6-1.msi contains a Windows installer for 6.6.1; most (all?) libraries/ are in there; no C++ bits (sorry.) enjoy --sigbjorn [And, if it's your preference, a ghc-6-6-1.zip is also available from that same dir.]

Re: HDirect and GHC-6.6

2007-01-11 Thread Sigbjorn Finne
Hi Samuel, you may want to check out the CVS version of HDirect, which does have a version of the compiler which is reasonably up-to-date wrt GHC + Cabalized versions of both the 'comlib' and 'hdirect' libraries. foo$ export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs foo$ cvs login (Logging in to [

Re: Network.Socket endian problem?

2006-12-13 Thread Sigbjorn Finne
Hi, as you've time-consumingly discovered, Network.Socket.HostAddress is represented in network byte order (something that's not well documented, and a potential trap.) You may want to consider using Network.Socket.inet_addr as a constructor. --sigbjorn Rich Neswold wrote: Hello, I've writte

Re: Some potentially useful installers..

2006-10-17 Thread Sigbjorn Finne
Hi, some day (soon) --sigbjorn Neil Mitchell wrote: Hi Sigbjorn, I've bundled up a bunch of Win32 installers for various tools that come in handy when developing with&for GHC: Alex, Happy, and Haddock (aka "The Marlow Collection") Are the tools used to build these installers available? Th

Some potentially useful installers..

2006-10-17 Thread Sigbjorn Finne
Hi, I've bundled up a bunch of Win32 installers for various tools that come in handy when developing with&for GHC: Alex, Happy, and Haddock (aka "The Marlow Collection") http://galois.com/~sof/msi/alex-2-0-1.msi http://galois.com/~sof/msi/happy-1-15.msi http://galois.com/~sof/msi/haddock-0-7.

Re: ghc-6.6 candidate Win32 installer

2006-10-13 Thread Sigbjorn Finne
he distribution channel for not-quite(-yet?)-mainstream packages though. Thanks again, --sigbjorn shelarcy wrote: > Hi Sigjorn, > > On Thu, 12 Oct 2006 08:37:11 +0900, Sigbjorn Finne <[EMAIL PROTECTED]> wrote: > >> for Win32 users wanting the latest GHC goodness, a cand

ghc-6.6 candidate Win32 installer

2006-10-11 Thread Sigbjorn Finne
Hi, for Win32 users wanting the latest GHC goodness, a candidate 6.6 installer is now available, http://haskell.org/ghc/dist/6.6/ghc-6-6.msi If anyone's willing to download it and kick the tires a bit, that'd be great. If nothing too egregious shows up, I'm planning to publish sometime tomorro

Re: Efficiency of using field labels vs pattern matching

2006-08-20 Thread Sigbjorn Finne
If you let the Simplifier have a crack at your code (i.e., compile with -O or better), the same code should be generated for the two defns of 'foo'. Try compiling with -ddump-simpl to verify. The first version is stricter, so it'll be preferable in -Onot mode. --sigbjorn Brian Hulley wrote: H

Re: Where is HsTimeConfig.h?

2006-07-14 Thread Sigbjorn Finne
HsConfig.h is a by-product of a package's build config script, so if you've got access to a full source tree for the package in Q, perhaps you haven't run the autoconf script? --sigbjorn - Original Message - From: "Alistair Bayley" <[EMAIL PROTECTED]> To: Sent: Friday, July 14, 2006 0

Re: ANNOUNCE: GHC vesrion 6.4.2

2006-04-21 Thread Sigbjorn Finne
A candidate 6.4.2 installer for Windows is now available, http://www.haskell.org/ghc/dist/stable/dist/ghc-6-4-2-20060421.msi Unless any major issues show up over the weekend, I'll move it into its proper directory early next week. thx --sigbjorn Note: someone requested including the OpenAL pa

Re: Checking for WHNF (a horrible naughty thing)

2005-11-23 Thread Sigbjorn Finne
The appended snippet might help.. --sigbjorn -- whnf.hs import Foreign.StablePtr import System.IO.Unsafe isWHNF :: a -> Bool isWHNF a = unsafePerformIO $ do stl <- newStablePtr a rc <- isWhnf stl freeStablePtr stl return (rc /= 0) foreign import ccall safe "isWhnf" isWhnf :: StablePtr

New 6.4.1 windows installer

2005-10-19 Thread Sigbjorn Finne
A test installer for a patched version of ghc-6.4.1 for Windows is now available, http://haskell.org/ghc/dist/6.4.1/ghc-6-4-1-bld1.msi Unless I'll hear of any packaging snafus, it'll be hooked up to the GHC web pages tomorrow. Notice that by default this installer will deposit bits in the same

Re: ANNOUNCE: GHC version 6.4.1

2005-09-20 Thread Sigbjorn Finne
Just uploaded & hooked up to the downloads page, http://haskell.org/ghc/download_ghc_641.html --sigbjorn - Original Message - From: "David Nick Main" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 20, 2005 16:01 Subject: Re: ANNOUNCE: GHC version 6.4.1 Great news ! Any word o

Re: switching off let-floating

2005-07-27 Thread Sigbjorn Finne
"Wolfgang Jeltsch" <[EMAIL PROTECTED]> writes: But how do I switch off let-floating? -fno-full-laziness, I believe. --sigbjorn ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/

Re: 6.4.1?

2005-06-28 Thread Sigbjorn Finne
essage - From: David Nick Main To: Sigbjorn Finne Cc: glasgow-haskell-users@haskell.org Sent: Tuesday, June 28, 2005 13:45 Subject: Re: 6.4.1? As reported when 6.4 first came out:C:\temp>ghci Toast.hs   ___ ___ _  / _ \ /\  /\/ __(_) / /_\// /_/ / /  |

Re: 6.4.1?

2005-06-28 Thread Sigbjorn Finne
Could you expand on what exactly those problems are? It would be a pity if some of them ended up not being addressed due to them not being generally known about. thx --sigbjorn - Original Message - From: David Nick Main To: glasgow-haskell-users@haskell.org Sent: Monday, June 27, 2005

Re: Linker errors when using FFI on Windows

2005-04-27 Thread Sigbjorn Finne
Adding the -Lc:\windows\system32 option when linking upsets the resolution of misc standard libraries, causing 'ld' to use the DLLs rather than the mingw link libraries, including msvcrt.dll. Try just using c:/windows/system32/ntwdblib.dll on the link line instead. If ld's DLL auto-import support d

Re: Updated 6.4 Windows installer RC

2005-03-21 Thread Sigbjorn Finne
one soon, that's the final 6.4 installer. The caveats/remarks below for the 'bld1' version also applies to this one. --sigbjorn - Original Message - From: "Sigbjorn Finne" <[EMAIL PROTECTED]> To: "GHC users" Sent: Thursday, March 17, 2005 16:59

Re: Problem starting GHC 6.4 on windows 98

2005-03-18 Thread Sigbjorn Finne
Thanks, this issue was fixed a couple of hours ago in the CVS repository based on similar feedback from other Win9x users. Expect to see an updated installer sometime early next week. --sigbjorn - Original Message - From: "J L Russell" <[EMAIL PROTECTED]> To: Sent: Friday, March 18, 2005

Updated 6.4 Windows installer RC

2005-03-17 Thread Sigbjorn Finne
An updated version of the Windows installer for ghc-6.4 is now available for testing, http://www.haskell.org/ghc/dist/stable/dist/ghc-6-4-bld1.msi md5 checksum: 4a55a5614587cef07a19d7f7728f3a83 It hopefully sorts out the showstopping profiling problems that people have reported; let me know if it

Re: 6.4 snapshot installer available

2005-03-04 Thread Sigbjorn Finne
New installer available that includes all STABLE changes up until 20:00 UTC today: http://www.haskell.org/ghc/dist/stable/dist/ghc-6-4-20050304.msi ( md5.sig: 022bfcaae335b718bdc59014d58b39a0 ) --sigbjorn - Original Message - From: "Sigbjorn Finne" <[EMAIL PROTECTED]>

6.4 snapshot installer available

2005-03-01 Thread Sigbjorn Finne
http://www.haskell.org/ghc/dist/stable/dist/ghc-6-4-20050301.msi (md5.sig: 0f3be1a0c211194415b2cb8ee579f6e1 ; size: 46M) the only known omission from the bits intended to be included in the release proper is the PDF version of the user's guide. --sigbjorn __

Re: GHCI and readline package

2004-11-02 Thread Sigbjorn Finne
The instructions below refer to a slightly older version of mingw -- to have it work with the one that's bundled with 6.2.2, substitute "strcasecmp.o strncasecmp.o" for "string_old.o". --sigbjorn - Original Message ----- From: "Sigbjorn Finne" <[EMAI

Re: GHCI and readline package

2004-11-01 Thread Sigbjorn Finne
You can make 'readline' load with GHCi 6.2.2 with just a little bit of effort -- try the following: # any old temporary working directory will do bash$ mkdir c:/tmp/hack bash$ cd c:/tmp/hack # assuming you've install 6.2.2 in c:/ghc/ghc-6.2.2 bash$ c:/ghc/ghc-6.2.2/bin/ar x \ c:/ghc

Re: Network, sClose

2004-08-11 Thread Sigbjorn Finne
"Jon Fairbairn" <[EMAIL PROTECTED]> writes: > > > [1] What's the "Do" doing there anyway? You end up writing > withSocketsDo$do, and we could do without the Do$do. > Yes, that just doesn't fly, does it? withSocketsDo in user code became superfluous a couple of releases back. --sigbjorn __

Re: GHCI/FFI/GMP/Me madness

2004-08-08 Thread Sigbjorn Finne
Hi, please be aware that the RTS uses GMP as well, and upon initialisation it sets GMP's 'memory functions' to allocate memory from the RTS' heap. So, in the code below, the global variable 'p' will end up having components pointing into the heap. Which is fine, until a GC occurs and the pointed-t

Re: Windows & ghc6.04

2004-05-04 Thread Sigbjorn Finne
Not sure what 2) refers to, but 1) and 3) is already in 6.2.x; no need to use the heavier-weight -threaded stuff to enable it. --sigbjorn - Original Message - From: "George Russell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 2004 03:42 Subject: Windows & ghc6.04

Re: GHC CVS refusing connections...

2004-04-26 Thread Sigbjorn Finne
Thanks to the hard work of Jeff Lewis, the CVS pserver at cvs.haskell.org is now back up again, --sigbjorn - Original Message - From: "Sigbjorn Finne" <[EMAIL PROTECTED]> To: "MR K P SCHUPKE" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thur

Re: GHC CVS refusing connections...

2004-04-22 Thread Sigbjorn Finne
The CVS pserver isn't yet back on-line after an cvs.haskell.org upgrade. It's being worked on; I'll make sure the mailing lists are pinged once it's back. R/W access via 'ssh' is functioning as normal again, though. --sigbjorn - Original Message - From: "MR K P SCHUPKE" <[EMAIL PROTECTE

Re: Release Candidate for 6.2.1 available

2004-03-11 Thread Sigbjorn Finne
An installer for Windows users can now also be found in that directory. --sigbjorn - Original Message - From: "Simon Marlow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 04:43 Subject: RE: Release Candidate for 6.2.1 available > > >ghc-6.2.20040304 an

Re: linking problems after switching from GHC5 to GHC6

2004-01-30 Thread Sigbjorn Finne
This is a 6.x bug; I fixed it in HEAD a while back, http://haskell.org/pipermail/cvs-ghc/2003-October/018991.html but the change wasn't merged for some reason. --sigbjorn - Original Message - From: "Sven Panne" <[EMAIL PROTECTED]> To: "Volker Wysk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTE

Re: Network problem with ghc on WinXP

2004-01-29 Thread Sigbjorn Finne
Me neither; I'm guessing it goes back to the days when PortNumber used to be a type synonym (and synonyms could/had to be exported with (..).) --sigbjorn - Original Message - From: "Simon Marlow" <[EMAIL PROTECTED]> To: "Sigbjorn Finne" <[EMAIL PR

Re: Network problem with ghc on WinXP

2004-01-28 Thread Sigbjorn Finne
Hi there, looks like a network byte-order vs host byte-order gotcha. Never use the PortNum constructor, but declare 'portnum' to have type PortNumber and simply drop the use of PortNum in your code alltogether. Alternatively, use intToPortNumber to translate between Int and PortNumber. hth --sigb

Re: readline package in GHC 6.0.1 on Windows

2003-09-18 Thread Sigbjorn Finne
mingw (2.0.x) supplies a libreadline.a, but no header files to go with it, which is why the readline package isn't being built (and shipped.) Hopefully this will be fixed in a future release (of mingw.) You can either go the route you suggest, or pick up a mingw port of readline (there's a couple

Re: Win32 dlls -- how to do it?

2003-06-27 Thread Sigbjorn Finne
Try adding "-package base" to your command-line. --sigbjorn - Original Message - From: "Andy Serpa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 10:31 Subject: Win32 dlls -- how to do it? > Hello, > > New to Haskell, new to GHC. My initial intention in picki

Re: GHC-6.0: Open with ... bug (again!)

2003-06-12 Thread Sigbjorn Finne
You just need to escape the '\' with another '\' inside the string literal -- ghci isn't cleverer than that, I'm afraid.   --sigbjorn - Original Message - From: Calle Lejdfors To: Sigbjorn Finne Cc: [EMAIL PROTECTED] Sent:

Re: GHC-6.0: Open with ... bug (again!)

2003-06-11 Thread Sigbjorn Finne
Original Message - From: Calle Lejdfors To: Sigbjorn Finne Cc: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 00:01 Subject: Re: GHC-6.0: Open with ... bug (again!) Hi.   Thanks! It seems to work correctly now. However it does not appear to work when loading v

Re: GHC-6.0: Open with ... bug (again!)

2003-06-10 Thread Sigbjorn Finne
Hi there,   thanks for the report on an issue I thought had been properly resolved, but alas not. The updated Windows installer that was published last Monday does include a fix for the issue. I'm guessing you spotted that, but I didn't want to leave your report un-replied to in the e-mail a

Re: Updated ghc-6.0 windows installer available

2003-06-03 Thread Sigbjorn Finne
This time with an attachment.. - Original Message - From: "Sigbjorn Finne" <[EMAIL PROTECTED]> To: "GHC users" <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 10:10 Subject: Updated ghc-6.0 windows installer available > To fix a pair of showstop

Updated ghc-6.0 windows installer available

2003-06-03 Thread Sigbjorn Finne
To fix a pair of showstopper bugs, an updated version of the win32 MSI installer has been uploaded. It includes the following fixes: - as was, -fvia-C fell over due to header files not being in the expected place within the install tree. - The ghci wrapper now quotes the command-line argum

Re: Network/Notwork?

2003-03-17 Thread Sigbjorn Finne
The problem is that the necessary header file (config.h) isn't included in that module. This was fixed a while ago in HEAD. --sigbjorn - Original Message - From: "Peter Strand" <[EMAIL PROTECTED]> To: "C.Reinke" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 13

Re: Network on Win98: failed - socket - no error ??

2003-03-03 Thread Sigbjorn Finne
Did you remember to use 'withSocketsDo'? If you did, it would help to see the code that's failing for you (trivial or not.) --sigbjorn - Original Message - From: "Claus Reinke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 04:14 Subject: Network on Win98: failed

Re: child process statistics

2003-02-28 Thread Sigbjorn Finne
"Dean Herington" <[EMAIL PROTECTED]> writes: > > On Wed, 26 Feb 2003, Sigbjorn Finne wrote: > > > wait3() or getrusage()? (Neither of which are supported > > by the posix library.) > > > > --sigbjorn > > Thanks, Sigbjorn. I drafted a Haskel

Re: child process statistics

2003-02-26 Thread Sigbjorn Finne
wait3() or getrusage()? (Neither of which are supported by the posix library.) --sigbjorn - Original Message - From: "Dean Herington" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 16:17 Subject: child process statistics > Does anyone know how to get th

Re: permissions on ghc Windows installer?

2003-02-18 Thread Sigbjorn Finne
Thanks, I'll keep it in mind should I decide to revisit this. My experiences of getting per-user installs to work reliably with MSIs haven't been too positive. --sigbjorn - Original Message - From: "Malcolm Wallace" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2

Re: GHCi-5.04.2: Windows Open with ... problem.

2003-02-12 Thread Sigbjorn Finne
trying the same thing under GHC works like a charm under both cygwin and Linux.   Any ideas?   /Calle     - Original Message - From: Sigbjorn Finne To: Calle Lejdfors Cc: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 3:19 PM

Re: GHCi-5.04.2: Windows Open with ... problem.

2003-02-11 Thread Sigbjorn Finne
Hi thee,   this is most likely due to the XP shell invoking 'ghci' as follows:     p:\ath\to\ghci c:\Documents and Settings\foo\   which makes it look as if multiple arguments are given on the command-line (indeed, that's what the argv vector will contain.)   The registered file assocati

Re: Calling ghc dll's with MSVC++ code

2003-01-31 Thread Sigbjorn Finne
"Kevin S. Millikin" <[EMAIL PROTECTED]> writes: > ... > > timeSetEvent is in the multimedia DLL WINMM.DLL. Here's where it gets > fuzzy. Eventually, WINMM.DLL calls into KERNEL32.DLL. Eventually > that calls into NTDLL.DLL. NTDLL issues the x86 instruction: > > int 2Eh > > Which is an inter

Re: ANNOUNCE: GHC version 5.04.2 released

2002-12-06 Thread Sigbjorn Finne
f some 10M. Available via http://haskell.org/ghc/dist/5.04.2/ To use, just unpack & go. --sigbjorn - Original Message - From: "Francis Girard" <[EMAIL PROTECTED]> To: "Sigbjorn Finne" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, Decembe

Re: ANNOUNCE: GHC version 5.04.2 released

2002-12-04 Thread Sigbjorn Finne
"Simon Marlow" <[EMAIL PROTECTED]> writes: > > == > The (Interactive) Glasgow Haskell Compiler -- version 5.04.2 > == > ... > A Win32 installer is now available via the downloads pa

Re: Concurrency and interactive input

2002-10-30 Thread Sigbjorn Finne
Hi, I suspect you're using ghc on a win32 platform. ghc-win32 doesn't presently support non-blocking I/O, hence the behaviour you're seeing. --sigbjorn - Original Message - From: Walker Duhon To: [EMAIL PROTECTED] Sent: Wednesday, October 30, 2002 18:02 Subject: Concurrency and interacti

Re: 5.04.2 schedule?

2002-10-25 Thread Sigbjorn Finne
http://galois.com/~sof/ghc/nightly/dist/ is one such place (src + RH7.3 tar bundles)...well, it will (again) be once the sysadmin wakes up! (directory indexing on the web server has been shut off for some reason.) --sigbjorn - Original Message - From: "Koen Claessen" <[EMAIL PROTECTED]>

Re: Problem with ghc-5-04-1.msi

2002-10-23 Thread Sigbjorn Finne
Hi there, the installer gives you a choice between "Typical", "Custom", and "Complete" -- choose the "Custom" option to pick an installation location other than the default. hth --sigbjorn - Original Message - From: David Sabel To: [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 05:4

Re: ObjectIO Library

2002-10-10 Thread Sigbjorn Finne
Hi there, leaving it out of the 5.04.1 installer was unintended, esp. since 5.04 had it included. I'll make sure it makes a re-appearance in 5.04.2 (or whatever the next GHC release ends up being named.) --sigbjorn - Original Message - From: Alfonso To: [EMAIL PROTECTED] Sent: Tuesday, O

Re: ghc-inplace exiting with "error 1" foolishness

2002-09-24 Thread Sigbjorn Finne
"Dominic Cooney" <[EMAIL PROTECTED]> writes: > > I complained late last week that GHC failed to build because ghc-inplace > couldn't do anything more complicated than print its version number. > > I tried again on a clean machine, this time remembering to replace > Cygwin's sh.exe with bash.exe, a

Re: IO-System

2002-09-17 Thread Sigbjorn Finne
"Simon Marlow" <[EMAIL PROTECTED]> writes: > > I'd settle for that kind of indiscriminate flushing -- as is, > > trivial I/O examples such as > > > > main = do > >putStr "What is your name? " > >ls <- getLine > >putStrLn ("Hello " ++ ls ++ "!") > > > > fail to behave as expected. > >

Updated version of 5.04 installer available

2002-07-12 Thread Sigbjorn Finne
Hi, should you run into linking problems when/if using the --mk-dll option to build DLLs with ghc-5.04 on a Windows box, a patched version of the 5.04 installer is now available which fixes the underlying problem. That's the only thing different wrt. the original 5.04 installer, so unless you're

Re: ANNOUNCE: GHC version 5.04 released

2002-07-11 Thread Sigbjorn Finne
"Simon Marlow" <[EMAIL PROTECTED]> writes: > > The (Interactive) Glasgow Haskell Compiler -- version 5.04 > > Packages will appear as they are built - if the package for your system > isn't available yet, come back later. > A Windows installer for 5.04 is now available via the GHC d

Re: GHC Gentoo Linux package

2002-06-11 Thread Sigbjorn Finne
"Sven Moritz Hallberg" <[EMAIL PROTECTED]> writes: > ... > 2) I read a comment somewhere (in some script or so) saying something along > the lines of "once we are cross-compiling". Are there plans to make GHC able > to cross-compile? > That remark was put in there by GHC hall-of-famer Will "C

Re: monomorphism/hugs98/ghc-5.02.3

2002-05-31 Thread Sigbjorn Finne
This is actually no longer an issue, as H98's behaviour for derived Show and Read instances have changed recently. When Simon next has the time (and inclination) to put out a Report revision, text describing the change will be included. In the meantime, have a look at static.c:mkReadInfix() and

Re: specifying common 'dis's in greencard

2002-05-29 Thread Sigbjorn Finne
ok, the -s option lets you expand the list of file suffixes used, i.e., "-sghc" would take care of it your case. --sigbjorn - Original Message - From: "Hal Daume III" <[EMAIL PROTECTED]> To: "Sigbjorn Finne" <[EMAIL PROTECTED]> Cc: "G

Re: specifying common 'dis's in greencard

2002-05-29 Thread Sigbjorn Finne
Something like: foo$ cat Foo.gc module Foo where import StdDIS %dis foo x = char x foo$ cat Bar.gc module Bar where import StdDIS import Foo %fun f :: Foo -> IO () foo$ green-card -i/path/to/green-card/lib/ghc -tffi Bar.gc foo$ hth --sigbjorn - Original Message - From: "Hal Daume III"

Re: max heap exhausted

2002-04-15 Thread Sigbjorn Finne
Have a look the the -M RTS option (default is 256M on Win32, not unlimited.) --sigbjorn - Original Message - From: "Hal Daume III" <[EMAIL PROTECTED]> To: "GHC Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, April 15, 2002 08:04 Subject: max heap exhausted > What does it mean whe

Re: ANNOUNCE: GHC 5.02.3 released

2002-04-08 Thread Sigbjorn Finne
Simon Marlow <[EMAIL PROTECTED]> writes: > >The (Interactive) Glasgow Haskell Compiler -- version 5.02.3 > == > > We are pleased to announce a new patchlevel release of the Glasgow > Haskell Compiler (GHC), version 5.02.3. The s

cygwin32 snapshot available

2002-03-27 Thread Sigbjorn Finne
Hi, for people wanting to use GHC to compile cygwin applications on Win32, I've made available a binary snapshot of current CVS sources, http://galois.com/~sof/ghc-5.03-20020326-cygwin32.tar.gz It is a bare-bones snapshot (no profiling libs, no interpreter, no docs) & is intended for 'enthusia

Re: Concurrent Haskell (GHC) and Win32 Applications ?

2002-03-11 Thread Sigbjorn Finne
"Simon Peyton-Jones" <[EMAIL PROTECTED]> writes: > > | The problem I think is with the lightweight thread implementation - > | Win32 calls can (and will) block the OS thread that makes the call, > | which blocks the entire system. Given that I'm wanting to write a > | network server with a Win32 G

Re: Weird Activation Records (RTS wizards, please help!)

2002-03-06 Thread Sigbjorn Finne
"Simon Marlow" <[EMAIL PROTECTED]> writes: > > > > I can't seem to get the Garbage Collector to work properly on MacOS X. > > When a program triggers the Garbage Collector, it aborts with the > > following message: > > a.out: fatal error: scavenge_stack: weird activation record > > found on st

Re: filepath mangling under Windows?

2002-03-05 Thread Sigbjorn Finne
"Malcolm Wallace" <[EMAIL PROTECTED]> writes: > ... > > > > Don't know where you get this "actively discouraging" bit from. > > I'm sorry, I just meant that it seems to be a little bit more > difficult now to get GHC and Cygwin to interoperate than it once was. > The situation as I understand it

Re: filepath mangling under Windows?

2002-03-05 Thread Sigbjorn Finne
> > ghc-5.02.2 is not a cygwin application, > > Whilst I was aware that GHC no longer requires Cygwin to run, > I didn't realise that it actively discourages use under Cygwin. > This issue arose because a Windows user would like to use `hmake' > with GHC, and the `hmake' installation currently

Re: filepath mangling under Windows?

2002-03-05 Thread Sigbjorn Finne
ghc-5.02.2 is not a cygwin application, so it won't understand paths like /d/foo -- it will understand d:/foo and d:\foo though. Internally, the compiler will canonicalise paths to 'platform-native' formats before passing them to external tools, which is why you see the slashes reversed. GHC coul

fyi: haskell.org/ghc and Netscape win32 users

2002-02-18 Thread Sigbjorn Finne
Hi, if you've run into problems installing haskell.org/ghc Windows Installers (.msi files) that you've downloaded with Netscape Navigator in the past couple of weeks, this is to let you know that the (new) web server setup has now been fixed, so downloading with Netscape should again work OK. Th

Re: ANNOUNCE: GHC 5.03.20020204 snapshot release

2002-02-08 Thread Sigbjorn Finne
A Windows Installer for this snapshot is now available via the GHC downloads page, http://haskell.org/ghc/download_ghc_snapshot.html enjoy --sof - Original Message - From: "Julian Seward (Intl Vendor)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday,

Re: Binary Compatibility

2002-02-05 Thread Sigbjorn Finne
> Apologies if this has been covered before. What compatibility is there > between code compiled in different versions of GHC? > As a rule, none. Always recompile your code for every new release. --sigbjorn ___ Glasgow-haskell-users mailing list [E

Re: GHCi & Cygwin

2002-01-29 Thread Sigbjorn Finne
"Koen Claessen" <[EMAIL PROTECTED]> writes: > .. > I have sucessfully installed the latest GHC on my (new) > Windows laptop. > > I have also installed cygwin a while ago, and I really like > it. (I am doing all my work from a cygwin shell.) > > The problem is that control-C is interpreted diff

Re: OPTIONS in a literate source file

2002-01-21 Thread Sigbjorn Finne
No, I don't think you missed anything, it's a wrinkle in the OPTIONS impl that probably ought to be straightened out. --sigbjorn - Original Message - From: "Dean Herington" <[EMAIL PROTECTED]> To: "Sigbjorn Finne" <[EMAIL PROTECTED]> Cc: &l

Re: OPTIONS in a literate source file

2002-01-21 Thread Sigbjorn Finne
Try >{-# OPTIONS -fglasgow-exts #-} i.e., no space between '>' and '{'. --sigbjorn - Original Message - From: "Dean Herington" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 17:26 Subject: OPTIONS in a literate source file > I can't figure out how to get

Re: Problem with linker on Windows 2000

2002-01-19 Thread Sigbjorn Finne
Hi, the linker is telling you, in a not too user-friendly a way, that your program is missing a module Main which exports 'main', which is Haskell's convention for the 'entry point' to a program. So, instead of "Hello()" try "Main" (or "Main(main)") hth --sigbjorn - Original Message

Re: Bug? Re: GHC version 5.02.2 is available - SuSE RPMs

2002-01-12 Thread Sigbjorn Finne
"Jorge Adriano" <[EMAIL PROTECTED]> writes: > ... > > module Main where > > main :: IO() > > main = do > > putStr "n:" > > n <- readLn :: IO(Int) > > print n > > Used to work fine with ghc 5.00.2, that is, it would print "n:", then wait > for the input, and finaly print n. > Wi

Re: FFI

2002-01-11 Thread Sigbjorn Finne
Hi, GreenCard is still widely used, but doesn't offer any support for what you're wanting to do. Is the auto-generation of proxy code around the Haskell functions you want to export worth your while to get started with HDirect? Don't know, you may want to try doing it manually for a couple of th

ghc-5.03 release candidate installer available (win32)

2002-01-10 Thread Sigbjorn Finne
In preparation for a ghc-5.03 snapshot release, a test installer for Win32 platforms is now available: http://www.galois.com/~sof/ghc-503.msi (*) Size: 25.1 Mb. Please let me know if you run into any problems with it. thanks, --sigbjorn btw, Mike Thomas deserves a special mention for

ghc-5.02.2 release candidate installer available (win32)

2002-01-09 Thread Sigbjorn Finne
In preparation for the upcoming release of 5.02.2, I've made available a test installer for Win32 platforms, in the hope that any packaging glitches can be caught before it's too late. The installer is available via http://www.galois.com/~sof/ghc-502-2.msi (*) It's big: 21.7 Mb. Please l

Re: FORTRAN and HASKELL

2002-01-09 Thread Sigbjorn Finne
Hi, your e-mail message looks as if it got stuck in a queue somewhere, but just in case you didn't see this, http://haskell.org/pipermail/glasgow-haskell-users/2001-December/001249.html has got details of how to do this without going via C. hth --sigbjorn - Original Message - From: "

Re: Haggis

2002-01-05 Thread Sigbjorn Finne
Hi, haven't looked into this one, but Haggis is way out of date (unless there are people out there still using ghc-0.29!). This is only the start of significant amount of trouble if you try to compile it up - I suggest you don't :-) References to it from the Haskell web site could with benefit ju

Re: HDIRECT/FFI - C enums

2001-12-29 Thread Sigbjorn Finne
This is just what we agreed on a couple of months ago, no? I'm afraid this has been sitting on my HDirect ToDo list since then, as I've been busy with misc other Haskell-related matters. However, I've unqueued the item & implemented something which is close to what you're after, I believe. It's ju

Re: RealWorld?

2001-12-07 Thread Sigbjorn Finne
GlaExts is the user-level module to use to bring it into scope. --sigbjorn - Original Message - From: "Koen Claessen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 07, 2001 09:43 Subject: RealWorld? > Hi, > > I want to use the functions: > > hGetBufBA :: Handle

  1   2   3   >