December 20 2006
2006-12-28 11:47
267 查看
Today I wrote a closure function for my "nautilus" project. The function peek out a character from
a port, firstly; if the character is a white space, it will invoke the "white-spaces" function eat up
more white spaces.
But I felt the code is not simply. So, I changed the codes of the two function. The "white-space*"
will eat up white spaces until meeting a non-white space. The "white-spaces" peek out a character from
a port firstly; if the character is a white space, it will call the "white-spaces*" function eat up
more white spaces.
a port, firstly; if the character is a white space, it will invoke the "white-spaces" function eat up
more white spaces.
But I felt the code is not simply. So, I changed the codes of the two function. The "white-space*"
will eat up white spaces until meeting a non-white space. The "white-spaces" peek out a character from
a port firstly; if the character is a white space, it will call the "white-spaces*" function eat up
more white spaces.
相关文章推荐
- 【poj3259】Wormholes 【USACO 2006 December Gold】
- Enterprise Library 3.0 December 2006 CTP版发布了!
- December 6 2006
- December 18 2006
- 10/20/2006
- SQL Server 2005 Service Pack 2 – CTP December 2006发布
- Enterprise Library 3.0 December 2006 CTP版发布了!
- December 7 2006
- December 19 2006
- December 2006
- squid纯内存缓存 November 20, 2006
- 默然日记(2006-10-20)
- December 8 2006
- December 21 2006
- December 11 2006
- December 22 2006
- 2006,03,20 Some feeling
- WebWork深入浅出 (转贴)http://www.blogjava.net/moxie/archive/2006/10/20/76375.html
- 2006-11-20 星期一
- December 12 2006