[Top][All Lists]
[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
- [Help-bash] Closure concept in bash, Peng Yu, 2012/01/27
- Re: [Help-bash] Closure concept in bash, Greg Wooledge, 2012/01/27
- Re: [Help-bash] Closure concept in bash,
Peng Yu <=
- Re: [Help-bash] Closure concept in bash, Bob Proulx, 2012/01/30
- Re: [Help-bash] Closure concept in bash, Peng Yu, 2012/01/30
- Re: [Help-bash] Closure concept in bash, Bob Proulx, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Peng Yu, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Bob Proulx, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Bob Proulx, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Peng Yu, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Greg Wooledge, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Greg Wooledge, 2012/01/31
- Re: [Help-bash] Closure concept in bash, Chet Ramey, 2012/01/31