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

Week3 #66

Merged
merged 10 commits into from
Sep 8, 2019
Merged

Week3 #66

merged 10 commits into from
Sep 8, 2019

Conversation

hvariant
Copy link
Contributor

@hvariant hvariant commented Sep 7, 2019

no partial allowed


histogram :: [Int] -> String
-- 182 chars
histogram xs = (++ "==========\n0123456789\n") .
Copy link
Member

Choose a reason for hiding this comment

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

a nit on styling here. In Haskell, we normally align symbols on multiple lines:

histogram xs = (++ "==========\n0123456789\n")
             . unlines
             $ ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, will fix

@shineli1984 shineli1984 merged commit ccbc5f3 into fp-works:master Sep 8, 2019
@shineli1984
Copy link
Member

Good work!

stevemao added a commit that referenced this pull request Sep 8, 2019
* master:
  Week2 fix (#72)
  Week 5 ex 1 with updates to Parser and StackVM (#68)
  Week3 (#66)
  improve skips in week3 ex 1 (#69)
  steve week 5 (#63)
  Week2 (#65)
  Improve week1 homework based on feedback in #62 (#64)
  Week1 (#62)
  Daniel M Week 4 (#61)
  Exercise 3: More folds! (#60)
  Week 4 Ex 2,3 (#58)
cht8687 added a commit to cht8687/2019-winter-Haskell-school that referenced this pull request Sep 9, 2019
* upstream/master:
  Week 5 ex 2 to 6 (fp-works#76)
  week 5: use applicative and composition styles (fp-works#75)
  W5steve (fp-works#73)
  Week5 (fp-works#71)
  fix symbol alignment style (fp-works#74)
  Week2 fix (fp-works#72)
  Week 5 ex 1 with updates to Parser and StackVM (fp-works#68)
  Week3 (fp-works#66)
  improve skips in week3 ex 1 (fp-works#69)
  steve week 5 (fp-works#63)
  Week2 (fp-works#65)
  Improve week1 homework based on feedback in fp-works#62 (fp-works#64)
@hvariant hvariant deleted the week3 branch September 12, 2019 08:02
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.

2 participants