tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

M3: effect types — Koka rows, handlers, built-in effects, hover

- Types: effect rows with scoped labels (Leijen unification with the
  tail side condition), open at uses / close at generalization, row
  variables named e, e1, ...
- Inference: current effect row threaded through bodies; calls must
  match it (equality, not inclusion: see ADR 0008); lambdas carry their
  own row; `handle` types one effect per handler, fn/ctl/final ctl
  clauses, `resume` only in ctl clauses, completeness of operations.
- Signatures: omitted row is total; `<io, e>` means `<io | e>`.
- std: built-in effects io/ffi/st in the prelude; std/io (println),
  std/ref (Ref with <st>).
- IDE: tilc_db::ide::hover (items, references, locals, expressions with
  effects); LSP textDocument/hover.
- UI harness moved to tilc_db (full std, same pipeline as CLI/LSP);
  effects suite; earlier suites updated for effects.
- ADR 0008 (proposed, needs review); ADR 0005 extern rows clarified;
  codes E0501-E0505. `mask` deferred past v0.

Closes #5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · cb97530459e154e467a5cd5ce89ab17359aeb788

Parents 4989355

25 fichiers modifiés, 1252 ajouts, 259 suppressions

Mcrates/tilc_types/src/infer.rs+213−46