souplesse

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b83ddf58c0efd6a7abcc05c442c56404c2564946
parent 0da4e867bb882870a413d57032abe92125668c5e
Author: Daniel Barlow <dan@telent.net>
Date:   Thu, 21 Nov 2024 21:35:59 +0000

remove unused function maybe (prefer Maybe.withDefault)

and also a couple of libs we weren't using

Diffstat:
Melm.json | 4+---
Mfrontend/src/Lib.elm | 5-----
2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/elm.json b/elm.json @@ -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", diff --git a/frontend/src/Lib.elm b/frontend/src/Lib.elm @@ -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