Gruel
  • Home
  • Learn
  • Std Library
  • Performance
  • Hacking
  • GitHub
  • Home
  • Learn
  • Std Library
  • Performance
  • Hacking
  • GitHub
Learn Gruel
  • Installation
  • Hello, World
  • Variables and Types
  • Functions
  • Control Flow
  • Arrays
  • Structs
  • Enums
  • References
  • Putting It Together
  • Methods
  • Strings
  • Destructors
  • Input and Parsing
  • Comptime and Generics
  • Modules
  • Linear Types
  • Unchecked Code and Raw Pointers
  • Tuples and Destructuring
  • Slices
  • Interfaces and Derives
  • References
    • Intrinsics
    • Built-in Types
    • Architecture Decision Records
    • Prelude
      • cmp
        • interface.Ord
        • enum.Ordering
        • interface.Eq
      • option
      • result
      • string
      • vec
    • Standard Library

cmp

cmp

Items

  • enum Ordering
  • interface Eq
  • interface Ord

Chapters

  • interface.Ord
  • enum.Ordering
  • interface.Eq

© 2026 The Gruel Authors. Licensed under MIT/Apache-2.0.