Birch
Aliases
Initializing search
    lawmurray/Birch
    • Home
    • Getting Started
    • Key Concepts
    • The Language
    • Reference Docs
    • Getting Involved
    • About
    lawmurray/Birch
    • Home
      • Installation
      • Hello, World!
      • Bayesian Linear Regression
      • Markov Model
      • Next steps
      • Introduction
      • Distributions
      • Randoms
      • Expressions
      • Models
      • Graphical models
      • Programmatic models
      • Automatic differentiation
      • Automatic marginalization
      • Automatic conditioning
      • Delayed sampling
      • Probabilistic inference
      • Summary
      • Comments
      • Variables
      • Types
      • Assignments
      • Control flow
      • Assertions
      • Arrays
      • Optionals
      • Tuples
      • Functions
      • Lambdas
      • Programs
      • Operators
      • Classes
      • Aliases
      • Casts
      • Probability
      • docs.birch.sh
      • Getting involved
    • About

    A basic type A may be declared as an alias (synonym) for a basic type B with:

    type A = B;
    

    The same applies to class types, but use the class keyword:

    class A = B;
    
    Previous Classes
    Next Casts
    Made with Material for MkDocs