Re: [Haskell-cafe] Need help please.

2007-12-11 Thread Paul Johnson
Ryan Bloor wrote: hi I am writing a basic Parser from scratch. So far I have functions; I think you need to read http://www.cs.nott.ac.uk/~gmh/pearl.pdf Paul. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Need help please.

2007-12-11 Thread Thomas Hartman
] cc haskell-cafe@haskell.org Subject Re: [Haskell-cafe] Need help please. Ryan Bloor wrote: hi I am writing a basic Parser from scratch. So far I have functions; I think you need to read http://www.cs.nott.ac.uk/~gmh/pearl.pdf Paul. ___ Haskell

[Haskell-cafe] Need help please.

2007-12-09 Thread Ryan Bloor
hi I am writing a basic Parser from scratch. So far I have functions;# removeSpaces# match - which checks if a string is a substring of another# orParser which combines two parser's abilities# Basic pasrers like... parseInt, parseTrue, parseFalse, parseBoolusing the orParser on True and

Re: [Haskell-cafe] need help please [HOpenGL]

2006-05-06 Thread Sven Panne
Am Sonntag, 23. April 2006 04:49 schrieb Brian Hulley: Brian Hulley wrote: [...] Sorry I shouldn't have replied when I hadn't even tried it myself ;-) I don't think it is nearly so easy to display a bitmap from an image on file. If you look at the online version of the OpenGL redbook here

Re: [Haskell-cafe] need help please [HOpenGL]

2006-04-23 Thread Lemmih
On 4/23/06, enache alex [EMAIL PROTECTED] wrote: 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

[Haskell-cafe] need help please [HOpenGL]

2006-04-22 Thread enache alex
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

Re: [Haskell-cafe] need help please [HOpenGL]

2006-04-22 Thread Brian Hulley
: Saturday, April 22, 2006 11:10 PM Subject: [Haskell-cafe] need help please [HOpenGL] 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

Re: [Haskell-cafe] need help please [HOpenGL]

2006-04-22 Thread Brian Hulley
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