资源描述:
《the-racket-guide-for-kindle-landscape-actual-size》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheRacketGuideVersion5.1.3MatthewFlatt,RobertBruceFindler,andPLTSeptember20,2012ThisguideisintendedforprogrammerswhoarenewtoRacketornewtosomepartofRacket.Itassumesprogrammingexperience,soifyouarenewtoprogramming,considerinsteadreadingHowtoDesignPrograms.Ifyouwant1anespeciallyquickintroductio
2、ntoRacket,startwithQuick:AnIntroductiontoRacketwithPictures.Chapter2providesabriefintroductiontoRacket.FromChapter3on,thisguidedivesintodetails—coveringmuchoftheRackettoolbox,butleavingprecisedetailstoTheRacketReferenceandotherreferencemanuals.Contents1WelcometoRacket221.1InteractingwithRack
3、et....................241.2DefinitionsandInteractions..................251.3CreatingExecutables.....................271.4ANotetoReaderswithLisp/SchemeExperience......292RacketEssentials312.1SimpleValues.........................312.2SimpleDefinitionsandExpressions.............332.2.1Definitions.
4、.....................342.2.2AnAsideonIndentingCode.............372.2.3Identifiers.......................392.2.4FunctionCalls(ProcedureApplications).......402.2.5Conditionalswithif,and,or,andcond......432.2.6FunctionCalls,Again................502.2.7AnonymousFunctionswithlambda.........512.2.8
5、LocalBindingwithdefine,let,andlet*.....562.3Lists,Iteration,andRecursion................592.3.1PredefinedListLoops................622.3.2ListIterationfromScratch..............652.3.3TailRecursion....................682.3.4RecursionversusIteration..............722.4Pairs,Lists,andRacketSyntax.
6、...............752.4.1QuotingPairsandSymbolswithquote.......782.4.2Abbreviatingquotewith’..............832.4.3ListsandRacketSyntax...............853Built-InDatatypes883.1Booleans...........................883.2Numbers............................893.3Characters...........................963.4
7、Strings(Unicode).......................1003.5BytesandByteStrings....................1043.6Symbols............................1083.7Keywords...........................1123.8PairsandLists.........................1153.9Vectors.........................