mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 01:13:06 +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
|
||||
|
||||
StringValue ->
|
||||
-- TODO
|
||||
LT
|
||||
-- the phantom types in the Field API don't ever run this, so it won't be called there
|
||||
-- Just in case anyone calls it, it delegates to Basics.compare
|
||||
Basics.compare a rawValue
|
||||
|
||||
DateValue ->
|
||||
Result.map2 Date.compare
|
||||
|
Loading…
Reference in New Issue
Block a user