Giter Club home page Giter Club logo

dollaridoos's People

Contributors

enemeth79 avatar frasertweedale avatar gwils avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

frasertweedale

dollaridoos's Issues

Consider adding Group type class instance

Given that we've chosen addition as the monoid for money, we can define an instance for Group too.
But where should we get group from? The groups package seems almost unused, and I can't find its source on github.

Maybe we should depend on the albegra package instead.
It's worth looking at that package. As well as group, what other algebraic structures does it provide that money fits?

Remove dependency on lens

We provide optics, but we could just as easily define and export them without a dependence on the lens package itself. That would make the package more attractive to people who don't want such a large dependency.
We don't use the optics for anything fancy internally so this seems like a win.

probably need a warning about over/underflowing bounded types

Operations in dollaridoos blindly defer to the numeric operations upon the wrapped type.
For bounded numeric types, this can result in overflow or underflow errors.

As this library is designed for safer and more correct monetary computations, it would be
proper to caution the user regarding use with bounded types.

Set up continuous integration

It would be good to set up some kind of continuous integration for this project so that pull requests are compiled and that sort of thing. Travis seems to be a popular thing for this? I should go and learn how to use it or another tool.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.