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

Cleaning up, adjusting some demos and documentation #17

Merged
merged 5 commits into from
Apr 24, 2019
Merged

Cleaning up, adjusting some demos and documentation #17

merged 5 commits into from
Apr 24, 2019

Conversation

oderwat
Copy link
Contributor

@oderwat oderwat commented Apr 17, 2019

  • solving most hlint hints (learning something by the way)
  • rewrote some code mostly based on hlint suggestions
  • removed (or commented out) some dead code
  • fixed demos which where not working anymore
  • corrected some docs (hopefully accurate enough)

P.S.: In the next step I want to move everything to stack / package.yaml based build, make the demos into true targets and start to write some tests and fixing/rearrange some of the docs.

oderwat added 2 commits April 15, 2019 14:55
- solving most hlint hints (learning something by the way)
- rewrote some code mostly based on hlint suggestions
- removed (or commented out) some dead code
- fixed demos which where not working anymore
- corrected some docs (hopefully accurate enough)
@oderwat
Copy link
Contributor Author

oderwat commented Apr 17, 2019

BTW: I added statElems and rewrote the caching.hs to check for my "findings" from #16. Maybe you can take a look at it, if it is "nearly right". I have to confess that my understanding still is very much limited and of an experimental nature.

After preparing a Stack based build I found that TCache.hs didn't
compile anymore. This is related to Haskell2010 vs Haskell98.

I made (indentation) changes so it does compiles again.
@oderwat
Copy link
Contributor Author

oderwat commented Apr 17, 2019

I also needed to change formatting slightly to make it compile as Haskell2010.

oderwat added 2 commits April 17, 2019 16:55
- Using "package.yaml" instead of cabal file (but keeping file locations
unchanged for this branch)
- compiles with -Wall with no warnings. Notice: I couldn't get rid of
some orphan instaces and disabled warnings for those files (for now).
- extened and clarified some of the demos.
- combined some information from old cabal file to README.md and created
a new ChageLog.md file.
- added an unfinished directory for the WIP (or abandonded)
CollectionStream.hs.
- made "buildDemos.sh" more reliable. This will be replaced by a pseudo
test suite in the future.
- Bumped the version to 0.13 (to make it possible to select the older
version for comparisons. But I am thinking of some breaking changes too,
because I really don't like some of the name shadowing (esp. "key"). But
that may go away with qualified imports. Dunno.
@oderwat
Copy link
Contributor Author

oderwat commented Apr 19, 2019

So I was curious what happens when I enable -Wall and went all the way down into this rabbit hole, finally getting it (mostly) clean. I think I strife to follow https://kowainik.github.io/posts/2019-02-06-style-guide for our own projects and try to move TCache a bit into that direction too.

@agocorona
Copy link
Owner

agocorona commented Apr 19, 2019

Looks good Thanks!. I will look at it in detail at the beginning of the next week

@agocorona agocorona merged commit 7f5258a into agocorona:master Apr 24, 2019
@oderwat oderwat deleted the mtx-cleanup branch April 24, 2019 17:20
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