Codec<List<A>> Function(String s) listOf<A>(Codec<A> elementCodec) => (key) => key.listOf(elementCodec);