BTW, "\n -> show n" is equivalent to "show" . On Monday Jun 7, 2010, at 8:37 PM, zaxis wrote: >> Yes, and i can use appendFile too. >> >> appendFile "ssqHitNum.txt" $ unwords $ [no] ++ map (\n -> show n) hitNum >> ++ ["\n"] >