Add a string compare implementation just in case.

This commit is contained in:
Dillon Kearns 2022-06-23 10:10:28 -07:00
parent 07fd32a1ed
commit 690d1fd26c

View File

@ -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