Hi
2007/2/23, Jan-Willem Maessen [EMAIL PROTECTED]:
...
You'd be better off asking on one of the Fortress mailing lists (see
http://fortress.sunsource.net/; I suggest joining the discuss mailing
list and asking there). Sadly, I'm in a little to deep to really do
the topic justice myself.
Hi
I sometimes have a function definition similar to this:
myFunction x@(Constructor1 _ _ _ _ _ _) = ...
myFunction x@(Constructor2 _ _ _ _ _ _ _ _) = ...
which in my eyes is not very elegant and easy to type. Is there an easier way to
switch on the different constructors of a type
2007/1/15, Stefan O'Rear [EMAIL PROTECTED]:
On Mon, Jan 15, 2007 at 10:09:10AM +0100, Stefan Aeschbacher wrote:
Hi
I sometimes have a function definition similar to this:
myFunction x@(Constructor1 _ _ _ _ _ _) = ...
myFunction x@(Constructor2 _ _ _ _ _ _ _ _) = ...
myFunction [EMAIL
and started killing all other threads (again). The
resulting thunderstorm of throwTos lead to the strange behaviour I
observed.
regards
Stefan
2007/1/8, Stefan Aeschbacher [EMAIL PROTECTED]:
Hi
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when
Hi
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when a client closes the connection to
the server, the server dumps core. On Windows, the error message there
is way different from the core dump on Linux. It says:
application.exe: config.xml:
2007/1/8, Kirsten Chevalier [EMAIL PROTECTED]:
On 1/8/07, Stefan Aeschbacher [EMAIL PROTECTED] wrote:
There are many things i do not understand. Why the different behaviour
on Linux and Windows? Shouldn't an exception be thrown on Linux
instead of a core dump? I don't use any unsafePerformIO
Hi
2007/1/8, Neil Mitchell [EMAIL PROTECTED]:
Hi Stefan,
I am writing a network server in haskell. Lately I seem to have
introduced a new bug. On Linux, when a client closes the connection to
the server, the server dumps core.
Are you using any calls to system? Any libraries which may do
Hithere is a project for i18n on sourceforge. It contains for example bindings to the gettext library which could be helpful. I'm not sure though how up to date this project is (project page looks very empty).The code is still available in the sourceforge cvs repository:
HiI need to open a file and keep it open for writing (a log file). Another process hasto 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?
regardsStefan
___
Haskell-Cafe
HiSo far the windows API seems to work for me. Currently I'm still struggling to notwrite garbage to the file but the shared access works now. Does anyone have anexample how to use it (e.g. the implementation of hPutStr on windows or something,
i did not find it in the ghc source code)?I tried to
Hi
I'm trying to understand Monad Transformers. The code below works as
expected but I have the following questions:
- why can I use liftIO but not lift in the doSomething function?
- why is there no liftSTM function?
now to the code:
module Main where
import Control.Monad.Reader
import
Hi
I think I finally found the problem. I had to replace the call to usleep with a call to threadDelay and it worked.
regards
Stefan
2006/2/27, Stefan Aeschbacher [EMAIL PROTECTED]:
HiI try to write a program that reads from a socket and communicates the result over a TChan and writes
HiActually I don't need to duplicate them, it's an oversight from my side when I converted my code from my own channels to TChan.regardsStefanAm 28.02.06 schrieb
Anatoly Zaretsky [EMAIL PROTECTED]:
Why do you need to duplicate channels?___Haskell-Cafe
HiI try to write a program that reads from a socket and communicates the result over a TChan and writes it to stdout. Somehow I can't seem to get it right,the result is only printed when I send ETX on the socket.
Attached is a sample program that shows the behvaviour.Any hints on where my error is
14 matches
Mail list logo