资源描述:
《Programming F# 3.0, 2nd Edition.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgrammingF#3.0ChrisSmithProgrammingF#3.0byChrisSmithCopyright©2013ChrisSmith.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.O
2、nlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editor:RachelRoumeliotisProofreader:AbsoluteService,Inc.ProductionEditor:HollyBauerIndexer:LucieHaskin
3、sCopyeditor:JasmineKwitynCoverDesigner:KarenMontgomeryInteriorDesigner:DavidFutatoIllustrator:RebeccaDemarestOctober2009:FirstEditionOctober2012:SecondEditionRevisionHistoryfortheSecondEdition:2012-10-08FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449320294forrelea
4、sedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.ProgrammingF#3.0,theimageofabullfinch,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsare
5、claimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,o
6、rfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-32029-4[LSI]TableofContentsPreface.......................................................................xiPartI.MultiparadigmProgramming1.IntroductiontoF#..................................................
7、.........3GettingtoKnowF#3VisualStudio114YourSecondF#Program5Values6WhitespaceMatters6.NETInterop8Comments8F#Interactive9ManagingF#SourceFiles112.Fundamentals.............................................................15PrimitiveTypes15NumericPrimitives16Arithmetic17ConversionRout
8、ines19BigInteger19BitwiseO