๐Ÿ“ฆ sleepyfran / duets

๐Ÿ“„ Car.Types.fs ยท 10 lines
1
2
3
4
5
6
7
8
9
10namespace Duets.Entities

[<AutoOpen>]
module CarTypes =
    [<Measure>]
    type horsepower

    /// Defines a car that can be purchased and driven.
    type Car = { Power: int<horsepower> }