| | Словари, Словарь Dictionary |
| Call-with-current-continuation (call/cc) A control function. call/cc takes a function f as its argument. It calls f and passes it the current , which is itself a function, k. The continuation represents the context of the call to call/cc. It is a function which takes the result of call/cc (which is the result of f) and returns the final result of the whole program. Thus if, for example, the final result is to print the value returned by call/cc then anything passed to k will also be printed: (defun f (k) (apply k 1) (apply k 2) 3) (print (call/cc f)) Will print 1 2 3. (1994-11-29) |
| | О сайте • 10 самых • Словари • Обратная связь | |
| © 2010 Admin User словарь словарь online online словарь цитаты chrome | XHTML | CSS | 1.8.11 |