They can indeed be generalised to other structures: Scrap Your Zippers uses generic programming in Haskell; Clojure's zipper gives you a "pluggable" zipper: ...
確定! 回上一頁