On Fri, Sep 5, 2008 at 1:05 PM, Janis Voigtlaender
[EMAIL PROTECTED] wrote:
See John's comment, right there in the online version:
The system that generated this webpage didn't have HDBC installed at
the time. We'll get that fixed and re-post this chapter. In the
meantime, unfortunately, all
Bryan == Bryan O'Sullivan [EMAIL PROTECTED] writes:
Bryan Other tech books face the same problem, which, if they sell
Bryan successfully and the authors haven't moved into caves afterwards
Bryan to recover, they address with subsequent editions. If readers
Bryan find that specific pieces of
In the online version of Real world Haskell, there's a problem with
examples in ghci when the module Database.HDBC.Sqlite3 is imported.
It goes on like this for all of chapter 21 and 22.
Example : ( note: this is not me trying to reproduce the examples,
it's an actual copy paste from the site
See John's comment, right there in the online version:
The system that generated this webpage didn't have HDBC installed at
the time. We'll get that fixed and re-post this chapter. In the
meantime, unfortunately, all of the examples on this page will look that
way.
david48 wrote:
In the online
Now that is real world - problems even before release!-)
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
There used to be a time when one could guess the poster's
Haskell book from their question topics:
- 'HGL'
On Fri, 2008-09-05 at 13:04 +0100, Claus Reinke wrote:
Now that is real world - problems even before release!-)
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
There used to be a time when one could guess the
On Fri, Sep 05, 2008 at 01:04:03PM +0100, Claus Reinke wrote:
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
There used to be a time when one could guess the poster's
Haskell book from their question topics:
On Fri, Sep 05, 2008 at 01:04:03PM +0100, Claus Reinke wrote:
Now that is real world - problems even before release!-)
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Hope that enough copies are sold that O'Reilly
On Fri, Sep 5, 2008 at 5:04 AM, Claus Reinke [EMAIL PROTECTED] wrote:
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Other tech books face the same problem, which, if they sell
successfully and the authors haven't
On Fri, Sep 5, 2008 at 3:45 AM, david48 [EMAIL PROTECTED] wrote:
In the online version of Real world Haskell, there's a problem with
examples in ghci when the module Database.HDBC.Sqlite3 is imported.
Oops, should be fixed now.
___
Haskell-Cafe
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Other tech books face the same problem, which, if they sell
successfully and the authors haven't moved into caves afterwards to
recover, they address with subsequent
On 2008 Sep 5, at 12:45, Bryan O'Sullivan wrote:
On Fri, Sep 5, 2008 at 5:04 AM, Claus Reinke
[EMAIL PROTECTED] wrote:
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Other tech books face the same problem,
allbery:
On 2008 Sep 5, at 12:45, Bryan O'Sullivan wrote:
On Fri, Sep 5, 2008 at 5:04 AM, Claus Reinke
[EMAIL PROTECTED] wrote:
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Other tech books face the same
On Fri, 2008-09-05 at 20:55 +0100, Claus Reinke wrote:
Seriously, though, what is the RWH authors' plan for tackling
the eternal frustration of Haskell book authors, a moving target?
Other tech books face the same problem, which, if they sell
successfully and the authors haven't moved
On Fri, Sep 5, 2008 at 7:50 PM, Derek Elkins [EMAIL PROTECTED] wrote:
To make what (I believe) Claus is saying more explicit and direct, add a
note to the beginning of the book (or somewhere reasonably prominent)
that states something along the lines [...]
We will add a link to an errata site
und n = AppE (VarE (mkName show)) (SigE (VarE (mkName
undefined)) (ForallT [n] [] (VarT n))) -- undefined :: typePara
using ForallT [] [] (... works fine.
So this seems to be a th [| |] parser issue? I'll move this to the ghc
mailinglist.
(Thanks to Heffalump on #haskell)
Marc
I want to write a a template haskell function deriving show for data types
without constructor.
-- example
-- data A a
-- the derived instance:
-- instance (Show a) = Show (A a) where
-- show _ = A ++ show (undefined :: a)
deriveShowNoConstructors :: Name - Q [ Dec ]
N.B. if you want a faster answer such questions are best posted to
[EMAIL PROTECTED]
My answer: I asume that your function all_rotations somehow needs to be
called recursively for the rest of the input list xs.
Cheers Christian
imranazad wrote:
Hi,
im not very good with haskell, i barely know
imranazad wrote:
Hi,
im not very good with haskell, i barely know the basics, my coursework
requires me to genereate a vigenere square...
well anyway at the moment im trying to define a functin all_rotations
which for any list returns the list of all its rotations, so far i've
On 2004-12-16 at 17:00+0100 Henning Thielemann wrote:
imranazad wrote:
Hi,
im not very good with haskell, i barely know the
basics, my coursework requires me to genereate a
vigenere square... well anyway at the moment im
trying to define a functin all_rotations which
imranazad wrote:
Hi,
im not very good with haskell, i barely know the basics, my coursework
requires me to genereate a vigenere square...
well anyway at the moment im trying to define a functin all_rotations
which for any list returns the list of all its rotations, so far i've made
Hi all,
There exist a really neat solution to this. I think that it is pioneered
by Doaitse Swierstra and Luc Duponcheel in their parser combinators:
http://www.cs.uu.nl/~doaitse/Papers/1996/LL1.pdf
I'm trying out some combinatorial parsers, and I ran into a slightly
inelegant
On Thu, 21 Feb 2002, Mark Wotton wrote:
Hi,
I'm trying out some combinatorial parsers, and I ran into a slightly
inelegant construction. To parse a sequence of things, we have a function
like
pThen3 :: (a-b-c-d) - Parser a - Parser b - Parser c - Parser d
pThen3 combine p1 p2 p3 toks =
Hi,
I'm trying out some combinatorial parsers, and I ran into a slightly
inelegant construction. To parse a sequence of things, we have a function
like
pThen3 :: (a-b-c-d) - Parser a - Parser b - Parser c - Parser d
pThen3 combine p1 p2 p3 toks =
[(combine v1 v2 v3, toks3) | (v1,
Mark Wotton writes:
| Hi,
|
| I'm trying out some combinatorial parsers, and I ran into a slightly
| inelegant construction. To parse a sequence of things, we have a function
| like
|
| pThen3 :: (a-b-c-d) - Parser a - Parser b - Parser c - Parser d
| pThen3 combine p1 p2 p3 toks =
|
What you need to do is write a function that operates on a string that does
what you want it to, and then use that to write some top-level I/O code.
If you have a function sortFile :: String - String, you would write
something like this for main:
main :: IO ()
main = do
string -
26 matches
Mail list logo