Daniel Chao

Results 256 comments of Daniel Chao

I agree that this is good to have. We'll look into it.

SPICE is up! https://github.com/apple/pkl-evolution/pull/13

I'm going to punt this to the 0.29 release. I think there's too many open questions here, and I doubt that we can get a polished version out in just...

Hi @StefMa, thanks for the PR! We're considering switching to GitHub Actions, but we're not quite ready yet to accept a commit for this. However, you can always maintain this...

We'd love Pkl to be considered for this. It's designed specifically for configuration; we want our users to be able to manage complexity in config easily, and for it to...

You need to use the lower-level API to do this; i.e. call into `org.pkl.doc.DocGenerator` with the standard library as one of the `packages` arguments. You'd collect the schemas with the...

Another solution, which might be cleaner, is to have a `pkl:bytes` standard library module, which has: ```pkl external function base64(bytes: List) ```

Overall, I think we should think about how Pkl should be representing binary data first. Having a `.base64` etc for binary data would naturally be part of the binary data...

Submitted a SPICE for byte arrays, see https://github.com/apple/pkl-evolution/pull/14

Using an underscore is the normal way to do this. Currently, there's no way to disambiguate referencing the function parameter. By the way, as an aside: it's also not recommended...