2008-02-01ãã1ã¶æéã®è¨äºä¸è¦§
å®ã¯tkskããã®æ£ä½åãã£ã¦ããã ï¼ æ¨æ¸¬ç¨åº¦ã«ã ãã©(ç¬) ç§å¯ã«ãã¦ããã®ã«ã¨ãã¨ãã»ã»ã»tkskããã°ããã¡ãã£ããã»ã»ã»(ç¬) http://d.hatena.ne.jp/TKSK/20080228/1204180391 æãã£ããç¬ãã¾ããâ æ§ãã®(æ¬ç©ã®)takesakoããã®åå¿ã¯ http://twittâ¦
å®ã¯æè¿hayamizuããã«ä¼ãã¾ããï¼ ã©ããã¦ä¼ã£ããã¯ã»ã»ã»ç§å¯(ç¬) ã¨æå³æ·±ãªçºè¨ããã¦ã¿ããã¨ã«ã»ã»ã»(ç¬) 詳細ã¯ç´æ¥hayamizuããã«èãã¦ä¸ãã⪠ã§ãå§ãã¦hayamizuããã«ä¼ã£ã訳ã ãã©ãæè§ãªã®ã§ç§ãä½æ³ã«è¦ãããèãã¦ã¿ããï¼ ããããâ¦
ã°ãã°ãã¨ãã¦ããéã«ãä¸ã®ä¸ã¯åãã¦è¡ããã ããâ¦(ç¬) ä»æ´ãªããããã°æ¸ãã¨ãã°è¯ãã£ãã¨æããããã ã§ããããã§æ«ããã«æ¸ãäºã«ãã¾ããï¼ã¾ãããªãã¨ãã®ãã¤ãããã«ããã°ã®è¨äºåãä¸ãããã¦ãï¼ï¼ï¼ 竹迫ããã¯tkskãªã®ãï¼ï¼ã¨ããè¨â¦
å®ã¯ãããµãã®takesako hourã§è«¸äºæ ã«ããå ¨é¨ã®è©±èããªãã£ããã§ãï¼ï¼ ãã©ããµã¨ããäºãããã®otsuneããã¨ã³ã³ã¿ã¯ããåãã¡ãã£ããã§ãâ æãã£ããåãã«èªæ ¢ãããæããªã®ã§ãã(ç¬) ã§ãæ©éãããµãã®è¬æ¼ã®è³æã¨ãè¦ããã¨ãé¡ããã¡ããâ¦
ããï¼é±éãããã°æ´æ°ãã¦ãªãã£ãâ¦(ç¬) ç§çæ´»ã°ãã°ãã ã£ãããä»æ¥ããã§ãã¡ããã¨æ´çãã¾ãï¼ ãã¡ãã¡ãªç§ãå±ã¾ãã¦ãããã¿ããªãããã¨ãm(_ _)m ä½äºã«ãããããªãå¼·ãå¿ãæã¨ãã¨æãã¾ã
ä»æ¥ãµã¤ãã¹ã¨åæ並è¡ãã¦èªãæ¬è²·ã£ã¦æ¥ãï¼ ã§ããæ¬ä»£ã£ã¦ãã«ã«ãªããªãéé¡ã§ãããã æºå¸¯ã¿ããã«ãå¦å²ãã¨ãã¤ãã§ã«ã主婦å²ããã£ããããã®ã«ãªããã ãã¼ã¨æ¬ã¯ä»¥åhogelogãããã³ã¡ã³ã㧠ãWindowsã¿ãããªãã¦ã£ã³ãã¦ãã§ã¦ãã¦ã¯ãªãâ¦
åå¿è ã®ç§ã«ã¯Haskellåå¼·ä¼ http://cotocoto.jp/event/19053 ãå ã«é²ã¿ããã¦ãã¦è¿½ãã¤ãããããªãorz (ã¨ãè¨ããªããåå ããã¤ããã ãw) ãªã®ã§ãç§ã主å¬or誰ãã主å¬ãã¦ããããããã§Haskell Returnsåå¼·ä¼ ãããããªã¼ãªãã¦éæãæã£ã¦ããâ¦
å®ã¯å æ¥ã第23å Ruby/Railsåå¼·ä¼ï¼ é¢è¥¿è¡ã£ãã®ã§ãw ãããµãå¾ã«ã¢ã¯ãã£ãã§ããã¼âªâª Rubyæ´0å¹´0ã¶æ0æ¥ãªãã§ãã ã30åã§monadãåããããããã¨èãã¤ãã¦(ç¬) ãã³ãã«30åã§åãããªã誰ãè¦å´ããªããã§ããã©ã(^o^) ã§ãããã®åå¼·ä¼è¡ãã®â¦
æè¿çµæ§ã¤ã©ã¤ã©ã¨ãã¦ãã¾ã èªåèªèº«ã®åã®ç¡ãã¨ãä¸ã®ä¸ã¨ãããã ããã°ï¼åå¼·å§ãã¦ç´1ã¶æçµã¤ãã© ã¾ã ããµã¤ãã®Haskellããã°ã©ãã³ã°ã3.2ç« ã®é«éé¢æ°çµãã£ãã¨ããã ã ãããç«ã¡ã®ãã¨(å¤0.-1ãæã¤ç¹æ®ãªæå³ã«ã¤ãã¦)ã¨ã ã«ã¼ãã«ã¤ãâ¦
ãããã£ããããã«ãã³ãããã¬ã¾ããw http://ujihisa.nowa.jp/entry/28c4e25f87 ä¸å½å¿æ代ãªãåæãçã£éã§ããã£ã»ã»ã» ujihisa ãã㯠ããããªãããã便å©ããã ã¨ãã£ããã£ã¦ãã®ã§ãéã«ãããå©ç¨ãã¡ããã¾ãããw ä¾ï¼ 誰ã) èãããããâ¦
ãµãµãµhasegawayosukeããã®ããã°è¦ã¦ããããªãã¨ï¼id:tkskï¼ é»tksk ãªããã¼ã¸ãçºè¦wããè¨ãã°ä»¥å http://twitter.com/takesako/statuses/715201532 ã£ã¦è¦ããªãhttp://twitter.com/takesako/statuses/715241392 ãããªäºãè¨ã£ã¦ãâ ããªãæ°ã«ãªã£â¦
ãã®æéã¯ãããã«ujihisa ãããç ã£ã¦ããã¯ããªã®ã§ æ°ã¥ãããªããã¡ã«ãã£ããç士ujihisa ã«ã¤ãã¦èªãã¾ã ããã¯ããæ¥ã®äºãhttp://ujihisa.nowa.jp/entry/0793e7e3e3 ã®è¨äºãè¦ã¡ããã¾ããï¼ ã©ãè¦ã¦ãã³ã¬ã¯ujihisa ããã話ãã¯ããã ãã£â¦
takesakoããããã¯ã¦ã¹ã¿ããã£ãã¼â â æè¡çã«ãã人éçã«ãæ§ãã®æ¹ãªã®ã§å¬ããã§ãâªâª ä»ã®è¨äºãæ¸ãã¦ããæä¸ã§ãããæ¥é½å·®ãæ¿ããã¾ããO(^_^o)(o^_^)o ã¾ãå¾ã»ã©ä»ã®è¨äºã¯upãã¾ã(^^) ããã¨ãå ¨ãé¢ä¿ãªã話ã§ããã¯ã¦ãªDiaryã§ä»ã®äººã®ããâ¦
å®ã¯ä»åã®æ±äº¬è¡ããé°ã§å¿æ´ãã¦ããã人ããã¾ã naoya_tãããujihisaãããªã©ã®çæ§ã§ã ç¸è«ã«ä¹ã£ã¦ãããããå±ã¾ãã¦ããããæ¬å½ã«æè¬ãã¦ã¾ã ããã¨ãç§ãæ±äº¬ã§ããããªæ¹ã¨ä¼ããã®ããã³ãããã®å½±é¿ã¯å¤§ããã®ã§ã æ¬å½ã¯ãã³ãããã®çä¼¼â¦
ãã¼ã¾ãã¨ãããã«åããã¦ããujihisaé°è¬èª¬w å ¨ã¦äºå®ã§ãw æ±äº¬ã«è¡ã£ãéãçæ§ãããfirstè¨èªãHaskellãã¨ããã ã㧠ããªããã¿ã¨ãã¦éç¨ãã¦ãã¾ã£ãããã§ãw ã§ããæ¬å½ã«ãã¿ã§ã¯ããã¾ãã(æè¨) ãã®ä»¶ãu jihisaæ°ã«è©±ããã¨ããããªã㨠â¦
ã¿ããªããããã¾ãããäºãã¤ãã§ã«æ¸ãã¡ããã¾ãï¼ï¼ id:amachangã¨ä¼ã£ã¡ããã¾ããâ ããã¦ãçamachangã«è§¦ã£ã¡ããã¾ããï¼ ãå©çããããã絶対âªâª ããã¦ãããã¶ããã¶ä¸ç·ã«è¡ãã¾ããï¼ è©±ããã¦ãããç§ã®ããã°ãè¦ã¦ããã¦ãã¿ããï¼ ãããâ¦
ããã¦ãããããèå¿ã®ã¬ãã¼ãã§ãâ éå ´ã«30ååã®PM5:00ã«å°çãã¦ã¿ãã¨ããªãã¨é¨å±ã®åã¯æ¢ã«è¡åããã ããï¼å ¥å ´ãããªã«æ©ããã並ã¶ãã§ããï¼ã ã¨ãæã£ã¦ãã¾ã£ãw åé£ãã§åå ãããããªãã£ãç§ã¯å ´éããªç©ºæ°ï¼è¦ç·ãçãã£ãw ãã¡ããâ¦
ãããªãã§ãããç§13ã»14æ¥ã«æ±äº¬è¡ã£ã¦ãã¾ããï¼ ããã§ãã£ã¦ãããµãè¡ã£ã¦ãã¾ãã 1æ¥ç®ã¯å¤¢ã®å½ï¼ æ±äº¬ãã£ãºãã¼ã©ã³ãï¼ãæºå« 2æ¥ç®ã«ãããµãã«è¡ãã¾ãã⪠ã»ã»ã»ã£ã¦ãããã竹迫ã¢ã¯ã¼ã以å¤åå ãã¦ãã¾ããããï¼w 諸äºæ ã«ãããã®ãªãã§â¦
ããã°æ¯æ¥æ´æ°ããäºå®ã ã£ãã®ã«ãã¡ããã¨æ´æ°ãã¦ãªãã ãµã¤ãã®Haskellããã°ã©ãã³ã°ã®3.1ã®ã¾ã¨ãã¾ã ã¡ããã¨ãã¦ãªãã 3.2ããã¾ãã¤ã¾ããã¦ãããç§ãã¡ãã¡ãããï¼ æè¿å¤¢ã«ã¾ã§Haskellãåºã¦ãã¦å¯è¦ããé常ã«æªã å 容ã¯ãã³ãããããHasâ¦
ãã¾ãã¡Haskellæ¬ã®ç解ãé²ã¾ãªãç§ã«ã ä»ã¾ã§ã®éå£ã¨æ±ºå¥ãã話ããããã©ãã¾ã ãºã«ãºã«é¢ãã£ã¦ããç§ã«ã ããã¦ãçç¾ã ããã®ä¸ã®ä¸ã«ã»ã»ã»ããã¤ã©ã¤ã© à MAXï¼ ãããªã£ã¦ããã¨ä½ããããå«ã«ãªã ãã¤ã(æè¡æ¬ããããèªãã ã)使ãããStacâ¦
ããããSt. Valentine's Dayã§ãã⪠å¥ã«è£½èä¼ç¤¾ã®é°è¬ã«ä¹ããäºããªãã¨æããã§ããã©ãæè§ãªã®ã§æ¸ãã¦ããã¾ãw ã®ã¼ã¯ãªå½¼æ°ã夫ã®çãã ãããã°ã©ãã³ã°ãè¨èªã«å¯¾ããæ ç±ã¨åç以ä¸ã«å½¼å¥³ã妻ã¸ã®æ ç±ã¯ããã¾ããï¼ã ãªãã£ãããã®å ç¸æã¨â¦
ãµã¤ãã®Haskellããã°ã©ãã³ã°ã« ã Intã¨ã¯æä½30ãããå¹ ã®ç¬¦å·ä»ãæ´æ°å¤ãæå³ãã¾ã ãã¨æ¸ãã¦ãã£ãã ãã®ã¾ã¾èªã¿æµãã¦ãè¯ãã£ãã®ãããããªããã¨ã¦ãæ°ã«ãªã£ã æä½30ãããå¹ ã¨ã¯ã©ãããæå³ãããã®ãã¨è³ªåãã¦ã¿ãã¨ãã ãã¨ãã° ã»ãâ¦
æ£ç´å¥¥ãæ·±ããã¦ç解ãããã¦ããªããã©ãã¨ããããåãã£ã¦ããäºãæ¸ãã¾ã çªã£è¾¼ã¿ã©ããããã£ããææã¨ãã·ã¯ã§ãâ ãåãã¨ã¯ä½ãï¼ Q. åãå²ãå½ã¦ããã¨ï¼ãåä»ããï¼ã«ãã£ã¦ãããã®éã¾ãã«æå³ãä¸ãããã åã¯éä¾ãã¡ã¢ãªä¸ã®å¤ã¨å¤æ°â¦
ä»æ¥èª°ã¨ã¯è¨ããªãã主婦Haskellerãåå話ã®ãã¿ã ã¨è¨ãããwww ãã£ã¡ãçç¬ãã¦ãã¾ã£ãwww ç¸æã«ãã¦ããããªããããã¿ã§ãç¸æã«ãã¦ãããããå¬ãããâ ããã§ããåæ°ãåºãã¦ããã°æ¸ããæå³ããã⪠èªåã®å¨å²ã®äººã«ã¯è¨ããªãäºãã³ã³ãã¬ãâ¦
èªåèªèº«ç®æ¨ãä½ãè¦ããªãã£ãé ããã å¿ããã ãã®æ¯æ¥ãéã£ã¦ããããã«æãã å½ããåã®å¿ããã«ä½ãçç±ãä»ããããã©ãã§ãè¯ãäºã«å¤¢ä¸ã«ãªãæéãè²»ããã¦ããã ã»ãã®äºç´°ãªäºã«è ¹ãç«ã¦ããããã ããªã話ã§å»¶ã ã¨èªãåã£ãäºããã£ãã ãâ¦
風éªãå¼ãã¦ã ããã®ã«é ã®ä¸ããHaskellãé¢ããªã(T^T) ãã£ã¨åããããããã¦ã»ãããã»ã»ã»ããã§ãå ååããããããã ãã㪠ã¨ãããããIO()ãã¨ãã(Show a) =>ãã¯ç¡è¦ã£ã¦é 延è©ä¾¡ãï¼ ä»ããæ¸ããã¦ããªãã»ã»ã» ã¨ãããã2~3æ¥ä»¥å ã«ã¯3.1â¦
æ¨æ¥(æ¥ä»å¤ãã£ãã®ã§ä¸æ¨æ¥)ãããªè¨äºãèªãã Matzã«ã£ã åå¿è åãã®è¨èª http://www.rubyist.net/~matz/tb.rb/20080204 404 Blog Not Found åå¿è åãè¨èªããããã http://app.blog.livedoor.jp/dankogai/tb.cgi/50997131 UK is not Britonish æâ¦
ã¨ãããããã³ãã³ããã¢ã¯ã·ã§ã³ã«ã¤ãã¦ã¯æ¸ããã®ã§ã¹ã«ã¼ã§w ãããããã£ããã©ãvim使ã£ã¦ä»ã¾ã§ã®ã³ã¼ãã¯runhugsã§å®è¡ããäºãã§ãã vimã§ã¯ :w ä¿å :q çµäº ãæ°ãã«è¦ããï¼ runhugsã§ã¯å®è¡ããããã°ã©ã ãçµäºãããããã« control c çµäº â¦
tailã³ãã³ãã¯headã³ãã³ãã®éã§å ¥åã®æå¾ã®æ°è¡ã表示ãã¾ã tail.hs main = do cs <- getContents putStr $ lastNLines 10 cs lastNLines n cs = unlines $ takeLast n $ lines cs takeLast n ss = reverse $ take n $ reverse ss csãssããã¡ã¤ã«åã§â¦
head.hs main = do cs <- getContents putStr $ firstNLines 10 cs firstNLines n cs = unlines $ take n $ lines cs ã¾ãfirstNLinesé¢æ°ã«10ã¨csã¨ãã2åã®å¼æ°ã渡ããã¦ããäºã«æ³¨ç®ã§ã ä¸è¬ã«ã¯ãé¢æ°é©ç¨ã¯æ¬¡ã®ããã«æ¸ãã¾ãã é¢æ°å å¼æ°1 å¼æ°2 â¦