Skip to content
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

Hlinting #27

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Hlinting #27

wants to merge 8 commits into from

Conversation

jrp2014
Copy link

@jrp2014 jrp2014 commented Feb 25, 2019

Thanks for the book. I wish that I had bought it sooner. It is one of the few programming / haskell books that explains some of the mysteries in a lucid way, while offering insights into the tradeoffs into between the different idioms.

Here's a modicum of hlint refactoring.

The main issue that the software has is that it should move to using the Network.Socket library as the existing network library code is deprecated. An exercise for another day.

Copy link
Owner

@simonmar simonmar left a comment

Choose a reason for hiding this comment

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

Thanks! Some of these are OK, others are stylistic changes that I'm not keen on, as noted in the inline comments.

Async.hs Outdated Show resolved Hide resolved
chanbench.hs Outdated Show resolved Hide resolved
findpar3.hs Outdated Show resolved Hide resolved
findpar3.hs Outdated Show resolved Hide resolved
geturls7.hs Outdated Show resolved Hide resolved
geturls9.hs Outdated Show resolved Hide resolved
index/index.hs Outdated Show resolved Hide resolved
other/bingtranslatorconc.hs Outdated Show resolved Hide resolved
server2.hs Outdated Show resolved Hide resolved
timeout.hs Outdated Show resolved Hide resolved
@jrp2014
Copy link
Author

jrp2014 commented Feb 27, 2019

Happy to revert the changes that you have identified above.

The next task will be to update the networking; a good few usages seem to be deprecated with the recommendation to use Network.Socket instead of Network. I assume that this is to provide a more general API, but can't find any documentation on how to do the update systematically.

findpar5.hs Outdated Show resolved Hide resolved
parinfer/InferMonad.hs Outdated Show resolved Hide resolved
@FranklinChen
Copy link

What's the status of this pull request?

@jrp2014
Copy link
Author

jrp2014 commented May 31, 2020

I thought that I'd addressed Simon's comments. Let me know if you need anything more.

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.

4 participants