iota icon indicating copy to clipboard operation
iota copied to clipboard

Any order operator

Open mynomoto opened this issue 8 years ago • 2 comments

Would be of interest to have something like :=~ for comparing vectors where the order doesn't matter? So [:a :b :c] :=~ [:b :a :c]?

mynomoto avatar Jun 28 '17 20:06 mynomoto

As an alternative, you could accomplish this by calling set on the result,

For example: [:path set] := #{:b :a :c}.

danielcompton avatar Nov 22 '18 01:11 danielcompton

Yeah, I got it working with two assertions :> and :<, your solution is more elegant. But in the end I moved to testit. The syntax was more formatter friendly.

mynomoto avatar Nov 22 '18 01:11 mynomoto