mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 09:21:57 +03:00
Delete unused.
This commit is contained in:
parent
16d081c42b
commit
058d4a3819
18
src/Form.elm
18
src/Form.elm
@ -822,24 +822,6 @@ mergeResultsDataSource parsed =
|
||||
)
|
||||
|
||||
|
||||
|
||||
--resultsToDict : List a -> Dict String (List error)
|
||||
--resultsToDict list =
|
||||
-- list
|
||||
-- |> List.foldl
|
||||
-- (\( key, errorsForKey ) soFar ->
|
||||
-- soFar
|
||||
-- |> Dict.update key
|
||||
-- (\maybeList ->
|
||||
-- maybeList
|
||||
-- |> Maybe.withDefault []
|
||||
-- |> List.append errorsForKey
|
||||
-- |> Just
|
||||
-- )
|
||||
-- )
|
||||
-- Dict.empty
|
||||
|
||||
|
||||
mergeErrors : Dict comparable (List value) -> Dict comparable (List value) -> Dict comparable (List value)
|
||||
mergeErrors errors1 errors2 =
|
||||
Dict.merge
|
||||
|
Loading…
Reference in New Issue
Block a user