Higher-order functions: Difference between revisions

m
→‎{{header|Ada}}: syntax highlighting
m (→‎{{header|Groovy}}: Added closure link)
m (→‎{{header|Ada}}: syntax highlighting)
Line 3:
=={{header|Ada}}==
===Simple Example===
<ada>
with Ada.Text_Io; use Ada.Text_Io;
Line 20 ⟶ 21:
First(Second'Access);
end Subprogram_As_Argument;
</ada>
===Complex Example===
<ada>
with Ada.Text_Io; use Ada.Text_Io;
Line 73 ⟶ 76:
Put_Line(Integer'Image(Int_Ptr.All));
end Subprogram_As_Argument_2;
</ada>
 
=={{header|ALGOL 68}}==
Anonymous user