memoize
memoize copied to clipboard
A Haskell memoization library
When compiling memoize 1.1.2 with GHC 9.8.1, I get this error: ``` src/Data/Function/Memoize/TH.hs:182:21: error: [GHC-83865] • Couldn't match type ‘BndrVis’ with ‘()’ Expected: [TyVarBndr ()] Actual: [TyVarBndr BndrVis] • In...
Hi! I was wondering if we could provide an orphan instance for `Numeric.Natural`? At the moment, I am using something naive like: ``` fToMemoize :: Natural -> a fToMemoize =...
It would certainly be nice to remove usage of TH at all, using GHC Generics to derive needed Memoizable instances. However, I haven't looked deep in the code, so I...
Template Haskell 2.23.0 wasn't compiling with it.