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.

Types: a handler clause cannot fix an operation's own type variables (issue #169)

A handler answers for every instantiation of an operation's own type
variables, so its clauses now see them as scoped rigids instead of
flexible variables: `pick(_) -> 42` for `fn pick(x: a) -> a` is a type
error, where it used to type-check and crash natively. The effect's
parameters, instance and row tail stay flexible, fixed by the handled
label. ctl clauses get the same rule through `resume`.

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

olivier · il y a 1 mois · 6f433bf90bdea960c5436cf359fc04a9a159aead

Parents 98d2ee2

3 fichiers modifiés, 77 ajouts, 3 suppressions