
Haskellismostlikelyquitedifferentfromanylanguageyouveeverusedbefore.Comparedtotheusualsetofconceptsinaprogrammersmentaltoolbox,functionalprogrammingoffersusaprofoundlydifferentwaytothinkaboutsoftware.InHaskell,wedeemphasizecodethatmodifiesdata.Instead,wefocusonfunctionsthattakeimmutablevaluesasinputandproducenewvaluesasoutput.Giventhesameinputs,thesefunctionsalwaysreturnthesameresults.Thisisacoreideabehindfunctionalprogramming.
阅读更多
漫游鲸二手书店
微信扫码去买书
扫码访问微信小程序