Replies: 4 comments
-
I have mixed feelings about adding ordering to booleans 😕 On the other hand we already allow those as index sets, but I've started wondering if that wasn't a mistake. |
Beta Was this translation helpful? Give feedback.
-
Agreed. You could have |
Beta Was this translation helpful? Give feedback.
-
Yes, that sounds reasonable. Or just use |
Beta Was this translation helpful? Give feedback.
-
I would also lean towards not adding an Some precedent: Haskell has an I'll move this to Discussions now, since this is more like a discussion than an issue. |
Beta Was this translation helpful? Give feedback.
-
consider
Though the main reason i wanted this was that
findfirst
andfindlast
could then be just beargmin
andargmax
when applied to a table of booleans.Perhaps better would be to implement those directly
Beta Was this translation helpful? Give feedback.
All reactions