Skip to content

Math operators on prest not working as expected #56

Description

@kflak

Hi there,

I bumped into this situation:

     :db (ptrace (pseq (p- (list -9 (prest) -12 (prest) -15 (prest) (prest)) 10)))

Gives me this output:

-19
-9
-22
-9
-25
-9
-9
-19
-19

In other words, the p- works correctly on the list positions that have a value, but where there is a prest it gives me a -9 (which is weird, I would assume that it would at least give me a -10...?) . p+ exhibits the same behavior, giving me 11 db for each rest.

It seems to make no difference if I place the p- inside or outside the pseq. In both cases the end result is that I don't get a rest at all in these situations, but an extra note that I don't really want...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions