mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Add a string compare implementation just in case.
This commit is contained in:
parent
07fd32a1ed
commit
690d1fd26c
@ -80,8 +80,9 @@ compare a (Value kind rawValue) =
|
|||||||
LT
|
LT
|
||||||
|
|
||||||
StringValue ->
|
StringValue ->
|
||||||
-- TODO
|
-- the phantom types in the Field API don't ever run this, so it won't be called there
|
||||||
LT
|
-- Just in case anyone calls it, it delegates to Basics.compare
|
||||||
|
Basics.compare a rawValue
|
||||||
|
|
||||||
DateValue ->
|
DateValue ->
|
||||||
Result.map2 Date.compare
|
Result.map2 Date.compare
|
||||||
|
Loading…
Reference in New Issue
Block a user