Re: Printing in Haskell

2003-03-26 Thread Glynn Clements
Weix, Rachel Lynn wrote: > How do I print something in Haskell, i.e. if I want to print what a > certain variable contains, etc.? (Synomous to cout> in C++, printf in > C, System.out.println in Java, display in Scheme, etc.) Use "putStrLn" to print a string; use "show" to convert a value to a s

Printing in Haskell

2003-03-26 Thread Weix, Rachel Lynn
Title: Message How do I print something in Haskell, i.e. if I want to print what a certain variable contains, etc.?  (Synomous to cout> in C++, printf in C, System.out.println in Java, display in Scheme, etc.)   Rachel

Re: Haskell help!

2003-03-26 Thread Marc Ziegert
done. - marc Am Mittwoch, 26. März 2003 23:32 schrieb Weix, Rachel Lynn: > P.S. The example given is for the set of sequences/strings (The,Masters) > > -Original Message- > From: Weix, Rachel Lynn > Sent: Wed 3/26/2003 4:30 PM > To: [EMAIL PROTECTED] > Cc: [

Fwd: Re: Haskell help!

2003-03-26 Thread Marc Ziegert
-- Weitergeleitete Nachricht -- Subject: Re: Haskell help! Date: Wed, 26 Mar 2003 23:57:42 +0100 From: Marc Ziegert <[EMAIL PROTECTED]> To: "Weix, Rachel Lynn" <[EMAIL PROTECTED]> i'm just programming the solution. imagine a matrix / a rectangle with a grid: the first word at

Re: Haskell help!

2003-03-26 Thread Andrew J Bromage
G'day. Some general advice... On Wed, Mar 26, 2003 at 04:30:08PM -0600, Weix, Rachel Lynn wrote: > Currently I'm having problems with type checking due to Haskell being > a strongly typed language. Problems with type checking are almost never caused by Haskell being a strongly typed language.

Theme One Project

2003-03-26 Thread Jon Awbrey
o~o~o~o~o~o My name is Jon Awbrey. I have returned to university in my 50's to work on a doctorate in systems engineering and also to "capstone" a few old projects that I did not get to finish up in my last millennium. In the process I have dug up one of my

RE: Haskell help!

2003-03-26 Thread Weix, Rachel Lynn
Title: Re: Haskell help! P.S.  The example given is for the set of sequences/strings (The,Masters) -Original Message- From: Weix, Rachel Lynn Sent: Wed 3/26/2003 4:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Haskell help! Currently I'm having problem

RE: Haskell help!

2003-03-26 Thread Weix, Rachel Lynn
Title: Re: Haskell help! Currently I'm having problems with type checking due to Haskell being a strongly typed language.  In order to return all optimal solutions, my professor suggested I create a list of tuples if they all have the same score, as indicated in my new maxSeq method (see a

ANNOUNCE: hat-2.02

2003-03-26 Thread Malcolm Wallace
hat-2.02 http://www.haskell.org/hat/ We are pleased to announce a new release of Hat, the Haskell Tracer. Hat is a very useful tool for understanding and debugging programs. Hat is compiler independen

Re: Arbitrary precision reals?

2003-03-26 Thread Nils Anders Danielsson
On Tue, 25 Mar 2003, Tom Pledger wrote: > I don't know whether arbitrary precision reals have been done in > Haskell, but here's one of the issues... There is a "Haskell implementation of exact real arithmetic using Linear Fractional Transformations", see http://www.doc.ic.ac.uk/~ae/exact-comp

Re: Arbitrary precision reals?

2003-03-26 Thread Alastair Reid
Tom Pledger <[EMAIL PROTECTED]> wrote: >> The floating point part of the GNU mp library looks difficult to >> fit into Haskell's numeric classes, because the type signatures in >> class Floating don't include a how-much-precision-do-you-want >> parameter. Fergus Henderson <[EMAIL PROTECTED]> wri