ãã®ä¸çã¯å·¨å¤§ãªã³ã³ãã¥ã¼ã¿ä¸ã§è¨ç®ããã¦ãããã¼ã¿ã«éããªãã¨ããèãæ¹ãããã人éãã³ã³ãã¥ã¼ã¿ä¸ã§ç©çã·ãã¥ã¬ã¼ã·ã§ã³ãããããã«ãã©ããã®éçºè ãå¹¾ã¤ãã®ç©çæ³åã¨åæç¶æ ãå ¥åããããã°ã©ã ã®å®è¡ã¨å ±ã«ãã®ä¸çãå§ã¾ã£ãã¨ããã¤â¦
ã©ã¤ãå å¼ã®æåè¦å ã¯ååé£è¡ã¸ã®æ ç±ããã£ããã¨ãéè¦ãªãã ãããã©ããã以å¤ã®ç¹ãwikipediaãã©ã¤ãå å¼ã®ç§å¯ãªã©ããæç²ããã 製ä½æè¡ã®åºç¤ããã£ã æ©æ¢°ãããã好ãã§èªè»¢è»å±ã2人ã§çµå¶ãã¦ããããã製ä½æè¡ãæã£ã¦ããã å 人ããå¦â¦
Visugit - github Git ã®ã³ãããããªã¼ãå¯è¦åãããã¼ã«ãä½ãã¾ãããããããGitã使ãããã¨ãã人ã¯è¦ãªããæä½ããã¨è¦ããéãã¨æãã¾ããOSX 10.6 㨠Ubuntu 10.04 ã§ã¯åãã¾ãããWindowsã§ã¯è©¦ãã¦ãã¾ããã Screencast ã¤ã³ã¹ãã¼ã« % wgetâ¦
ããæ°æ¥ãNettyã«ã¤ãã¦èª¿ã¹ã¦ããã®ã§ç解ã§ãããã¨ãæ¸ãã¾ãã JBoss Netty Netty 㯠Java ã§éåæãã¤ãã³ãé§åã®ãããã¯ã¼ã¯ã¢ããªãä½ãããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããNetty ã使ãã¨æ©ãã¦ç°¡åã«ãã¤ããã©ã¼ãã³ã¹ããã¤ã¹ã±ã¼ã«ã§ã¡ã³ããã³ã¹æ§â¦
çºå±±æºæµ©(id:TomoMachi)ããã®æ ç»è©è«ãã¨ã¦ã楽ããã¦ããæ°æ¥ãã£ã¨ããããã£ã¹ããªã©ãèãã¦ããã 以ä¸ã®åç»ã§çºå±±æºæµ©ãããæ ç»è©è«ã«ã¤ãã¦è«ãã¦ããã ãããã«ï¼çºå±±æºæµ©ããã¨å®å¤ä¸¸ããã¯ã©ã®ããã«æ ç»ã¨ä¸çãè¦ã¦ããã®ããã¨ã¦ãè¦æãâ¦
éè¦ãªã®ã¯ï¼ãªã¯ã¨ã¹ãã¨ã¿ã¹ã¯ã®éãã§ããããã§è¨ãã¿ã¹ã¯ã¨ã¯ãªã¯ã¨ã¹ããç´°ååãããã®ã§ï¼ä¾ãã°ãªã¯ã¨ã¹ãã®è§£æãï¼ãã£ãã·ã¥ãµã¼ãã¼ããã¼ã¿ãã¼ã¹ãµã¼ãã¼ã¸ã®åãåããï¼ã¬ã¹ãã³ã¹ã®ä½æã¨ãã£ãåã ã®å¦çãæãã¾ãï¼ãããã¯ã¤ãã³ãã¨â¦
Emacs ã®é è²(ã¹ãã³?) ãã«ã¹ã¿ãã¤ãºããã«ã¯ãcolor-theme ãã¤ã³ã¹ãã¼ã«ãã¦å¥½ã¿ã®é è²ãèªåã§é¸ã¶ã®ãããã¿ããã§ãã100種é¡ãããããã¾ãã 以ä¸ã®æé 㯠Mac OS X 10.6.4ã Aquamacs 23.2.50 ã§åä½ã確èªãã¾ããã ã¤ã³ã¹ãã¼ã« cd ~/.emacs.dâ¦
Carbon Emacs ãã Aquamacs ã«ä¹ãæããã®ã§ãããClojure ã®ã³ã¼ããèªã¿è¾¼ãã ã対å¿ããæ¬å¼§ããã¤ã©ã¤ããããªããã¨ã«æ°ä»ãã¾ãããåå 㯠~/.emacs.el ã«ä»¥ä¸ã®è¨è¿°ãããã¦ããããã§ããã (show-paren-mode) ãã®è¨è¿°ã¯ Carbon Emacs ã ã¨å¯¾å¿ãâ¦
swank-clojure(slime) ã使ã㨠REPL ã§ã¯ Tab ã§ã·ã³ãã«è£å®ãã¦ããã¾ãããã½ã¼ã¹ãã¡ã¤ã«å ã§ã¯ M-Tab ã§è£å®ã«ãªãã¾ãã ã¤ã³ãã³ã㯠C-i ã C-j ã§ã§ããã®ã§ãã½ã¼ã¹ãã¡ã¤ã«å ã§ã Tab ãã¼ã²ã¨ã¤ã§è£å®ãããã§ãã (add-hook 'slime-mode-hook â¦
2011/12/29æ´æ° æ代é ãã®æé ã«ãªã£ã¦ãã¾ãã¾ããã Clojure+Emacsãªéçºç°å¢ãä½ã(late 2011) - λab's Blogãåç §ãã¦ãã ããã ãããããã¯ã«Ubuntu 10.04 ãå ¥ããã®ã§ emacs ãã Clojure ã使ãæé ãæåã®æåããæ¸ãã¦ã¿ãã2ã¶æãããåã«â¦
user> (cap (* 2 (+ (- 3 8) 4))) 0 : + (* 2 (+ (- 3 8) 4)) 1 : + (+ (- 3 8) 4) 2 : + (- 3 8) 2 :=> -5 1 :-> (+ -5 4) 1 :=> -1 0 :-> (* 2 -1) 0 :=> -2 -2 fatrow's eyewrap at master - GitHubå¼ã®è¿ãã¦ããå¤ã ããããªãã¦ãä¸ã§ã©ã®å¼ãã©ãè©ä¾¡â¦
æ®éã® cond (defn cond1 [x] (cond (= x :hey) "Hey!" (= x :bye) "Bye!" (= x :hi) "Hi!")) éè¤ãããã¿ã¼ã³ãããã¾ããcondp ã使ãã¨ã¹ãã¼ãã«ã (defn condp1 [x] (cond = x :hey "Hey!" :bye "Bye!" :hi "Hi!")) 次ã®ä¾ã¯ã¡ãã£ã¨ããªããã¼ãªã®ã§â¦
macroexpand ã¯å±éçµæããªã¹ããããªãã¦ã·ã¼ã±ã³ã¹ã§è¿ãã¦ããã®ã«ã¡ãã£ã¨é©ããã user> (macroexpand '(-> 1 (+ 2) (- 3))) (- (clojure.core/-> 1 (+ 2)) 3) user> (type (macroexpand '(-> 1 (+ 2) (- 3)))) clojure.lang.Cons user> (seq? (macroeâ¦
Lispã®åæ©çãªäºã§ç´å¾ã§ãããã¨æ¶ã ãã¦ãããã©ãç´å¾ã§ããã è©ä¾¡ã«ã¤ãã¦ã ã¯ãªã¼ããä»ãã¦ãã®ã¯è©ä¾¡ãããã¨ã¯ãªã¼ããä¸ã¤å¥ããã¦ã·ã³ãã«ããªã¹ããã®ãã®ã«ãªããã¯ãªã¼ããä»ãã¦ããªããªã¹ãã¯è©ä¾¡ãããï¼é¢æ°ãå®è¡ããããã¾ããç°¡åãªâ¦
memoize ã§ä¸éãè¨å®ã§ãããããã®ã«ãªãã¨æã£ã¦ãhackathonã®æã«ä½ã£ã¦ã¾ããã Clojure Google Groupã«ãã®ãã®ãºããªã®ã¹ã¬ãããããã¾ãããbounded memoizehttp://groups.google.com/group/clojure/browse_thread/thread/36a13d150d830683è°è«ã®æ«â¦
cgrand's enlive at master - GitHubEnlive 㯠html 㨠Clojure ã®ã³ã¼ããå®å ¨ã«åé¢ã§ããã®ãç¹å¾´ã®ãã³ãã¬ã¼ãã·ã¹ãã ã§ããã¤ã¾ãããã³ãã¬ã¼ãå ã® html ã¯ãã¥ã¢ãª html ã§ãããã³ã¼ãã¯ãã¥ã¢ãªClojureã®ã³ã¼ããªã®ã§ãããã¶ã¤ãã¼ã¨ããã°ã©ãâ¦
swank-clojureã®æ©è½ãªã®ãslimeã®æ©è½ãªã®ãclojure-modeã®æ©è½ãªã®ãç¥ããªãã®ã§ããã M-. ã«ã¼ã½ã«ä½ç½®ã®ã·ã³ãã«ãå®ç¾©ãã¦ããã½ã¼ã¹ã¾ã§ç§»åãjarã®ä¸ã®ãã¡ã¤ã«ãè¦ãã¦ä¾¿å©ï¼ M-, é£ãã§ããæ»ã M-TAB è£å® (åã«TABã ãã§ããã¨æããç¹ã«ã«ã¹ã¿â¦
(use 'clojure.contrib.pprint) (pprint (seq (.getURLs (java.lang.ClassLoader/getSystemClassLoader)))) ããã£ã¡ã ãå¿ è¦ã«ãªãã®ã§ããç¨ã®é¢æ°ããã£ã¦ãããæ°ãããã åè: Printing the class-path in Clojure
Leiningen ã¯ä¸çºã§ä¾åããã©ã¤ãã©ãªå¼ã£å¼µã£ã¦ãããã¯ã©ã¹ãã¹ã®éã£ãREPLãå¼ã¹ããã§ãã£ã¡ã便å©ãªã®ã§ãããEmacsããã©ããã£ã¦ "lein repl" ãå¼ã¶ãã ï¼ã¨ããçåã®ãã使ã£ã¦ãã¾ããã§ããã shibuya.lisp#5 ã® makingããã®çºè¡¨ãèãã¦æãâ¦
åå é ããæ¹ãããã¨ããããã¾ããããµã¼ãã¹ãä½ããã¦ããæ¹ãVCã®æ¹ãLispã好ããªæ¹ãããããªé¢ç½ãæ¹ã«åå é ãã¦ã¨ã¦ã楽ããã£ãã§ããåå è ã®ä¸ã§ãã£ã¹ã«ãã·ã§ã³é¨åã®mp3ãå¸æããæ¹ã¯@fatrowã¾ã§é£çµ¡ãã ããã æåã®èªåã®çºè¡¨é¨åã§ã¯éâ¦
人ã®ååãåæã«ä½¿ãã®ã失礼ãªè©±ã§ããããã¼ã«ã»ã°ã¬ã¢ã ã®åå¼·ä¼ãªã®ã§ãã¼ã«ã»ã°ã¬ã¢ã åå¼·ä¼ã§ããã·ã§ã¼ã¯ã¹ãã¢åå¼·ä¼ãã¬ãªãã«ãã»ãã»ã´ã£ã³ãåå¼·ä¼ããã¼ã«ã»ã°ã¬ã¢ã åå¼·ä¼ãä½ãããããããã¾ãããåå 㯠http://atnd.org/events/3340 ããâ¦
ãã¥ã¼ã©ã«ã»ã³ã³ãã¥ã¼ãã£ã³ã°âçè«ã¨å®éposted with amazlet at 10.03.11Philip D. Wasserman 森ååºç 売ãä¸ãã©ã³ãã³ã°: 784388Amazon.co.jp ã§è©³ç´°ãè¦ãæ°å¼ãæä½éã§èª¬æãç´æçãä¸çªåãããããã£ããèªåã¿ããã«ãã£ã¨æ¦è¦ãæ´ã¿ããã ãâ¦
Startup Ideas We'd Like to Fund The Request for Startups2008å¹´ããå ¬éããã¦ããããã ãç¥ããªãã£ããæªæ¥ã¸ã®è¬è§£ãã®ããã«è¦ãããç¾ã«ä»ããã§è§¦ãããã¦ãããããªé¢ç½ãã¢ã¤ãã¢ã®ã¹ã¿ã¼ãã¢ãããç¶ã ã¨åºã¦ãããè¨äºä¸ã® âããã¯å§ã¾ãã«éâ¦
ãã¼ã«ã«é¢æ°ã®ã¤ãã㧠defn ããã¹ãããã¦ã defn ã¯åçã«varãä½ã£ã¦ããã ããªã®ã§é¢æ°å¤ãããè¦ãã¦ãã¾ãã user> (defn aaa [] (defn bbb [] 1) 1) #'user/aaa user> (aaa) 1 user> (bbb) 1 ãããé ãã (defn aaa1 [] (defn bbb [] 1) 1) (defn â¦
*in* (System.io)ããã®å ¥åãåæã¨ãã¦ãã¾ã£ãé¢æ°(*in*ãã¹ãæ¸ãããã¦ãã)ããããåä½ãè¦ãããã«å ¥åãã¼ã¿ããã¡ã¤ã«ããèªã¿è¾¼ã¿ããã綺éºãªããæ¹ã¯å¼æ°ã§å ¥åå ã渡ãã¦ãããã¨ã ããé¢æ°ã®ãã¡ããã¡ãã§å ¥åãèªã¿è¾¼ãã§ãã¦ãããä¿®æ£ãâ¦
ãªã¹ããããã·ã¥ãããããã¯ã¿ãéåã®ãªãã©ã«ããã ;ãªã¹ã (1 2 3 4) ;ããã·ã¥ããã {:a 1, :b 2, :c 3} ;ãã¯ã¿ [1 2 3 4] ;éå #{1 2 3 4} ãã使ãåºæ¬ãã¼ã¿åã®ãªãã©ã«ãããã¨ããã®ã¯ã½ã¼ã¹ã³ã¼ãã«å³ãå ¥ã£ã¦ãã¿ããã§èãããããæ©ãçâ¦
user=> ((fn [x] [x x]) 1) [1 1] user=> ((fn [x] {:a x}) 1) {:a 1} fn ã ok ãªã®ã§ #() ã§ãããããã ã¨æã£ãã user=> (#([% %]) 1) java.lang.IllegalArgumentException: Wrong number of args passed to: LazilyPersistentVector (NO_SOURCE_FILE:0â¦
åãã¦(set! (car p) 3)ãè¦ãæãéåæãè¦ãã人ã¯å¤ãã¨æãã(car p) 㯠p ã®å é é¨ãæã示ãå¤ãè¿ãã®ã«ãset! ã®å¼æ°ã«æ¸¡ã㨠p èªä½ãæ¸ãå¤ãã£ã¦ãã¾ããåãæåã«è¦ãæã¯ãå¼æ°ã®è©ä¾¡ã«ã¤ãã¦ä½ãåéãããã¦ãããã ã¨æã£ãã gosh> (defiâ¦
(use 'clojure.contrib.test-is) (defn slice ([coll start] (let [start (max start 0)] (drop start coll))) ([coll start end] (let [start (max start 0)] (take (- end start) (drop start coll)))) {:doc "Extract a subsequencet like a slice of pytâ¦
ãããªãã¨ã§ãã£ã¨æ©ãã§ããapply str ã§è§£æ±ºã user> (seq "abc") (\a \b \c) user> (str (seq "abc")) "(\\a \\b \\c)" user> (apply str (seq "abc")) "abc"