You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Walk is a bit of a mess. It seems we should be able to do something more elegant, using recursion schemes or something.
For motivation see jgm/pandoc#7130.
Here we have walk fixLinks where fixLinks is [Inline] -> [Inline].
It works fine if applied to [Inline]. However, it behaves differently if you apply it to Inlines. Seems like instead of having instances specifically for lists, we should have general instances that work for all Traversable/Foldable structures, including Many.
The text was updated successfully, but these errors were encountered:
Walk is a bit of a mess. It seems we should be able to do something more elegant, using recursion schemes or something.
For motivation see jgm/pandoc#7130.
Here we have
walk fixLinks
wherefixLinks
is[Inline] -> [Inline]
.It works fine if applied to
[Inline]
. However, it behaves differently if you apply it toInlines
. Seems like instead of having instances specifically for lists, we should have general instances that work for all Traversable/Foldable structures, including Many.The text was updated successfully, but these errors were encountered: