Re: [Haskell-cafe] Cairo and Haskell

2011-04-16 Thread Hans van Thiel
to pdf and other formats this might be useful: http://muitovar.com/gtk2hs/app1.html (There's a Spanish translation too.) However, this tutorial is a few years old now, and I don't know if it's still up to date for the later Gtk2Hs versions

Re: [Haskell-cafe] Re: Stone age programming for space age hardware?

2010-06-08 Thread Hans van Thiel
That's interesting, writing a DSL that compiles to C. I've actually inerviewed Gerard Holzamann twice, the first time when he received the ACM Software System Award in 2002 [1] and in 2008 after he moved to JPL [2]. What they use to test distributed software is the Process Meta Language (Promela) w

[Haskell-cafe] Haskell and the Job Market, e.g. with Google

2010-02-11 Thread Hans van Thiel
8047 I think this is interesting even to those who are not looking for a job right now, since it shows the current mind-set regarding Haskell, at a major and leading IT company. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@has

[Haskell-cafe] Mushrooms (edible/poisonous) and Haskell

2009-12-04 Thread Hans van Thiel
amongst all the advantages and disadvantages, maintainability is surely a strength! Anyway, for anyone who's interested in the application, see http://muitovar.com/emp/emp_get.php and related links. Yes, unfortunately the demo is not in Haskell... Regards, Hans van Thiel

[Haskell-cafe] Ann: Emping-0.6 and Tests/Examples

2009-06-23 Thread Hans van Thiel
s with the results. All comments most welcome... Emping is a (prototype) interactive tool for the discovery and analysis of (universal, not statistical) predictive rules in tables of nominal data. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Ha

Re: [Haskell-cafe] Confusion on the third monad law when using lambda abstractions

2009-06-18 Thread Hans van Thiel
right? (.) ::(b -> c) -> (a -> b) -> (a -> c) Many thanks, also to the others who've replied. I've wondered about (=<<) usage for a long time too, and this is all very illuminating. I'll work this through and put it in my monad tutorial, if

Re: [Haskell-cafe] Confusion on the third monad law when using lambda abstractions

2009-06-18 Thread Hans van Thiel
its own name, it must have some practical use. Do you, or anybody else, have some pointers? Best Regards, Hans van Thiel > > - Jake > ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] May all logos be freely used?

2009-05-26 Thread Hans van Thiel
tion, I think. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] FGL Question

2009-05-25 Thread Hans van Thiel
I'll look at my code again. Many thanks for your helpful reply! Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] FGL Question

2009-05-24 Thread Hans van Thiel
== 0) gr Many thanks, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Request for feedback: Understanding Haskell Monads

2008-12-28 Thread Hans van Thiel
icism. > > [1] http://ertes.de/articles/monads.html > > > Greets, > Ertugrul. > Looks pretty good to me! Could you add a link in the Haskell tutorials section? Best Regards, Hans van Thiel > ___ Haskell-Cafe mailing list Has

Re: [Haskell-cafe] What are side effects in Haskell?

2008-12-28 Thread Hans van Thiel
On Sat, 2008-12-27 at 11:54 -0600, Jake McArthur wrote: > Hans van Thiel wrote: > > However, some functions in Haskell may have side effects, like printing > > something on the screen, updating a database, or producing a random > > number. These functions are called 'act

Re: [Haskell-cafe] What are side effects in Haskell?

2008-12-27 Thread Hans van Thiel
s, and the 'actions'. If I guess correctly, then the general statement 'monads are for actions' is wrong. It should be something like, 'monadic composition is a useful method of generalization, which, by the way, allows you to isolate side effects in a controlled manner'

[Haskell-cafe] What are side effects in Haskell?

2008-12-23 Thread Hans van Thiel
types of c or str are pretty clear, aren't they? Just something that's been puzzling me for some time now...thanks. Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Proof of a multi-threaded application

2008-11-18 Thread Hans van Thiel
can write asserts, test liveness and you can even check claims in LTL (linear temporal logic) about execution paths. It's all open source and free. 'The Spin Model Checker', by Gerard Holzmann, is the reference, but there are several other books about Spin and its principles. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Hackage and GUI (was Hackage status with GHC 6.10 release candidate)

