On 8861 day of my life Mike Thomas wrote:
> Hi Miren.
>
> | Is that a good option? How can I use the wxHaskell libraries with GHC?
> | I´m working under Windows XP.
>
> Check out wxHaskell:
>
> http://wxhaskell.sourceforge.net/
Does it work under Windows?
One of my friends tried it under Windows,
Hi Miren,
As I need to implement a graphical interface, I was thinking of using
wxHaskell.
Is that a good option? How can I use the wxHaskell libraries with GHC?
I´m working under Windows XP.
Yes, wxHaskell is a good option.
As far as I know there are two options for writing GUIs that run under
Wi
See my next letter -- about compiling of
minimum [1 .. (10^6)]
with -O.
Because, I think, [1 .. (10^6)] is a program which interferes with
`minimum', and it depends much on how cleverly this whole expression
is complied, for example, `minimum' is in-lin
Serge D. Mechveliani wrote:
The library functions like minimum, maximum,
should perform in a constant space: probably, it is easy to write
them his way.
And ghc-6.2.2-pre shows
Prelude> minimum [1 .. (10^4)]
1
Prelude> minimum [1 .. (10^6)]
*** Exception: stack overflow
Prelude>
What do
I encountered the same problem as this guy:
http://www.haskell.org/pipermail/glasgow-haskell-users/2002-May/003407.html
It is still present in GHC-6.2.1. Only if you turn on -fglasgow-exts the
RULES pragma is parsed correctly. I think GHC should give a warning like
"turn -fglasgow-exts on for RU
"Serge D. Mechveliani" <[EMAIL PROTECTED]> writes:
> The library functions like minimum, maximum, should perform in a
> constant space: probably, it is easy to write them his way.
I haven't given it much thought, but it seems that the rather obvious:
Prelude> minimum [1..10^6]
*** Except
I wrote recently
> Prelude> minimum [1 .. (10^4)]
> 1
> Prelude> minimum [1 .. (10^6)]
> *** Exception: stack overflow
But if the code for [1 .. (10^...)]
is compiled, and compiled by -O, then this improves.
So, I do not know, so far, whether GHC is in any trouble here.
--
Dear GHC developers,
The library functions like minimum, maximum,
should perform in a constant space: probably, it is easy to write
them his way.
And ghc-6.2.2-pre shows
Prelude> minimum [1 .. (10^4)]
1
Prelude> minimum [1 .. (10^6)]
*** Exception: stack overflow
Prelude>
What d