[Haskell-cafe] Re: trouble building 6.7 on ubuntu

2007-08-16 Thread Esa Ilari Vuokko
On 8/16/07, Thomas Hartman [EMAIL PROTECTED] wrote: I repeated the install attempt described below using darcs head, including the extra libs. I got the exact same error as before. Setup: Warning: Unknown fields: nhc98-options (line 173) and then a cryptic error involving HsColour

Re: [Haskell-cafe] Serial Communications in Haskell

2007-08-29 Thread Esa Ilari Vuokko
On 8/29/07, Ronald Guida [EMAIL PROTECTED] wrote: I'm on a Windows box and I'm looking for a way to talk to a serial port (for example, RS-232) from Haskell. I couldn't find a library to do this, so I am wondering how to create one. I have a fairly thorough understanding of how to open and

Re: [Haskell-cafe] Closure trace?

2006-06-14 Thread Esa Ilari Vuokko
Hi Michael, On 6/14/06, Michael Marte [EMAIL PROTECTED] wrote: I wonder whether it is possible to print a closure trace similar to a stack trace in procedural programming. Say we have two modules A and B: I wrote small (external) utility that does something like that for ghc-built binaries.

Re: [Haskell-cafe] comdlg32.dll FFI bindings

2006-07-11 Thread Esa Ilari Vuokko
Hi Jason, On 7/12/06, Jason Dagit [EMAIL PROTECTED] wrote: The package you mention appears to ship with visual haskell but I don't see any wrappers for the functionality in comdlg32.dll. I would like to add that functionality. Do you know where I can find the source code for this package?

[Haskell-cafe] Win32-package and Windows error codes in exceptions

2006-08-28 Thread Esa Ilari Vuokko
. Best regards, --Esa Ilari Vuokko ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] getContents and lazy evaluation

2006-09-06 Thread Esa Ilari Vuokko
say, these are hard things to specify because not everyone has those features. So, at least it works nicely in posixy-systems, eh? Best regards, --Esa Ilari Vuokko ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Creating DLLs with GHC

2006-09-27 Thread Esa Ilari Vuokko
Hi On 9/27/06, Matthew Bromberg [EMAIL PROTECTED] wrote: though I have a binary build of ghc 6.5 If you have new ghc 6.5, you can use --mk-dll with --make, in case that helps. ghc --mk-dll -o netsim.dll ExternLib.o ExternLib_stub.o dllNet.o src1.o src1_stub.o src2.o -optl-lmatrixstack

Re: [Haskell-cafe] windows file locking

2006-10-11 Thread Esa Ilari Vuokko
On 10/11/06, Stefan Aeschbacher [EMAIL PROTECTED] wrote: Hi I need to open a file and keep it open for writing (a log file). Another process has to read from this file. On windows the second process (e.g. tail -f) can not open the file. How can I open a file without this locking? Using

Re: [Haskell-cafe] FFI question

2006-02-09 Thread Esa Ilari Vuokko
On 2/9/06, Frederico Franzosi [EMAIL PROTECTED] wrote: Hi, I don't really know how this stuff exactly works, but here's few things I have found useful when I ran into this sort of problems. I'm developping a package wich imports C functions. For example if I use: $ghc -package

Re: [Haskell-cafe] Failure in GHC compilation

2007-06-02 Thread Esa Ilari Vuokko
Hi, On 6/2/07, Monique Monteiro [EMAIL PROTECTED] wrote: has anyone any idea about what may cause the following error in GHC compilation? It's exactly what it says...too long argument list (it's limited in Windows.) This is usually caused by having split-objs on, which causes *a lot* of

Re: [Haskell-cafe] Filesystem access

2007-06-21 Thread Esa Ilari Vuokko
On 6/21/07, Andrew Coppin [EMAIL PROTECTED] wrote: OK, a few questions... 1. Is there *any* way to determine how large a file is *without* opening it? The only library function I can find to do with file sizes is hFileSize; obviously this only works for files that you have permission to open!

Re: Fwd: Re: [Haskell-cafe] avoiding command window with wxHaskell on Windows?

2007-06-30 Thread Esa Ilari Vuokko
On 6/30/07, Duncan Coutts [EMAIL PROTECTED] wrote: On Fri, 2007-06-29 at 23:22 -0400, Dean Herington wrote: Date: Mon, 25 Jun 2007 20:19:50 -0400 With gtk2hs, using -optl-mwindows as a command line option for GHC lets me get rid of this window. Perhaps it will do the same for wxHaskell?

Re: [Haskell-cafe] Re: Nix for Hackage/Cabal

2007-07-06 Thread Esa Ilari Vuokko
On 7/6/07, apfelmus [EMAIL PROTECTED] wrote: Duncan Coutts wrote: On Fri, 2007-07-06 at 16:47 +0200, apfelmus wrote: http://nix.cs.uu.nl/index.html I was under the impression that it didn't work on Windows. From another quick look at the website, it looks like that's right. Does anybody