From: "David McClain" <dmcclain@azstarnet.com>
To: <caml-list@inria.fr>
Subject: Language Design
Date: Mon, 21 Aug 2000 14:44:26 -0700 [thread overview]
Message-ID: <000d01c00bb8$fb3e3560$210148bf@dylan> (raw)
John Max Skaller said:
> I am designing a programming language (the compiler is written
in ocaml) which is a procedural language with 'purely functional'
expressions (using eager evaluation). Function closures can
access their context, which procedural statements my change between
building the closure and evaulating it. Procedural closures may
mutate their environment.
DM says:
I, for one, have fought for many years with languages that insisted on a
division between functions and procedures as you describe them. I have found
the unified "everything is a function" approach to be most appealing. In
particular, the worst offenders are those languages that insist on syntactic
distinctions such as Fortran, RSI/IDL, and Basic. I cannot be alone in
having difficulty remembering when a routine, whose result I don't really
need, is to be called as a function, or as a procedure.
I hope you find an answer to your question, but I do not look forward to
another such language.
Sincerely
David McClain, Sr. Scientist, Raytheon Systems Co., Tucson, AZ
next reply other threads:[~2000-08-22 7:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-21 21:44 David McClain [this message]
2000-08-23 5:55 ` John Max Skaller
2000-08-24 9:12 ` Francois Pottier
2000-08-24 20:16 ` John Max Skaller
2000-08-25 9:52 ` Andreas Rossberg
2000-08-27 22:00 ` John Max Skaller
2000-08-28 23:11 ` Daan Leijen
2000-08-25 15:41 ` Jerome Vouillon
2000-08-27 22:21 ` John Max Skaller
2000-09-01 11:57 Dave Berry
2000-09-01 17:48 ` Markus Mottl
2000-09-01 19:12 ` Marcin 'Qrczak' Kowalczyk
[not found] ` <39B5DD81.E2500203@maxtal.com.au>
2000-09-06 6:33 ` Marcin 'Qrczak' Kowalczyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000d01c00bb8$fb3e3560$210148bf@dylan' \
--to=dmcclain@azstarnet.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox