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.

Docs: ADR 0004 Revision 6 (`Send` as an auto trait) and ADR 0047 (associated types)

Proposed; both need engineering review (#44) before the stacks that
implement them merge.

- ADR 0004 Revision 6 (issue #233): `Send<a>` becomes a built-in auto
  trait with erased evidence, structural over fields, tuples, `Resource`
  (`@thread_safe`) and `Ref` (never), inferred for unannotated functions.
  Function types gain a capture row (one label, `Local`), and
  `send fn(...)` is a function that can be sent. This replaces the
  check of M6 part 6 (concrete types only), reversing the owner's
  2026-10-09 choice. The runtime walk stays as a backstop (ADR 0002 note).
- ADR 0047 (issue #234): associated types with GATs and where-bindings,
  `Elem<c>` projections, the termination and well-formedness rules,
  deferred equalities kept per `match` arm, and `std/collection`.
  Its sample is fenced as `text` until the parser accepts it.
- Notes on ADR 0018 (the "no associated types" alternative is reversed)
  and ADR 0026 (a `Collection` trait, no Functor tower); ADR index rows,
  including ADR 0018's Revision 1, which the index did not mention.

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

olivier · il y a 1 mois · 9cc774b34c8c669facacf8490d5aec381f4a76d9

Parents dd876f4

6 fichiers modifiés, 241 ajouts, 5 suppressions