1 #ifndef __SCHEME_UTILITY_STRUTILITY
2 #define __SCHEME_UTILITY_STRUTILITY
5 inline bool notSpecialChar(
const std::string& s, size_t pos) {
return pos<2 || s[pos-1]!=
'#' || s[pos-2]!=
'\\'; }
7 inline std::string
char2Str(
char c) { std::string s; s.push_back(c);
return s; }
8 inline int char2int(
char c) {
return c-
'0'; }
bool notSpecialChar(const std::string &s, size_t pos)
bool isChar(const std::string &s, size_t pos, char c)
std::string char2Str(char c)