hi, im working ona project, and im having problem loading some code in
wxhaskell:
onOpen :: Frame a - TextCtrl b - MenuItem c - StatusField - IO ()
onOpen f sw mclose status = do mbfname - fileOpenDialog f False True Open
image fileTypescase
On Apr 11, 2008, at 6:15 AM, John Goerzen wrote:
I wonder if we could document this behavior. I rarely use non-
blocking I/O
from C, and Haskell hides the fact that it's doing this, so the
behavior is
non-intuitive.
I have run into this problem, with Network.Socket (socket). If I
The indentation is not right; all the statements after the 'do' keyword need
to start exactly at the same column. In particular, the 'f' in fileContent
and 's' in set should be one below the other. And the 'return ()' also seems
to be displaced; perhaps you want that also exactly below the last
The length calculation looked complicated. So I reformulated it as a comparison
using HasIndex. But ghc-6.8.2 was not inferring the recursive constraint on
proj, so I split proj into proj_unsafe without the constraint and proj with the
constraint checked only once. I also renamed ZT to Nil
On Saturday 12 April 2008, ChrisK wrote:
The length calculation looked complicated. So I reformulated it as a
comparison using HasIndex. But ghc-6.8.2 was not inferring the recursive
constraint on proj, so I split proj into proj_unsafe without the constraint
and proj with the constraint
Generic Haskell version 1.80 (Emerald)
==
We are happy to announce the fifth release of Generic Haskell,
an extension of Haskell that facilitates generic programming.
Generic Haskell includes the following features:
* type-indexed
On 12/04/2008, Thomas van Noort [EMAIL PROTECTED] wrote:
Generic Haskell includes the following features:
* type-indexed values -- generic functions that can be
instantiated on all Haskell data types.
^^^
I have perused the manual and wonder if parametric
Generic Haskell includes the following features:
* type-indexed values -- generic functions that can be
instantiated on all Haskell data types.
How come I haven't ever heard about such a thing?!
___
Haskell-Cafe mailing list
Hi!
I don't understand something in there :
pj-lester-book :
Implementing functional languages: a tutorial
by Simon Peyton Jones and David Lester,
available at http://research.microsoft.com/~simonpj/Papers/pj-lester-book/
eval/apply :
Making a Fast Curry: Push/Enter vs. Eval/Apply for
Hello Miguel,
Saturday, April 12, 2008, 5:54:45 PM, you wrote:
How come I haven't ever heard about such a thing?!
it's an overview of generic haskell programming systems:
http://dfa.imn.htwk-leipzig.de/~waldmann/draft/meta-haskell/second.pdf
ask here about final version of this paper
--
Best
Hello Bulat,
Saturday, April 12, 2008, 6:10:04 PM, you wrote:
it's an overview of generic haskell programming systems:
found longer paper myself:
Comparing Approaches to Generic Programming in Haskell
http://www.cs.uu.nl/~johanj/publications/ComparingGP.pdf
--
Best regards,
Bulat
On Fri, Apr 11, 2008 at 4:45 PM, Galchin, Vasili [EMAIL PROTECTED]
wrote:
Right I am just trying to rebuild the unix package. No matter what version
is present in the unix.cabal file,
runhaskell Setup.hs configure
produces an error concerning unix-2.3.0.0
Have you tried doing a
]
[EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs configure
unknown package: unix-2.3.0.0
I suggested this in my other message, before I saw this one, but just to be
sure: does it help to do 'runhaskell Setup.hs clean' before doing the
configure step?
-Brent
That's a good question. Unfortunately, only Haskell98 types are currently
supported by the Generic Haskell compiler.
But at first sight, implementing support for parametric types with class
constraints is not too hard. Class constraints of a parametric type need
to be propagated to its generated
[EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs cleanup
unknown package: unix-2.3.0.0
no it doesn't.
Vasili
On Sat, Apr 12, 2008 at 9:20 AM, Brent Yorgey [EMAIL PROTECTED] wrote:
]
[EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs
configure
unknown
On Apr 12, 2008, at 12:27 , Galchin, Vasili wrote:
[EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs
cleanup
unknown package: unix-2.3.0.0
no it doesn't.
I suspect the Cabal stuff has a dependency on the unix package (at
least on POSIXish systems, probably via the
I was afraid of the install. Hopefully with the Ubuntu package manager it
will be fairly painless.
Thanks, Vasili
On Sat, Apr 12, 2008 at 11:30 AM, Brandon S. Allbery KF8NH
[EMAIL PROTECTED] wrote:
On Apr 12, 2008, at 12:27 , Galchin, Vasili wrote:
[EMAIL
On 12/04/2008, Thomas van Noort [EMAIL PROTECTED] wrote:
That's a good question. Unfortunately, only Haskell98 types are currently
supported by the Generic Haskell compiler.
I thought constrained types were Haskell 98, but now I'm in doubt...
But at first sight, implementing support for
On 12/04/2008, Thomas van Noort [EMAIL PROTECTED] wrote:
That's a good question. Unfortunately, only Haskell98 types are
currently
supported by the Generic Haskell compiler.
I thought constrained types were Haskell 98, but now I'm in doubt...
I'm not 100% sure either, but according to the
On Apr 12, 2008, at 13:33 , Thomas van Noort wrote:
On 12/04/2008, Thomas van Noort [EMAIL PROTECTED] wrote:
That's a good question. Unfortunately, only Haskell98 types are
currently
supported by the Generic Haskell compiler.
I thought constrained types were Haskell 98, but now I'm in
Now I have sdl-config, but still not able to build.
Does *anyone* have the SDL package running on Windows?
If not, is GLFW the recommended cross-platform GL toolkit?
Thanks, - Conal
On Fri, Apr 11, 2008 at 8:55 PM, Luke Palmer [EMAIL PROTECTED] wrote:
2008/4/11 Conal Elliott [EMAIL
On Apr 12, 2008, at 9:48 PM, Conal Elliott wrote:
If not, is GLFW the recommended cross-platform GL toolkit?
Don't forget there is GLUT as well.
– Jake___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On 13/04/2008, at 12:09 AM, minh thu wrote:
Hi!
I don't understand something in there :
pj-lester-book :
Implementing functional languages: a tutorial
by Simon Peyton Jones and David Lester,
available at http://research.microsoft.com/~simonpj/Papers/pj-
lester-book/
eval/apply :
Making a
1) I did an Ubuntu purge followed by an install. Afterwards I rebuilt ghc
6.8.2. The same d*mn unknown package: unix-2.3.0.0 message when I try to
build
unix
and
bytestring via runhaskell Setup.hs configure.
2) This strongly looks like the package database manager, i.e. ghc-pkg.
Source
24 matches
Mail list logo