Reference. Type systems for programs respecting dimensions
Cite
Cited by (4)
Preserving model structure and constraints in scientific computing forbes-2025-preserving
LabMate: A prospectus for types for MATLAB mcbride-2025-labmate
Measuring with confidence: leveraging expressive type systems for correct-by-construction software mcbride-2023-measuring
Modern programming language type systems help programmers write correct software, and furthermore helps them write the software they actually intended to write. We show how expressive types can be used to encode dimension and units of measure information, which can be used to avoid dimensional mistakes and guide software construction, and how types can even help to generate code automatically, which eliminates a whole class of bugs.
EXPRESSIVE TYPE SYSTEMS FOR METROLOGY mcbride-2022-expressive
Cites 13 works (0 here)
External (13)
- Pint: makes units easy (2020)
- JSR 385: Units of measurement (2019)
- A unit-aware matrix language and its application in control and auditing (2019)
- The next 700 unit of measurement checkers (2018)
- A typechecker plugin for units of measure: Domain-specific constraint solving in GHC Haskell (2015)
- Experience report: Type-checking polymorphic units for astrophysics research in Haskell (2014)
- New equations for neutral terms: a sound and complete decision procedure, formalized (2013)
- Boost C++ libraries, chapter 43 (Boost.Units 1.1.0) (2010)
- Dependent Types at Work (2009)
- Towards a practical programming language based on dependent type theory (2007)
- The Mars Climate Orbiter Mishap Investigation Board Phase I Report (1999)
- Programming languages and dimensions (1995)
- Automatic dimensional inference (1991)