Category Archives: learning

Deducing code from types: filterM

The other day in #haskell a few people were trying to figure out how to generate the list of all sublists of a given list. Various people tried various kludgy things involving inits and tails and concatMap, none of which … Continue reading

Posted in haskell, learning | 2 Comments