返回资讯中心
外部精选
软件工程
#开发者实时流

Albite – a self-hosted, dependently typed language with Rust syntax

A recursive type nested inside a generic one

Hacker News 最新Erudos2026/10/28 · 3 天前4 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Search Close search

Overview

Start here Installing Albite

About the name

Hello, world

A short tour

Language Values and types

Functions

Control flow and pattern matching

Data types

Generics

Errors and optionality

Modules and visibility

Calling C

Strictly positive types

Recursion the compiler can see ends

Partial definitions in proofs

A recursive type nested inside a generic one

Proofs Types as propositions

Writing theorems

Dependent types

Induction over naturals

Reference Syntax reference

Built-in types and operators

Command-line reference

Current limitations

Try it Playground

Contents Overview

Start here Installing Albite

About the name

Hello, world

A short tour

Language Values and types

Functions

Control flow and pattern matching

Data types

Generics

Errors and optionality

Modules and visibility

Calling C

Strictly positive types

Recursion the compiler can see ends

Partial definitions in proofs

A recursive type nested inside a generic one

Proofs Types as propositions

Writing theorems

Dependent types

Induction over naturals

Reference Syntax reference

Built-in types and operators

Command-line reference

Current limitations

Try it Playground

Playground

Everything here runs in your browser — the compiler is compiled to WebAssembly and loaded on your first click, so nothing you write is sent anywhere. Pick a starting point, edit it, and press Check or Run.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →