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 ...
迪米特原则( Law of Demeter) 简介 实例 迪米特原则( Law of Demeter) 简介 得墨忒耳定律(Law of Demeter,缩写LoD)亦稱為“最少知识原则(Principle of Least Knowledge)”,是一种软件开发的设计指導原則,特别是面向对象的程序设计。得墨忒耳定律是松耦合的一种具體案例。該...
Functors, Applicative Functors 與 Monoids 溫習 Functors Applicative functors 關鍵字”newtype” Using newtype to make type class instances On newtype laziness type vs newtype vs data ...