help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Closure concept in bash


From: Peng Yu
Subject: Re: [Help-bash] Closure concept in bash
Date: Mon, 30 Jan 2012 21:32:14 -0600

> What do you mean by "closure"?

See here for the explanation of closure. It is a concept in
programming language. Most JavaScript code uses this property
extensively. This feature (or at least something similar to it) will
be also useful to bash in the case of "export -f func". Otherwise, all
the variables used in func has to be manually exported, which is very
inconvenient.

http://en.wikipedia.org/wiki/Closure_%28computer_science%29

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]