Peter Verswyvelen <[EMAIL PROTECTED]> writes:
> Most research papers have the same layout: two columns per A4
> page. They mostly come as PDF or PS.
I think it is (more and more) common these days for journals to
publish an HTML version on their web site. Otherwise I'd suggest
e-mailing the auth
On Nov 20, 2007, at 3:25 , Ketil Malde wrote:
"Brandon S. Allbery KF8NH" <[EMAIL PROTECTED]> writes:
Only up to a point; not all programs written using such libraries are
necessarily going to end up on hackage. (Consider the code written
by the financials folks that have been mentioned here
Thank you, that's perfect.
Jim
stefan kersten-2 wrote:
>
> On 16.11.2007, at 13:55, Jim Burton wrote:
>> The docs say "Should be of the form http://host:port, host,
>> host:port, or
>> http://host"; but none of the variations work. Any ideas where I
>> might find
>> an example of code that
Simon Peyton-Jones <[EMAIL PROTECTED]> writes:
> * Hardest of all: evolution. Both GHC's user manual and library docs
> change every release. Even material that doesn't change can get moved
> (e.g. section reorganisation). We don't want to simply discard all
> user notes! But it's hard to know
On Mon, 2007-11-19 at 20:22 -0600, Nicolas Frisby wrote:
> On Nov 19, 2007 4:16 PM, Duncan Coutts <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, 2007-11-19 at 13:39 -0800, Don Stewart wrote:
> > > nicolas.frisby:
>
> *snip*
>
> > > >
> > > >1) The fact that serialisation is fully strict for 32760
On Mon, 2007-11-19 at 20:06 -0600, Nicolas Frisby wrote:
> In light of this discussion, I think the "fully spine-strict list
> instance does more good than bad" argument is starting to sound like a
> premature optimization. Consequently, using a newtype to treat the
> necessarily lazy instances as
On Mon, 2007-11-19 at 23:18 -0200, Felipe Lessa wrote:
> Hello,
>
> I'd like to start a project using Gtk2Hs and one thing is concerning
> me: what's the current approach on writing portable and translatable
> GUI programs in Haskell?
For the simple case of translating strings in a .glade UI, gla
> | > the php documentation has "user contributed notes"
> | > http://www.php.net/manual/en/introduction.php
> | > I think this is a very nice feature.
>
>
> * Hardest of all: evolution. Both GHC's user manual and
> library docs change every release. Even material that
> doesn't change can ge
"Brandon S. Allbery KF8NH" <[EMAIL PROTECTED]> writes:
>> Kind of like Google PageRank for libraries.
Yes.
> Only up to a point; not all programs written using such libraries are
> necessarily going to end up on hackage. (Consider the code written
> by the financials folks that have been mentio
| > the php documentation has "user contributed notes" where people can leave
| > sniplets of useful code as comments, eg
|
| > http://www.php.net/manual/en/introduction.php
|
| > I think this is a very nice feature.
|
| I would love to have this on haskell, especially because the
| documentation o
Hi,
> * Hardest of all: evolution. Both GHC's user manual and library docs change
> every release. Even material that doesn't change can get moved (e.g. section
> reorganisation). We don't want to simply discard all user notes! But it's
> hard to know how to keep them attached; after all th
Simon Peyton-Jones wrote:
| > the php documentation has "user contributed notes" where people can leave
| > sniplets of useful code as comments, eg
|
| > http://www.php.net/manual/en/introduction.php
|
| > I think this is a very nice feature.
|
| I would love to have this on haskell, especially b
On Monday 19 November 2007 22:12, Don Stewart wrote:
> Check the thesis on Frag for a pure approach, or just use StateT IO.
Has Frag been fixed to work on x86-64?
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e
___
Hello Brandon,
Tuesday, November 20, 2007, 1:15:34 AM, you wrote:
>>> The ability to "vote" on packages might be interesting here. If
>>> there's 4 HTML libraries and one of them gets lots of votes, it's
>>> probably the one to look at first.
it can be made easy and automatic by just publishing
Hi,
I have same problem.
> Hm, this actually is supposed to work. Could you please re-run this
> procedure with the original path and with maximum verbosity? I.e.:
>
> > runhaskell Setup configure -v3
Here is the problem:
D:\private\haskell\MaybeT-0.1.0>runghc Setup.hs configure -v3
Configu
Hello Andrew,
Monday, November 19, 2007, 10:47:49 PM, you wrote:
> - (And, since I'm on Windows, I can't seem to get anything to install
> with Cabal...)
with ghc 6.4/6.6 and their built-in Cabal version, i never seen
problems. sorry, can't say anything about 6.8 and new Cabal
--
Best regards,
Dimitry Golubovsky wrote:
If I have
callCC $ \exit -> do
foo
...
I cannot jump to `exit' from within foo unless `exit' is given to foo
as an argument.
As Derek Elkins has written, one of the options is to use delimited
continuations, see
http://research.microsoft.com/~simonpj/papers/cont
On Mon, 2007-11-19 at 21:49 -0800, Bryan O'Sullivan wrote:
> Neil Mitchell wrote:
>
> >> - The packages seem to be of quite variable quality. Some are excellent,
> >> some are rather poor (or just not maintained any more).
> >
> > The problem is that only one person gets to comment on the quality
On Tue, 2007-11-20 at 13:45 +0300, Bulat Ziganshin wrote:
> Hello Brandon,
>
> Tuesday, November 20, 2007, 1:15:34 AM, you wrote:
>
> >>> The ability to "vote" on packages might be interesting here. If
> >>> there's 4 HTML libraries and one of them gets lots of votes, it's
> >>> probably the one
I upgraded from GHC 6.6.1 to 6.8.1 and around that time I noticed that
the output from an app I am working on changed. I have distilled the
code down to the following example that produces different output
depending on whether it is compiled with -O2 or not:
main = do
let (T x) = read "T 3"
Chris,
You answer was quite a bit more than I expected for a simple style
question. Thanks.
On Nov 19, 2007 12:27 PM, ChrisK <[EMAIL PROTECTED]> wrote:
> The data dependency is circular.
Yes, thus the need for the knot. I gather your answer to my style question
is you prefer knot tying over
On Mon, 2007-11-19 at 10:25 -0800, brad clawsie wrote:
> i would categorize myself as a purely practical programmer. i enjoy
> using haskell for various practical tasks and it has served me
> reliably. one issue i have with the library support for practical
> problem domains is the half-finished st
On Nov 19, 2007 11:42 AM, apfelmus <[EMAIL PROTECTED]> wrote:
> Thanks. The interesting case of nested blocks still needs to be
> specified, but with this description in mind and judging from the code,
> I guess it behaves as follows: either a block fits entirely on the
> remaining line (no line b
Thanks for the feedback. Unfortunatly the Space Invaders game uses HGL,
which is not supported on Windows anymore. Is it supported on Linux?
Frag does compile and run on Windows using GHC 6.6.1, so that might be a
better starting point.
What is the current consensus regarding (A)FRP? Is it a
> I would like to compare this to the GNOME development platform. It has
> Gtk+ at it's hart but GNOME releases are not synchronised with Gtk+
> releases. The GNOME development platform consists of a collection of
> standard packages. The collection is released on a time-based schedule,
> not a fea
On Tue, Nov 20, 2007 at 08:55:47AM +, Simon Peyton-Jones wrote:
> But we're just not sure how to do it:
>
> * What technology to use?
>
> * Matching up the note-adding technology with the existing
> infrastructure - GHC's user manual starts as XML and is generated into
> HTML by DocBook - In c
Yes, those are good points. Maybe adding functionality similar to plt's
planet http://planet.plt-scheme.org and
http://download.plt-scheme.org/doc/371/html/mzscheme/mzscheme-Z-H-5.html#node_sec_5.4
In plt scheme including a module, not present in the local repository
, but included via planet, res
good bug! -O or -O2 is irrelevant but it works if compiled with -fvia-C
You (or someone else) should add it to
http://hackage.haskell.org/trac/ghc
Christian
Brad Clow wrote:
> I upgraded from GHC 6.6.1 to 6.8.1 and around that time I noticed that
> the output from an app I am working on changed.
On Tue, 2007-11-20 at 12:33 +, Krzysztof Kościuszkiewicz wrote:
> On Tue, Nov 20, 2007 at 08:55:47AM +, Simon Peyton-Jones wrote:
>
> > But we're just not sure how to do it:
> >
> > * What technology to use?
> >
> > * Matching up the note-adding technology with the existing
> > infrastruct
Thank you very much for the error report. I have tracked down the cause.
You are searching against an empty Bytestring. This is now represented by
> -- | /O(1)/ The empty 'ByteString'
> empty :: ByteString
> empty = PS nullForeignPtr 0 0
And while the useAsCString and useAsCStringLen functions
Christian Maeder wrote:
good bug! -O or -O2 is irrelevant but it works if compiled with -fvia-C
You (or someone else) should add it to
http://hackage.haskell.org/trac/ghc
I guess that this is related to
http://thread.gmane.org/gmane.comp.lang.haskell.cafe/31675
Regards,
apfelmus
_
ChrisK wrote:
The data dependency is circular.
Yes and no. The input and outputs pairs are dependent on each other, but
the integer doesn't depend on the string. Thus, I'm pretty sure that
(Int, String) -> (Int, String)
can be refactored into
Int -> (Int, String -> String)
This is re
Thomas Schilling <[EMAIL PROTECTED]> writes:
>> I would advocate using a comment system that is similar to the one
>> at http://djangobook.com/.
> I'm pretty sure Brian O'Sullivan has written a Haskell implementation of
> this for the Real World Haskell book.
While the technology is there (or w
> > 2. How do you implement a program that is fundamentally about state
> > mutation in a programming language which abhors state mutation?
>
> Its not clear games are fundamentally about mutation, anymore than, say,
> window managers are. State we do with monads.
Indeed. Ignoring the concept of a
On Nov 20, 2007 9:36 AM, ChrisK <[EMAIL PROTECTED]> wrote:
> Thank you very much for the error report. I have tracked down the cause.
>
> You are searching against an empty Bytestring. This is now represented by
>
> > -- | /O(1)/ The empty 'ByteString'
> > empty :: ByteString
> > empty = PS null
> Interested in recruiting Haskell programmers from Chalmers/Gothenburg
> university? As an experiment, I am planning a recruitment event here in
> December-see www.jobs-in-fp.org for how to take part.
>
Just checked my calendar and all according to Murphy's law this had to be
the weekend when i'
[redirecting from [EMAIL PROTECTED]
apfelmus wrote:
[...]
> I wonder whether a multi parameter type class without fundeps/associated
> types would be better.
>
> class Fixpoint f t where
> inject :: f t -> t
> project :: t -> f t
>
[...]
> Interestingly, this even gives slightly short
On 11/20/07, Ian Lynagh <[EMAIL PROTECTED]> wrote:
>
>
> Hi Brad,
>
> I can't reproduce this. Can you please tell us what platform you are on
> (e.g. x86_64 Linux) and what gcc --version says?
>
> Also, where did your GHC come from, e.g. bindists from the download
> page, self-compiled?
>
> Also, a
Speaking of Tetris and Space Invaders, you might be interested in this project:
http://www.geocities.jp/takascience/haskell/monadius_en.html
It's a clone of Gradius written in Haskell.
-Nick
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http:
On Tue, 2007-11-20 at 16:00 +0100, Ketil Malde wrote:
> Thomas Schilling <[EMAIL PROTECTED]> writes:
>
> >> I would advocate using a comment system that is similar to the one
> >> at http://djangobook.com/.
>
> > I'm pretty sure Brian O'Sullivan has written a Haskell implementation of
> > this f
On 11/19/07, Andrew Coppin <[EMAIL PROTECTED]> wrote:
>
> Well, I just tried to install this, and as per usual, Cabal has having
> none of it.
>
> C:\fusion\> runhaskell Setup configure
> Configuring stream-fusion-0.1.1...
> Setup: ld is required but it could not be found.
>
Hi Andrew,
I had the
Hi Brad,
On Tue, Nov 20, 2007 at 09:50:02PM +1000, Brad Clow wrote:
>
> $ ./test
> 23
> 24
I can't reproduce this. Can you please tell us what platform you are on
(e.g. x86_64 Linux) and what gcc --version says?
Also, where did your GHC come from, e.g. bindists from the download
page, self-com
Greetings,
There are new version 0.82 and 0.93 of regex-posix. If you use regex-posix with
Data.ByteString then you should upgrade to obtain a fix for a crash error.
There are new version of regex-pcre available on hackage and the two darcs
repositories:
http://darcs.haskell.org/packages/regex-p
I was able to compile and play space invaders on linux.
Hours of fun for the whole family :)
thomas.
Peter Verswyvelen <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/20/2007 06:46 AM
Please respond to
[EMAIL PROTECTED]
To
Don Stewart <[EMAIL PROTECTED]>
cc
Haskell-Cafe
Subject
Re: [H
On Nov 20, 2007, at 5:45 , Bulat Ziganshin wrote:
Hello Brandon,
Tuesday, November 20, 2007, 1:15:34 AM, you wrote:
The ability to "vote" on packages might be interesting here. If
there's 4 HTML libraries and one of them gets lots of votes, it's
probably the one to look at first.
it can b
Ian Lynagh wrote:
>
> Hi Brad,
>
> On Tue, Nov 20, 2007 at 09:50:02PM +1000, Brad Clow wrote:
> >
> > $ ./test
> > 23
> > 24
>
> I can't reproduce this. Can you please tell us what platform you are on
> (e.g. x86_64 Linux) and what gcc --version says?
I see a bug that only affects x86_32.
The
Andrew Coppin wrote:
> 2. How do you implement a program that is fundamentally about state
mutation in a programming language which abhors state mutation?
Haskell taught me one thing (at least). The World is not mutating but it
is moving. Physics shows that no movement (no time) means no World
Krzysztof Kościuszkiewicz wrote:
I would advocate using a comment system that is similar to the one
at http://djangobook.com/.
That's an appealing idea, but the devil lies in the details.
I wrote just such a comment system for draft chapters of our book, and
it's seen a lot of use.
Howeve
On Nov 20, 2007 4:32 PM, Ian Lynagh <[EMAIL PROTECTED]> wrote:
>
> Hi Brad,
>
> On Tue, Nov 20, 2007 at 09:50:02PM +1000, Brad Clow wrote:
> >
> > $ ./test
> > 23
> > 24
>
> I can't reproduce this. Can you please tell us what platform you are on
> (e.g. x86_64 Linux) and what gcc --version says?
>
Hello brad,
Monday, November 19, 2007, 9:25:40 PM, you wrote:
> practical projects. the "batteries included" approach does imply
> choosing preferred solutions when more than one library is available,
> this can also be difficult. that said, i think haskell would pick up a
> lot of new coders if
At Mon, 19 Nov 2007 19:57:14 +,
Neil Mitchell wrote:
> All these PDF's are produced from a standard Latex class file. For
> all my papers I have the original source .tex files. I suspect
> you'll have more luck going from the original .tex rather than the
> PDF.
I would be especially neat if
Brad Clow wrote:
> I upgraded from GHC 6.6.1 to 6.8.1 and around that time I noticed that
> the output from an app I am working on changed. I have distilled the
> code down to the following example that produces different output
> depending on whether it is compiled with -O2 or not:
[...]
I've cre
At Mon, 19 Nov 2007 21:25:23 +,
Andrew Coppin wrote:
>
> If you were going to implement Tetris in Haskell, how would you do it?
>
> (For that matter, has anybody already *done* it? It would probably make
> a nice example program...)
A minimal openGL haskell tetris clone:
http://haskell-tet
jon:
> On Monday 19 November 2007 22:12, Don Stewart wrote:
> > Check the thesis on Frag for a pure approach, or just use StateT IO.
>
> Has Frag been fixed to work on x86-64?
Not that I'm aware of -- it lacks a game head maintainer
___
Haskell-Cafe mai
jeremy.shaw:
> At Mon, 19 Nov 2007 21:25:23 +,
> Andrew Coppin wrote:
> >
> > If you were going to implement Tetris in Haskell, how would you do it?
> >
> > (For that matter, has anybody already *done* it? It would probably make
> > a nice example program...)
>
> A minimal openGL haskell te
haskell:
> Thank you very much for the error report. I have tracked down the cause.
>
> You are searching against an empty Bytestring. This is now represented by
>
> > -- | /O(1)/ The empty 'ByteString'
> > empty :: ByteString
> > empty = PS nullForeignPtr 0 0
>
> And while the useAsCString an
[note, the thread is almost a month old]
Bernie Pope wrote:
>
> On 23/10/2007, at 8:09 AM, Thomas Hartman wrote:
>>
>> (Prelude sort, which I think is mergesort, just blew the stack.)
>
> GHC uses a "bottom up" merge sort these days.
>
> It starts off by creating a list of singletons, then it repe
Jeremy Shaw wrote:
http://haskell-tetris.pbwiki.com/Main
A minimal openGL haskell tetris clone:
Neat! I shall have to give this a try...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Don Stewart wrote:
andrewcoppin:
If you were going to implement Tetris in Haskell, how would you do it?
(For that matter, has anybody already *done* it? It would probably make
a nice example program...)
http://haskell.org/haskellwiki/Applications_and_libraries/Games
ASCII tetris
Hi,
> (Nitpick: Don't you need Gtk2hs in order to *use* OpenGL? I mean, you
> have to open a window to render into somehow, and that's outside the
> OpenGL standard...)
You have GLUT library for just that:
http://www.haskell.org/ghc/docs/latest/html/libraries/GLUT-2.1.1.1/Graphics-UI-GLUT.html
On Tue, Nov 20, 2007 at 07:27:48PM +, Andrew Coppin wrote:
> (Nitpick: Don't you need Gtk2hs in order to *use* OpenGL? I mean, you have
> to open a window to render into somehow, and that's outside the OpenGL
> standard...)
You need *something*, but it need not be Gtk. GLUT and GLX will als
On 11/20/07 7:35 AM, Thomas Schilling wrote:
> On Tue, 2007-11-20 at 16:00 +0100, Ketil Malde wrote:
>> Thomas Schilling <[EMAIL PROTECTED]> writes:
>>
>> I can all to easily imagine a situation where any documentation is
>> riddled with a plethora of notes, questions, answers, comments etc,
>> wit
On Nov 20, 2007 10:41 AM, nick ralabate <[EMAIL PROTECTED]> wrote:
> Speaking of Tetris and Space Invaders, you might be interested in this
> project:
>
> http://www.geocities.jp/takascience/haskell/monadius_en.html
>
> It's a clone of Gradius written in Haskell.
>
>
> -Nick
It's a fun enough gam
Duncan Coutts wrote:
On Mon, 2007-11-19 at 19:40 -0600, J. Garrett Morris wrote:
Reproduced on mine too, I think I always have added that to the PATH as well.
Same here, I've also always had to add gcc-lib to the PATH.
I've pushed what I think is a fix. It now works for me on w
Stefan O'Rear wrote:
On Tue, Nov 20, 2007 at 07:27:48PM +, Andrew Coppin wrote:
(Nitpick: Don't you need Gtk2hs in order to *use* OpenGL? I mean, you have
to open a window to render into somehow, and that's outside the OpenGL
standard...)
You need *something*, but it need not be G
Hi
> It's a fun enough game under Wine, but has anyone managed to get it to
> compile under Linux? I tried but couldn't, and the associated makefile
> seems to be very Windows-specific.
It's not makefile that is specific but c file for Audio: stub.c
It compiles without problem:
ghc --make Main
Brandon S. Allbery KF8NH wrote:
On Nov 20, 2007, at 5:45 , Bulat Ziganshin wrote:
it can be made easy and automatic by just publishing "number of
downloads" on hackage
So if I download all 4 HTML libs to try to figure out which one fits
best, I mod all four up? Seems wrong to me.
Also se
> As far as I'm aware, GLUT isn't available for Windows. (Or rather, I
> tried it once, and it wasn't happy at all. And after some Google
> searching, I found it's not around any more.)
GLUT should work fine on windows, but another alternative is SDL,
which works on Windows, GNU/Linux, and Mac
Th
On 11/20/07, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
>
> Using GHC 6.8.1 on Windows XP, after having used ghc-pkg to expose '
> directory-1.0.0.0', I am getting an error when I build haddock that says
> the package is hidden. When I type "ghc-pkg list", the package is not in
> parenthesis. Typ
Aaron Denney wrote:
On 2007-11-19, Andrew Coppin <[EMAIL PROTECTED]> wrote:
As I understand it, it's widely recognised that Haskell's current
numeric class hierachy is broken (or at best, not very well chosen), but
nobody came up with a better suggestion yet.
Oh, there are /lots/ of s
Duncan Coutts wrote:
I would like to compare this to the GNOME development platform. It has
Gtk+ at it's hart but GNOME releases are not synchronised with Gtk+
releases. The GNOME development platform consists of a collection of
standard packages. The collection is released on a time-based schedu
On Nov 21, 2007 1:32 AM, Ian Lynagh <[EMAIL PROTECTED]> wrote:
> I can't reproduce this. Can you please tell us what platform you are on
> (e.g. x86_64 Linux) and what gcc --version says?
Mac OS X 10.4.11
$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
2007/11/20, Bit Connor <[EMAIL PROTECTED]>:
> > As far as I'm aware, GLUT isn't available for Windows. (Or rather, I
> > tried it once, and it wasn't happy at all. And after some Google
> > searching, I found it's not around any more.)
>
> GLUT should work fine on windows, but another alternative i
2007/11/20, Gwern Branwen <[EMAIL PROTECTED]>:
> On Nov 20, 2007 10:41 AM, nick ralabate <[EMAIL PROTECTED]> wrote:
> > Speaking of Tetris and Space Invaders, you might be interested in this
> > project:
> >
> > http://www.geocities.jp/takascience/haskell/monadius_en.html
> >
> > It's a clone of G
>> Why does GHC still think the package is hidden?
> You need to add "directory" to the Build-Depends instruction in the cabal
file
Thanks Olivier. Haddock now builds with this list for 'build-depends':
base>=1.0, haskell98>=1.0, directory>=1.0, process>=1.0, containers>=0.1,
array>=0.1, pretty>
On Tue, 2007-11-20 at 12:03 -0800, Keith Fahlgren wrote:
> On 11/20/07 7:35 AM, Thomas Schilling wrote:
> > On Tue, 2007-11-20 at 16:00 +0100, Ketil Malde wrote:
> >> Thomas Schilling <[EMAIL PROTECTED]> writes:
> >>
> >> I can all to easily imagine a situation where any documentation is
> >> riddl
I've written a small program using the gtk2hs library and it crashes at
unpredictable times with X windows errors like the one below. I looked for the
messages online and found various people talking about buggy gtk libraries but
no clear solutions. I don't know a lot about X windows or what t
On Tue, Nov 20, 2007 at 03:18:03PM -0800, Gregory Propf wrote:
> I've written a small program using the gtk2hs library and it crashes at
> unpredictable times with X windows errors like the one below. I looked for
> the messages online and found various people talking about buggy gtk
> librarie
I implemented Tetris in LML long before Haskell existed.
It was text based, but looked good with a custom font. :)
Haskell has no problem with state, it's just explicit.
-- Lennart
On Nov 19, 2007 9:25 PM, Andrew Coppin <[EMAIL PROTECTED]> wrote:
> If you were going to implement Tetris in Has
Does anyone know if the new System.Timeout.timeout combinator can wakeup from
System.Process.waitForProcess? I have not been able to make this work, and
it appears as though the timeout exception is thrown only after
waitForProcess returns normally (if it ever does). I am using Windows and
GHC 6.8
Tim Bauer wrote:
Does anyone know if the new System.Timeout.timeout combinator can wakeup from
System.Process.waitForProcess?
No, this is expected behaviour per the documentation:
"The technique works very well for computations executing inside of the
Haskell runtime system, but it doesn't wo
On Tue, 2007-11-20 at 19:18 -0500, Alex Jacobson wrote:
> When you want automated deriving of show/read etc., you need all the
> components of your type also to be instances of show/read but you won't
> want to *require* them to be automatically generated verions.
>
> Standalone deriving does th
On Tue, 2007-11-20 at 15:18 -0800, Gregory Propf wrote:
> I'm using the Gtk.timeoutAddFull function to do the animation.
Are you using the threaded rts? Are you linking the program with
-threaded?
Are you doing the drawing directly in the timeout function or just
invalidating the window/widget an
On Nov 20, 2007 4:14 PM, Radosław Grzanka <[EMAIL PROTECTED]> wrote:
> 2007/11/20, Gwern Branwen <[EMAIL PROTECTED]>:
>
> > On Nov 20, 2007 10:41 AM, nick ralabate <[EMAIL PROTECTED]> wrote:
> > > Speaking of Tetris and Space Invaders, you might be interested in this
> > > project:
> > >
> > > htt
Moreover, functional programming makes it easy to have much more state than
imperative programming, namely state over *continuous* time. The temporally
discrete time imposed by the imperative model is pretty puny in comparison.
Continuous (or "resolution-independent") time has the same advantages
Hi,
I would like to get a string for a number
using always 2 digits (i.e., 75 would be
"75", 3 would became "03"). What is the
best way to do that? I tried
printf "%02d\n" 3
which gives me the correct string, but
ghci always ends that call with a
*** Exception: Prelude.undefined
message. What
briqueabraque:
> Hi,
>
> I would like to get a string for a number
> using always 2 digits (i.e., 75 would be
> "75", 3 would became "03"). What is the
> best way to do that? I tried
>
> printf "%02d\n" 3
>
> which gives me the correct string, but
> ghci always ends that call with a
>
> *** Exc
On Nov 20, 2007 7:07 PM, Don Stewart <[EMAIL PROTECTED]> wrote:
> You can work around it for now with:
>
> Prelude Text.Printf> printf "%02d\n" 3 >> return ()
> 03
It may be simpler to specify the type explicitly:
Prelude Text.Printf> printf "%02d\n" 3 :: IO ()
03
Shachaf
___
On Tue, 2007-11-20 at 13:22 +0200, Gleb Alexeyev wrote:
> Dimitry Golubovsky wrote:
>
> > If I have
> >
> > callCC $ \exit -> do
> > foo
> > ...
> >
> > I cannot jump to `exit' from within foo unless `exit' is given to foo
> > as an argument.
> >
> As Derek Elkins has written, one of the op
duncan.coutts:
> On Tue, 2007-11-20 at 19:18 -0500, Alex Jacobson wrote:
> > When you want automated deriving of show/read etc., you need all the
> > components of your type also to be instances of show/read but you won't
> > want to *require* them to be automatically generated verions.
> >
> >
We're pleased to invite you to SingHaskell:
What is SingHaskell?
Sing(apore)Haskell is a Haskell (and related languages) meeting in
Singapore. The meeting is organized by Tom Schrijvers and Martin Sulzmann
and will be hosted by the National University of Singapore.
Date and location
Sing(a
Tom.Schrijvers:
>
> We're pleased to invite you to SingHaskell:
>
> What is SingHaskell?
>
> Sing(apore)Haskell is a Haskell (and related languages) meeting in
> Singapore. The meeting is organized by Tom Schrijvers and Martin Sulzmann
> and will be hosted by the National University of Singapo
Andrew Coppin wrote:
GLUT and GLX will also work, and at least the former has a Haskell
binding.
As far as I'm aware, GLUT isn't available for Windows. (Or rather, I
tried it once, and it wasn't happy at all. And after some Google
searching, I found it's not around any more.)
As far as I
93 matches
Mail list logo