Skip to content

Fixing spelling mistakes#131

Open
chrisdenman wants to merge 17 commits intolearnyouahaskell:mainfrom
chrisdenman:fixing-spelling-mistakes
Open

Fixing spelling mistakes#131
chrisdenman wants to merge 17 commits intolearnyouahaskell:mainfrom
chrisdenman:fixing-spelling-mistakes

Conversation

@chrisdenman
Copy link
Copy Markdown
Contributor

My apologies, I had to recreate this PR as I killed my fork's branch (see closed PR).

This branch contains the same work, with a revert commit for the offending 'lets' change and a commit that fixes it.

Again, sorry for the wasted efforts.

@ulysses4ever
Copy link
Copy Markdown
Collaborator

hey @chrisdenman! no worries. There's a catch though: all PRs you were submitting this week have conflicts with our main branch (GH PR page says "This branch has conflicts that must be resolved"). This means that you probably didn't update the main branch of your clone and that same branch of your local checkout before branching out with your feature branch. I encourage you to look into it: we really don't want to review once and then wait until you update the feature branch one way or another and then re-review the result (the result may become ill-formed if the update goes awry, which happens sometimes).

@pierluc-codes
Copy link
Copy Markdown
Collaborator

pierluc-codes commented Jan 8, 2026

@chrisdenman I'd be happy to give you a crash course on Git if you'd like. The distributed model can be counterintuitive for those starting out :).

@ulysses4ever
Copy link
Copy Markdown
Collaborator

Hey @chrisdenman ! Do you need any help with rebasing or anything else? Let us know! No rush of course

@pierluc-codes
Copy link
Copy Markdown
Collaborator

@ulysses4ever i merged origin/main. Let me know if you are happy with those changes.

@ulysses4ever
Copy link
Copy Markdown
Collaborator

Good! I'll take a look by the end of the week.

Copy link
Copy Markdown
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pierluc-codes thanks a lot! See if you have energy to fix one comment below (remove a newline). If not, it's okay as is as well!

Throwing exceptions from pure code and dealing with them hasn't been covered here, mainly because, like we said, Haskell offers much better ways to indicate errors than reverting to I/O to catch them.
Even when gluing together I/O actions that might fail, I prefer to have their type be something like `IO (Either a b)`, meaning that they're normal I/O actions but the result that they yield when performed is of type `Either a b`, meaning it's either `Left a` or `Right b`.


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This newline isn't needed perhaps.

@ulysses4ever
Copy link
Copy Markdown
Collaborator

And feel free to merge whenever ready

@ulysses4ever
Copy link
Copy Markdown
Collaborator

hey @chrisdenman! do you intend to rebase and see if any of it is still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants