2011年5月21日

关于yaws的一些默认规则

摘要: (本来不用说,就是erlang编程的规则,但是记录下(又不花钱……))如果参数为空,不要省略,请用[]代替但是是list的都要使用[]括起来注意的 ,和.例如<erl>out(Arg)->{ehtml, {table, [{bgcolor, "tan"}],%%如果不设置背景,[{bgcolor, "tan"}]可以省略为[] [{tr, [],%%参数省略 [{td, [{width, "70%"}], {p, [{class, "foo"}], "Hi there"}},% 阅读全文

posted @ 2011-05-21 10:24 songqiuming 阅读(233) 评论(0) 推荐(0) 编辑

导航