Well, now that we've started this discussion I presume it's okay if I
ask a few things. I don't know if these are good ideas, but I thought
I'd throw them out.
Basically, I am a student and would be eligible for the SoC.
I'd like to work on something related to numerics support or
performance in
[EMAIL PROTECTED] wrote:
Robert Dockins wrote:
One additional (very unfortunate) point is that higher-order IO monad
combinators will not work on your monad, eg, the ones in
Control.Exception.
Although that is true in general, for many useful and interesting
cases (including ReaderT, the
hello; I am writing to ask you a thing ; I am writing a little game on Haskell's HOpenGL ; the game isn't much , but I want to make look a little better ; and for that I want to use bitmaps (or textures) ; I don't know very much about this subject ; I've tried to use de bitmap function from
Hi -
I have the following code:
data MState = MState -- details omitted
type MonadStateMState = MonadState MState -- necessary for Haddock
newtype ManagerM a =
ManagerM (StateT MState IO a)
deriving (Monad, MonadIO, MonadStateMState)
which means that ManagerM is
Hi -
You could try something like:
import Foreign.Ptr
import Foreign.C.String
bmp - withCAString C:\1.bmp $ bitmap (Size (100,100)) (Vertex2 0 0)
(Vertex2 0 0)
and if that doesn't work try withCString or withCWString. I'm assuming that
the Ptr a in the docs is supposed to be a pointer to a
Brian Hulley wrote:
Hi -
You could try something like:
import Foreign.Ptr
import Foreign.C.String
bmp - withCAString C:\1.bmp $ bitmap (Size (100,100)) (Vertex2 0 0)
(Vertex2 0 0)
and if that doesn't work try withCString or withCWString. I'm
assuming that the Ptr a in the docs is supposed to