2015-01-01ãã1å¹´éã®è¨äºä¸è¦§
ããããããã¾ã¨ã ãããããããã¡ã«ããªãï¼ã ç§ãããã¾ãï¼ã ããã¦ãªããã¸ èª°ï¼ ãã®ã¨ããã¾ããä»å¹´åº¦ã§28æ³ãæçµå¦æ´=å¦é¨åã æ±äº¬é½å ã®å°ããªã½ããã¦ã§ã¢ãã¦ã¹ã§4å¹´ã»ã©ãC#(.NET)çã§æ¥åã·ã¹ãã ãéçºããããã¦ãã¾ããã ä½ããã£ãâ¦
ç°å¢ Windows 8.1(64bit) Visual Studio 2012/2013 Ultimate (32bit)
ãç¡æ²æ±°ãã¦ã¾ããå¿ããã«ãã¾ãã¦ããã¾ãæè¡ã®åå¼·ã¡ã¢ããæããªãæ¨ä»ã§ãã Twitterã§ãé¡ãåºããã¦ããã®ã§ãããã¨ãªãF# ã§ãã£ã¦ã¿ã¾ããã
Twitterã§ãé¡ãåºãããã®ã§ãF# ã§ãã£ã¦ã¿ã¾ããã sortãã¦ãindexã¨zipãã¦ãã¾ãsortãç´ããªãã¦ããããã¶ãã¨ããµãã³ã¼ããæ¸ãã¦ãã®ãï¼ãã£ã¦æãã¾ããã*1 ä¾ã®ã³ã¼ãã®ã人ãã¨ãè»ãã®ãã¼ã¿åã«carRankingã¨humanRankingã¨ãããã®ããåâ¦
å æ¥ã®è¨äº é¢æ°åã»ãªãã¸ã§ã¯ãæåãªããã°ã©ãã³ã°ãã©ãã¤ã ã«ã¤ãã¦æãã¨ãã - æè¡memo ã§èª¤éåããããã¤ãã®ãã¨ã«ã¤ãã¦ãè£è¶³ãã¾ãã
åæ© ã¤ã¡ã¼ã¸è«ã§ãªãè¨èªãã©ãã¤ã ã«é¢ãã話ãæ¸ãããã£ãã*1 ã¾ã¨ããªæè¦ãã¤ã³ã¿ã¼ããã空éã«1ã¤ã§ãå¤ãæ®ãã¦ããããã£ãã*2 è¦ç´ ãªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ã¯ãã¼ã¿ã«å¯¾ããæä½ããªãã¸ã§ã¯ã*3ã¨ãã¦æ½è±¡åããã é¢æ°åããã°ã©ãâ¦
æ¨å¹´æ«ããEmacsã使ãå§ãã¦ä»¥æ¥5ã¶æã»ã©ããã£ããæ´è³å®äºããä»ã§ã¯Emacsãã¼ãã¤ã³ãããªããã°çãã¦ãããªãç¶æ ã«ãªã£ã¦ãã¾ãã æ®æ®µWebãã©ã¦ã¸ã³ã°ã«ä½¿ã£ã¦ããGoogle Chromeã§ã¯è¯ãæ¹æ³ããªãããã ã£ãã®ã§ãããFireFoxã®KeySnailã¨ããæ¡å¼µâ¦
åå¼·ã¡ã¢ãã®2ã§ãã ãã®1ã«æ»ã
æ®æ®µã¯C#, F#, Java辺ããæ¸ãã¦ãç®ç·ãããScalaãåå¼·ãã¦ã¿ãã®ã§ãã³ã¼ãã¡ã¢ãæãã¦ã¿ã¾ãã åä½ç°å¢ã¯ãã®è¨äºã®PlayFrameworkç¡ã(JDK + Scala + IntelliJ IDEA)ã§ãã
ä½æ ãScalaãå§ãããã¨ã«ããã®ã§ãç°å¢æ§ç¯ã¡ã¢ã§ããæå¤ã¨èºãã¾ããã
ä¸æã¯ãããã¡ãã¨æãã¾ãããã解決ãã¾ããã
SIerã®ãä»äºã§ãè¨è¨æ¸ãæ¸ãããããã¨ãã«ãMicrosoft Office Wordã®docxãã¡ã¤ã«ã使ããã¨ãããã¾ãã ãããªä¸ã§ããããã¥ã¡ã³ãã®ãã©ã¼ããããããç¨åº¦èªç±ã«ã§ããå ´åã«*1ãWordã§ç´æ¥æ¸ãã®ãããã¦ããã¬ã¼ã³ããã¹ã(Markdown)ã§æ¸ãã¦ãPanâ¦
èãäºãã¡ã¢ããããå種è¨é²ãã¤ãããã¨ãã£ããã¡ã¢ãã¼ã«çé(ï¼)ã«ã¯ä»¥åããé¢å¿ãããã¾ããã ããæè¿Emacsã使ãå§ããã¿ã¤ãã³ã°ã§ä¸åº¦è¯ããããªãã¼ã«ãè¦ã¤ãããã¨ããããå種æ å ±ãã¾ã¨ãã¦ã¿ããã¨ã«ãã¾ããã
F#ãã¯ããã¦ã¿ãã人åãã2015å¹´åé ç¾å¨ã®è¨èªé¢é£æ å ±ã¸ã®åç §ãã¾ã¨ãã¦ã¿ã¾ãã ããããæ¥æ¬èªã§ãã
;; ãªã¹ã(ããªã¼)ãå¹³å¦åããã (define flatten (letrec ((flatten-rev (fold$ (lambda (x acc) (if (list? x) ;; xãlistãªãå帰å¼ã³åºãçµæãaccã®å é ã«è¿½å ((compose (fold$ cons acc) reverse flatten-rev) x) ;; ãã以å¤ãªãåã«xãaccã®å é ã«â¦
Schemeæç¿ã(The Little Schemer) 8ç« ã«ãmultirember&coã¨ããé¢æ°ãåºã¦ããã®ã§ãããä½ã ãæ¥ã«é£ãããè·³ãä¸ãã£ãããã§ãæ£ç´ãããããããªãã£ãã®ã§ãèªåç¨ã«è§£èª¬ãã¡ã¢ãã¦ããã¾ãã åä½ç°å¢ã¯Gauche 0.9.4ã§ãã
æ¦è¦ ããã°ã©ã ã®è¨è¨ã§ã¯ããããåããããªswitchæããã¡ãã¡ã«ããã¨æ¹ä¿®ãå°é£ã«ãªããã¨è¨ããã¦ãã¾ãããããã£ãå ´åã¯ããswitchã®åå²ãããªãã¸ã§ã¯ãã®å¤æ æ§ãå©ç¨ãã¦ç¡ããã¹ãã ãã¨ãè¨ããã¾ãã ããããããã¯æ¬å½ã§ãããããããã¹â¦
Windows 7ã§emacsclientãå°å ¥ãããã¨ãã¦å°ã£ã話ã§ãã ããããã㨠Windowsã®ã¨ã¯ã¹ããã¼ã©ã¼ã§ããã¹ããã¡ã¤ã«ãããã«ã¯ãªãã¯ããã¨ãèµ·åæ¸ã¿ã®Emacsã§ãã®ãã¡ã¤ã«ãéãã¦ã»ããã