I'm in a situation where I use a tuple defined as type synonym, so I can't really use record structure. Is there a way to get these elements?
To be more specific here is what I mean:
type Movie = (Title, Regisseur, MainActors, ReleaseDate, Genre, SalesPrice)
type Title = String
type SalesPrice = Int
etc
How can I get only Title
and ReleaseDate
for an example. Besides than defining a getter function for every position in the tuple of course.