Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand macro section #15

Open
BeastyBlacksmith opened this issue Jun 3, 2021 · 0 comments
Open

Expand macro section #15

BeastyBlacksmith opened this issue Jun 3, 2021 · 0 comments
Labels
speculative type:discussion Discussion or feedback about the lesson

Comments

@BeastyBlacksmith
Copy link
Collaborator

It would be very nice to get

grad = gradient(x -> (shoot_distance(x, environment) - environment.target_distance), imprecise_trebuchet)

return a Trebuchet however this would require an extra section covering either promotion rules or creating methods via metaprogramming, which feels a bit beyond the scope of the current lesson, but may make material for an addon episode for advanced audiences.

@BeastyBlacksmith BeastyBlacksmith added type:discussion Discussion or feedback about the lesson speculative labels Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
speculative type:discussion Discussion or feedback about the lesson
Projects
None yet
Development

No branches or pull requests

1 participant