Remove unused function.

This commit is contained in:
Dillon Kearns 2022-06-16 08:43:26 -07:00
parent 4590ae5da9
commit acaabbc678

View File

@ -134,14 +134,6 @@ select optionsMapping invalidError =
dict =
Dict.fromList optionsMapping
toString a =
case optionsMapping |> List.filter (\( str, b ) -> b == a) |> List.head of
Just ( str, b ) ->
str
Nothing ->
"Missing enum"
fromString : String -> Maybe option
fromString string =
Dict.get string dict