🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #691

Re: Why functional languages?

#691
From: Richard Brooksby
Date: Fri, 16 Oct 1992 18:46
29 lines
1999 bytes
tmb@arolla.idiap.ch (Thomas M. Breuel) wrote:

> Too bad that languages like SML (and, moreso, Haskell) have adopted
> such a comparatively complex syntax. Writing programs to manipulate
> programs is much easier in Lisp, due to the obvious correspondence
> between external and internal representation and a standard
> interface to the compiler/type facilities (in the form of macros and
> type predicates).

I'm not sure that languages should encourage such a reflective
approach.  Surely it is better to maintain a clear division between
the `levels' of a compiler system in order to retain semantic
simplicity.  As I see it, it's the semantic simplicity and strong type
enforcement that make developing in a functional programming language
so much more productive.

On a practical note: Introducing reflection of the sort you mention
makes it impossible (or at least difficult) to deliver applications
separate from the compiler.  When your compiler is as complex as a
truly standard ML compiler must be, this is a serious problem.

I agree, however, that the syntax of Standard ML is too complicated.
In fact, it requires infinite lookahead to parse Standard ML (New
Jersey and Poly/ML don't implement it).  This is a shame after so much
effort has gone into the semantics.
---
Richard Brooksby <richard@harlqn.co.uk>
ML Project / Symbolic Processing Division / Harlequin
+44 223 872522
Technical Details
Message-ID: <RICHARD.92Oct16184638@freud.harlqn.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!harlqn.co.uk!harlqn!richard
References: <1992Sep26.212935.26809@eng.umd.edu> <1992Sep28.120225.9524@odin.diku.dk> <TMB.92Sep28144424@arolla.idiap.ch>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.functional
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!harlqn.co.uk!harlqn!richard
From: richard@harlqn.co.uk (Richard Brooksby)
Subject: Re: Why functional languages?
In-Reply-To: tmb@arolla.idiap.ch's message of 28 Sep 92 18:44:24 GMT
Message-ID: <RICHARD.92Oct16184638@freud.harlqn.co.uk>
Lines: 30
Sender: news@harlqn.co.uk (Usenet News Account)
Organization: Harlequin Limited, Cambridge, England
References: <1992Sep26.212935.26809@eng.umd.edu> <1992Sep28.120225.9524@odin.diku.dk>
 <TMB.92Sep28144424@arolla.idiap.ch>
Date: Fri, 16 Oct 1992 18:46:37 GMT