remove unused function maybe (prefer Maybe.withDefault)

and also a couple of libs we weren't using
This commit is contained in:
Daniel Barlow 2024-11-21 21:35:59 +00:00
parent 0da4e867bb
commit b83ddf58c0
2 changed files with 1 additions and 8 deletions

View File

@ -17,9 +17,7 @@
"elm/url": "1.0.0",
"elm-community/list-extra": "8.7.0",
"elm-explorations/test": "2.2.0",
"mpizenberg/elm-pointer-events": "5.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"ymtszw/elm-xml-decode": "3.2.2"
"mpizenberg/elm-pointer-events": "5.0.0"
},
"indirect": {
"elm/bytes": "1.0.8",

View File

@ -4,11 +4,6 @@
module Lib exposing(looseLabels)
maybe default val =
case val of
Just v -> v
Nothing -> default
-- https://github.com/cenfun/nice-ticks/blob/master/docs/Nice-Numbers-for-Graph-Labels.pdf
log10 x = logBase 10 x