yif042 / mistwave.github.io

My personal blog
http://duanyifu.com
0 stars 0 forks source link

Programming in Haskell Chapter1 Exercises Solutions | Yifu's Blog #18

Open yif042 opened 4 years ago

yif042 commented 4 years ago

https://duanyifu.com/2016/08/22/PIHex1/

Programming in Haskell是一本入门Haskell的好书,介绍页面以及配套的slides, vedios, codes都在这里。 给出double (double 2)的另外一种可能解释。 书上给的例子是应用序和正则序(从左向右),可以将正则序(从右向左)当作答案。 1234567double (double 2)= double 2 + double 2= double 2