It feels like I should be able to set several timeouts, based on using the `->` operator where even right above you can specify many. But no! Only a single expression may be used...
```
Now to counter some of the arguments I suspect will come up :D
I had several suggestions, which included adding the timeout
value at the top, or using a new `timeout` token instead of
`after`, but in the end, I think what is probably the best middle
of the road is to allow another `do` instead of the `->`
```
Just some observations/random suggestions. Take them for what you will.
-Brandon
In my not so long professional experience with elixir, you don't write bare receive/after, usually it comes in some form of genserver callbacks. I agree that after clause not being pattern matching is confusing, but it's a fair trade-off to keep language at least visually consistent, and also not having to dealing with uneven do's and end's from your suggestion.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/c0677b53-2313-41a3-919b-a29ca273f649%40cold.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/98b5b38f-c5cb-48a9-bf60-f154ecd997b6%40app.fastmail.com.