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"]
> 

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to