Stability | experimental |
---|---|

Maintainer | conal@conal.net |

Trie-based memoizer Adapted from sjanssen's paste: a lazy trie http://hpaste.org/3839.

# Documentation

Mapping from all elements of `a`

to the results of some function

memo2 :: (HasTrie s, HasTrie t) => (s -> t -> a) -> s -> t -> aSource

Memoize a binary function, on its first argument and then on its second. Take care to exploit any partial evaluation.