Re: More static type fun.

From: Dirk Thierbach (dthierbach_at_gmx.de)
Date: 10/29/03


Date: Wed, 29 Oct 2003 23:04:18 +0100

Erann Gat <gat@jpl.nasa.gov> wrote:

> I tried. I went to www.haskell.org and downloaded Hugs, which billed
> itself as an interpreter for Haskell that was specifically designed for
> teaching.

Hugs is a pure interpreter, and is not as actively developing as GHC
is.

> Not to put too fine a point on it, but Hugs sucks.

Yes. It's fine for experiments, but not for real development.

> It reinforced all of my negative prejudices about statically typed
> languages. You can't even enter function definitions into the
> "interpreter".

Yes. In GHC, you can (you have to start them with "let".)

The toplevel is nice more "experiments", but it doesn't work well when
you have a larger amount of code. I'd suggest editing a file, and
using the :l and :r commands. It's not considerably slower than using
the toplevel directly.

> I tried running some code snippets posted as part of this discussion
> and none of them worked.

I have run all the code snippets I made successfully with GHC. Sometimes
I have ommitted some imports, but everything else should work, unless
I introduced typos during cut and paste.

> Now, I am given to understand that Hugs is not the best that Haskell has
> to offer, but there is only so much time I have to devote to this. I
> offer this not so much as an indictment of Haskell, but as feedback to the
> Haskell community about the experience of one person who came to Haskell
> with a pretty open mind. I have not given up on Haskell yet, but my
> initial experience definitely did not impress me.

Yes. It's a known problem that there is no good IDE, and this
turns people off. Haskell is a comparatively young language, and comes
from academics. It's hard to get funding to develop an IDE; most of
the development goes into the language. There are also people who
complain that there is no good introduction, and the tutorials are too
difficult (personally, I didn't have any trouble with them when I
learned Haskell). The Helium project tries to improve at least this
situation a bit.

Your critique is completely justified. I don't know any good solution
for this problem.

If you can spare a little bit more time, keep trying. Have a look at the
tutorials first.

- Dirk



Relevant Pages

  • Re: Is it just a matter of taste?
    ... found Haskell the easiest for me to understand, ... say Erlang does better at parallel execution, ... I've been reading some papers about functional language's SMP support ... formula as to which language to prefer for a particular case. ...
    (comp.lang.functional)
  • Re: Scheme went one direction, Haskell went another: Why?
    ... these sorts of language features, ... Scheme, the current Haskell situation may be considered an anti-goal. ... a feature of the Glasgow Haskell Compiler ...
    (comp.lang.scheme)
  • Re: Glasgow haskell vs. Lispworks
    ... Such arguments are far more difficult to resolve for a language without a formal semantics, of course, but that doesn't mean it is irrelevant. ... but none of these benchmarks take programmer time into account. ... Haskell came out with impressive results, including timing. ... IIRC the first three places were taken by Haskell and OCaml teams. ...
    (comp.lang.functional)
  • Re: how is Haskell not robust?
    ... Haskell has not reached critical mass. ... have a thousand packages but still poor support for mainstream package ... If anyone would make money with the language or a compiler ...
    (comp.lang.functional)
  • ANNOUNCE: GHC version 6.6.1
    ... The GHC Team is pleased to announce a new patchlevel release of GHC. ... Haskell is a standard lazy functional programming language; ... platforms, together with an interactive system for convenient, quick ... We run mailing lists for GHC users and bug reports; ...
    (comp.lang.functional)