question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ap`is not reasonable

See original GitHub issue

I am writing this issue to prevent confusion to new readers.

With the change of the ap function, ‘pretty’ is favored over readability.

definition of map:

A linear transformation; i.e. a -> fn(a)

definition of chain:

A derive of a composition, i.e. g(fn(a)) -> g(a).f(a)

definition of apply:

Isomorphism of a left-associative function, i.e. fn(x*y) -> fn(x,y)

The ap definition as of right now suggests right-associative, giving the reverse of what an apply does.

We may enjoy having consistent definitions, but please do not spread false definitions.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:39 (28 by maintainers)

github_iconTop GitHub Comments

2reactions
SimonRichardsoncommented, Oct 10, 2016

I think we should close this, although this is a good discussion, it’s not going anywhere… If anyone disagrees just reopen…

2reactions
evilsoftcommented, Oct 10, 2016

@davidchambers and @joneshf: well thinking on the feedback you two have given me, it seems like it all goes back to what my dear, sainted grandaddy Hicks used to say: “Ian, always remember, Union Types make everything better”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Earth to Google: Here's Why APIs Need to be Copyrightable
No, we cannot allow copyrighting of API's – it will strangle and kill small software startups. There are literally thousands of small software ......
Read more >
Why Google's Copying of Oracle's APIs is Not Fair Use
“Because Google's fair uses argument implies that it owes Oracle nothing, not even a reasonable royalty, Google has taken a Manichean, all-or- ...
Read more >
Best practices for REST API design - Stack Overflow Blog
Learn how to design REST APIs to be easy to understand for anyone, future-proof, secure, and fast since they serve data to clients...
Read more >
API Terms of Use - LinkedIn
You may not use the APIs if your Application: exceeds a reasonable amount of API calls; relies fundamentally on the APIs; or is...
Read more >
Permissions and APIs that Access Sensitive Information
You may not use permissions or APIs that access sensitive information that give access to user or device data for undisclosed, unimplemented, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found