Henning Thielemann wrote:
apfelmus wrote:
gwern wrote:
Now, the Main Page on haskell.org is not protected, so I could just edit
in one of the better descriptions proposed, but as in my Wikipedia editing,
I like to have consensus especially for such visible changes.
Hey, why has the
gwern wrote:
Now, the Main Page on haskell.org is not protected, so I could just edit
in one of the better descriptions proposed, but as in my Wikipedia editing,
I like to have consensus especially for such visible changes.
Hey, why has the front-page already been changed then? I don't like
On Wed, 12 Dec 2007, apfelmus wrote:
gwern wrote:
Now, the Main Page on haskell.org is not protected, so I could just edit
in one of the better descriptions proposed, but as in my Wikipedia editing,
I like to have consensus especially for such visible changes.
Hey, why has the
Combinators get my code done, tralalalala, laughing out loud!
Quickcheck locates all of my bugs, tralalalala, laughing out loud!
Fusion laws make my code run fast, tralala, lalala, lololol!
Folks, I'm so done, Merry Christmas, tralalalala, laughing out loud!
Stefan O'Rear wrote:
In my C programming, I've taken to using gdb as a REPL:
Ah, that's a nice trick, thanks!
I wish I there had been a gdb on MacOS 8.5 back then ;)
Regards,
apfelmus
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Yitzchak Gale [EMAIL PROTECTED] writes:
Guido is clearly not rejecting functional influences
on Python, he is supporting them. But he feels that
these specific instances do not fit in.
I read some of his statements, and find that I disagree vehemently.
But I wonder if partial evaluation is
I really like the friendly look of Ruby's homepage:
http://www.ruby-lang.org/en/
* There's an interpreter download button in a high visibility position.
* Visible news.
* It's pretty!
* A very short introduction. Ruby is...
... which is so generic, that we can copy it to the
On Fri, 30 Nov 2007, Johan Tibell wrote:
On Nov 30, 2007 1:30 AM, Ivan Miljenovic [EMAIL PROTECTED] wrote:
Speaking of Stackless Python, its homepage (http://www.stackless.com/)
has a rather nice layout... maybe slightly less emphasis on the About
section, but there you've got the links,
The Haskell code works with arbitrary precision
Integer, the C code with a fixed size int.
This is also a work for a library (BTW like Haskell does), you can use
gmp or mpfr. This will just add one line to store x/2 in y and avoid its
recomputation. You will also have to switch from intset
On Nov 30, 2007 1:30 AM, Ivan Miljenovic [EMAIL PROTECTED] wrote:
Speaking of Stackless Python, its homepage (http://www.stackless.com/)
has a rather nice layout... maybe slightly less emphasis on the About
section, but there you've got the links, the info and the news all on
the one page.
I
Laurent Deniau wrote:
apfelmus wrote:
Back then, I was given the task to calculate some sequence
of numbers which I did in one page of C code.
import Data.Set
xs = let f x m = x: let y = x `div` 2
in f (if member y m then 3*x else y) (insert x m)
in f 1 (singleton 0)
The following code is the direct translation of your Haskell code
void f(int x, intset s) {
printf(%d, , x);
f (intset_elem(s, x/2) ? 3*x : x/2, intset_put(s, x));
}
No, not that easy. The Haskell code works with arbitrary precision
Integer, the C code with a fixed size int. On a 32
Simon Marlow writes:
Perhaps
Type Inference: deduces types automatically, so you don't have to clutter
up your code with type declarations. You can still write type
declarations for documentation purposes, and these will be automatically
checked by the compiler.
Perhaps it won't harm
Mirko Rahn wrote:
The following code is the direct translation of your Haskell code
void f(int x, intset s) {
printf(%d, , x);
f (intset_elem(s, x/2) ? 3*x : x/2, intset_put(s, x));
}
No, not that easy. The Haskell code works with arbitrary precision
Integer, the C code with a fixed
On Thu, Nov 29, 2007 at 12:40:00PM +, Simon Marlow wrote:
What I'd *really* like to see is a bunch of links on the front page leading
to pages that describe the main differences between Haskell and some other
language (C, Python, Java, C#, F#, ...). The easiest way to grasp what
On Thu, 29 Nov 2007, Simon Marlow wrote:
What I'd *really* like to see is a bunch of links on the front page leading
to pages that describe the main differences between Haskell and some other
language (C, Python, Java, C#, F#, ...). The easiest way to grasp what
Haskell is all about is by
Henning Thielemann writes:
Python page could start with: You like 'map', 'filter', 'for x in ...'
and lambda's in Python? Then you will like to learn where Python has
Henning, Python *may not* start in such a way. Those functionals are
being obsoletised by Guido Van Rossum. for remains,
Henning Thielemann wrote:
When I want to judge a programming language I like to see a gallery, a
collection of beautiful programs. This shows me
1. what are the problems, the language developers want to tackle
(does general purpose for the developers mean web, XML and data base
processing or
lemming wrote:
Python page could start with: You like 'map', 'filter', 'for x in ...'
and lambda's in Python? Then you will like to learn where Python has
What about iterators - lazy lists - and generators - lazy
function definitions. And list comprehensions, both lazy
and strict. And zip. And
Yitzchak Gale writes:
Python's iterators are not the same as iterators in C
and other older languages. They are lazy lists. The reason
they named them iterators is not to scare people.
Haskell was not the first to have lazy lists, but Haskell
was an important part of the inspiration for
On Thu, Nov 29, 2007 at 09:48:22AM +0100, apfelmus wrote:
Well, I only remember that it took _me_ a page of C code :D Basically due
to a hand-coded intset and user interaction (no REPL for C, after all).
In my C programming, I've taken to using gdb as a REPL:
[EMAIL PROTECTED]:/tmp$ vi foo.c
On Thu, Nov 29, 2007 at 12:40:00PM +, Simon Marlow wrote:
What I'd *really* like to see is a bunch of links on the front page leading
to pages that describe the main differences between Haskell and some other
language (C, Python, Java, C#, F#, ...). The easiest way to grasp what
On Nov 29, 2007, at 16:57 , [EMAIL PROTECTED] wrote:
Yitzchak Gale writes:
Guido was forced to do something - someone had written
a new Python interpreter, called Stackless Python,
in which every Python function was a Scheme-like continuation.
People found this very, very scary. So Guido
frees the programmer from writing superfluous type signatures is a
weak (and dubious) advantage. I very often write superfluous type
signatures first (to be sure I know what I'm asking my program to do)
and only then let Haskell check it. Then I leave it in as good
documentation.
I
Thomas Davie wrote:
There's no such check list of good stuff with the Haskell slogan,
instead, we've got a list of buzzwords, as bad as company webpages
preaching that they offer synergised solutions, but not actually
telling anyone what they do.
I couldn't disagree more.
The words used in
Speaking of Stackless Python, its homepage (http://www.stackless.com/)
has a rather nice layout... maybe slightly less emphasis on the About
section, but there you've got the links, the info and the news all on
the one page.
___
Haskell-Cafe mailing list
Yitzchak Gale writes:
Haskell was not the first to have lazy lists, but Haskell
was an important part of the inspiration for introducing
them into Python.
Jerzy Karczmarczuk wrote:
Actually, I would *sincerely* like to see some reference proving that.
The Python Library Reference,
apfelmus wrote:
Henning Thielemann wrote:
apfelmus wrote:
Back then, I was given the task to calculate some sequence
of numbers which I did in one page of C code. So far so good, but when I
asked the task assigner about his solution, he responded: Ah, this
problem, that's 1 line in Haskell.
On Nov 28, 2007 6:16 PM, Laurent Deniau [EMAIL PROTECTED] wrote:
I can't see how it could be one page of C unless the page is 10 lines
long ;-) The following code is the direct translation of your Haskell
code (except that it prints the result instead of building a list).
a+, ld.
#include
On Thu, 29 Nov 2007, Ben Franksen wrote:
Thomas Schilling wrote:
I put up a draft page. Feel free to adjust it.
http://haskell.org/haskellwiki/FrontpageDraft
I like the current version better. It is /very/ difficult to pack in such a
short paragraph a list of the most important
David Menendez wrote:
Thomas Davie wrote:
But the point is that this section of the site is the bit that's meant
to be an advertisement -- we're trying to encourage people to read
more,
Are we? I thought Haskell.org was intended to describe what Haskell *is*.
There are plenty of articles
On Tue, 27 Nov 2007, apfelmus wrote:
More specifically, fact means something that you can easily check
yourself. Robust/maintainable/testable code are things you _can't_
easily check yourself without already learning the language.
+1
But shorter code is a fact you can easily check, for
Henning Thielemann wrote:
apfelmus wrote:
Back then, I was given the task to calculate some sequence
of numbers which I did in one page of C code. So far so good, but when I
asked the task assigner about his solution, he responded: Ah, this
problem, that's 1 line in Haskell. Well, 2 lines if
On Nov 27, 2007 1:33 PM, apfelmus [EMAIL PROTECTED] wrote:
David Menendez wrote:
Thomas Davie wrote:
But the point is that this section of the site is the bit that's meant
to be an advertisement -- we're trying to encourage people to read
more,
Are we? I thought Haskell.org was
Henning Thielemann wrote:
Now my idea was, that making
links to glossary articles leaves the slogan as short as it is, and allows
people to find out quickly about the words they still don't know. An
explanation why Haskell's features are useful for programmers is still
required.
+1
But we'd
apfelmus wrote:
But we'd probably need the glossary articles first before linking to
them :)
+12
I added added alpha, beta and eta conversion a while back. (And then
some kind soul corrected it because half of what I wrote was actually
*wrong*...) Anybody want to take a stab at all 15 kinds
On Mon, 26 Nov 2007, Andrew Coppin wrote:
apfelmus wrote:
But we'd probably need the glossary articles first before linking to
them :)
+12
I added added alpha, beta and eta conversion a while back. (And then
some kind soul corrected it because half of what I wrote was actually
Nervous? Anxious? You found an irreproducable
bug in your program and have to fix it until
tomorrow? You feel that your code needs
essential cleanup, but you postponed it for long
in order to not introduce new bugs? You can
hardly maintain the code as it grows and grows?
Pause a
On 2007-10-10, Andrew Coppin [EMAIL PROTECTED] wrote:
(Indeed, the number of times my Haskell programs have locked up due to
me accidentally writing let x = foo x...)
For me, that's small. I have seen useful program not lock up
that depend on let x = foo x though.
--
Aaron Denney
--
On 10/8/07, Alex Tarkovsky [EMAIL PROTECTED] wrote:
Alex Tarkovsky wrote:
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
Brent Yorgey wrote:
Aren't you going to make one featuring a catamorphism? =)
Done, thanks for the contribution! ;)
--
Alex Tarkovsky
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Tue, 9 Oct 2007, Alex Tarkovsky wrote:
Brent Yorgey wrote:
Aren't you going to make one featuring a catamorphism? =)
Done, thanks for the contribution! ;)
I wish concat or concatMap :-)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On 09/10/2007, Alex Tarkovsky [EMAIL PROTECTED] wrote:
Brent Yorgey wrote:
Aren't you going to make one featuring a catamorphism? =)
Done, thanks for the contribution! ;)
Goes to look...
...oh, very impressive! ;-) Lolcats seem to have reached a terrifying new nadir.
D.
On 10/9/07, Henning Thielemann [EMAIL PROTECTED] wrote:
On Tue, 9 Oct 2007, Alex Tarkovsky wrote:
Brent Yorgey wrote:
Aren't you going to make one featuring a catamorphism? =)
Done, thanks for the contribution! ;)
I wish concat or concatMap :-)
ask and ye shall receive! =)
On 10/9/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Brent Yorgey wrote:
On 10/9/07, *Henning Thielemann* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I wish concat or concatMap :-)
ask and ye shall receive! =)
http://wso.williams.edu/~byorgey/concatMap.png
Andrew Coppin wrote:
Where do you guys find so many strange cat pictures?!
You don't know any cats or cat owners, do you? ;)
--
Alex Tarkovsky
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Sat, Oct 06, 2007 at 01:26:18PM -0500, Alex Tarkovsky wrote:
...and the silliness continues:
In which case:
http://pics.livejournal.com/resiak/pic/00019kx6/
Will
signature.asc
Description: Digital signature
___
Haskell-Cafe mailing list
Will Thompson wrote:
http://pics.livejournal.com/resiak/pic/00019kx6/
Bravo. ;)
And here's what happens when you substitute your cat for GHCi:
http://arcanux.org/lambdacats3.html
--
Alex Tarkovsky
___
Haskell-Cafe mailing list
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
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,
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
51 matches
Mail list logo