摘要: -module(record_match).-compile(export_all).-record(aaa, {a=1,b=0,c=c}).record_match() -> record_match2([#aaa.a, 1, #aaa.b, b]).record_match2(KVList) -> List = get_list(), record_match3(KVList, List).record_match3([], List) -> List;record_match3(_, []) -> [];record_match3([Key, Value|T], 阅读全文
posted @ 2012-12-23 16:33 SimpleLiang 阅读(261) 评论(0) 推荐(0) 编辑