I have an ordered sequence of the following type:
type Comparison<'a when 'a :> IKey > = {Id: string; src: 'a; dest: 'a}
What I would like to do is where there is more than one record with the same Idto accept the most recent record in the sequence for each identifier (the sequence was generated from the ordered results of the query), as well as records in which the identifier is not shared with other entries.
Is there a way in F # to generate a new sequence this way?
source
share