2008-10-13 Thread Hans van Thiel
some, uses or can use a GUI at this point in time? Secondly, has Gtk2Hs compatibility been tested with GHC 6.10? In the past there have sometimes been problems with new GHC releases and Gtk2Hs. These have always been addressed, but it usually took a few months.. Cheers, Hans van Thiel [snip]

Re: [Haskell-cafe] Haskell versus F#, OCaml, et. al. ...

2008-09-30 Thread Hans van Thiel
you need a user guide (or not, in the rare case it's self documenting). I feel it's a mistake not to distinguish between those two, in particular when the number of packages gets very large, as is now happening. Secondly, some major libraries are not on Hackage (yet), e.g. Gtk2Hs. Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Re: ANN: First Monad Tutorial of the Season

2008-08-26 Thread Hans van Thiel
[snip] > > Most probably you are confusing type and data constructor. This is a common > error and a hurdle I remember falling over more than once. It is due to the > fact that in Haskell both are in completely separate name spaces, > nevertheless both use capitalized names. Thus people often use

Re: [Haskell-cafe] Re: ANN: First Monad Tutorial of the Season

2008-08-25 Thread Hans van Thiel
On Mon, 2008-08-25 at 00:33 +0200, Ben Franksen wrote: > Hans van Thiel wrote: > > so 'The Greenhorn's Guide to becoming a Monad Cowboy' is on > > http://www.muitovar.com/monad/moncow.xhtml > > Forgot to say: nicely written! > > Some more comments:

[Haskell-cafe] ANN: First Monad Tutorial of the Season

2008-08-22 Thread Hans van Thiel
Hello All, I'm proud to announce the first monad tutorial of the new season. It's under the Wiki permissive licence, but the web page has some clip art, so 'The Greenhorn's Guide to becoming a Monad Cowboy' is on http://www.muitovar.com/monad/moncow.xhtml Best

Re: [Haskell-cafe] Lambda and closures in PHP -- could someone please comment?

2008-06-18 Thread Hans van Thiel
Let's not start now. > > This is a civilized mailing list. Either comment on the nice gentlemen's > PHP closure proposal from a language point of view, or don't say anything. > > Jules Hear, hear... Hans van Thiel > ___

Re: [Haskell-cafe] Haskell PNG Writer

2008-05-04 Thread Hans van Thiel
l_Port/app1.xhtml Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Hackage being too strict?

2008-04-22 Thread Hans van Thiel
[snip] > > The current a priori check, which said there were no fatal errors, while the > > a posteriori check failed, is misleading. Wouldn't it be better to warn > > potential > > uploaders that this first check is not complete? > > I'm not sure I see what you're getting at. We can't do a full

Re: [Haskell-cafe] Hackage being too strict?

2008-04-21 Thread Hans van Thiel
only 0.9.11 (until a few months ago, at least). So, if an uploader knows such dependencies, how to express them? Thanks in advance, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Ann: Emping 0.5 in Hackage

2008-04-17 Thread Hans van Thiel
few screenshots. Thank you all, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] An offer to any haskell projects out there.

2008-03-13 Thread Hans van Thiel
All of which would be useful to the Haskell community, IMO, but that's a personal view. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: Emping 0.4

2008-03-07 Thread Hans van Thiel
ry. To get an impression see: http://j-van-thiel.speedlinq.nl/emp/empug.html The compiled binary for Linux, with documentation, can also be downloaded directly from my web site. Thank you, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Re[2]: The programming language market (was Re: [Haskell-cafe] Why functional programming matters

2008-01-27 Thread Hans van Thiel
short while in 1999 and they had two Russian software engineers there, one from St. Petersburg and one from Wladiwostok, both female and under 25 years of age. They programmed in C and were highly respected by their managers and colleagues! So, there are at least counterexamples :-) Regards, Hans

[Haskell-cafe] Ann: Drawing with Cairo: Getting Started

2008-01-23 Thread Hans van Thiel
nq.nl/glade/es-index.html The translator of both texts prefers to be known as Laszlo Keuschnig. In case anyone wonders, this is not me, though I wish.. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.has

Re: [Haskell-cafe] IO is a bad example for Monads

