Open Boarders opened 2 years ago
As an example, if one wants to create an array value then that should not mean you need to import Vector.
FWIW, Vector
is an instance of https://hackage.haskell.org/package/base-4.14.1.0/docs/GHC-Exts.html#t:IsList
Constructing a
Value
type by hand you can use.=
andobject
. I think it would make sense to have a richer collection of ways to construct aValue
mirroring the interface that is offered byData.Aeson.Encoding
.