1. Introduction
  2. Language
  3. 1. Printing
  4. 2. Variables
  5. 3. Constants
  6. 4. Arithmetic Operations
  7. 5. Control Flow
  8. 6. Loops
  9. 7. Methods
  10. 8. Types
    1. 8.1. Boolean
    2. 8.2. Nil
  11. 9. Compound Types
    1. 9.1. Arrays
    2. 9.2. Hashes
    3. 9.3. Tuples
    4. 9.4. Ranges
  12. 10. Object-Oriented Programming
    1. 10.1. Classes & Objects
    2. 10.2. Inheritance
    3. 10.3. Abstract Classes
    4. 10.4. Visibility
    5. 10.5. Modules
  13. 11. Working with Nilable Types
  14. 12. Exception Handling
  15. 13. Recursion
  16. 14. Crystal CLI
    1. 14.1. Playground
  17. 15. Recipes
    1. 15.1. Getting User Input
    2. 15.2. A Basic Web Application
  18. 16. Ecosystem
    1. 16.1. Shards
  19. About This Notebook
  20. 17. License
  21. 18. Credits

Crystal Notebook

Compound Types

  • Arrays
  • Hashes
  • Ranges
  • Tuples