摘要: q().----退出erlang's consolef().----撤销遍历绑定pwd().--打印当前目录cd("f:/sinpo").--进入指定目录c(geometry).--编译文件geometry:sum(L).--列表求和Z = fun(X) -> 2 * X end. --匿名函数%% erl中实现for循环for(Max,Max,F) -> [F(Max)];for(I,Max,F) ->[F(I)|for(I+1,Max,F)].%%map定义map(_,[]) -> [];map(F,[H|T]) -> [F(H)| 阅读全文
posted @ 2011-07-04 14:26 小网虫 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 最近在研究Restful服务,下面记写有用的资源:1. 在CodeIgniter框架中使用RESTful服务 http://tech.chinaunix.net/a2011/0420/1180/000001180783.shtml2. CodeIgniter框架学习网站 http://codeigniter.org.cn/ 阅读全文
posted @ 2011-07-04 14:22 小网虫 阅读(191) 评论(1) 推荐(0) 编辑