书栈网 · BookStack 本次搜索耗时 0.054 秒,为您找到 104 个相关结果.
  • Functors, Applicative Functors 與 Monoids

    1007 2018-05-12 《HASKELL 趣學指南》
    Functors, Applicative Functors 與 Monoids 溫習 Functors Applicative functors 關鍵字”newtype” Using newtype to make type class instances On newtype laziness type vs newtype vs data ...
  • Zippers

    Zippers 資料結構 來走二元樹吧! 凡走過必留下痕跡 Going back up Manipulating trees under focus I’m going straight to top, oh yeah, up where the air is fresh and clean! 來看串列 陽春的檔案系統 A zipper for ...
  • Module

    模組 (Modules) 裝載模組 Data.List Data.Char Data.Map Data.Set 建立自己的模組 模組 (Modules) 裝載模組 Haskell 中的模組是含有一組相關的函數,型別和型別類的組合。而 Haskell 程序的本質便是從主模組中引用其它模組並呼叫其中的函數來執行操作。這樣可以把程式碼分...
  • A Fistful of Monad

    來看看幾種 Monad 動手做做看: Maybe Monad Monad type class 走鋼索 do 表示法 List Monad A knight’s quest Monad laws (單子律) Left identity Right identity Associativity 來看看幾種 Monad 當我們第一次談...