1以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã2013/02/09(å) 21:59:10.07ID:f7ScD8Hl0ææ³ãã£ããæãã¦ãã ã·ã³ãã«ã ãæ´ç·´ãããã¸ã£ã±ãã³ã¹ã¿ã¤ã« ç¶ããèªã
1以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã2013/02/09(å) 21:59:10.07ID:f7ScD8Hl0ææ³ãã£ããæãã¦ãã ã·ã³ãã«ã ãæ´ç·´ãããã¸ã£ã±ãã³ã¹ã¿ã¤ã« ç¶ããèªã
ãã®è¨äºã§ã¯, Haskellã«ç¨ãããããé 延è©ä¾¡ãã®ä»çµã¿ã, å³ã«æãã¦èª¬æãã¾ã. æ´ã«, é 延è©ä¾¡çã®ãã£ããããæ°ã®ç¡éåã, JavaScriptã§å®è£ ãã¾ã. é 延è©ä¾¡ã¨ã¯ã©ã®ããã«åãã®ã, èãã¦è¡ãã¾ããã. Haskellã®ã³ã¼ãã¨JavaScriptã®ã³ã¼ãã®æ¯è¼ Haskellã§ã® x = y y = 10 ã¨, JavaScriptã® var x = y; var y = 10; ã¨ããã³ã¼ããèãã¦ãã ãã. Haskellã®ã³ã¼ãã¯, ããã ãã§ã¯ä½ãèµ·ããã¾ãã. print xã¨ããã¨, x = y = 10 ã¨ãªã£ã¦ 10 ã表示ããã¾ã. ä¸æ¹, JavaScriptã®ã³ã¼ã㯠var x = y; ãè©ä¾¡ããç¬é, ï½¢ReferenceError: y is not definedï½£ã¨ããã¨ã©ã¼ãåºã¾ã. æ´ã«, main = let x = 1
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}