Haskell inheritance, data, constructors Languages

Haskell inheritance, data, constructors

So I want to define multiple data classes for my Asteroids game/assignment:As you can see I have multiple data classes with some overlapping properties (velocity, position). That also meant that I had to give them different names per data class ("oneVelocity", "twoVelocity", ...).
Read More