packages feed

haskell-tools-refactor-0.4.1.1: examples/Refactor/ExtractBinding/ListComprehension.hs

module Refactor.ExtractBinding.ListComprehension where

filterPrime (p:xs) = 
  p : filterPrime [ x | x <- xs
                      , x `mod` p /= 0 ]