We added a NonEmptyList type really early in our explorations. Haskell already has one, so we should use that.
This has a knock-on: the type system now prevents us from constructing schemas with empty field lists, etc. This means we need to change error types a little.
I would have liked to write tests for this, but, you know how it is.
We added a
NonEmptyList
type really early in our explorations. Haskell already has one, so we should use that.This has a knock-on: the type system now prevents us from constructing schemas with empty field lists, etc. This means we need to change error types a little.
I would have liked to write tests for this, but, you know how it is.