Stream: fhirpath
Topic: Unary operators?
Paul Lynch (May 22 2019 at 14:20):
I was just trying to implement unary "-" (PolarityExpression in the grammar) but I could not find much in the spec about unary - or +. In particular, I am not sure what the result of the following cases should be:
-(7).combine(3) -((7).combine(3)) # though per the grammar, I think that is the same as the previous case -'abc' # or -true, etc.
Grahame Grieve (May 22 2019 at 19:47):
-7, 3
error
Paul Lynch (May 24 2019 at 21:34):
Last updated: Apr 12 2022 at 19:14 UTC