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

optics broadcast as scalars, same as regular functions #94

Merged
merged 2 commits into from
Apr 2, 2023

Conversation

aplavin
Copy link
Member

@aplavin aplavin commented Mar 31, 2023

Optics are analogous to functions, and should broadcast the same way - as scalars.

@jw3126
Copy link
Member

jw3126 commented Mar 31, 2023

Makes sense, can you add some tests?

src/optics.jl Show resolved Hide resolved
Copy link
Member

@jw3126 jw3126 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@aplavin aplavin merged commit 652f595 into JuliaObjects:master Apr 2, 2023
@aplavin aplavin deleted the bcast branch April 2, 2023 12:30
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