资源描述:
《Clojure in Action.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ElegantapplicationsontheJVMINACTIONAmitRathoreMANNINGClojureinActionClojureinActionAMITRATHOREMANNINGSHELTERISLANDTomyparents,myson,andmywonderfulwifeForonlineinformationandorderingofthisandotherManningbooks,pleasevisitwww.manning.com.Thepublisheroffersdiscoun
2、tsonthisbookwhenorderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.20BaldwinRoadPOBox261ShelterIsland,NY11964Email:orders@manning.com©2012byManningPublicationsCo.Allrightsreserved.Nopartofthispublicationmaybereproduce
3、d,storedinaretrievalsystem,ortransmitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosed
4、esignationsappearinthebook,andManningPublicationswasawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavethebookswepublishprintedonacid-freepaper,andweexerto
5、urbesteffortstothatend.Recognizingalsoourresponsibilitytoconservetheresourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlorine.ManningPublicationsCo.Developmenteditor:SusanHarkins20BaldwinRoadCo
6、pyeditors:LindaRecktenwaldPOBox261Typesetter:DennisDalinnikShelterIsland,NY11964Coverdesigner:MarijaTudorISBN:9781935182597PrintedintheUnitedStatesofAmerica12345678910–MAL–17161514131211briefcontentsPART1GETTINGSTARTED..........................................
7、..............11■IntroductiontoClojure32■Awhirlwindtour303■BuildingblocksofClojure604■Polymorphismwithmultimethods905■ClojureandJavainterop1066■Stateandtheconcurrentworld1227■EvolvingClojurethroughmacros148PART2GETTINGREAL......................................
8、....................1678■Test-drivendevelopmentandmore1699■DatastoragewithClojure18910■Clojureandtheweb22111■Scalingthroughmessaging24012■DataprocessingwithClojure27313■Moreonfunct