Suppose I have a function that works on a vector with size known at compile-time (these are provided by the vector-sized package):
vector-sized
{-# LANGUAGE D