Skip to content
Browse files

(fixes #31) made a sample introduction-to-clojure compatible for curr…

…ent revision
  • Loading branch information...
1 parent c24dd62 commit fc2fdc3d37a1e7c1775b230bc5ad0e12a9af7644 @fukamachi committed Nov 14, 2010
Showing with 10 additions and 8 deletions.
  1. +10 −8 sample/introduction-to-clojure.clj
View
18 sample/introduction-to-clojure.clj
@@ -12,7 +12,9 @@
(defslides
[(t "JavaからClojure"
"そして夢の世界へ")
- (with-size 15
+ (with {:font-size 15
+ :position :fixed
+ :padding {:top 360}}
(lines "アリエル・ネットワーク"
"深町英太郎"
"2010/05/18"))]
@@ -140,16 +142,16 @@
" (str a b))")
(item "型ヒントをつけると速度があがるらしい")]
[(title "Javaのクラスを作る")
- (item "Javaのクラスも作れる"
- "名前空間に:gen-classをつけるだけ")
- (lines " (ns some.thing :gen-class)")
- (item "継承も可能")
- (lines " (ns some.thing"
+ (lines "Javaのクラスも作れる"
+ "名前空間に:gen-classをつけるだけ"
+ " (ns some.thing :gen-class)"
+ "継承も可能"
+ " (ns some.thing"
" :gen-class :extends java.io.StringReader)"
"まああんまり使わないけど")]
[(title "メソッドのOverrideはProxy")
- (item "メソッドをOverrideするだけならproxy")
- (lines "(let [date"
+ (lines "メソッドをOverrideするだけならproxy"
+ "(let [date"
" (proxy [java.util.Date] []"
" (getYear [] (+ 1900"
" (proxy-super getYear))))]"

0 comments on commit fc2fdc3

Please sign in to comment.
Something went wrong with that request. Please try again.