Article View: comp.lang.functional
Article #1143Re: How to improve the readability of (any) LISP or any highlevel functional language to the level of FORTH ?
From: Jan Burse
Date: Fri, 21 Jan 2011 16:08
Date: Fri, 21 Jan 2011 16:08
26 lines
2895 bytes
2895 bytes
rupertlssmith@googlemail.com schrieb:
> On Jan 7, 11:47 am, Jan Burse<janbu...@fastmail.fm> wrote:
>> This is quite funny to write a tractate about operator definitions
>> to comp.lang.prolog. Prolog has already for some time operator
>> definitions.
>
> Yes, and you can define infix operators with it too! Making your code
> nice and easy to read, and avoiding all this Neanderthal RPN stuff. I
> guess some people just like to do things the hard way?
Reminds me of the HP-41C
http://en.wikipedia.org/wiki/HP-41C
But still the Haskell people have for example even put more
into operators, than Prolog did. You can write things like:
(+ 4)
Or
x $ y z
Right? I guess the current lack of a concept of lambda
expressions in Prolog is the cause.
Bye
Technical Details
Message-ID:
<ihcb2s$ngc$1@news.albasani.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mailReferences:
<80ceeca0-1d32-47d1-ba96-feb4d9729c3a@v17g2000yqv.googlegroups.com> <e37b64b7-61ba-4247-a6cd-e32323c7be15@i32g2000pri.googlegroups.com> <370ce4b6-b0ed-4c84-b008-099226a6734b@j32g2000prh.googlegroups.com> <ig6ugn$c00$1@news.albasani.net> <258aeca8-3b99-4307-9d9f-3ead486e3383@f30g2000yqa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 107f24,1641de092071599d X-Google-NewGroupId: yes X-Google-Thread: f4fd2,1641de092071599d X-Google-NewGroupId: yes X-Google-Thread: 103b8b,1641de092071599d X-Google-NewGroupId: yes X-Google-Thread: fd7c9,1641de092071599d X-Google-NewGroupId: yes X-Google-Attributes: gid4e63bbc566,gidf85ca024c1,gid39ae015015,gid2832dde05d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail From: Jan Burse <janburse@fastmail.fm> Newsgroups: comp.lang.functional,comp.lang.lisp,gnu.emacs.help,comp.lang.forth,comp.lang.prolog Subject: Re: How to improve the readability of (any) LISP or any highlevel functional language to the level of FORTH ? Date: Fri, 21 Jan 2011 17:08:59 +0100 Organization: albasani.net Lines: 27 Message-ID: <ihcb2s$ngc$1@news.albasani.net> References: <80ceeca0-1d32-47d1-ba96-feb4d9729c3a@v17g2000yqv.googlegroups.com> <e37b64b7-61ba-4247-a6cd-e32323c7be15@i32g2000pri.googlegroups.com> <370ce4b6-b0ed-4c84-b008-099226a6734b@j32g2000prh.googlegroups.com> <ig6ugn$c00$1@news.albasani.net> <258aeca8-3b99-4307-9d9f-3ead486e3383@f30g2000yqa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net ULZ24ZHxMxfNlPRuEdKP9wAi7s9+68NJuNDFQovQxafedI2v20DBRAPCA+lJbXd3GcatWZdLuh8tvwU8rHUyaOv5fI0kB4aByssMQ9K3Z6W+DB2Gb+NAjbh62Jy3PLrd NNTP-Posting-Date: Fri, 21 Jan 2011 16:09:00 +0000 (UTC) In-Reply-To: <258aeca8-3b99-4307-9d9f-3ead486e3383@f30g2000yqa.googlegroups.com> Cancel-Lock: sha1:nFtPvmNgi7apegfzfFtXm8Hj2Jw= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 Injection-Info: news.albasani.net; logging-data="T9vkEbY8WZd6FJ0Racm1KhkIjrIVawGrVgvRqmGPWZb/RGV/zgjyGXjmESPikAew/7z7P6GzTMuZraurDjb6EIIIa57fGp3STD9ltkWQdvidEU4Nwpi4N0eVRIparAbE"; mail-complaints-to="abuse@albasani.net"