Learning Erlang in general and recursion. How to emulate a counter or acumulator?

前端 未结 0 1115
清酒与你
清酒与你 2020-12-30 02:21
-module(tut).
-export([folders/1]).
-export([main/0,incr/1]).

main() -> 
    Folders = folders("C:/Users/David/test"),
    LCounter = [0],
    pretty_p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题