pkl icon indicating copy to clipboard operation
pkl copied to clipboard

[docs] Document object instantiation

Open HT154 opened this issue 1 year ago • 1 comments

This content is "reverse engineered" entirely from using the language and is not an interpretation of the code, so it may be missing or misconstruing things. Please let me know if anything needs adjusting!

HT154 avatar Aug 13 '24 01:08 HT154

I've almost entirely rewritten this to incorporate the great feedback @stackoverflow @holzensp

Notable callouts:

  • I've added a separate section in the introduction on default values
  • I broke the three cases out into their own sections and reorganized them
  • I've added code blocks with examples for each instantiation type—I was a little conservative in the name of brevity, so if you see a case I didn't cover but think should be included, please let me know

HT154 avatar Aug 15 '24 21:08 HT154