[Haskell-cafe] DiscreteMap
In addition to the former discussion: http://www.haskell.org/pipermail/haskell/2002-October/010629.html Has someone thought about a type class that provides a uniform interface to Array and FiniteMap? The difference to a general Function class is that a DiscreteMap could return its domain, that is the list of all of its keys/indices/arguments. ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] humor
When I met Java some time ago, I said to myself: Java is a great language to write IDEs for the Java language. Now that I'm looking for Haskell source code (perhpas that there is another way to learn a language than to spy on others?), I'm tempted to say: Haskell is a great language to write libraries for the Haskell language Well... more seriously, does someone have got links to applications with visible source? Enrico Santoemma ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: humor
[EMAIL PROTECTED] writes: Well... more seriously, does someone have got links to applications with visible source? The only one I know is darcs: http://abridgegame.org/darcs Gabriel. pgpuyQnbS1skj.pgp Description: PGP signature ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] humor
On Fri, Jul 30, 2004 at 04:41:24PM +0200, [EMAIL PROTECTED] wrote: When I met Java some time ago, I said to myself: Java is a great language to write IDEs for the Java language. Now that I'm looking for Haskell source code (perhpas that there is another way to learn a language than to spy on others?), I'm tempted to say: Haskell is a great language to write libraries for the Haskell language Well... more seriously, does someone have got links to applications with visible source? ginsu is a pretty big application written in haskell. It's code is not the best, I wouldn't try to learn from it. but it is pretty big and complicated and used by a lot of people who could care less what language it is in, they just want something that works. It also touches on several real world concerns, cryptography, user interface, interactive performance, ugly (and the few elegant) hacks to keep memory usage down, binary serialization, network protocols... http://repetae.net/john/computer/ginsu/ John -- John Meacham - repetae.netjohn ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] humor
[EMAIL PROTECTED] wrote: When I met Java some time ago, I said to myself: Java is a great language to write IDEs for the Java language. Now that I'm looking for Haskell source code (perhpas that there is another way to learn a language than to spy on others?), I'm tempted to say: Haskell is a great language to write libraries for the Haskell language Well... more seriously, does someone have got links to applications with visible source? Define `application'... Many of the tools (not just libraries) for Haskell are written in Haskell: haskell.org/ghc haskell.org/happy sourceforge.net/projects/syntran (plug!) See also haskell.org/practice.html. Note that, of course, most applications written in Haskell are written to solve problems Haskellers are interested in, and most of us aren't interested in GUIs. More generally: Haskell is a great language for writing compilers for any language, not just Haskell; we haven't seen a C compiler, say, written in Haskell primarily because gcc has that market cornered. I would expect that the first major `real world' application of Haskell will be an interpreter for some kind of DSL or scripting language (I hope not, because that means I won't have written it, but I expect so). Jon Cast ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: humor
Sean Perry [EMAIL PROTECTED] wrote: Gabriel Ebner wrote: [EMAIL PROTECTED] writes: Well... more seriously, does someone have got links to applications with visible source? The only one I know is darcs: http://abridgegame.org/darcs which is actually quite readable, even for a newbie. He does like the '$' operator a bit much for my tastes though. Obviously you haven't realized the great beauty of $. You cannot like $ to much. foldr should be defined as follows: foldr f z [] = id $ z foldr f z (x:xn) = (f $ x) $ foldr f z xn etc. :) Jon Cast ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: humor
Jon Cast wrote: Obviously you haven't realized the great beauty of $. You cannot like $ to much. foldr should be defined as follows: foldr f z [] = id $ z foldr f z (x:xn) = (f $ x) $ foldr f z xn etc. :) Am I to assume there is some sarcasm here? Hope so (-: (Sorry, still new to the list, learning the idioms and mannerisms) ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe