Brachylog icon indicating copy to clipboard operation
Brachylog copied to clipboard

∈ is stupid and needs to be fixed when using a subscript

Open kckennylau opened this issue 7 years ago • 1 comments

@kckennylau It's actually not completely stupid. Your program works if you write it like this:

∈₎[[2,3,3,1],.]t

That is, with the subscript in the right argument.

The question now is whether or not this behavior is more desirable than having it work for ;.∈₎[2,3,3,1]∧.

My guess is no: this behavior is not in line with any other predicates, and it should always be shorter than the current behavior because the current one requires extra brackets.

JCumin avatar Jun 28 '17 06:06 JCumin