Skip to content

Fix image demo and Image.ae native calls#156

Merged
alcides merged 1 commit intomasterfrom
fix/demo-examples
Apr 1, 2026
Merged

Fix image demo and Image.ae native calls#156
alcides merged 1 commit intomasterfrom
fix/demo-examples

Conversation

@alcides
Copy link
Copy Markdown
Owner

@alcides alcides commented Mar 27, 2026

Summary

  • Rename generate_image to main in 2_image.ae so it runs as an entrypoint
  • Fix Image_mk native call to pass (width, height, color) instead of returning the curried function unapplied
  • Fix Image_open native call to pass (path) instead of returning PIL.Image.open unapplied

Test plan

  • examples/demos/2_image.ae runs without errors
  • All 230 tests pass
  • Pre-commit hooks pass

🤖 Generated with Claude Code

Rename generate_image to main in 2_image.ae so it runs as an
entrypoint. Fix Image_mk and Image_open native calls to pass
arguments instead of returning the Python function unapplied.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alcides alcides merged commit 953e019 into master Apr 1, 2026
7 checks 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.

1 participant