value unary_! is not a member of Int => Boolean FunSets.scala /progfun-funsets/src/main/scala/funsets
x => !p(x)
这样就没问题了。
--
You received this message because you are subscribed to the Google Groups "fp-cn" group.
To post to this group, send email to fp...@googlegroups.com.
To unsubscribe from this group, send email to fp-cn+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/fp-cn?hl=en.
概念太抽象,题目很纠结,不过我觉的对我最花时间是Scala的语法,不知道各位有没有看/买作者的 Programming in Scala 2nd Ed?还有很多人推荐的SICP?后者免费,不过我觉得有些偏抽象,看的时候还有对Scheme语法的不适应,感觉这个课的直接帮助不大,前一本不知道有没有人看过?