:52 AM, Hong Yang hyang...@gmail.com wrote:
Hi,
I got an error if one of lines reads --++ bla bla bla where I tried to
comment, but -- ++ bla bla bla (notice the space after --) is OK.
Do you think this revealed a tiny bug in the GHC compiler (I am using
Windows Haskell Platform 2009.2.0.2
Good libraries are not enough for a language to go beyond mere existence.
There must exist good documents, i.e., good tutorials, good books, and good
explanations and examples in the libraries, etc, that are easy for people to
learn and use. In my humble opinion, Haskell has a lot of libraries,
A Cook Book is good but relies on people specifically working on it. I think
most of the package authors submit their packages because they themselves
need the modules in his real world.
I think package authors adding examples in the Descriptions section is a
good start when they submit their
Excerpts from Günther Schmidt's message of Sun Sep 06 19:40:05 -0400 2009:
I keep accumulating values and right now use plain tuples for that. I end
up with a 12 element tuple and things are a bit messy.
Hi, you may want to consider using the Writer monad. [1]
I'd like to use extensible
Hi,
I want to move one object to the border of window, then go back to the start
point. Does anyone one have an idea to implement it ? Thank you!
___
好玩贺卡等你发,邮箱贺卡全新上线!
Does anyone have an idea how to use an instance to list all the functions of
type? Thank you!
___
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/___
Haskell-Cafe mailing list
oleg-at-pobox.com |haskell-cafe| wrote:
Yang wrote:
(Something like this is straightforward to build if I abandon
Concurrent Haskell and use cooperative threading, and if the
operations I wanted to perform could be done asynchronously.)
All operations could be done asynchronously, at least
- I want to set timeouts on various IO operations in an existing
library, ftphs. However, even if I wrap every call in `block`, it's
unclear whether ftphs has been coded to deal with asynchronous
exceptions, or whether state could be rendered inconsistent. Is there
any solution for this aside
To follow up on my previous post (Asynchronous Exceptions and the
RealWorld), I've decided to put together something more concrete in
the hopes of eliciting response.
I'm trying to write a library of higher-level concurrency
abstractions, in particular for asynchronous systems programming. The
this and try loading the emacs file and entering
haskell-refac-mode on a .hs buffer i get:
Can't exec program: /home/yang/tmp/pkg/pure/todo/HaRe_20012006/refactorer/pfe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
of the language. i believe other new
haskellers may relate to some of these issues.
thanks!
yang
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
per a previous thread, i addressed the 'package lang not found' issue
by changing the following lines to:
$ grep -rsn '\blang\b' . | grep Makefile
./happy/src/Makefile:27:SRC_HC_OPTS += #-package lang
./happy/tests/Makefile:62:HC_OPTS += -fglasgow-exts # -package lang
however i still get a
argh, still more build errors on various fronts. i'm using ghc-6.6 on
fedora core 5 unless otherwise noted. thanks in advance for help on
any of these.
a lot of this is part of my attempt to learn more about and play with
a high-level functional gui library (and, of course, for getting a
better
into this, it appears that either wxhaskell has recently
(judging from the docs on the official wxhaskell site) undergone a big
reorg, or i'm still missing some wxhaskell libs. does this mean that i
won't be able to get wxfruit working (without hacking it to update its
usage of wxhaskell)?
yang
On 1
( WXFruit.hs, WXFruit.o )
WXFruit.hs:81:31: parse error on input `-'
On 1/7/07, Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu
|haskell-cafe| ... wrote:
On Jan 7, 2007, at 20:54 , Yang wrote:
WXFruit.hs:12:17:
Could not find module `Graphics.UI.WX':
Hm. Did you install the whole thing
Hi, I'm at the moment writing a very simple function, spanM (a la
mapM). I realize that this is a rather general-purpose function, so
I'm wondering if I should submit this as a patch for MissingH. If so,
where in the new hierarchy should this be placed?
Thanks in advance.
Yang
On 10/8/06, Udo Stenzel u.stenzel-at-web.de |haskell-cafe|
... wrote:
Yang wrote:
type Poly = [(Int,Int)]
addPoly1 :: Poly - Poly - Poly
addPoly1 p1@(p1h@(p1c,p1d):p1t) p2@(p2h@(p2c,p2d):p2t)
| p1d == p2d = (p1c + p2c, p1d) : addPoly1 p1t p2t
| p1d p2d = p1h : addPoly1 p1t p2
feel free to give me feedback/refinements on my code
snippets. :)
Thanks a ton for any enlightenment!
Yang
Aside:
http://www.matthewmorgan.net/blog/archives/2004/10/07/haskell-performance.
This post brings up a most reasonable point (venturing off onto
tangent now) - space leaks are a much more
Dear Sir/Madam,
I am considering implement a system using Haskell. I
need to use database to manage data there. How can I
access the data records in database from Haskell?
Thanks for your advice!
Best Regards,
Dianne
__
Do You Yahoo!?
Try FREE
201 - 219 of 219 matches
Mail list logo