-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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
Labels
No labels