CALL-WITH-CURRENT-CONTINUATION
\kˈɔːlwɪðkˈʌɹəntkəntˌɪnjuːˈe͡ɪʃən], \kˈɔːlwɪðkˈʌɹəntkəntˌɪnjuːˈeɪʃən], \k_ˈɔː_l_w_ɪ_ð_k_ˈʌ_ɹ_ə_n_t_k_ə_n_t_ˌɪ_n_j_uː_ˈeɪ_ʃ_ə_n]\
Sort: Oldest first
-
(call/cc) A Lisp control function thattakes a function f as its argument and calls f, passing it thecurrent continuation, which is itself a function, k. k,which represents the context of the call to call/cc, takes theresult of call/cc (which is the result of f) and returns thefinal result of the whole program. Thus if, for example, thefinal result is to print the value returned by call/cc thenanything passed to k will also be printed.E.g, in Scheme: (define (f k) (k 1) (k 2) 3) (display (call-with-current-continuation f))Will display 1.
By Denis Howe
Word of the day
Platidiam
- An inorganic water-soluble platinum complex. After undergoing hydrolysis, it reacts DNA produce both intra interstrand crosslinks. These crosslinks appear to impair replication and transcription of DNA. The cytotoxicity cisplatin correlates with cellular arrest in G2 phase cell cycle.
Nearby Words
- call-by-value
- call-by-value-result
- call-in
- call-level interface
- call-note
- call-with-current-continuation
- calla
- calla lily
- calla palustris
- calla positive leukemia
- calla positive leukemias