mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
This PR adds methods to Listing and Mapping that can be used to retrieve members. If the member for the index/key isn't present, it applies default to the index/key. In both cases, this is essentially sugar for getOrNull(<index/key>) ?? default.apply(<index/key>). Co-authored-by: Daniel Chao <daniel.h.chao@gmail.com>
Core implementation of the Pkl language. Includes Java APIs for embedding the language into JVM applications, and for building libraries and tools on top of the language.