Re: [Haskell-cafe] Is Haskell a Keynesian language?

2006-10-12 Thread Johan Tibell

This is certainly proof that you can abuse economics in any context!
;) Or perhaps that economics can be used to abuse anything...

- Johan Tibell

On 10/12/06, Henning Thielemann [EMAIL PROTECTED] wrote:


Here is another approach of questionable classification of languages. :-)

 A lazy functional program is demand driven, an imperative program is
supply driven. That is, if I request some information by calling a
function in GHCi or Hugs, the interpreter develops a plan a how to produce
the information I need and then executes the necessary steps. In contrast
to that, an imperative program executes what's next on the schedule,
whether it is need or not.
 So is Haskell a Keynesian language and C++ a Say language?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Is Haskell a Keynesian language?

2006-10-12 Thread Albert Lai
Henning Thielemann [EMAIL PROTECTED] writes:

 Here is another approach of questionable classification of languages. :-)
 
  A lazy functional program is demand driven, an imperative program is
 supply driven.

  So is Haskell a Keynesian language and C++ a Say language?

Great, now we can talk about the Invisible Hand performing evaluations...

Alice: The Invisible Hand is holding up more memory than I thought.
My program is using O(n) space just to compute length!

Bob: You've violated Nash equilibrium!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Is Haskell a Keynesian language?

2006-10-12 Thread mvanier
I prefer the terms awesome and crappy, respectively, but sure, whatever 
works for you ;-)


Mike

Henning Thielemann wrote:

Here is another approach of questionable classification of languages. :-)

 A lazy functional program is demand driven, an imperative program is
supply driven. That is, if I request some information by calling a
function in GHCi or Hugs, the interpreter develops a plan a how to produce
the information I need and then executes the necessary steps. In contrast
to that, an imperative program executes what's next on the schedule,
whether it is need or not.
 So is Haskell a Keynesian language and C++ a Say language?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Is Haskell a Keynesian language?

2006-10-12 Thread David F. Place


It often seems to me that the Wildeian dichotomy of  charming vs.  
tedious  applies especially well to programming languages.


On Oct 12, 2006, at 5:02 PM, mvanier wrote:

I prefer the terms awesome and crappy, respectively, but sure,  
whatever works for you ;-)


Mike



David F. Place
mailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe