Skip to content

Is dispatch! an OK alternative to alt + cut_err? #338

Answered by epage
adamchalmers asked this question in Q&A
Discussion options

You must be logged in to vote

In that exact case, yes, dispatch will get the job done and this is covered in an earlier chapter. The point here is more to illustrate the concept of cut_err. There are times when you can't convert a alt + cut_err into a dispatch.

I would be interested in better understanding your thought process that led to this to better understand how much of a problem it is. I'm liking keeping the examples building on each other and I dislike having a lot of side notes for exception cases, so I'd lean towards keeping it as-is but someting led you to creating this.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by adamchalmers
Comment options

You must be logged in to vote
0 replies
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