-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Documentation] Trying to rewrite typeclasses-new #8147
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
Merged
Merged
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a5c8aef
trying to rewrite typeclasses-new
1bd517e
Wrap the last sentence in a whole "summary" section to avoid stray text
171a09a
Step2: rewrite the Functor part in more details
6b7e497
Step3: rewrite the Monad part (apart from the Reader monad)
74ff540
Fix typos
8118ed7
Rephrase assertTransformation simplification
a076eea
Fix typos on the reader monad
66ebcfb
@bishabosha's note
334c4b4
attempt at explaining the reader monad
cd501b6
less concrete and more accurate definition of a Functor
aesteve ff7ca15
definition of A functor, not THE functor ability
aesteve cf29e82
A functor for the type constructor F[_]
aesteve 8607014
better phrasing for abstracting away Config
aesteve 4c81c46
parameterised type with abstract members => trait
aesteve 6b6cd39
oo polymorphism vs. parametric polymorphism
aesteve c6ec581
explaining the difference between OO polymorphism and ad-hoc polymorp…
aesteve 716ae0c
better phrasing for conclusion
aesteve c15cd63
remove the "we don't care" part
aesteve 8b85b34
using F as a substitution for every type that ca be mapped over
aesteve 86615f6
Merge remote-tracking branch 'upstream/master' into doc/rework-typecl…
f2d7a6d
Merge remote-tracking branch 'origin/doc/rework-typeclasses-new' into…
df15a24
Trying to add an easy-to-grasp definition of type classes
4b04603
Proper 0.23 syntax
cb6c511
Proper 0.23 syntax
cd9834e
typo
bf7b005
no longer `given as`
9c1509b
typeclasses-new.md is now typeclasses.md
466bff9
Adapt to 0.23 latest
219bc3c
Use new type wildcard syntax
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this part about comparing to OOP could be moved to the start