Skip to content

Alterative operator (||) does not permit nesting #24

@sdiemert

Description

@sdiemert

The alternative operator (|| op1 op2 ...) does not permit nesting with other operators.

For example, given two rules say-bye and say-hello, the following is a valid operation in GrapeVine that runs as wanted:

(-> (newgrape) (|| say-bye say-hello))

This returns a GRAPE with two graphs, as wanted.

However, nesting a looping operator in one of the branches of the alternative operator results in an error:

(-> (newgrape) (|| (->n* 3 say-bye) say-hello))

With the error message:

Exception thrown: java.lang.IllegalArgumentException (Don't know how to create ISeq from: java.lang.Long)

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