# Re: What are closures, continuations?

**URL:** <https://www.ruby-forum.com/t/re-what-are-closures-continuations/73916>\
**Category:** Ruby\
**Created:** [October 27, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/re-what-are-closures-continuations/73916 "2006-10-27T23:02:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [October 27, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/re-what-are-closures-continuations/73916/1 "2006-10-27T23:02:37Z")

</div>

From: Joe R. MUDCRAP-CE

> Subject: What are closures, continuations?

Short answer to closures:  
Closures are functions that retain access to local variables declared in  
the same scope as the function.

Long answer to closures:  
[http://www.google.com/search?q=what+are+closures](http://www.google.com/search?q=what+are+closures)

Short answer to continuations:  
[http://phrogz.net/ProgrammingRuby/ref\_c\_continuation.html](http://phrogz.net/ProgrammingRuby/ref_c_continuation.html)

Long answer to continuations:  
[http://www.google.com/search?q=ruby+continuations](http://www.google.com/search?q=ruby+continuations)
