2007-10-01ãã1ã¶æéã®è¨äºä¸è¦§
gen_tcp ã®ç·´ç¿ã§æ¸ãã id:cooldaemon:20070614:1181827975 ã gen_server åãããã¨èããããgen_tcp ã¢ã¸ã¥ã¼ã«ã® accept ã recv ã¯å¦çããããã¯ããã®ã§ãgen_server åã諦ã㦠id:cooldaemon:20070717:1184676090 ã®ããã« proc_lib ã使ã£ã¦ãè¶â¦
ææ㧠apache ã«è² è·ããããçºã« erlang ã使ããã¨ãã¦ãç¥ããã« http module ãä¸æ¸ããã¦ã¦ããã£ãã¨ããæ¸ãè¾¼ã¿ãã¿ã¦ãProgramming Erlang ã® APPENDIX E. Dynamic Code Loading ã®å 容ãæãåºããã®ã§ç´¹ä»ãã¾ããä¸è¨ã® source code ãæºåã -â¦
id:cooldaemon:20071013:1192285916 㧠application ã使ã£ãå ´åã«ã®ã¿ä½¿ããéå®çãªæ¹æ³ãæ¸ãããããã£ã¨ç°¡åãªæ¹æ³ãè¦ã¤ããã®ã§ç´¹ä»ã % cat ./test.config {test1, foo, bar}. [test2, {foo, 1}, {bar, 2}]. test3. % erl 1> file:consult("./test.â¦
ä»ã¾ã§(id:cooldaemon:20070919:1190169198 ã¨ã)ãä¸è¨ã® source ã®ããã« Mnesia ãèµ·åããå¾ã« mnesia:create_schema/1 ãå®è¡ãã¦ããã®ã§ãã⦠start() -> mnesia:start(), mnesia:create_schema([node()]), mnesia:create_table(store, [{attributes,â¦
id:cooldaemon:20071013:1192285916 ãæ¸ãéã man erl ãèªãã§ããããerl ã³ãã³ãã«ã¦ã¼ã¶å®ç¾©ã®ãªãã·ã§ã³ã渡ãæ¹æ³ãæ¸ããã¦ããã®ã§ã¡ã¢ãæ®ããï¼ãã常èãªãã ãããªãï¼ % erl -flag1 value1 -flag2 value2 value3 1> init:get_arguments(). [â¦
erlang ä»å±ã® httpd ã yaws çã¯ãè¨å®ãã¡ã¤ã«ãèªåã§éããèªã¿è¾¼ã¿ãå¤ã確èªãã¦â¦ã¨ãã£ã¦ããã ä½ã楽ãã§ããè¯ãæ¹æ³ã¯ç¡ããã®ãï¼ã¨æã調ã¹ãããã£ãã®ã§ã¡ã¢ãæ®ããerl ã³ãã³ãã«ã¯ä¾¿å©ãª -config ãªãã·ã§ã³ãããã % erl -config testâ¦
id:cooldaemon:20071011:1192094209 㧠Mnesia ä¸ã®ãã¼ãã«ããã£ã¹ã¯ã«ä¿åãã¾ãããããã®ãã¼ãã«ã«é¢æ°ãå ¥ãã¦éãã§ã¿ã¾ãããååä½ã£ããã¼ã a ãåèµ·åããio:fwrite/2 ãä¿åããã % erlang -sname a (a@imac)1> mnesia_test:restart(). ok (aâ¦
id:cooldaemon:20070919 ã§æ¸ãã Mnesia ã®ã¬ããªã±ã¼ã·ã§ã³ã®è¨äºã§ãid:Hamano æ°ããã³ã¡ã³ã㧠便å©ã§ãããã¼ãmnesia ã®ã¬ããªã±ã¼ã·ã§ã³ã ã§ãæè¿æ©ãã§ããã®ã ram_copies ram_copies 㨠disc_copies ram_copies ã¯ï¼ã¤ç®ãå¾ããèµ·åãã¦ãä¸æâ¦
ã¡ã½ããåä¸è¦§ã®è¡¨ç¤º ã©ãæ¸ãï¼org ãªãã¬ã¯ã·ã§ã³ç³»ã®ãé¡ã®ç¶ç·¨ã§ãããããä¸ãããããªãã¸ã§ã¯ãtargetã®ã¡ã½ããã®ãã¡ã "test_"ã§å§ã¾ããã®ããã¹ã¦å¼ã³ã ããã¨ããã³ã¼ããæ¸ãã¦ãã ãããå¼æ°ã«é¢ãã¦ã¯é½åã®ããããã«ä»®å®ãã¦æ§ãã¾ãã(â¦