Function composition: Difference between revisions
Added uBasic/4tH version
(Added uBasic/4tH version) |
|||
Line 2,926:
</lang>
=={{uBasic/4tH}}==
<lang>Print FUNC(_Compose (_f, _g, 3))
End
_Compose Param (3) : Return (FUNC(a@(FUNC(b@(c@)))))
_f Param (1) : Return (a@ + 1)
_g Param (1) : Return (a@ * 2)</lang>
=={{header|UNIX Shell}}==
Each function takes its argument from standard input,
|