I am trying to print the data from a data type and also get the field
values. How would I reference those values if I am declaring a Show function.
I should probably use a class for this, but so far it is working.
I have something along the lines of this.
data SimplePlayer = SimplePlayer {
On Thu, 27 Sep 2007 11:41:00 -0700, Don Stewart wrote
bbrown:
I am trying to print the data from a data type and also get the field
values. How would I reference those values if I am declaring a Show
function.
I should probably use a class for this, but so far it is working.
I
I am going to be doing a lot of opengl stuff in haskell and so far one thing
has irked me. Why does haskell keep the GLFloat and GL types and not just
the Haskell types.
--
Berlin Brown
[berlin dot brown at gmail dot com]
http://botspiritcompany.com/botlist/?
If I have a set of haskell code and I create a directory with the source that
has the following imports.
(some_dir/MyLib.hs)
module MyLib where
And then I want to use that set of code at the top level directory, eg:
MyTest.hs
import MyLib
How would I compile with ghc such that it loads the
On Mon, 08 Oct 2007 17:41:12 +0200, apfelmus wrote
bbrown wrote:
This is more an aesthetics question, I have a simple opengl application
that
has a singleton like object I need to pass around to the display loop and
possibly to the keyboard action handler. (pseudo code)
data
Ok, sorry to bring this back up again. I asked before and kind of went to a
working linux system.
My question; On Win32, has anyone seen where you try to run the application
but the window will not stay open. There are no errors, the window with 3D
objects will not stay open. I was using
I have a project where I want to store a data structure on a file, binary or
ascii. And I want to use haskell to read and write the file. I will have
about half a million records so it would be nice if the format was able to
load quickly. I guess I could, but I kind of want to avoid using XML.
I am trying to use the HTTP library 3001 for ghc 6.8 and cant figure out how
to use a proxy to do a GET request as I am behind a proxy server. My thinking
is that I could use the setProxy method it looks like it returns a
BrowserAction? What do I do with that. Here is the current code (I
I am using the Data.Binary module and having some issues reading big endian
files (actually, just reading the file). I can read the header but not the
rest of the data which contains a set of row information. Also, go ahead and
make fun my style of coding.
Anyway, This is the my code and the
There seems to be an issue with the hsql-sqlite3. Anyone have a fix. Should
I use what is from darcs?
Index of /packages/archive/hsql-sqlite3/1.7/logs/failure
The Glorious Glasgow Haskell Compilation System, version 6.8.1
$ runhaskell Setup.lhs configure
Setup.lhs:7:33:
Module
On Mon, 4 Feb 2008 14:24:12 -0800, Don Stewart wrote
bbrown:
Is there a way to pass misc options to the cabal, ghc process.
I tried the following:
extra-libraries: sqlite3
extra-lib-dirs: C:\cygwin\lib
include-dirs:C:\cygwin\usr\include
ghc-options
Is there a way to pass misc options to the cabal, ghc process.
I tried the following:
extra-libraries: sqlite3
extra-lib-dirs: C:\cygwin\lib
include-dirs:C:\cygwin\usr\include
ghc-options: -mno-cygwin
runhaskell Setup.lhs build --ghc-options=-mno-cygwin
On Mon, 4 Feb 2008 17:27:30 -0500, bbrown wrote
On Mon, 4 Feb 2008 14:24:12 -0800, Don Stewart wrote
bbrown:
Is there a way to pass misc options to the cabal, ghc process.
I tried the following:
extra-libraries: sqlite3
extra-lib-dirs: C:\cygwin\lib
13 matches
Mail list logo