2007-12-12 Thread Hans van Thiel
On Wed, 2007-12-12 at 16:27 +0100, Hans van Thiel wrote: > [snip] > > > > I fear those people can do vast amounts of damage. :( > > > > When inept programming yields the wrong result, it is clear (even to the > > inept) that the program is bad. > > >

Re: [Haskell-cafe] IO is a bad example for Monads

2007-12-11 Thread Hans van Thiel
On Tue, 2007-12-11 at 16:56 +0100, Wolfgang Jeltsch wrote: > Am Dienstag, 11. Dezember 2007 14:46 schrieb Hans van Thiel: > > On Mon, 2007-12-10 at 20:00 +0100, Henning Thielemann wrote: > > [snip] > > > > > I raise my question once again: Must Haskell's tutor

Re: [Haskell-cafe] IO is a bad example for Monads

2007-12-11 Thread Hans van Thiel
is. And the purpose of a tutorial is not to make the writer look smart and important, but to ease things for the reader. I wouldn't want to exclude the scurrilous unwashed from the Haskell experience, this close to Christmas, too. :-) Regards, Hans van Thiel > __

[Haskell-cafe] ANN: Teach Yourself Gtk2Hs in 21 Hours

2007-12-01 Thread Hans van Thiel
Needless to say, please don't hesitate to comment and report errors. Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Parsing unstructured data

2007-11-28 Thread Hans van Thiel
e Java Rule Engine (I believe JSR 94) and in particular Jess? http://herzberg.ca.sandia.gov/ I have no experience with it myself, though, just heard of it. Regards, Hans van Thiel > Any link to tools or methods that could help me in that task would be > greatly appreciated. I already sear

Re: [Haskell-cafe] Some More Sinus Results

2007-11-10 Thread Hans van Thiel
On Sat, 2007-11-10 at 11:14 -0800, David Roundy wrote: > On Sat, Nov 10, 2007 at 06:56:23PM +0100, Hans van Thiel wrote: > > Thanks to all who've replied; Carl's explanation in particular was very > > interesting. So the precision, suggested by the many decimals in t

[Haskell-cafe] Some More Sinus Results

2007-11-10 Thread Hans van Thiel
ns, you should not use sin for smaller values. In all cases the actual precision of sin appears to be 4 to 5 decimals, and results should be rounded to that before using them. Now I'm wondering about cos, tan and also the inverses, asin etc. :-) Regards, Hans van Thiel Hugs> sin (1.000 * pi)

Re: [Haskell-cafe] Sinus in Haskell

2007-11-09 Thread Hans van Thiel
On Fri, 2007-11-09 at 14:30 -0500, Brent Yorgey wrote: > > On Nov 9, 2007 2:08 PM, Hans van Thiel <[EMAIL PROTECTED]> wrote: > Hello All, > Can anybody explain the results for 1.0, 2.0 and 3.0 times pi > below? > GHCi yields the same r

[Haskell-cafe] Sinus in Haskell

2007-11-09 Thread Hans van Thiel
Hello All, Can anybody explain the results for 1.0, 2.0 and 3.0 times pi below? GHCi yields the same results. I did search the Haskell report and my text books, but to no avail. Thanks in advance, Hans van Thiel Hugs> sin (0.0 * pi) 0.0 Hugs> sin (0.5 * pi) 1.0 Hugs> sin

Re: [Haskell-cafe] Learn Prolog...

2007-09-02 Thread Hans van Thiel
Prolog. See the link for features, but http://www.cs.bris.ac.uk/~bowers/goedel.html was last updated in 1995. Does anybody know more? Hans van Thiel [snip] > > To Jerzy's point -- I strongly believe that learning a language like > Prolog is a good idea for two reasons -- first, it adds a

[Haskell-cafe] Ann: Gtk2Hs Tutorial Port

2007-08-23 Thread Hans van Thiel
does not cover everything. The same applies to the port. Moreover, advanced widgets like Tree List are large and complicated and will not be treated at all. Note 3: This tutorial, and in particular the 'Getting Started' chapter, replaces the old 'Getting Started' page, whi

Re: [Haskell-cafe] Haskell for the Enterprise (topic for a MSc dissertation?)

2007-08-16 Thread Hans van Thiel
oyed other than in open source, but that fact is not being advertised in the marketing. Maintainability should be excellent in Haskell, due to the fine grained modularity without side effects. Best Regards, Hans van Thiel > > > As I wrote above, I'm quite new to Haskell. Thus

[Haskell-cafe] Ann: Emping 0.3

2007-07-17 Thread Hans van Thiel
completion time is highly dependent on how well the data is structured. Obviously, much has still to be done. More info, for those who are interested, on http://j-van-thiel.speedlinq.nl/emp/empug.html Thank you, Hans van Thiel ___ Haskell-Cafe

Re: [Haskell-cafe] Re: Tree Guidance

2007-07-02 Thread Hans van Thiel
On Fri, 2007-06-29 at 19:35 +0200, Thomas Schilling wrote: > On 27 jun 2007, at 18.41, Hans van Thiel wrote: > > > [snip] > > > > Thanks, Apfelmus, for the references. Guess I'll start there, then. > > And > > thanks, Chris, for the info and code. Rea

Re: [Haskell-cafe] Re: Tree Guidance

2007-06-27 Thread Hans van Thiel
[snip] Thanks, Apfelmus, for the references. Guess I'll start there, then. And thanks, Chris, for the info and code. Read only 'up pointers' could be what is needed. But before going on, I want first to get more confortable with programming with trees. It's all very well to say they're easy to rol

[Haskell-cafe] Tree Guidance

2007-06-26 Thread Hans van Thiel
ow expensive this would be in Haskell, or if it's necessary at all. Many thanks for your help, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Plugin Problem

2007-06-21 Thread Hans van Thiel
; work? It would be a nice feature, if authors could remove obsolete packages from HackageDB as well as add new versions. It would also be helpful to see download statistics. If something is much in demand, this would probably be an incentive to update it more often.. Regards, Hans van Thiel > Che

Re: [Haskell-cafe] IDE?

2007-06-17 Thread Hans van Thiel
ave a lot of potential. What I've seen of it, before it crashes, looks very nice. Regards, Hans van Thiel > In fact part of the project seems to be to > allow the development of eclipse plugins written in haskell, which > could allow the possibility of integrating some of the tools lis

Re: [Haskell-cafe] New book: Real-World Haskell!

2007-05-23 Thread Hans van Thiel
re you can learn 'serious' Haskell you'll have to learn basic Haskell. I'm sure it is unintentional, but avoid any impression of superiority. Writing a good text book is very hard and very time consuming, and succesful communication with an audience is a separate skill. How about &#

Re: [Haskell-cafe] Ann: Emping 0.2

2007-05-22 Thread Hans van Thiel
as ever considered such dependencies. Regards, Hans van Thiel > > * Hans van Thiel <[EMAIL PROTECTED]> [070521 05:45]: > > Hello All, > > > > Version 0.2 of Emping, a utility to derive heuristic rules from a table > > of nominal data, is available. In additio

Re: [Haskell-cafe] Behavior of groupBy

2007-05-21 Thread Hans van Thiel
Thanks for the help! Strangely, I just now received your messages from April 28, hence the late reply... Hans van Thiel On Sat, 2007-04-28 at 18:09 +0200, Henning Thielemann wrote: > On Sat, 28 Apr 2007, Hans van Thiel wrote: > > > Hello All, > > > > The standard fun

[Haskell-cafe] Ann: Emping 0.2

2007-05-21 Thread Hans van Thiel
the HackageDB. Thanks, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Accepted by Hugs, not by GHC

2007-05-19 Thread Hans van Thiel
On Sat, 2007-05-19 at 15:30 +0100, David House wrote: > On 19/05/07, Hans van Thiel <[EMAIL PROTECTED]> wrote: > > causes no problems in Hugs (-98 flag) but compiling with GHC produces: > > There's the solution to your problem: type synonym instances aren't >

[Haskell-cafe] Accepted by Hugs, not by GHC

2007-05-19 Thread Hans van Thiel
ynonym, but can't get it right. (I'm using the ghc 6.6.1 Fedora Core 6 package). Many thanks in advance! Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] PartitionBy (was: Behavior groupBy)

