Skip to content

sfo-mb

0.1.1 @jtenner

A System F-ω style type checker in MoonBit with higher-kinded types, traits, recursive types, borrow checks, and module composition tools.

sfo-mb

sfo-mb is a small type-checking library written in MoonBit. It uses ideas from System F-ω, a typed lambda calculus that supports polymorphism and type-level functions.

What it models

Why it exists

The project keeps the type-system machinery explicit. Kinds, type normalization, inference state, trait evidence, and ownership checks are visible in the API instead of being hidden behind a complete language frontend.

This makes the library useful as a compact reference for compiler work, typed domain-specific languages, and experiments with type-system design.