3 ms·
No, this is a completely standard compiler optimization. GHC already has it. Using (=<<) is not slower than concatMap on code you write today.
by vmchale 8y ago
No, this is a completely standard compiler optimization. GHC already has it. Using (=<<) is not slower than concatMap on code you write today.
- coldtea 8y agoGHC is a compiler specially used for PL research, dedicated to a language used for PL research. That's neither here, nor there. Plus, I'm not sure what optimizing =<< and concatMap has to do regarding optimizing generics vs concrete behavior.