Color.Foo
tabulate :: [(Bool, Double)] -> [Double] Source #
Convert a map into list array. prop> tabulate m !! fromEnum d == fromMaybe 0 (lookup d m)