If so, some preliminary work on prior art can be found [at this comment](https://github.com/fortran-lang/stdlib/issues/87#issuecomment-755596293) and below.