8000 Documentation of applying functions to stems in QDL Reference Manual · Issue #100 · ncsa/qdl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Documentation of applying functions to stems in QDL Reference Manual #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
skoranda opened this issue Mar 6, 2025 · 0 comments
Open

Comments

@skoranda
Copy link
Collaborator
skoranda commented Mar 6, 2025

The section "Applying functions to stems" in the QDL Reference Manual version 1.5 is short and purposely baroque. Given that QDL is primarily a functional language and stems are the most central data type a large number of concrete and simple examples would be helpful. Some ideas of examples include:

  • A one line example showing how to add one (1) to each integer in a list of integers.
  • A one line example showing how to append a string to each string in a list of strings.
  • A one line example showing how to transform a stem to a second stem by applying a test on the value of keys.
  • Applying a lambda function to a stem.
  • Use of the apply() function with a stem.
jjg-123 added a commit that referenced this issue Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0