Andrew Clarke wrote:
> I believe we need
>
> procedure main()
> local lst
> lst := [10, 20, 30, 40]
>
> applier(printer, lst)
> end
>
> procedure printer(n)
> write("-> ", n)
> end
>
> procedure applier(callback, container)
> every callback(!container)
> end
I agree. This matches what I think of when I think of
a callback.
--
Steve Wampler {[email protected]}
The gods that smiled upon your birth are laughing now. -- fortune cookie
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group