Repository navigation
Conversation
|
I think this needs to update the stdlib as well |
|
@L0neGamer operators should be added now. Following the common, we now also have The stdlib is coming a bit later. |
|
I noticed you didn't include <$ in the prelude exports, is that intentional? |
yeah, no. Thanks. Fixed. :D |
074c2b3 to
4044612
Compare
4044612 to
ed9bfd5
Compare
|
@BinderDavid once this is checked by another pair of eyes, I think this can go to voting as well (it's sitting here essentially unchanged since Oct 3rd, and there's other work depending on this, mainly the traversable fun) |
|
Just to make sure: This does not fix #8 completely because the MonadFail proposal also entails that the desugaring of do-notation has to be changed. But it is not necessary to do everything in a single PR. |
|
@BinderDavid reading this https://github.com/quchen/articles/blob/master/monad_fail.md I understand that the desugaring semantics is more related to (un)failable patterns than the actual insertion of the correct implementation of The current PR only has a very mild update in chapter 3 that says where the new |
L0neGamer
left a comment
There was a problem hiding this comment.
Does the report specify that Control.Monad should exist? as such, should it require Data.Functor as well?
L0neGamer
left a comment
There was a problem hiding this comment.
I am once again being somewhat irritating. If you think my recommendations irrelevant, happy for us to start voting soon hopefully.
6c2828c to
f3b1e5a
Compare
2c9a811 to
274e435
Compare
L0neGamer
left a comment
There was a problem hiding this comment.
lots of nitpicks but nothing blocking IMO!
| `(<*>)` and `liftA2` apply a function within functors, combining the functor | ||
| semantics to form the result. |
There was a problem hiding this comment.
combining functor semantics doesn't mean much - not sure how much detail the report should go into
There was a problem hiding this comment.
I updated this a bit, decided to keep this notice in some shape, but added a clear note that it's an informal explanation.
If you think it's unnecessary I think we can just as well discard this.
Co-authored-by: Benjamin <10566848+L0neGamer@users.noreply.github.com>
Co-authored-by: Benjamin <10566848+L0neGamer@users.noreply.github.com>
Co-authored-by: Mario <blamario@protonmail.com>
Co-authored-by: Mario <blamario@protonmail.com>
Co-authored-by: gilgamec <gilgamec@users.noreply.github.com>
d0331f7 to
42e2b19
Compare
|
I think the fixity declarations are missing from the As a high-level comment: I think we should get rid of section 9 of the report rather sooner than later, or replace it with a stub which doesn't contain any code. It is almost impossible to keep the content of sec 9 in sync with the files in the |
Oh true, fixed. I was sure I checked that yesterday but lo, I looked exactly at section 9. :D
+1 for replacing with a TODO, the double edits are plain out annoying. Later we can typeset the whole stdlib into the PDF as an appendix. |
Co-authored-by: David Binder <david.binder@uni-tuebingen.de>
Co-authored-by: David Binder <david.binder@uni-tuebingen.de>
This should address and fix #8 .
I'd welcome if someone could check the applicative and monad laws and the wording of the applicative class description (partially taken from current haddock).
UPDATED (end of Oct): As the main leftover, this does not fix the
do-notation desugaring in Chapter 3, which depends on #74. There's a separate issue as a reminder to fix that later in #101.UPDATED (Nov 9): This is now rebased over #74 and the box with
dotranslation is fixed (closing #101 along the way).NOTE: I'll rebase to fix the conflict in the preface once this is finalized and voted -- for git there's always going to be a +/+ conflict reappearing each time another PR gets merged, rebasing everytime would give O(n²) effort with little actual value.