5 ms·
<- is a comprehension, its like a for loop. -> is like for everything else like case and cond = is bind operator and is only used when you want to pattern mat
by Exuma 8y ago
<- is a comprehension, its like a for loop.
-> is like for everything else like case and cond
= is bind operator and is only used when you want to pattern match
- dnautics 8y ago<- is used for with as well and that is not a comprehension, and in feel way more like an = pattern match. -> is used in lambdas, which is kind of like case (but not cond).