I find it Handy when cleaning up C includes:import Data.Listimport System.IOheader_ord a b | Length a > length b = GT | length a header_ord a b = compare a border_headers = concat . (intersperse "\n") . nub . (sortBy header_ord) . linesmain = do interact order_headers
Handy C includes sorting haskell program
Get updates delivered right to your inbox!
Please follow the link we've just sent you to activate the subscription.