ãã®è¨äºã§ã¯, 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
{{#tags}}- {{label}}
{{/tags}}