Finch/docs/en
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 3e45b62812 Enums whose variants hold values
enum Shape { Circle(float), Rect(float, float), Point }; Shape.Circle(2.0) makes one, match names the values
(Circle(r), _ to ignore), exhaustive like plain enums, printing shows Rect(2, 3.5). Underneath it is a struct (tag +
every variant's values), so copying, freeing, methods and valgrind-cleanliness come with it. Also: stray note files removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015f73FesGZGYPkmDvUcj6QX
2026-10-26 00:18:53 +01:00
..
cheatsheet.md export fn and finch build --shared, in the compiler written in Finch; FINCH_PATH, FINCH_RT, FINCH_CC 2026-10-25 21:03:05 +01:00
for-beginners.md Install, CI, seeds and docs for the compiler written in Finch 2026-10-25 21:53:50 +01:00
for-engineers.md Enums whose variants hold values 2026-10-26 00:18:53 +01:00
for-technicians.md Enums whose variants hold values 2026-10-26 00:18:53 +01:00