Example
Closed this issue · 0 comments
anders-wind commented
We need a lot of examples. We want to include this in the main REPO. I think the way magic enum does it is quite nice. Small examples with specific use cases.
- Basic example of Row, Column, or FirstName LastName
- Motivational example of Units: Hour, Watt, WattHour, PricePerWattHour, Money
- Start by introducing Watt, and Identity Unit
- Then introduce Hour and show we can create the new time WattHour
- Then introduce Eur and show we can create new triple combined type: EurPerWattHour
- Specializing a resulting unit (underlying type and skills)
- One example per skill.