chowells79 / lrucache

A simple pure LRU cache written in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined usage in Data.Cache.LRU.OrderedStore

bgamari opened this issue · comments

undefined is used in OrderedStore. If bottom is really necessary here, at least use error so users can find the source of the issue when it leaks out.

This is a good point, but I don't know when I'll get around to it, if ever. I intend to rewrite much of the package at some point, anyway - including the whole backing structure.

(Whoops. Didn't mean to close. This deserves to be open while the issue exists in the code.)

Actually, I seem to have fixed this in the 1.1 codebase while tracking down the problem in issue #8.