-
Notifications
You must be signed in to change notification settings - Fork 36
refactor(functors): v0.1.4 of notebook functors for fp course #92
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
Conversation
* restructure the notebook * replace `f` in the function signatures with `g` to indicate regular functions and distinguish from functors
* move `Maybe` funtor to section `More Functor instances` + add `Either` functor + add `unzip` utility function for functors
|
@metaboulie Is this up for review or should I be waiting for more commits? |
|
@Haleshot There are some significant changes for |
|
Tracking: In relation to #51 |
|
@Haleshot This PR is stable and ready to be reviewed🥳 |
Haleshot
left a comment
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.
Nice changes.
| return | ||
|
|
||
|
|
||
| @app.cell(hide_code=True) |
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.
Any reason for unhiding this cell block?
Haleshot
left a comment
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.
Great changes on the whole!
Co-authored-by: Srihari Thyagarajan <[email protected]>
Co-authored-by: Srihari Thyagarajan <[email protected]>
Co-authored-by: Srihari Thyagarajan <[email protected]>
|
All suggestions committed, thanks for your review |
Haleshot
left a comment
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.
LGTM! Thanks for great changes and for keeping this series going ❤️
📝 Summary
Migrate to
python3.13Replace all occurrences of
with
for conciseness
Use
fain function signatures instead ofawhenfais a Functorfin the function signatures withgto indicate regular functions and distinguish from functorsMaybefuntor to sectionMore Functor instancesEitherfunctorunziputility function for functors📋 Checklist
--sandboxREADME.md