(opposite) ( e1 e2 quot: ( edge -- edge' ) -- edge )


Vocabulary
euler.b-rep

Inputs
e1an object
e2an object
quota quotation with stack effect ( edge -- edge' )


Outputs
edgean object


Definition


:: (opposite) ( e1 e2 quot: ( edge -- edge' ) -- edge )
e1 quot call :> e0 e0 e2 eq?
[ e1 ] [ e0 e2 quot (opposite) ] if ; inline recursive