Andrew Best

Results 3 comments of Andrew Best

Also, not to mention submodule, which is similar to a module but with a parent parameter. submodule(parent) child

https://github.com/scivision/fortran-submodule/blob/master/src/child.f90

https://github.com/modern-fortran/generic-procedures/blob/master/src/mod_average.f90 In this example you don’t have to have the “::” for the generic if you don’t want. That could be a trick for parsing though if it was mandatory.