Higher-order functions: Difference between revisions

m
m (→‎Lambdas: Whoops, result type is at the end.)
Line 98:
 
=={{header|ALGOL 68}}==
{{works with|ALGOL 68|Revision 1 - no extensions to language used}}
 
{{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}}
{{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d] - due to extensive use of FORMATted transput}}
<lang algol68>PROC first = (PROC(LONG REAL)LONG REAL f) LONG REAL:
(
Line 112 ⟶ 116:
)</lang>
Output:
<pre>
<lang algol68>+2.50</lang>
+2.50
<pre>
 
=={{header|AmigaE}}==