Non-numerical use cases for functional programming?

前端 未结 18 2247
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 21:33

I just finished reading a book on scala. What strikes me is that every single example in the whole book was numerical in some form or another.

Like a lot of programm

18条回答
  •  情深已故
    2020-12-22 21:57

    It's true that many books on functional programming uses "numerical programming" to teach, but there are exceptions.

    Haskell School of Expression is a beginner's book on Haskell that uses multimedia as its vehicle for teaching.

    Real World Haskell doesn't really have any particular vehicle throughout the entire book, but there are several chapters covering writing "real" programs in a functional style.

提交回复
热议问题