huangzworks / real-world-haskell-cn

《Real World Haskell》中文翻译项目

Home Page:http://cnhaskell.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

第三章两处错误

raof01 opened this issue · comments

“译注:Maybe,Just,Nothing 都是 Prelude 中已经定义好的类型”
-- Just和Nothing都是value constructor,不是类型
“ghci 抱怨我们没有给 Invoice 值构造器足够的参数。”
此处的错误并不是没有给足够的参数,而是说,function不是Show的instance