Partial function application: Difference between revisions

→‎{{header|Factor}}: fixed a mistake in the output code
(added Factor)
(→‎{{header|Factor}}: fixed a mistake in the output code)
Line 690:
: fsf2 ( s -- s' ) [ f2 ] fs ;
 
{ 0 1 2 3 } {[ 2fsf1 4. 6] 8[ }fsf2 . ] bi
[{ 2 4 6 8 } [ fsf1 . ] [ fsf2 . ] bi ] dup [ call ] dip call</lang>
{{out}}
<pre>
1,808

edits