Can you consider adding a `result()` function
See original GitHub issueIssue type
- Bug Report: no
- Feature Request: yes
- Question: no
- Not an issue: no
Prerequisites
- Can you reproduce the issue?: yes
- Did you search the repository issues?: yes
- Did you check the forums?: yes
- Did you perform a web search (google, yahoo, etc)?: yes
Description
Kindly add a result() function that returns the entire result so far
currently to get the entire result so far, one would:
Expr = all:( /* some other expression ... */ ) { return all }
This feature request is for you to consider adding a result() function (similar to the text() function) that would achieve the exact same thing as above in a much less verbose manner i.e. the above would instead be.
Expr = /* some other expression ... */ { return result() }
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Adding and subtracting functions (article) - Khan Academy
See how we can add or subtract two functions to create a new function. Just like we can add and subtract numbers, we...
Read more >How can I make var a = add(2)(3); //5 work? - Stack Overflow
You need add to be a function that takes an argument and returns a function that takes an argument that adds the argument...
Read more >SUMIF function - Microsoft Support
Important: The SUMIF function returns incorrect results when you use it to match strings longer than 255 characters or to the string #VALUE!....
Read more >Functions - JavaScript - MDN Web Docs
Functions are one of the fundamental building blocks in JavaScript. A function in JavaScript is similar to a procedure—a set of statements ...
Read more >The Python return Statement: Usage and Best Practices
If your function has multiple return statements and returning None is a valid option, then you should consider the explicit use of return...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Since we are perfecting my example:
Happy 😝
I’ll add this to the v1 milestone 😄
Because common grammars that have existed for a decade, when put through this, will parse differently and break
.
This proposal is from 2018. Nobody is rushing.
.
I already did. So did several other people in this thread.
It was pointed out to you in 2019 that simply removing the handler got you the result you wanted, as well.
.
There’s no need. This is already do-able with features that have been in there for years.
.
Not likely. This library has been non-maintained for three years, and nothing has been published since 2017.
The major reason for this is that the current maintainer is more interested in chasing unnecessary half-features than just finishing the existing work that needs to be done.
If that pattern is continued, nobody will ever solve this because the library will never release again.
If that pattern is broken, nobody will solve this for a very long time, because there are things the library actually does need, that have outstanding PRs already working and tested, and those should retain priority.
I don’t understand why you’re pushing for this more than a year after someone told you how to do it, and hitting thumbs down on people saying “you don’t need this, here’s what to do” and saying “well can’t we look for a way to do this”
You’ve been given several ways to do this.
I’m trying to get the original owner to give me the ability to bring this library back to life.
The current maintainer allowed the
0.11.0release to grow for three years, until he doesn’t trust it, won’t release it, is throwing it away, and starting the whole library over from scratch. In order to fix that, priorities must be set.I believe that the
#1priority is gettingnpmreleases back to something regular. I believe#2is removing the hipster tools and getting back to a simple clean build. I believe#3is fixing the distribution so that it works in modern tooling, which is a four line fix.I’m going to keep churning heavy duty cross-user pain point.
If David lets me resurrect this library, here’s the answer you’re going to get from me: