componentized/directory

Synthetic sample. This package shows how the directory renders each WIT feature. It isn't published to any registry.

Each primitive type, by an alias of its own.

Types

type a-bool

  • bool

type an-s8

  • s8

type an-s16

  • s16

type an-s32

  • s32

type an-s64

  • s64

type a-u8

  • u8

type a-u16

  • u16

type a-u32

  • u32

type a-u64

  • u64

type an-f32

  • f32

type an-f64

  • f64

type a-char

  • char

type a-string

  • string

WIT

/// Each primitive type, by an alias of its own.
interface primitives {
  type a-bool = bool;

  type an-s8 = s8;

  type an-s16 = s16;

  type an-s32 = s32;

  type an-s64 = s64;

  type a-u8 = u8;

  type a-u16 = u16;

  type a-u32 = u32;

  type a-u64 = u64;

  type an-f32 = f32;

  type an-f64 = f64;

  type a-char = char;

  type a-string = string;
}