logo
首页技术栈工具库讨论
memoize

memoize

This library provides a type class Memoizable for memoizing functions, along with instances for a variety of argument types. It includes a Template Haskell function for deriving Memoizable instances for arbitrary algebraic datatypes. The library constructs pure memo caches without the use of unsafePerformIO. This technique relies on implementation assumptions that, while not guaranteed by the semantics of Haskell, appear to be true.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub icontov/memoize21
HACKAGE
carbal install memoize
查看
标签
根据用户添加的标签生成
暂无标签