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

Refactor price plan service #1

Open
jejking-tw opened this issue Jun 3, 2021 · 0 comments
Open

Refactor price plan service #1

jejking-tw opened this issue Jun 3, 2021 · 0 comments

Comments

@jejking-tw
Copy link
Owner

jejking-tw commented Jun 3, 2021

Consider using a type class that abstracts the conversion from a sequence of electricity readings plus a price plan to a monetary amount.

This would allow us to use different strategies for computing prices.

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

No branches or pull requests

1 participant