F# – defining a type extension for generic array

Peculiarly I couldn’t find any documented way to create a type extension for a generic array, ‘a [ ], turns out you need to use backtick marks ( ` ) around the square brackets in order to do that:

Leave a Comment

Your email address will not be published. Required fields are marked *