mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-22 21:51:25 +03:00
Change foldl's to foldr's to get DataSource markdown renderer resolution showing up in the correct order.
This commit is contained in:
parent
d9f3372669
commit
93a595c869
@ -1567,7 +1567,7 @@ bumpHeadings by markdown =
|
||||
|
||||
allStaticHttp : List (DataSource a) -> DataSource (List a)
|
||||
allStaticHttp =
|
||||
List.foldl (DataSource.map2 (::)) (DataSource.succeed [])
|
||||
List.foldr (DataSource.map2 (::)) (DataSource.succeed [])
|
||||
|
||||
|
||||
bumpHeadingLevel : Block.HeadingLevel -> Block.HeadingLevel
|
||||
|
@ -418,7 +418,7 @@ resolve =
|
||||
-}
|
||||
combine : List (DataSource value) -> DataSource (List value)
|
||||
combine =
|
||||
List.foldl (map2 (::)) (succeed [])
|
||||
List.foldr (map2 (::)) (succeed [])
|
||||
|
||||
|
||||
{-| Like map, but it takes in two `Request`s.
|
||||
|
Loading…
Reference in New Issue
Block a user