Pecu­liarly I couldn’t find any doc­u­mented way to cre­ate a type exten­sion for a generic array, ‘a [ ], turns out you need to use back­tick marks ( ‘ ) around the square brack­ets in order to do that:

Share

Leave a Reply