Some History of Functional Programming Languages - Springer

Some History of Functional Programming Languages - Springer

ID:39730854

大小:243.33 KB

页数:20页

时间:2019-07-10

Some History of Functional Programming Languages - Springer_第1页
Some History of Functional Programming Languages - Springer_第2页
Some History of Functional Programming Languages - Springer_第3页
Some History of Functional Programming Languages - Springer_第4页
Some History of Functional Programming Languages - Springer_第5页
资源描述:

《Some History of Functional Programming Languages - Springer》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、SomeHistoryofFunctionalProgrammingLanguages(InvitedTalk)D.A.TurnerUniversityofKent&MiddlesexUniversityAbstract.Westudyaseriesofmilestonesleadingtotheemergenceoflazy,higherorder,polymorphicallytyped,purelyfunctionalprogram-minglanguages.AninvitedlecturegivenatTFP12,StAndrewsUniver-sity

2、,12June2012.IntroductionAcomprehensivehistoryoffunctionalprogramminglanguagescoveringallthemajorstreamsofdevelopmentwouldrequireamuchlongertreatmentthanfallswithinthescopeofatalkatTFP,itwouldprobablyneedtobebooklength.InwhatfollowsIhave,firstly,focussedonthedevelopmentsleadingtolazy,hi

3、gherorder,polymorphicallytyped,purelyfunctionalprogramminglanguagesofwhichHaskellisthebestknowncurrentexample.Secondly,ratherthantryingtoincludeeveryimportantcontributionwithinthisstreamIfocusonaseriesofsnapshotsatsignificantstages.Wewillexamineaseriesofmilestones:1.LambdaCalculus(Chur

4、ch&Rosser1936)2.LISP(McCarthy1960)3.Algol60(Nauretal.1963)4.ISWIM(Landin1966)5.PAL(Evans1968)6.SASL(1973–83)7.Edinburgh(1969–80)—NPL,earlyML,HOPE8.Miranda(1986)9.Haskell(1992...)1TheLambdaCalculusThelambdacalculus(Church&Rosser1936;Church1941)isatypelesstheoryoffunctions.Inthebriefacc

5、ounthereweuselowercaselettersforvariables:a,b,c···anduppercaselettersforterms:A,B,C···.Atermofthecalculusisavariable,e.g.x,oranapplicationAB,oranabstractionλx.Aforsomevariablex.Inthelastcaseλx.isabinderandfreeH.-W.LoidlandR.Pe˜na(Eds.):TFP2012,LNCS7829,pp.1–20,2013.cSpringer-VerlagBe

6、rlinHeidelberg20132D.A.TurneroccurrencesofxinAbecomebound.Aterminwhichallvariablesareboundissaidtobeclosedotherwiseitisopen.Themotivatingideaisthatclosedtermsrepresentfunctions.Inwritingtermswefreelyuseparenthesestoremoveambiguity.Thecalculushasthreerules(α)λx.A→αλy.[y/x]A(β)(λx.A)B→β

7、[B/x]A(η)λx.Ax→ηAifxnotfreeinAHere[B/x]AmeanssubstituteBforfreeoccurrencesofxinA1.Ruleαpermitschangeofboundvariable.Termswhicharethesameuptoα-conversion,e.g.λx.xandλy.y,arenotusuallydistinguished.Thesmallestreflexive,symmetric,transitive,substitutiverelationontermsincluding→α,→βand→η,w

8、ritte

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。