[PR #680] [MERGED] Update Let Expressions Examples #669

Closed
opened 2025-12-30 01:26:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/680
Author: @ManuW
Created: 10/12/2024
Status: Merged
Merged: 10/14/2024
Merged by: @holzensp

Base: release/0.26Head: patch-1


📝 Commits (1)

  • 6816387 Update Lap Expressions Examples

📊 Changes

1 file changed (+13 additions, -10 deletions)

View changed files

📝 docs/modules/language-reference/pages/index.adoc (+13 -10)

📄 Description

Because I did not understand what a Let Expression should be and the example code was more confusing as explanatory, I changed the format of the examples a little bit and changed the result.

  • It should be clear that the example is just one code-line
  • I tried out the example (pkl eval...) and get a little bit different result

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/680 **Author:** [@ManuW](https://github.com/ManuW) **Created:** 10/12/2024 **Status:** ✅ Merged **Merged:** 10/14/2024 **Merged by:** [@holzensp](https://github.com/holzensp) **Base:** `release/0.26` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`6816387`](https://github.com/apple/pkl/commit/6816387d2453b4a52054f00ead7256ba3c7a7f49) Update Lap Expressions Examples ### 📊 Changes **1 file changed** (+13 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/language-reference/pages/index.adoc` (+13 -10) </details> ### 📄 Description Because I did not understand what a `Let Expression` should be and the example code was more confusing as explanatory, I changed the format of the examples a little bit and changed the result. - It should be clear that the example is just one code-line - I tried out the example (`pkl eval...`) and get a little bit different result --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:26:03 +01:00
adam closed this issue 2025-12-30 01:26:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#669