2008/2/24, Daniel Fischer [EMAIL PROTECTED]:
Hi all,
I try not to be too rude, although I'm rather disgusted.
I know there are several sites out on the web where solutions to PE problems
are given. That is of course absolutely against the sporting spirit of
Project Euler,
Actually, I've
Hi,
I'm developing toy application to learn HDBC. I have problem with
doing relations mapping. Actually I don't know is it a problem or
feature. ;)
Anyway, I have two tables with relation between them:
(this example is simplified to the whole structure of database, you can imagine)
CREATE
Hi,
2007/12/3, PR Stanley [EMAIL PROTECTED]:
Hi
Does the list consider
http://en.wikibooks.org/w/index.php?title=Haskell/Understanding_monadsoldid=933545
a reliable tutorial on monads and, if not, could you recommend an
onlien alternative please?
I really enjoyed All about Monads by Jeff
2007/12/3, Albert Lee [EMAIL PROTECTED]:
I have been confussed by monad for a long time. and I can't stand for
it any more. so I start to translate the tutorial All About Monads
to my mother language Chinese.
My English is not good enough, so this work is only for my own study~
I know there
2007/11/23, Paulo J. Matos [EMAIL PROTECTED]:
Hi all,
I'm curious about the best way to typeset haskell code in a wordpress
blog. Using blockquote removes all indentation. :-(
I'm using geshi with wordpress on my blog (codeside.org) and drupal
(upcoming haskell.pl page). But you have to
Hi,
Is there any plugin system for haskell? For example, in Java, I can
load all compiled classes from given directory, check their interfaces
and run some methods through reflection etc. Is it possible in
haskell, to load modules from given directory, and if in module there
is instance of class
Hi,
Thanks for answer.
There are two libs that I'm aware of.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/plugins-1.0
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/metaplug-0.1.
1
Unfortunatly former needs gcc, latter does not compile . I will have
to install
2007/11/22, Claus Reinke [EMAIL PROTECTED]:
Is there any plugin system for haskell? For example, in Java, I can
load all compiled classes from given directory, check their interfaces
and run some methods through reflection etc. Is it possible in
haskell, to load modules from given
2007/11/21, Conal Elliott [EMAIL PROTECTED]:
I've just started using OpenGL with wxHaskell, which is my favorite of the
Haskell GUI toolkits. (I like elegant interfaces.) So far, so good. If
anyone else is using that combination, I'd love to hear about it.
There are bindings for wxWidgets
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 they
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.0runghc Setup.hs configure -v3
Configuring
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
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
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 is SDL,
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 Gradius written
2007/11/19, brad clawsie [EMAIL PROTECTED]:
The problem is that only one person gets to comment on the quality of
a library, the author, who is about the least objective person.
by rolling certain libraries into a base distribution, i was implying
that there would be more eyeballs
Hi Benja,
Something like the following might feel cleaner, though:
maybeT :: Maybe a - MaybeT m a
maybeT = MaybeT . return
downloadFile :: String - MaybeT IO String
downloadFile s = maybeT (parseURI s) = liftIO . httpGet
This is even neater. However, I fail to implement this. It does not
2007/11/19, Ryan Ingram [EMAIL PROTECTED]:
I am pretty sure that the constructor MaybeT is exactly what you are looking
for.
newtype MaybeT m a = MaybeT (m (Maybe a))
therefore
MaybeT :: m (Maybe a) - MaybeT m a
I swear I tried it. I swear.. Why didn't it worked than and it works now??
Hello,
I am writing some toys programs to learn and try to apply Monads
properties (without success, I must say). Although I spent half a day
on this code:
http://hpaste.org/3957
I couldn't simplify (shorten) getStrip function. After reading Doing
it with class (
Hi Benja,
You can find MaybeT here:
http://www.haskell.org/haskellwiki/New_monads/MaybeT
Thank you, that you spent some time figuring this out. This is exacly
what I have expected. (This print was debug leftovers).
Now I will try to understand how exacly this works.
My big thanks to you
Hello again Bjorn,
This is now fixed and a new release with the fix is available from
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP-3001.0.1
You have left debug flag on in the library code.
Thanks,
Radek.
--
Codeside: http://codeside.org/
Przedszkole Miejskie nr 86 w
Hello,
I have a problem with Network.HTTP module
(http://www.haskell.org/http/) version 3001.0.0 . I have already
mailed Bjorn Bringert about it but I didn't get answer yet so maybe
someone here can help me. GHC v. 6.6.1 Ubuntu 7.10 x86_64 .
I have turned on debug flag.
Using get example
2007/11/13, Simon Peyton-Jones [EMAIL PROTECTED]:
| For technical reasons, GHCi can only support the *-form for modules
| which are interpreted, so compiled modules and package modules can
| only contribute their exports to the current scope. But it does mean
| the interpreter isn't
2007/11/8, Andrew Coppin [EMAIL PROTECTED]:
Anyway, I wrote a cute little test function for figuring out how each
kind of exception works:
Hi,
could you post your code for this cute test? I would be greatful.
Thanks,
Radek
P.S. Not that I can help, but I'd like to start learning this.
--
2007/11/9, Ryan Bloor [EMAIL PROTECTED]:
hi
Is there anyway to cut down this code and to not use auxillary functons,
but instead use pattern matching?
The code basically splits up a list 'rslis' into a list of lists - but so
each word is split up and the integers have been parsed. so
2007/11/8, Fernando Rodriguez [EMAIL PROTECTED]:
Hi,
This simple function definition that should rotate a list (put the first
item in the last place) fails with a rather cryptic error with ghc:
f :: [a] -[a] -[a]
f (w : ws) = ws : w
Couldn't match expected type `[a] - [a]'
against
2007/8/30, Tony Sloane [EMAIL PROTECTED]:
On 26/08/2007, at 10:07 AM, Jeremy Shaw wrote:
There is also an old project to port nhc98 to PalmOS -- not sure if it
is still active, or how far they got. AFAIK, nothing was ever
released.
Yes, we were working on this at Macquarie Uni. The
2007/8/26, Ulrich Vollert [EMAIL PROTECTED]:
Haskell could run on such a platform. Ofcourse this is completly
other way around in terms of power and memory. :)
But anyway, did anyone do it?
I compiled Hugs for my Sharp Zaurus SL-C3200 (http://www.trisoft.de)
which is a PDA with an ARM
It would be a very cool project to show that Haskell could run on such a
platform, making it easier to take advance of its awesome power J
It's funny. But 5 minutes ago I was thinking: did anyone compiled
haskell application for Palm (m68k and/or Arm) that runs on Palm OS? I
can literally quote
2007/8/19, Daniel C. Bastos [EMAIL PROTECTED]:
Any help is appreciated.
I also had problem with this exercise. However this was more Haskell
newbie problem :)
If you're feeling lost you can always try google and come up with this
blog with solutions to exercises from this book. You should find
Hello,
2007/8/16, Peter Verswyvelen [EMAIL PROTECTED]:
I wanted to do some experiments with HOpenGL, and one of the things I tried
is importing 3D models.
So I searched for a library that could do that, but besides Frag, who uses
the limited MD3 format, I did not find anything useful. Has
2007/8/9, Peter Verswyvelen [EMAIL PROTECTED]:
Indeed - the *hard* part seems to be figuring out how to run Glade on
Windoze...
I did not dare to ask this question because I could not believe this was
hard... So anybody know how to do this? Run Glade on Window$?
The google knows??
2007/8/9, Peter Verswyvelen [EMAIL PROTECTED]:
Yeah I tried that one, but only the runtime, because I assumed that glade
would be part of it, but I could not find it. I guess I should install the
development version. Windows users look differently at these things, they
expect all tools to
33 matches
Mail list logo