我从https://www.stackage.org/haddock/lts-12.1/lens-aeson-1.0.2/Data-Aeson-Lens.html和https://www.stackage.org/haddock/lts-12.1/lens-4.16.1/Control-Lens-Fold.html开始尝试弄清楚如何编写一个表达式,该表达式使我可以构造以下类型的东西:
import Data.Aeson as A
functionIWant
:: (Vector A.Value)
-> (A.Value -> [a])
-> [a]