0 0

这个函数是什么意思啊?3

default_file_handler_1(Filename, ContentType, Acc) ->
    fun(eof) ->
            Value = iolist_to_binary(lists:reverse(Acc)),
            {Filename, ContentType, Value};
       (Next) ->
            default_file_handler_1(Filename, ContentType, [Next | Acc])
    end.

 这里的匿名函数什么时候匹配eof, 什么时候匹配Next ?

2008年10月22日 11:08
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics