In ES6 we can replace in-line function:
function(param){        
}
with this:
param=>{    
}
Does this no longer work with ES6 generators? Why can't we do something like:
param*=>{   
}
to provide an in-line generator function? I thought it would be a given, but nothing like this seems to work.
Am I missing something about in-line use of generators, or is it really that ES6 generators are 2 steps forward and 1 step back?
 
    