Skip to content

How-to Guides

Welcome to mp-units How-to Guides! These task-focused guides help you solve specific problems and accomplish particular goals when working with the library.

What are How-to Guides?

How-to Guides are task-oriented instructions that show you how to solve specific problems and accomplish particular goals.

Each guide:

  • ✅ Addresses a specific problem or use case
  • ✅ Provides practical, actionable steps
  • ✅ Assumes familiarity with library basics
  • ✅ Focuses on getting things done

Prerequisites: Complete the Tutorials first to learn the fundamentals, then refer to these guides when you need to solve specific problems.

Available Guides

Advanced Usage

Advanced techniques and patterns for sophisticated scenarios beyond standard quantity calculations.

Integration

Guides for integrating mp-units with existing codebases, custom types, third-party libraries, and various compiler environments.

When to Use How-to Guides?

Use How-to Guides when you:

  • Need to solve a specific problem
  • Want to integrate mp-units with existing code
  • Are migrating from another library
  • Need to customize library behavior for your use case
  • Want to maximize compatibility or interoperability

Other Resources

  • Tutorials - Learning-oriented lessons for getting started
  • User's Guide - Explanation-oriented understanding of concepts
  • Workshops - Practice advanced patterns with hands-on exercises
  • Examples - Complete, runnable applications
  • Reference - Information-oriented technical descriptions