-
Notifications
You must be signed in to change notification settings - Fork 18
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
More examples added to fn:chain #1890
Conversation
…n-siblings I is Integration
…n-siblings I for Integration
…n-siblings As I in CICD
…n-siblings CICD-I
…n-siblings CICD
…n-siblings Integration.
…n-siblings I in CICD
…n-siblings Integration
…n-siblings Integration
…n-siblings Integration.
…n-siblings Integration
This PR would be easier to review, I think, if you rebased it off of |
There are two differences between fn:compose (as proposed) and fn:chain.
For example, the example It's this "magic conversion" that I dislike most about the fn:chain specification. Specifically, the rule:
breaks the principle of substitutability. If a function can handle any sequence of items as input, then it shouldn't behave differently if that sequence of items happens to be a singleton array item. [§] It would be nice if there were a function equivalent to |
If I’m not wrong, all added examples could also be written with chain("a b c", (tokenize#1, count#1))
→ compose((tokenize#1, count#1))("a b c") |
Norm, what you are actually seeing is a whole new chapter appearing in the spec (and no, I didn't write it...) that is now hidden in the official FO 4 spec. due to someone's error. The most likely suspect is probably PR 1856, which was accepted on our last week's meeting and then merged. At present the official spec is missing completely chapter 6. Regular expressions . Please, have a look - screenshot taken on March 24th at 8:03AM PDT: and here is what was hidden but should have been there - now seen as "part" of the current PR: During my work on the current PR gradle signaled an error - unclosed And I expected you to say: Thank you ... 😄 Thus all these "spurious diffs" are the renumerations of all following sections, and they should have been caused by PR1856 if it didn't omit the end-tag. To summarize: nothing is wrong in correcting the content to what it was supposed to be. Thanks, |
@dnovatchev https://github.com/dnovatchev/qtspecs/tree/dn-examples Next, your PR includes a PDF. Maybe it’s better to remove the document as long as you don’t want to have it included in the official repository. |
I think we're struggling with some issues related to a broken PR getting merged last week. But yes, @dnovatchev, please remove the PDF. |
Will submit it again after re-creating the branch. |
The new PR is: #1894 |
Added 6 more examples and tests
All are correctly executed.