2007-04-29 Thread Hans van Thiel
(x,y) = partition ((head ls) `eq`) ls example> partitionBy (\x y -> (last x) == (last y)) ["abc","bd","bdc","abd"] result> [["abc","bdc"],["bd","abd"]] Of course, a

[Haskell-cafe] Follow up on 'GroupBy behavior'

2007-04-28 Thread Hans van Thiel
-> [[a]] partitionBy eq [] = [] partitionBy eq ls = (fst x):(partitionBy eq (snd x)) where x = partition1 eq ls Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.hask

Re: [Haskell-cafe] Behavior of groupBy

2007-04-28 Thread Hans van Thiel
On Sat, 2007-04-28 at 15:08 +0100, Neil Mitchell wrote: > Hi Hans, > > > > The standard function groupBy of List.hs doesn't work as I expect in > > > this case: > > > > > > groupBy (\x y -> (last x) == (last y)) ["abc", "bd","cac"] > > > > You are doing something wrong. groupBy is specified to ne

Re: [Haskell-cafe] Behavior of groupBy

2007-04-28 Thread Hans van Thiel
On Sat, 2007-04-28 at 06:45 -0700, Stefan O'Rear wrote: > On Sat, Apr 28, 2007 at 03:49:44PM +0200, Hans van Thiel wrote: > > Hello All, > > > > The standard function groupBy of List.hs doesn't work as I expect in > > this case: > > > > groupBy

