BIF for writing logs

maruthavanan s <>
Thu Jan 20 09:22:46 CET 2011


Hi,Do we have any module or function that would return string to me what ever I give as input like below.M:F(atom) should return "atom"M:F(9999) should return "9999"M:F("string") should return "string"M:F({tuple}) should return "{tuple}"M:F([1,2,3]) should return "[1,2,3]"I am asking this because I would like to write use this function to write the return values in a file.Thanks,Marutha 		 	   		  


More information about the erlang-questions mailing list