Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Introduction Rubyã®ã©ã ãå¼ã§ã¢ãã¼æ¼ç®åãè¦ãã¦ä½¿ãããã«ãªãã¾ããï¼ãããªããæ¥ï¼Groovyã«æãåºããã®ã§ããï¼ã¢ãã¼æ¼ç®åã«ããã¡ã½ããå®ç¾©ã®æ¸å¼ãRubyã¨ç°ãªãã®ã§ãï¼ãã¨ãªã£ã¦ï¼è²ã ãªè¨èªã®ã¢ãã¼æ¼ç®åã®æ¸å¼ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ããï¼ èª¿ã¹ã¦ã¿ãã¨ï¼ãã©ã ãå¼ããã¢ãã¼æ¼ç®åããã¢ãã¼é¢æ°ããã¯ãã¼ã¸ã£ããªã©å¼ã³æ¹ãä»çµã¿ããã¾ãã¾ã§ããï¼åããã®ã¨ãã¦æ±ã£ã¦è¯ãã®ãæ©ã¿ã¾ãããï¼ãã£ãã調ã¹ãã®ã§å ¬éãã¾ãï¼ãã®æ稿å 容ã§ã¯ï¼ãã=>ããã->ãã使ã£ã¦ã¡ã½ããï¼ã®ãããªãã®ï¼ãå®ç¾©ãã¦å¤æ°ã«ä»£å ¥ãï¼ï¼ã¡ã½ããã®ããã«ï¼å®è¡ã§ããããã®ã対象ã¨ãã¦ãã¾ãï¼ ä»ã«ãã¢ãã¼æ¼ç®åã«ããã¡ã½ããï¼ã®ãããªãã®ï¼ãè¨è¿°ã§ããè¨èªã¯ããã¾ããï¼çæéã§èª¿ã¹ãã®ã§æããããã¾ãï¼ãææããã ããã°å¾ã ã«æ¹è¨ãã¦ããããã¨æã£ã¦ãã¾ãï¼ã§ããã°ãµã³ãã«ããã°ã©ã ã¨ã¨ãã«ã
About åã®å³¶ã®ããã°ã©ãã ãã¾ã«å½¹è ã Practical Schemeã®ä¸»ã WiLiKi:Shiro æè¿ã®ã¨ã³ã㪠米å½ã®å¤§å¦é²å¦ç¡écxré«æ ¡åé¨Defenseæ¯ãè¿ã£ã¦ã¿ãã¨2019å¹´ã¯è²ã å¦ãã§æ¥½...è¦ããããå¿ããæ¹ãé£ãã(ãã¨ããã)ç¼é¡ã®ã¤ãã¨3Dããªã³ã¿Iris Klein Acting ClassSAG-AFTRA conservatory: Voice Actingåµä½æ´»åã£ã¦èªåãæãåºããã°ãªããªãã¨...More... æè¿ã®ã³ã¡ã³ã Emma SugarRush on CLtL2 (2024/12/25)shiro on æ³ãåãã¨æéãéãéããã®ã¯ãæ°ãããã¨ã«ææ¦ããªããã? (2023/03/14)1357 on æ³ãåãã¨æéãéãéããã®ã¯ãæ°ãããã¨ã«ææ¦ããªããã? (2023/03/01)ãã¢ããªã¼ã㧠on ãã¤ããã¤ããã¤ã
è¬ç¾©ãã¼ãã®ç®æ¬¡ã¸ ã©ã ãè¨ç®ã¯ï¼ã³ã³ãã¥ã¼ã¿ã»ãµã¤ã¨ã³ã¹ã®éè¦ãªï¼åéã ãλãã使ã£ã¦å種ã®é¢æ°ãè¨è¿°ãï¼Î»ã©ããã®è¨ç®æ¹æ³ãç¿å¾ããã°ã»ã»ã» HaskellãF#ãªã©ã®é¢æ°åè¨èªãç¿å¾ããããã«å½¹ç«ã¤ã ããã°ã©ãã³ã°ã«ããã¦ï¼é¢æ°ã«ã¤ãã¦ã®ç解ãæ·±ãããã¨ãã§ããã è¤éãªã¢ã«ã´ãªãºã ãç°¡æã«è¨è¿°ãã¦ï¼æåãæ§è³ªãäºæ¸¬ãããã¨ãã§ããã è¨ç®æ©ç§å¦ã®ï¼ããæ·±ãå°éçãªè©±é¡ãç解ããããã®è¶³ããããå¾ãããã ãªã©ã®ã¡ãªãããããã ä¸è¨ã«ï¼ç¬å¦ã§Î»è¨ç®ãåå¼·ããããã®ï¼ å ¥éã¬ãã«ã®è¬ç¾©ãã¼ããWebãã¼ã¸ãæ²è¼ããã èªã¿ããã便å©ãªãã®ã»ãããããããã®ããï¼å¿ç¨çãªãã®ã¸ã¨ä¸¦ã¹ã¦ããã 質ã®é«ããã®ã ããç²¾é¸ãï¼ãããã¥ããè³æã¯é¤å¤ãã¦ããã ã©ã ãè¨ç®ã®æ¦è¦ ã©ã ãè¨ç®ã®åºç¤ ã©ã ãè¨ç®ã®å¿ç¨ 復ç¿ã®ããã®åé¡ï¼å ¥éã¬ãã«ï¼ â»Î»è¨ç®ãå©ç¨ããè¨ç®éã»è¨ç®è¤éæ§ã»è¨ç®å¯è½
ãã®è¨äºã§ã¯, 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
An Introduction to Functional Programming Through Lambda Calculusãèªãã§ããããæåã®ç« ã« functional language ã®æ´å²ãæ¸ããã¦ããã®ã§ãç°¡åã«ã¾ã¨ãã¦è¦ã¾ããã Propositional calculus Propositional calculus Systemã§ãå½é¡è¨ç®ç³»ãã§ãã19ä¸ç´ä¸é ã«ãããã«ãã³ããã¢ã«ã¬ã³ããã¼ã«éã«ãã£ã¦ãå½¢å¼åããã¾ãããåºæ¬çãªå¤ã¨ãã¦trueãfalseã使ããåºæ¬çãªæ¼ç®åã¨ãã¦ãandãorãnotã使ãã¾ããPropositional calculusã«ãã£ã¦ãä»»æã®å¼(expression)ããåç(theorem)(常ã«ç)ãã©ããã証æ(prove)ã§ãã¾ãã常ã«çã§ããåºæ¬çãªå¼ã§ããå ¬ç(axioms)ããéå§ããå ¬çã¨æ¢ç¥ã®åçã«æ¨è«è¦å(r
以ä¸ã®è¨äºã¯ã R ææã«ãã S 大å¦ã§ã®è¬ç¾©é²ã Haskell Advent Calendar 2012 ã®ããã«è»¢è¼ãããã®ã§ããã ã¯ããã« ãã¼ãããã§ã¯ãä»å¹´æå¾ã®ææ¥ãå§ãããã¨æããä»æ¥ã¯ã究極ã®é¢æ°åè¨èªã«ããè³é«ã® Hello, world!ãã«ã¤ãã¦è¬ç¾©ãããã¨ã«ãããã â究極âã®é¢æ°åè¨èªãä½ã§ãããã«ã¤ãã¦ã¯è«¸èª¬ãããããããã§ã¯ SKI ã³ã³ããã¼ã¿è¨ç®ãæããã®ã¨ãããã¾ãâè³é«âã®å®ç¾©ããæãç°¡æ½ã§ãããã¨ãããªãã¡æãçãè¨è¿°ããã¦ãããã¨ã¨å®ããã 諸åã¯ç¬¬ä¸ããã°ã©ãã³ã°è¨èªã¨ã㦠Haskell ãé¸æãã¦ããè ãã»ã¨ãã©ã§ããããå½åãã®è¬ç¾©ã Haskell ããã¼ã¹ã«è¡ããã¨èãã¦ãããã ããHaskell ã¯é常ã«å·¨å¤§ãªè¨èªã¨ãªã£ã¦ãã¾ã£ã¦ãããè¨èªä»æ§ãææ¡ããã ãã§ãé£ãããã ããã STG ã Spineless Tagless G
Lazy K Executive summary Lazy K is a garbage-collected, referentially transparent functional programming language, with a simple stream-based I/O system. What distinguishes Lazy K from other such languages is its almost total lack of other features. It does not, for example, offer an integrated Hindley-Milner polymorphic type system. It is not shipped with an extensive standard library with suppor
⺠2022 (2) ⺠10æ (1) ⺠2æ (1) ⺠2021 (51) ⺠11æ (2) ⺠10æ (2) ⺠9æ (4) ⺠8æ (4) ⺠7æ (4) ⺠6æ (4) ⺠5æ (3) ⺠4æ (10) ⺠3æ (7) ⺠2æ (4) ⺠1æ (7) ⺠2020 (155) ⺠12æ (7) ⺠11æ (10) ⺠10æ (8) ⺠9æ (8) ⺠8æ (11) ⺠7æ (21) ⺠6æ (19) ⺠5æ (14) ⺠4æ (20) ⺠3æ (13) ⺠2æ (10) ⺠1æ (14) ⺠2019 (293) ⺠12æ (11) ⺠11æ (12) ⺠10æ (24) ⺠9æ (29) ⺠8æ (27) ⺠7æ (36) ⺠6æ (40) ⺠5æ (24) ⺠4æ (35) ⺠3æ (42) ⺠2æ (6
12:21 06/05/28 ããã²ã å æ¥ã®è¨äºã«æ¸ããããã« KOKIA ã«ãããã¾ãã¦ã ã¨ããããçã£ç«¯ããè´ãã¦ã¿ããã¨ã«ãã¾ãããã¾ã㯠1st ã¢ã«ãã ã® ãsongbirdã ãã ⦠â¦ï¼æ²ç®ã® "ç½ãéª" ã¤ãããè¶ ã¤ããããªãã ããããããããã ãã¹ãç¤ãè´ããã¨ãæããæºãããªãè½ã¡çããæå±åçãªæ²ãæå¾ ãã¦è´ãã¯ããããã äºæ³å¤ã®å£°è³ªã®æãé£ã³è¾¼ãã§ãã¦ã³ã£ãããã¾ããããã¡ããæ群ã«å·§ãã®ã« ãããã¯ãªããã§ããããã£ã¨åããªãã¬ã©ã¹ç´°å·¥ã¿ãããªã¤ã¡ã¼ã¸ã®ãããããã®ã ã¤ã¾ãç½ãéªã¿ãããªé°å²æ°ã®ç¶ºéºãªå£°ã§ããã®å£°ã¨å¥è·¡çã«ãããããã¡ããã£ã ããããªããï¼æ²ç®ã® "ãããã¨ãâ¦" ããã¹ãç¤ã§ã®ãªãã¤ã¯ã¨æ¯ã¹ã¦åãå°è±¡ã§ã Amazonã®review 㧠TenderBerry ããã¨ããæ¹ãè¿ããã¨ãæ¸ãã¦ãããã¾ããã ãããæ¸ãã¦ã¦èªåã®èªå½ã®
ã©ã ãè¨ç®ã¯, å¤ãã®ããã°ã©ãã³ã°è¨èª, ã¨ãã«é¢æ°åè¨èªã®åå½¢ã«ãªã£ã¦ãã¾ã. ã©ã ãè¨ç®ã«ã¤ãã¦ç解ãã¦ãããã¨ã¯, å¤ãã®ããã°ã©ãã³ã°è¨èªã®ç¿å¾ã«å½¹ç«ã¤ã§ããã. ã©ã ãè¨ç®ã¯ãã¥ã¼ãªã³ã°å®å ¨ã§, è¨ç®è½åã¨ãã¦ã¯ãµã¤ãã®ããã°ã©ãã³ã°è¨èªã¨åãã§ã. ã©ã ãè¨ç®ã§è¨ç®ãæ¸ãè¨ç·´ããã¦ãããã¨ã¯, ä»»æã®è¨ç®ãé¢æ°ã®ã¿ã使ã£ã¦(ä»ã®å¶å¾¡æ§æãç¨ããã«)æ¸ãã¨ãã«å½¹ç«ã¡ã¾ã. ãµã¤ãã«æ¸ãããç ©éãªå¦çã, é¢æ°åè¨èªã®ããæ¹ã§æ¸ãã¨ãã£ãããããã¨ãå¤ã ãã, ã³ã¼ããèªç±èªå¨ã«æ¸ãããã«ã¯å¿ é ã®èãæ¹ã¨è¨ããã§ããã. é ã©ã ãè¨ç®ã®å¼ãé (term)ã¨è¨ãã¾ã. é ã¯å¤æ°, æ½è±¡, é©ç¨ã®ããããã§ã. å¤æ° å¤æ°(variable)ã¯ãµã¤ã1æåã§æ¸ãã¾ã. å¤æ°ã«ã¯é¢æ°å ã®æç¸å¤æ°(bound variable)ãèªç±å¤æ°(free variable)ãã¨ããåºå¥ããã
ã¾ãç¡éåã®å¤æ°ãä¸ãããã¦ããã¨ãããå¤æ°ã¯é常x, yãªã©ã©è¨è¿°ããããå¤æ°ããåºçºãã次ã®æä½ãç¹°ãè¿ãã¦å¾ããããã®ãλå¼ã¨å¼ã¶ã λæ½è±¡ λå¼Mã¨å¤æ°xãããå¼Î»x. Mãçæããæä½ãããã¯ãå¤æ°xã«å¼æ°ãåãåããå¤Mãè¿ãé¢æ°ãæå³ãããMã«å«ã¾ããå¤æ°xã¯ãã®Î»ã«ããæç¸ãããã¨ããããã ãããã§ã«æç¸ããã¦ãããã®ã¯é¤ãã é¢æ°é©ç¨ äºã¤ã®Î»å¼M, Nã並ã¹ã¦çµåããå¼MNãä½ãæä½ãããã¯å¼Mã表ãé¢æ°ã«å¼æ°ã¨ãã¦Nãä¸ãããã¨ãæå³ããã ã¾ãλæ½è±¡ãé¢æ°é©ç¨ã®ç¯å²ãæ確ã«ããããã«æ¬å¼§ãç¨ããã ä¾: (λx. xx)(λx. xx),λf.(λx.(f (x x)) λx.(f (x x)))
æ¥æ¬ã§ã¯ä½ãç¥ããã¦ãã¾ããããé常ã«åªããç´ç²é¢æ°åè¨èªConcurrent Cleanã®ä½¿ãæ¹ããã¥ã¼ããªã¢ã«ã»è¨èªãªãã¼ãã®ç¿»è¨³ãè¼ãã¦ãã¾ããä¸å¿ããã ãè¦ãã°ãCleanã®åºæ¬ã¯åããããã«ãã¦ããã¤ããã§ããç´ç²é¢æ°åã¨ããæå 端ã®è¨èªã§ãããªãããçµ±åéçºç°å¢ãæã¡ãGUIä½æã®ã©ã¤ãã©ãªãè±å¯ãªãããã¦ãå¹ççãªexeãã¡ã¤ã«ãåºåããã³ã³ãã¤ã©ã§ããã¤ã³ã¿ããªã¿ã§ã¯ããã¾ããã ãã¯ãè¨ã£ã¦ããã¹ããªã®ã§ãããããããã«ããå 容ã¯ãåºæ¬çã«ãæ示çå宣è¨ãè¡ãå½ä»¤åè¨èªåã³ãªãã¸ã§ã¯ãæåè¨èªï¼å ·ä½çã«ã¯ãC/C++ãJavaãC#ãPascalçï¼ããã£ã人ã§ãªãã¨åãããªããããªå 容ãå¤ãããããã¾ããã ãã ãRubyã®æã¯ãRubyã ãåãã£ã¦ããã°åããå 容ã ã¨æãã¾ãã å人çãªæè¦ã§ãããé¢æ°åè¨èªããèªä½ã¯å½ä»¤åè¨èªãåå¼·ããªãã¾ã¾ã§ãå ¥ã£ã¦è¡ããã¨æ
ä»å°ãã¸ãã¯å¶æ¥½é¨ ã©ã ãè¨ç®ï¼¡ï¼¢ï¼£ æ°å¦ã»ããã¼ï¼ï¼å¹´ï¼æå·ãã A. ã©ã ãè¨ç®ã¨ã¯ ä»ããï¼ï¼å¹´ç¨åãããªã³ã¹ãã³å¤§å¦ã®è¥æè«çå¦è Aï¼ãã£ã¼ãããé¢æ°ã®æ°ãã表è¨æ³ãææ¡ãã¾ãããã©ã ãè¨æ³ã¨å¼ã°ãããã®è¡¨è¨æ³ã§ã¯ãä¾ãã°äºä¹ãè¨ç®ããé¢æ°ã¯ λx.x^2 ã¨è¡¨ãã¾ããå¾æ¥ã®"f(x)"ã¨ããæ¸ãæ¹ã¯ããããé¢æ°ã表ãã®ããé¢æ°ã®xã«ãããå¤ã表ãã®ããææ§ãªã®ã§ãã©ã ãè¨æ³ã§ã¯ãé¢æ°fã®xã«ãããå¤ãfxã§ç¤ºããxã«ãããå¤ãf(x)ã¨ãªãé¢æ°fãλx.f(x)ã¨è¡¨ãã®ã§ãã "f(x)"ã¨ãã表è¨æ³ã®æ¬ é¥ã¯ãé«æ ¡ã®æ°å¦ã¾ã§ã§ã¯ã»ã¨ãã©è¡¨é¢åãã¾ãããã大å¦ã«å ¥ã£ã¦ããå®ç¾©åãå¤åãé¢æ°ã®éåã«ãªããããªé«éé¢æ°ï¼ãªãã¬ã¼ã¿ã¨ãä½ç¨ç´ ã¨ãå¼ã³ã¾ãï¼ãæ±ãã ãã¨ãããããã¾ããä½ç¨ç´ ãªã©ã¨ããã¨ã²ã©ãç¹æ®ãªãã®ã®ããã§ãããé¢æ°f(x)ã«ãã®å°é¢æ°f'(x)ã対å¿ãããå¾®åæ¼ç®åD
The SKI combinator calculus is a combinatory logic system and a computational system. It can be thought of as a computer programming language, though it is not convenient for writing software. Instead, it is important in the mathematical theory of algorithms because it is an extremely simple Turing complete language. It can be likened to a reduced version of the untyped lambda calculus. It was int
ãã®è¨äºã«ã¯åèæç®ãå¤é¨ãªã³ã¯ã®ä¸è¦§ãå«ã¾ãã¦ãã¾ãããè注ã«ããåç §ãä¸ååã§ãããããæ å ±æºãä¾ç¶ä¸æ確ã§ãã é©åãªä½ç½®ã«è注ã追å ãã¦ãè¨äºã®ä¿¡é ¼æ§åä¸ã«ãååãã ãããï¼2020å¹´5æï¼ ã©ã ãè¨ç®ï¼ã©ã ããããããè±èª: lambda calculusï¼ã¯ãè¨ç®æ¨¡åã®ã²ã¨ã¤ã§ãè¨ç®ã®å®è¡ãé¢æ°ã¸ã®å¼æ°ã®è©ä¾¡ï¼è±èª: evaluationï¼ã¨é©ç¨ï¼è±èª: applicationï¼ã¨ãã¦ã¢ãã«åã»æ½è±¡åããè¨ç®ä½ç³»ã§ãããã©ã ãç®æ³ã¨ãè¨ããé¢æ°ã表ç¾ããå¼ã«æåã©ã ã (λ) ã使ãã¨ããæ £ç¿ãããã®åããããã¢ãã³ã¾ã»ãã£ã¼ãã¨ã¹ãã£ã¼ã´ã³ã»ã³ã¼ã«ã»ã¯ãªã¼ãã«ãã£ã¦1930年代ã«èæ¡ãããã1936å¹´ã«ãã£ã¼ãã¯ã©ã ãè¨ç®ãç¨ãã¦ä¸éè¿°èªè«çã®æ±ºå®å¯è½æ§åé¡ãï¼å¦å®çã«ï¼è§£ãããã©ã ãè¨ç®ã¯ãè¨ç®å¯è½ãªé¢æ°ãã¨ã¯ãªã«ããå®ç¾©ããããã«ç¨ãããããã¨ããããè¨ç®ã®æå³è«ãåçè«
2008å¹´02æ04æ¥07:00 ã«ãã´ãªLightweight Languages λ Calculus - ã¾ãã¯é 延è©ä¾¡ãã ãã¼ããã¾ãY Combinatorã¨ããã®ã¯ãããããã¡ãæªãã£ãããªãã®ã¿ã¼ç¿ããã¦ã§ãããªãFã®é³ãåºããããªããã ããã Haskell ã®ãªã¹ãã¨é 延è©ä¾¡ãå°ãåãã£ã - ITæ¦è¨ Y ã³ã³ããã¼ã¿ã£ã¦ä½ï¼ - ITæ¦è¨ ã¾ãã¯ãé 延è©ä¾¡ã«ã¤ãã¦ãã¡ãã¨ãããããã¦ãããã æ ã¦ããªãã«ã¼ãã¯æ¥ã«æ¢ã¾ããªã ã¾ãã¯ã以ä¸ã®å¼ãèãã¦ã¿ãã (function(a, b, c){ return a ? b : c; })(true, 1, 1+1); å®è¡ãã¦ã¿ãã¨ã1ã¨ãªãã¯ãã ããããããã§éè¦ãªã®ã¯ãã®ãã¨ãããªããå¾ãã®1+1ãå®è¡ããããã ããã®ãã¨ã¯ã©ããã£ã¦ç¢ºèªãããããã ãããã以ä¸ã®ããã«ãã¦ã¿ãã°ããã¯ãã ã var ELSE =
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}