[Haskell-cafe] Behavior of groupBy

2007-04-28 Thread Hans van Thiel
> [[a]] groupBy _ [] = [] groupBy eq (x:xs) = (x:ys) : groupBy eq zs where (ys,zs) = span (eq x) xs Thanks, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Tutorial on Haskell

2007-04-16 Thread Hans van Thiel
e monadic replacements, and so on. 4) there is a very helpful and knowledgeable community. A major disadvantage of Haskell is the lack of books, especially with regard to intermediate level programming and the libraries. Documentation that is available varies in quality and is, in general, fragmented. Best Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: utility for deriving rules from a nominal table

2007-04-08 Thread Hans van Thiel
ut I'm leaving it at that, because (1) I'm assuming the package itself is OK and (2) it's a standalone utility so maybe Cabal is overkill anyway (though it's nice how Cabal forces a structure). Just compiling the source modules is, probably, the preferr

[Haskell-cafe] Typical?

2007-03-16 Thread Hans van Thiel
rough Multimedia . . . We recommend: Cooking Entrees With the Micheff Sisters: A Vegan Vegetarian Cookbook by Brenda Micheff Walsh Recommended because you purchased or rated: * Purely Functional Data Structures To be fair, other recommendations were more traditional ...:) Hans van Thiel s

Re: [Haskell-cafe] Type and State Confusion

2007-03-13 Thread Hans van Thiel
On Tue, 2007-03-13 at 00:47 -0400, Albert Y. C. Lai wrote: > Hans van Thiel wrote: > > sequence :: Monad m => [m a] -> m [a] > > > > You write: > > The >>= used by sequence is the same >>= in the MyState monad, > > since you instantiate m to MySta

[Haskell-cafe] Re: Type and State Confusion

2007-03-12 Thread Hans van Thiel
Albert, Thanks very much for your explanation. I see now that I confused the state function with the f, but it's still not quite clear. data MyState a b = MyStateC ([a] -> ([a], b)) This defines an algebraic data type (...why is it called algebraic?) with two type variables and a unary construc

[Haskell-cafe] State of Ignorance

2007-03-09 Thread Hans van Thiel
the list xs, from left to right, and returns a list of the "contents" of these monads, placing this list in a monad of the same type. Note, that "evaluating" can be interpreted as "performing an action", for example in the case of print." It looks to me as if sequence works here because values of MyState are themselves functions, but how? Many thanks for any pointers and clarification! Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] class question

2007-01-21 Thread Hans van Thiel
I. On Sun, 2007-01-21 at 11:20 -0800, Stefan O'Rear wrote: > On Sun, Jan 21, 2007 at 08:00:53PM +0100, Hans van Thiel wrote: > > On Sun, 2007-01-21 at 09:42 -0800, Stefan O'Rear wrote: > > > This is the closest you'll get with GHC extensions: > > > &

Re: [Haskell-cafe] class question

2007-01-21 Thread Hans van Thiel
On Sun, 2007-01-21 at 09:42 -0800, Stefan O'Rear wrote: > On Sun, Jan 21, 2007 at 06:21:34PM +0100, Hans van Thiel wrote: > > class (Num a, Monoid a) => NumMon a where > >e = 0 > >add x y = x + y > > > What am I doing wrong? Many thanks in advance.

[Haskell-cafe] class question

