Closed copy closed 3 years ago
The following fails with Unbound value array_sample:
Unbound value array_sample
type foo = { bar: int array; } [@@deriving popper]
As a temporary work-around, I've used Sample.list to define array_sample:
Sample.list
let array_sample t = Popper.Sample.map Array.of_list (Popper.Sample.list t)
Thanks for reporting. Addressing in https://github.com/jobjo/popper/pull/55
Landed fix. Will be part of next release.
The following fails with
Unbound value array_sample
:As a temporary work-around, I've used
Sample.list
to define array_sample: