Closed nh2 closed 10 years ago
enum :: Enum a => Memo a enum = wrap toEnum fromEnum integral
This allows to memo everything that is an Enum.
Works for own custom data types, and also for Int etc.
Int
I am very busy right now. If you would like to make a pull request and bump the version according to the PVP, I will pull and upload.
Sure!
Thanks, uploaded!
This allows to memo everything that is an Enum.
Works for own custom data types, and also for
Int
etc.