Am 25.08.2011 um 19:57 schrieb Andrew Coppin:
Is there a way to actually determine how many bits are in an Integer?
occupiedBits :: Integer - Int
occupiedBits = (+1) . truncate . logBase 2 . (+1)
Caveat: untested :-)
Cheers,
Gabor
___
Hi all,
I'd like to send a signal from the main thread to a forkOS-ed thread in
GHC. The former should use raiseSignal and the second should sit in
awaitSignal.
I figured that the posix functionality in the unix-2.3 library does not
cover this case.
I would have expected that
Am 18.11.2009 um 14:15 schrieb Svein Ove Aas:
On Wed, Nov 18, 2009 at 2:03 PM, Gabor Greif ga...@mac.com wrote:
PS: I guess some of you will say, use condition variables.
But that won't answer my question :-)
Actually, I was going to say use throwTo.
Is there som reason you have to use
Am 05.02.2008 um 21:27 schrieb Dan Weston:
Matthew,
Your SuperMonad seems remarkably similar to Gabor Greif's Thrist
datatype [1,2] reported only six days ago on this list [3].
Can you compare/contrast your class approach with his polymorphic
type approach? Or have I completely confused
Am 31.01.2008 um 01:23 schrieb [EMAIL PROTECTED]:
3. I believe the documentation stating that Haskell arrows are a
generalization of Haskell monads, but arrows are a categorical
thing too and in that context bear a much more distant relationship
to monads. Does a Haskell arrow have Hask
Am 31.01.2008 um 18:13 schrieb Dan Weston:
Even though you cannot dive into this matter now, maybe when you
get time you can update your blog with an explicit embedding of
Haskell monads and arrows in your Thrist construction. Concrete
examples will help me (and probably others) more
Am 23.05.2007 um 00:20 schrieb Ashley Yakeley:
I don't suppose you're familiar with the Dylan programming
language, or more to the point, have looked at the IDE that Apple
included in their original implementation of the language (around
1993 or so)? Characteristic of Apple of that time,
Am 06.05.2007 um 03:52 schrieb Rob Hoelz:
Sounds like a good idea to me. I'd like to see if any Haskellers are
in Madison.
Doesn't Google have a service for visualizing locations on a map?
The wiki could point there, for example...
Gabor