List out of Lambda
stevelosh.com
List out of Lambda
1–10 of 49 posts
Re: List out of Lambda
#2Encoding integers with lambda is called the curch encoding: http://en.wikipedia.org/wiki/Church_numerals
Functional programming in general is built upon the foundations laid out by him.
Actually the domainname of hackernews (ycombinator) has a lot todo with lambda calculus.
Re: List out of Lambda
#3Re: List out of Lambda
#4Turing-completeness, of course. After that, it's all a matter of allowing you to stay as focused as possible on the task at hand: some reasonable way to express your chosen paradigm, library support for things ancillary to your actual task, and some measure of support in the tools you find useful.
Lots of useful programs can be written without turing completeness. It can be useful, but only for a limited problem domain.
Re: List out of Lambda
#5Turing-completeness, of course. After that, it's all a matter of allowing you to stay as focused as possible on the task at hand: some reasonable way to express your chosen paradigm, library support for things ancillary to your actual task, and some measure of support in the tools you find useful.
> Turing-completeness, of course. Lots of useful programs can be written without turing completeness. It can be useful, but only for a limited problem domain.
Re: List out of Lambda
#6For people who are interested. The theoretical foundations for this is lambda-calculus created by Alonso Church. Encoding integers with lambda is called the curch encoding: http://en.wikipedia.org/wiki/Church_numerals Functional programming in general is built upon the foundations laid out by him. Actually the domainname of hackernews (ycombinator) has a lot todo with lambda calculus.
:-)
Re: List out of Lambda
#7I use blocks in Objective-C and "closures" in Applescript.
to lambda(aStatment)
script intern
say aStatment
end script
end lambda
set a to lambda("applescript…")
set b to lambda("knows how to …")
set c to lambda("make a closure if not a lambda…")
tell a to run
tell b to run
tell c to runRe: List out of Lambda
#8Turing-completeness, of course. After that, it's all a matter of allowing you to stay as focused as possible on the task at hand: some reasonable way to express your chosen paradigm, library support for things ancillary to your actual task, and some measure of support in the tools you find useful.
> Turing-completeness, of course. Lots of useful programs can be written without turing completeness. It can be useful, but only for a limited problem domain.
Including Bitcoin transactions - I learned this from elsewhere on HN today.
Re: List out of Lambda
#9Re: List out of Lambda
#10For people who are interested. The theoretical foundations for this is lambda-calculus created by Alonso Church. Encoding integers with lambda is called the curch encoding: http://en.wikipedia.org/wiki/Church_numerals Functional programming in general is built upon the foundations laid out by him. Actually the domainname of hackernews (ycombinator) has a lot todo with lambda calculus.