Skip to content

Feature: expose module name#1046

Merged
johannes-wolf merged 1 commit intocetz-package:masterfrom
zral0kh:expose-name
Mar 17, 2026
Merged

Feature: expose module name#1046
johannes-wolf merged 1 commit intocetz-package:masterfrom
zral0kh:expose-name

Conversation

@zral0kh
Copy link
Copy Markdown
Contributor

@zral0kh zral0kh commented Mar 12, 2026

For interaction with other packages it would be fruitful to expose the package name, such that we can easily identify modules, which is otherwise quite cumbersome (via module layout and function matching)

E.g. i would like to integrate a feature in touying where we could have easier access to animate cetz canvases:
reduce(cetz) instead of explicit bindings the user has to specify upfront.

Inside reduce we could then hide the binding logic.

See touying-typ/touying#302

@johannes-wolf johannes-wolf merged commit 0425739 into cetz-package:master Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants