Skip to content

Add <!, <=!, >!, >=! - #157

Merged
benikm91 merged 1 commit into
dimwit-dev:mainfrom
benikm91:add-compare-ops-brodcasts
Aug 26, 2026
Merged

Add <!, <=!, >!, >=!#157
benikm91 merged 1 commit into
dimwit-dev:mainfrom
benikm91:add-compare-ops-brodcasts

Conversation

@benikm91

@benikm91 benikm91 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Compare operations <, <=, >, and >= lack their broadcast version. This PR adds them.

Add less, greater to mirror add, subtract for + and -

Note: <! is not supported syntax in Scala, so it was added as '<!' for now. A future solution could be to change the broadcasting syntax to +_! and -_! which would allow <_! and would be inline with where_!. I guess '<!' makes the most sense for now.

@benikm91
benikm91 force-pushed the add-compare-ops-brodcasts branch from baa02b7 to b2beccd Compare August 25, 2026 07:56

@marcelluethi marcelluethi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding these operations. It makes sense to have broadcast versions for all these operations. The Syntax is consistent, even if >=! feels a bit like token soup and reminds me of early day sbt 😃

@benikm91
benikm91 merged commit d17533e into dimwit-dev:main Aug 26, 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