タグ

designとHaskellに関するNnwwwのブックマーク (2)

  • The ReaderT Design Pattern - FP Complete

    Often times I’ll receive or read questions online about “design patterns” in Haskell. A common response is that Haskell doesn’t have them. What many languages address via patterns, in Haskell we address via language features (like built-in immutability, lambdas, laziness, etc). However, I believe there is still room for some high-level guidance on structuring programs, which I’ll loosely refer to

    The ReaderT Design Pattern - FP Complete
    Nnwww
    Nnwww 2017/06/17
    StateT IOは無意味だからReaderT IOを使おう、状態はMutVar派生で扱おう、テストも考慮して環境となる構造体にlensを使おう、Monad型クラスから拡張することでMonadIOを一部のロジックで外せる
  • Reddit - Dive into anything

    The Haskell programming language community. Daily news and info about all things Haskell related: practical stuff, theory, types, libraries, jobs, patches, releases, events and conferences and more... Hello haskellers and other functional developers! My name is Alexander Granin, and I’m glad to present you 5 chapters of my book “Functional Design and Architecture”. I was working on it during the w

    Reddit - Dive into anything
    Nnwww
    Nnwww 2017/05/23
    「巨大なアプリケーションをHaskellでどう書くべきか」全人類の訴求する書籍じゃん/クラウドファウンディングやってほしい
  • 1