2007-01-21 Thread Hans van Thiel
ied instance definitions of NumMon (leaving out 'where' and what's next in the class declaration) and get similar messages. The definition of NumMon by itself, just the first line, is accepted by Hugs and GHCi both. What am I doing wrong? Many thanks in advance. Hans van Thiel

Re: [Haskell-cafe] Beta Gtk2Hs Getting Started

2007-01-09 Thread Hans van Thiel
On Mon, 2007-01-08 at 16:11 -0200, Alex Queiroz wrote: > Hallo, > > On 1/8/07, Hans van Thiel <[EMAIL PROTECTED]> wrote: > > Hello All, > > > > The beta of the 'Gtk2Hs:Getting Started' short tutorial for beginners, > > Haskell GUI for Dummies,

[Haskell-cafe] Beta Gtk2Hs Getting Started

2007-01-08 Thread Hans van Thiel
troduces the api and explains how to use it, refers to the Glade tutorials, gives an example of widget layout, and ends with some general pointers. It should take no more than 2,3 hours of the user's time. All feedback very welcome. Regards, Hans van Thiel ___

[Haskell-cafe] Glade Gtk2Hs Tutorial

2006-11-05 Thread Hans van Thiel
guages who are interested could use these and check out the Haskell Gtk2Hs listings later. Thanks, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Glade Gtk2Hs Getting Started

2006-10-26 Thread Hans van Thiel
tk2Hs and covers the basics of Glade and how to access a .glade file and widgets in Gtk2Hs. Estimated learning time: 2 hours. Thanks to Duncan Coutts and Eddy Ahmed for their help and cooperation. The tutorial will be made available on the Gtk2Hs web site and on Eddy's homepage as well.

[Haskell-cafe] Re: Re: Read a single Char

2006-10-26 Thread Hans van Thiel
ugs doesn't. > Ah, so that's it! Thanks, all. Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Re: Read a single char

2006-10-25 Thread Hans van Thiel
On Tue, Oct 24, 2006 at 06:14:14PM +0200, Hans van Thiel wrote: > I have a similar question. When I use getChar with Hugs the newline > (caused by pressing 'Enter') seems to be carried over into the next > call of main, where it is treate

Re: [Haskell-cafe] Re: Read a single Char

2006-10-24 Thread Hans van Thiel
No, it happens with Hugs on Fedora Core 5 (the fc5 Hugs package), not WinHugs. Thanks, Hans On Tue, 2006-10-24 at 17:27 +0100, Neil Mitchell wrote: > Hi > > > I have a similar question. When I use getChar with Hugs the newline > > (caused by pressing 'Enter') seems to be carried over into the

[Haskell-cafe] Re: Read a single Char

2006-10-24 Thread Hans van Thiel
right away. I suppose the solution offered here: hSetBuffering stdin NoBuffering will have the desired effect, but is there another way? Thanks, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailma

[Haskell-cafe] Gtk2Hs and Glade Tutorial

2006-10-12 Thread Hans van Thiel
s tutorial to Haskell Gtk2Hs, but meanwhile I'd like to submit my separate concept (attached) for comments. Thanks, Hans van Thiel Gtk2HsGlade.odt Description: application/vnd.oasis.opendocument.text ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Hello Monads

2006-09-07 Thread Hans van Thiel
well defined chain where each action becomes unique, even though names (like getLine) on the different positions are the same. But again, the monadic computation is still a function. I'd appreciate your comments. Regards, Hans van Thiel -- Don't worry, be happy, learn Haskell. _

Re: [Haskell-cafe] extreme newbie: hugs prompt vs load module

2006-08-23 Thread Hans van Thiel
C and how to use them. At the moment I'm reading the book again, from the beginning, and I'm seeing several things much better than I did the first time(s). Hope this helps, Hans van Thiel -- Don't worry, be happy, learn Haskell. ___

[Haskell-cafe] Re:Re: Why Haskell

2006-08-07 Thread Hans van Thiel
From: Hans van Thiel <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Johan Tibell <[EMAIL PROTECTED]> Subject: Re: [Haskell-cafe] Re:

[Haskell-cafe] Re: Why Haskell?

2006-08-07 Thread Hans van Thiel
ce, I think. That is, assuming 'mainstream' is the goal, of course. Regards, Hans van Thiel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Why Not Haskell?

2006-08-04 Thread Hans van Thiel
my question (while introducing myself to the Cafe at the same time). Why hasn't Haskell made it into the business world (yet), after being available for 15 years, or is this the wrong question? Many thanks for your comments, Hans van Thiel ___ Haske