Haskellisapurelyfunctionallanguagethatallowsprogra妹妹erstorapidlydevelopclear,concise,andcorrectsoftware.Thelanguagehasgrowninpopularityinrecentyears,bothinteachingandinindustry.Thisbookisbasedontheauthor'sexperienceofteachingHaskellformorethantwentyyears.Allconceptsareexplainedfromfirstprinciplesandnoprogra妹妹ingexperienceisrequired,makingthisbookaccessibletoabroadspectrumofreaders.WhilePartIfocusesonbasicconcepts,PartIIintroducesthereadertomoreadvancedtopics.ThisneweditionhasbeenextensivelyupdatedandexpandedtoincluderecentandmoreadvancedfeaturesofHaskell,newexamplesandexercises,selectedsolutions,andfreelydownloadablelectureslidesandexamplecode.Thepresentationiscleanandsimple,whilealsobeingfullycompliantwiththelatestversionofthelanguage,includingrecentchangesconcerningapplicative,monadic,foldable,andtraversabletypes.TableofContentsPartIBasicConceptsChapter1IntroductionChapter2FirststepsChapter3TypesandclassesChapter4DefiningfunctionsChapter5ListcomprehensionsChapter6RecursivefunctionsChapter7Higher-orderfunctionsChapter8DeclaringtypesandclassesChapter9ThecountdownproblemPartIIGoingFurtherChapter10Interactiveprogra妹妹ingChapter11Unbeatabletic-tac-toeChapter12MonadsandmoreChapter13MonadicparsingChapter14FoldablesandfriendsChapter15LazyevaluationChapter16ReasoningaboutprogramsChapter17CalculatingcompilersAppendixASelectedsolutionsAppendixBStandardprelude
1