Skip to content

How do I scope to an enum and then do .ifCaseLet? #1420

Answered by mbrandonw
oliverfoggin asked this question in Q&A
Discussion options

You must be logged in to vote

This is unfortunately a blind spot in the library right now. We don't provide an ergonomic tool to first scope to an enum field and then further scope to a case. There is a workaround though, which you can use until we come up with a better tool.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mbrandonw
Comment options

@oliverfoggin
Comment options

@oliverfoggin
Comment options

Answer selected by oliverfoggin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants