FORTRAN SOFTWARE CATALOG

Repository owner: Tomohiro Degawa (degawa)

any

Wrap intrinsic scalar and array values behind a common return type.

Repository · Pinned source (b9eb5e3fdc8f) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Data structures
License
MIT

Topics: array-containers, fortran, fortran-library, fortran-package-manager, generic-values, modern-fortran, object-oriented-programming, operator-overloading, polymorphism, type-erasure, user-defined-type

Classification scope and review notes

Type-erased intrinsic values returned through any_type. The checked main returns an integer, a double-precision real and a character value through one function, retrieves each using its matching type, and checks exact values. No source edits. The author documents undefined results for mismatched type/rank conversions; the example does not validate all ranks, kinds, custom extensions or invalid conversions.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

Build record verified 2026-10-29.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

any_type / assignment(=) / as_char

Module: any_t

N4

N4: source-supported

Derivatives / callbacks: not applicable

Type-erased intrinsic values returned through any_type. The checked main returns an integer, a double-precision real and a character value through one function, retrieves each using its matching type, and checks exact values. No source edits. The author documents undefined results for mismatched type/rank conversions; the example does not validate all ranks, kinds, custom extensions or invalid conversions.

Pinned source: src/any_t.f90

Author examples/tests: example/demo.f90