Hi Sebastian Sylvan,
Thank you very much! I thick the last column return a string because
of the Haskell Show function, for when I made test, I got such an
error message: Show ([SqlValue] - IO [[SqlValue]]). Any way, thank you
very much!
Deng Chao
在 2008-03-22六的 13:55 [EMAIL PROTECTED]
Send Haskell-Cafe mailing list submissions to
haskell-cafe@haskell.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/haskell-cafe
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than Re: Contents of Haskell-Cafe digest...
Today's Topics:
1. compile error with FFI code (Galchin Vasili)
2. doctest for haskell -- a good project? (Shaun Cutts)
3. Re: [GSoC] Plugins for GHC (Bulat Ziganshin)
4. Re: doctest for haskell -- a good project? (Roman Cheplyaka)
5. Re: doctest for haskell -- a good project? (Don Stewart)
6. Re: [GSoC] Plugins for GHC (Neil Mitchell)
7. Re: doctest for haskell -- a good project? (Neil Mitchell)
8. Re: An ugly zip3 problem.. (Michael Feathers)
9. Re: An ugly zip3 problem.. (Michael Feathers)
10. How to program with sqlite? (Deng Chao)
11. Re: doctest for haskell -- a good project? (Thomas Schilling)
12. Re: How to program with sqlite? (Sebastian Sylvan)
13. Re: doctest for haskell -- a good project? (Sebastian Sylvan)
14. HXT and types in Control.Arrow.ArrowTree (Robert Vollmert)
15. Opening Windows .lnk Files (Dominic Steinitz)
16. RE: doctest for haskell -- a good project? (Shaun Cutts)
17. Re: An ugly zip3 problem.. (Bryan O'Sullivan)
18. Re: doctest for haskell -- a good project? (Paul Johnson)
19. Re: AMQP framing layer: design help requested. (Paul Johnson)
20. Re: Problem with OpenAL (Antoine Latter)
21. Re: AMQP framing layer: design help requested. (Derek Elkins)
22. Re: Opening Windows .lnk Files (Neil Mitchell)
23. Re: doctest for haskell -- a good project? (Neil Mitchell)
24. Re: Opening Windows .lnk Files (Dominic Steinitz)
25. RE: doctest for haskell -- a good project? (Shaun Cutts)
--
Message: 1
Date: Fri, 21 Mar 2008 23:21:26 -0500
From: Galchin Vasili [EMAIL PROTECTED]
Subject: [Haskell-cafe] compile error with FFI code
To: Haskell-cafe haskell-cafe@haskell.org
Cc: Galchin Vasili [EMAIL PROTECTED]
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
Hello,
In my blah.hsc, I have allocbytes (#const (struct bozo)) .. where
struct bozo is a bunch of long int ,,, In the runhaskell Setup.hs build
step I get a nasty error message about an incomplete type. I have look at
many times but this error doesn't make sense to me. ??
Kind regards, Vasili
-- next part --
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/haskell-cafe/attachments/20080321/273d5ca0/attachment-0001.htm
--
Message: 2
Date: Sat, 22 Mar 2008 02:20:38 -0400
From: Shaun Cutts [EMAIL PROTECTED]
Subject: [Haskell-cafe] doctest for haskell -- a good project?
To: haskell-cafe@haskell.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
Hello,
I am an experienced programmer, currently learning Haskell. Currently I
write many things in python. I use both the doctest and unittest modules
extensively. As I write code, I simultaneously write doctest code in the doc
strings to explain/set out the typical narrative of how the code is used.
Then finishing off a module I write unittests for boundary conditions, more
complex test cases, and generally code that would be annoying to write
read in doctests.
I note that there is a unit testing framework for Haskell, but I don't see
any doctest module. Might this be a good project?
If so, suggestions as to resources would be greatly appreciated. I believe I
can't just introspect Haskell modules to get at documentation/comments,
like I can in python? (Why not? :)) I notice that there are a few
documentation generators. Should I try to write an extension of one of
these? Haddock, for instance? Are there any Haddock developers hanging out
on this list, to encourage or dissuade me? :) (And where is the Haddock doc
for Haddock?)
In any case, thanks in advance for any comments advice.
- Shaun Cutts
-- next part --
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/haskell-cafe/attachments/20080322/185fb821/attachment-0001.htm
--
Message: 3
Date: Sat, 22 Mar 2008 10:08:50 +0300
From: Bulat Ziganshin [EMAIL PROTECTED]
Subject: Re: [Haskell-cafe] [GSoC] Plugins for GHC
To: Max Bolingbroke [EMAIL