Crate roussillon_type_system

source ·
Expand description

§Roussillon : Type System

This crate provides some structs and traits to manage types and typed values.

This crate goal IS NOT to manage memory allocation.

§Primitive types

These are the necessary types to construct any other meaningful type. Usually, these are “machine types” :

§The “tuple” type

A sequence of heterogeneous typed values.

§Algebraic Data Types

§Custom types

These types are identity::Identified ADTs with identity::Labelled fields.

§Functional

§Experimental types

These types are experimental and should not be used yet.

  • [types::dynamic::AnyType], [types::dynamic::Dynamic] and [value::value_type::ValueType],
  • [types::interface::Interface], [types::interface::Method], [types::interface::Trait] and [types::interface::Constructor],
  • [effect::Effect].

Modules§