-
Notifications
You must be signed in to change notification settings - Fork 2
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
Complex examples #36
Comments
Friction log for working on
things to do to improve it:
|
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
Just working this example shows a lot of places where things can be improved. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
…ere it sets the value works properly. Before it returned an array, making `prompt-name` not useful as a sub-expression, because sometimes it returns the name, and sometimes it returns an array. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
This allows `let-multi` to be used to set environment variables that have a prefix, as is convention. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
safeName is more restrictive than safeFileName, which is probably better to avoid getting weird names in weird places. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
…ff `compose`. It uses the memories stored via `remember-favorite-things`. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
This allows use cases like getting integer keys from an array and also `length`. It's a bit squishy but, whatever! It's useful. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
…fail. This allows the pattern of first testing to see if there are any memories stored before trying to store some. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
…ries if you haven't stored any yet. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 4, 2023
… isn't really necessary. Part of #36.
This was referenced Jul 5, 2023
jkomoros
added a commit
that referenced
this issue
Jul 9, 2023
jkomoros
added a commit
that referenced
this issue
Jul 9, 2023
If the named variable isn't set, then (and only then) an else clause is executed to return a value. This is useful for defaults, but also for sub-expressions where it only does things like prompting the user if the value isn't set. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 10, 2023
Description is for information about what a seed does to others; comment is an internal implementation description that isn't shown to users. Part of #36.
jkomoros
added a commit
that referenced
this issue
Jul 30, 2023
This is considerably less annoying to type, given that you have to type it CONSTANTLY. Part of #36.
jkomoros
added a commit
that referenced
this issue
Aug 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example-simple.json
example-complex.json
utility.json
seed packet of convenence methods for things likeprompt-var
See also #11.
Test
The text was updated successfully, but these errors were encountered: