guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] object->string should return obj immediately while obj is a stri


From: Nala Ginrut
Subject: [PATCH] object->string should return obj immediately while obj is a string
Date: Tue, 3 Jul 2012 20:41:47 +0800

hi guys!
I realized that our object->string will do some unnecessary works for
a string object.
--------------code--------------
 (object->string "\n")
==> "\\n"
---------------end--------------

It's illogical! I get several errors when I'm reading xml files. It
generates too many "\\" that I must delete them with redundant
operations.
I believe we should return the object directly when it's a string.

And here's a patch.

Attachment: 0001-string-should-return-immediatly-in-object-to-string.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]