Hello!
On Tue, Aug 07, 2001 at 10:47:50AM +0100, Simon Marlow wrote:
- Compacting garbage collection is enabled when the residency
reaches a certain percentage of the maximum heap size (if there
is one).
Could there be the possibility to set an absolute amount of memory
to start
Hello!
On Tue, Apr 10, 2001 at 01:55:21AM +0200, Thomas Pasch wrote:
is there an easy way to box/unbox Types.
I need this for Int's, so is there
a function that does:
Int# - Int
Int - Int#
You must import the appropriate modules, to "see" the type definition
for Int (which is data Int =
[CC stripped a bit]
On Thu, Mar 01, 2001 at 07:58:26AM +0100, Ketil Malde wrote:
Jan-Willem Maessen [EMAIL PROTECTED] writes:
Absolutely. Good high-level thread support trumps anything provided
by the operating system.
Unless you have more than one CPU...
No, even then, some high level
Hello!
When running this program under GHC 4.08 (OpenBSD 2.7, x86),
only "b"s are written. Shouldn't GHC's implementation of
Concurrent Haskell be preemptive?
Regards,
Hannah.
import Concurrent
main = forkIO a b
where
a = putStrLn "a" a
b = putStrLn "b" b
Hello!
On Wed, Jun 21, 2000 at 03:21:26PM -0400, Stephen Alden Elliott wrote:
I have never used GHC (and am new to Linux as well, what a recipe for
disaster) before and am very confused about how to set up dependencies
properly and how to configure the make file (I know a little about
Hello!
On Wed, May 24, 2000 at 08:15:24AM -0700, Julian Seward (Intl Vendor) wrote:
| Anybody knows how to generate a portable C code through GHC ?
It depends what you mean by portable.
GHC can produce C code which you can compile with gcc, without
special support -- we call this
Hello!
On Fri, Mar 10, 2000 at 01:42:01AM -0800, Simon Marlow wrote:
[...]
hPutBufBA :: Handle - ByteArray Int - Int - IO ()
hPutBuf:: Handle - Addr - Int - IO ()
[...]
Why are the output functions of return type IO () and not also
IO Int (or rather IO [some integral type large
Hello!
On Fri, Mar 10, 2000 at 02:52:41AM -0800, Simon Marlow wrote:
[...]
The idea is that the functions never return until the whole buffer is
written. If the reading end (of a socket or pipe) is closed prematurely,
we'll get an IO error.
But even in the IO error, it'd be interesting
Hello!
On Tue, Mar 07, 2000 at 11:29:33PM -0800, Nick Eby wrote:
Why is ghc not recognizing prelude functions, specifically isLower,
toLower, and isUpper? When compiling, i get the message
Variable not in scope: 'isLower'
Look at the Haskell report. There's no isLower/toLower/isUpper in
Hello!
On Tue, Feb 01, 2000 at 12:10:33PM +0100, Sven Panne wrote:
Hannah Schroeter wrote:
[...] There should be a call to
SocketPrim.setSocketOption sock SocketPrim.ReuseAddr 1
before bindSocket.
*wink* to the GHC team :-)
OK, understood. :-) I've added this to SocketPrim
Hello!
On Mon, Jan 31, 2000 at 09:11:14PM +0100, Wojciech Moczydlowski, Jr wrote:
[...]
main = do
socket - listenOn (PortNumber (mkPortNumber 6665))
(handle, hn) - accept socket
putStrLn hn" - it's just supposed to say who called and exit.
Nevertheless, when I try to run
Hallo!
On Wed, Dec 08, 1999 at 10:39:10PM +, Alex Ferguson wrote:
Keith Wansbrough:
If the Integer is greater than 2^64-1 then simply
pass NULL to select(): I think 595 000 years is near enough forever
given current operating systems...
Quincentomillennium bug, anyone?
;-)
No.
Hello!
On Wed, Dec 01, 1999 at 03:59:44PM -0800, Sigbjorn Finne wrote:
I don't see a good reason why hSelect couldn't be changed to take
a TimeVal, as you suggest:
data TimeVal
= TimeVal { tv_sec :: Int
, tv_usec :: Int
}
I would either rely on
Hello!
On Wed, Sep 15, 1999 at 05:48:30AM -0700, Simon Marlow wrote:
[...]
- gcc 2.95 compatibility
What's that specifically?
I ask, because I'm using OpenBSD, and am usually bootstrapping
new versions with an old 3.02 installation, because of the
occasional problems with compiling
Hello!
On Tue, Sep 14, 1999 at 03:55:39AM -0700, Simon Marlow wrote:
[...]
- BugZilla (the Mozilla bug tracker). Web/CGI based,
uses an SQL database. Does just about everything
under the sun, probably a bit heavyweight for us.
Does anyone have any experience with
Hello!
On Sun, Apr 18, 1999 at 01:23:49AM +0200, Thomas Hallgren wrote:
Has anyone already got Fudgets to compile with GHC?
Yes, a few weeks ago made the neccessary changes to the fudgets library for
Haskell 98 compatibility and updated the low level stuff (Xlib interface,
etc) written to
16 matches
Mail list logo