资源描述:
《[Programming.Fsharp.3.0(2nd,2012.10)].Chris.Smith.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgrammingF#3.0ChrisSmithProgrammingF#3.0byChrisSmithCopyright©2013ChrisSmith.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotio
2、naluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editor:RachelRoumeliotisProofreader:AbsoluteService,Inc.ProductionEditor:HollyBauerInd
3、exer:LucieHaskinsCopyeditor:JasmineKwitynCoverDesigner:KarenMontgomeryInteriorDesigner:DavidFutatoIllustrator:RebeccaDemarestOctober2009:FirstEditionOctober2012:SecondEditionRevisionHistoryfortheSecondEdition:2012-10-08FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?is
4、bn=9781449320294forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.ProgrammingF#3.0,theimageofabullfinch,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsell
5、erstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassu
6、menoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-32029-4[LSI]TableofContentsPreface.......................................................................xiPartI.MultiparadigmProgramming1.IntroductiontoF#..
7、.........................................................3GettingtoKnowF#3VisualStudio114YourSecondF#Program5Values6WhitespaceMatters6.NETInterop8Comments8F#Interactive9ManagingF#SourceFiles112.Fundamentals.............................................................15Primi
8、tiveTypes15NumericPrimitives16Arithmetic17ConversionRoutines19BigInteger19BitwiseO