Skip to content
Discussion options

You must be logged in to vote

The variable list2 is available, but it is not definitely assigned. If any part of the pattern fails, the entire pattern fails, thus the pattern variable never receives a value. That's what makes it different from the comparable logic using Boolean operators, and that is an intentional part of the design.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vst-h
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HaloFour
Comment options

Answer selected by vst-h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants