Axel Simon wrote:
a) is the behaviour I want, but unfortunately for platform d)
b) must be due to ghci and Hugs having different opinions on whether
stdin should be line buffered or unbuffered
c) this is weird
d) this is broken
You can probably unify the behaviors of platforms a, b and c by
Don Stewart wrote:
It was raised at CUFP today that while Python has:
Python is a dynamic object-oriented programming language that can be
used for many kinds of software development. It offers strong
support for integration with other languages and tools, comes with
extensive
Dan Weston wrote:
Ronald Guida wrote:
I need some help with space and time leaks.
I know of two types of space leak. The first type of leak occurs when
a function uses unnecessary stack or heap space.
GHCi sum [1..10^6]
*** Exception: stack overflow
Apparently, the default definition
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Stewart
It was raised at CUFP today that while Python has:
...
Note its all about how it can help you.
The Haskell website has the rather strange motivational text:
...
Can't we embrace the power of
Warning: I hope I haven't spoiled the answer to this problem. If so,
read only until the answer becomes clear!
I think the key is to be quite clear about what it is the function
should do. Reading the type helps:
Prelude :t curry
curry :: ((a, b) - c) - a - b - c
This type signature looks a
On 10/4/07, Don Stewart [EMAIL PROTECTED] wrote:
It was raised at CUFP today that while Python has:
Python is a dynamic object-oriented programming language that can be
used for many kinds of software development. It offers strong
support for integration with other languages and
On Fri, 5 Oct 2007, Albert Y. C. Lai wrote:
Granted, perhaps your perspective is, if every other company is shouting
customers are number one, then ours must too, and who actually lives up to
it is the non-sequitur here. You're in the buzzword war, not the evidence
war. OK, then make sure
Henning Thielemann wrote:
On Fri, 5 Oct 2007, Albert Y. C. Lai wrote:
Granted, perhaps your perspective is, if every other company is
shouting customers are number one, then ours must too, and who
actually lives up to it is the non-sequitur here. You're in the
buzzword war, not the evidence
Henning Thielemann wrote:
Productivity, robustness, maintainability: purity, type system,
etc. Parallelism!
'type system' is something where C derivatives and scripting languages
are weak - but their users count this as advantage.
Rarely (maybe in the 70's but not since C89). They count
On Fri, 5 Oct 2007, Laurent Deniau wrote:
Henning Thielemann wrote:
Productivity, robustness, maintainability: purity, type system, etc.
Parallelism!
'type system' is something where C derivatives and scripting languages are
weak - but their users count this as advantage.
Rarely
lemming:
On Fri, 5 Oct 2007, Albert Y. C. Lai wrote:
Granted, perhaps your perspective is, if every other company is shouting
customers are number one, then ours must too, and who actually lives up
to it is the non-sequitur here. You're in the buzzword war, not the
evidence war. OK,
Hello,
Can someone elucidate to me this behaviour from ghci 6.6.1? Why is the
type of sqlist specialised to Integer?
Prelude let sq x = x * x
Prelude :t sq
sq :: (Num a) = a - a
Prelude sq 2.5
6.25
Prelude :t map sq
map sq :: (Num a) = [a] - [a]
Prelude map sq [2.5]
[6.25]
This is all as I
Henning Thielemann wrote:
On Fri, 5 Oct 2007, Laurent Deniau wrote:
Henning Thielemann wrote:
Productivity, robustness, maintainability: purity, type
system, etc. Parallelism!
'type system' is something where C derivatives and scripting
languages are weak - but their users count this
On Oct 5, 2007, at 1:59 AM, Bayley, Alistair wrote:
So the question becomes: do you want to attract/seduce this kind of
programmer? Let's assume the answer is yes :-)
Hmm...
... Then what sort of
language should you use in your promotional paragraph? I don't think
polymorphism,
David Carter wrote:
This is all as I would expect so far, but:
Prelude let sqlist = map sq
Prelude :t sqlist
sqlist :: [Integer] - [Integer]
And indeed, I get
Prelude sqlist [2.5]
interactive:1:8:
No instance for (Fractional Integer)
... etc
The dreaded Monomorphism Restriction,
Albert Y. C. Lai wrote:
... I'll ask the Greg Wilson question: where is your data? ...
I think we could make some sort of claim for the concise nature of
Haskell code based on Evaluating High-Level Distributed Language
Constructs by Phil Trinder
On Oct 5, 2007, at 12:33 , Henning Thielemann wrote:
http://www.henning-thielemann.de/CHater.html#CvsM3_ControlFlow
I can has English? :)
If the first large table is any indication, though, we may need to
define inconsistent. C syntax shown there is quite consistent;
what it isn't, is
On Fri, 5 Oct 2007, Laurent Deniau wrote:
Henning Thielemann wrote:
I know that C programmers also like the concise/cryptic/inconsistent
syntax.
Syntax is often a matter of taste. Every languages look cryptic for
unfamiliar people. Haskell has itself some conventions in notation which
Brandon S. Allbery KF8NH wrote:
On Oct 5, 2007, at 12:33 , Henning Thielemann wrote:
http://www.henning-thielemann.de/CHater.html#CvsM3_ControlFlow
I can has English? :)
If the first large table is any indication, though, we may need to
define inconsistent. C syntax shown there is quite
The following code, when compiled with GHC 6.6.1 --make -O gives a stack
overflow when I enter 100 as a command line argument:
(please don't look at the efficiency of the code, it can of course be
improved a lot both in time performance and numeric precision...)
import System
leibnizPI
For me, a good reason why one should look at Haskell is because you
should NOT look at Haskell since it will change your view on programming
so much, you don't want to go back... ;-)
But where is the great IDE Haskell deserves??? :-) Seriously, 99% of the
programmers I know don't want to look
On Fri, 2007-10-05 at 20:19 +, Aaron Denney wrote:
On 2007-10-05, Peter Verswyvelen [EMAIL PROTECTED] wrote:
But where is the great IDE Haskell deserves??? :-) Seriously, 99% of the
programmers I know don't want to look at it because when they see Emacs
or VIM, they say what the
Bayley, Alistair wrote:
Well, wouldn't it be best to define your audience first? At the risk of
alienating Pythonistas...
The Python home page is very much snake oil (as Albert points out). But
it appears that they're aiming squarely at the average gormless
C/C++/VB/Java drone who's heard a bit
Henning Thielemann wrote:
If this would be true, they would have switched to Modula II quickly
... I know that C programmers also like the
concise/cryptic/inconsistent syntax.
It seems to me more than C programmers like to think they're cleaver
because they can spend weeks building elaborate
Peter Verswyvelen wrote:
The following code, when compiled with GHC 6.6.1 --make -O gives a stack
overflow when I enter 100 as a command line argument:
(please don't look at the efficiency of the code, it can of course be
improved a lot both in time performance and numeric precision...)
Just to let everyone know , the Haskell Hackathon is underway (the 2nd
this year), in Freiburg, Germany, and library and infrastructure code is
being worked on furiously -- Cabal and related tools in particular. You
can follow all the action from planet.haskell.org, and from the
hackathon site,
On 2007-10-05, Aaron Denney [EMAIL PROTECTED] wrote:
On 2007-10-05, Peter Verswyvelen [EMAIL PROTECTED] wrote:
But where is the great IDE Haskell deserves??? :-) Seriously, 99% of the
programmers I know don't want to look at it because when they see Emacs
or VIM, they say what the f*ck,
The Hackathon is a good opportunity to collect preliminary data.
Imagine: All other communities are still at the stage of we feel
productivity. We have our data shows productivity. That puts us at a
completely different level --- light-years above the crowd.
Haskell --- because we put the
Perl hackers are notoriously good at write-once coding. It's the part
where others read what you wrote and make sense of it where Haskell
pulls ahead.
Albert Y. C. Lai wrote:
The Hackathon is a good opportunity to collect preliminary data.
Imagine: All other communities are still at the
Brandon S. Allbery KF8NH wrote:
I can has English? :)
This comment inspired what could be either the beginning of an
infectious Haskell recruitment campaign, or just a sign that some of us
are mad. I present the lambdacats:
http://arcanux.org/lambdacats.html
--
Alex Tarkovsky
part I - http://www.ias.ac.in/resonance/August2007/p27-48.pdf
part II - http://www.ias.ac.in/resonance/September2007/p40-63.pdf
==
Vikrant
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
31 matches
Mail list logo