Enviar pesquisa
Carregar
Programming Lisp Clojure - 2장 : 클로저 둘러보기
•
4 gostaram
•
754 visualizações
JangHyuk You
Seguir
20101008 발표 아꿈사
Leia menos
Leia mais
Educação
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 26
Recomendados
Functional Pe(a)rls - the Purely Functional Datastructures edition
Functional Pe(a)rls - the Purely Functional Datastructures edition
osfameron
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?
osfameron
Functional Pe(a)rls version 2
Functional Pe(a)rls version 2
osfameron
Functional pe(a)rls: Huey's zipper
Functional pe(a)rls: Huey's zipper
osfameron
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Suyeol Jeon
Groovy puzzlers jug-moscow-part 2
Groovy puzzlers jug-moscow-part 2
Evgeny Borisov
RxSwift 시작하기
RxSwift 시작하기
Suyeol Jeon
Lập trình Python cơ bản
Lập trình Python cơ bản
Nguyen Thi Lan Phuong
Recomendados
Functional Pe(a)rls - the Purely Functional Datastructures edition
Functional Pe(a)rls - the Purely Functional Datastructures edition
osfameron
Is Haskell an acceptable Perl?
Is Haskell an acceptable Perl?
osfameron
Functional Pe(a)rls version 2
Functional Pe(a)rls version 2
osfameron
Functional pe(a)rls: Huey's zipper
Functional pe(a)rls: Huey's zipper
osfameron
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기
Suyeol Jeon
Groovy puzzlers jug-moscow-part 2
Groovy puzzlers jug-moscow-part 2
Evgeny Borisov
RxSwift 시작하기
RxSwift 시작하기
Suyeol Jeon
Lập trình Python cơ bản
Lập trình Python cơ bản
Nguyen Thi Lan Phuong
Introduction to Groovy
Introduction to Groovy
André Faria Gomes
Exhibition of Atrocity
Exhibition of Atrocity
Michael Pirnat
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Jordan Baker
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Fertile Ground: The Roots of Clojure
Fertile Ground: The Roots of Clojure
Mike Fogus
밑바닥부터 시작하는 의료 AI
밑바닥부터 시작하는 의료 AI
NAVER Engineering
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
Howard Lewis Ship
Code as data as code.
Code as data as code.
Mike Fogus
Groovy puzzlers по русски с Joker 2014
Groovy puzzlers по русски с Joker 2014
Baruch Sadogursky
Taking Perl to Eleven with Higher-Order Functions
Taking Perl to Eleven with Higher-Order Functions
David Golden
Stupid Awesome Python Tricks
Stupid Awesome Python Tricks
Bryan Helmig
Damn Fine CoffeeScript
Damn Fine CoffeeScript
niklal
Palestra sobre Collections com Python
Palestra sobre Collections com Python
pugpe
Naïveté vs. Experience
Naïveté vs. Experience
Mike Fogus
Android Guava
Android Guava
丞廷 鄭
An Elephant of a Different Colour: Hack
An Elephant of a Different Colour: Hack
Vic Metcalfe
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
stasimus
Haskell in the Real World
Haskell in the Real World
osfameron
Academy PRO: ES2015
Academy PRO: ES2015
Binary Studio
Perl6 a whistle stop tour
Perl6 a whistle stop tour
Simon Proctor
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
jaxLondonConference
(first '(Clojure.))
(first '(Clojure.))
niklal
Mais conteúdo relacionado
Mais procurados
Introduction to Groovy
Introduction to Groovy
André Faria Gomes
Exhibition of Atrocity
Exhibition of Atrocity
Michael Pirnat
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Jordan Baker
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Fertile Ground: The Roots of Clojure
Fertile Ground: The Roots of Clojure
Mike Fogus
밑바닥부터 시작하는 의료 AI
밑바닥부터 시작하는 의료 AI
NAVER Engineering
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
Howard Lewis Ship
Code as data as code.
Code as data as code.
Mike Fogus
Groovy puzzlers по русски с Joker 2014
Groovy puzzlers по русски с Joker 2014
Baruch Sadogursky
Taking Perl to Eleven with Higher-Order Functions
Taking Perl to Eleven with Higher-Order Functions
David Golden
Stupid Awesome Python Tricks
Stupid Awesome Python Tricks
Bryan Helmig
Damn Fine CoffeeScript
Damn Fine CoffeeScript
niklal
Palestra sobre Collections com Python
Palestra sobre Collections com Python
pugpe
Naïveté vs. Experience
Naïveté vs. Experience
Mike Fogus
Android Guava
Android Guava
丞廷 鄭
An Elephant of a Different Colour: Hack
An Elephant of a Different Colour: Hack
Vic Metcalfe
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
stasimus
Haskell in the Real World
Haskell in the Real World
osfameron
Academy PRO: ES2015
Academy PRO: ES2015
Binary Studio
Perl6 a whistle stop tour
Perl6 a whistle stop tour
Simon Proctor
Mais procurados
(20)
Introduction to Groovy
Introduction to Groovy
Exhibition of Atrocity
Exhibition of Atrocity
A Taste of Python - Devdays Toronto 2009
A Taste of Python - Devdays Toronto 2009
Super Advanced Python –act1
Super Advanced Python –act1
Fertile Ground: The Roots of Clojure
Fertile Ground: The Roots of Clojure
밑바닥부터 시작하는 의료 AI
밑바닥부터 시작하는 의료 AI
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
Code as data as code.
Code as data as code.
Groovy puzzlers по русски с Joker 2014
Groovy puzzlers по русски с Joker 2014
Taking Perl to Eleven with Higher-Order Functions
Taking Perl to Eleven with Higher-Order Functions
Stupid Awesome Python Tricks
Stupid Awesome Python Tricks
Damn Fine CoffeeScript
Damn Fine CoffeeScript
Palestra sobre Collections com Python
Palestra sobre Collections com Python
Naïveté vs. Experience
Naïveté vs. Experience
Android Guava
Android Guava
An Elephant of a Different Colour: Hack
An Elephant of a Different Colour: Hack
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
Haskell in the Real World
Haskell in the Real World
Academy PRO: ES2015
Academy PRO: ES2015
Perl6 a whistle stop tour
Perl6 a whistle stop tour
Semelhante a Programming Lisp Clojure - 2장 : 클로저 둘러보기
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
jaxLondonConference
(first '(Clojure.))
(first '(Clojure.))
niklal
The groovy puzzlers (as Presented at JavaOne 2014)
The groovy puzzlers (as Presented at JavaOne 2014)
GroovyPuzzlers
Refactoring to Macros with Clojure
Refactoring to Macros with Clojure
Dmitry Buzdin
Hw09 Hadoop + Clojure
Hw09 Hadoop + Clojure
Cloudera, Inc.
Clojure入門
Clojure入門
Naoyuki Kakuda
Term Rewriting
Term Rewriting
Eelco Visser
Clojure Intro
Clojure Intro
thnetos
Hadoop + Clojure
Hadoop + Clojure
elliando dias
Python basic
Python basic
sewoo lee
Clojure for Java developers - Stockholm
Clojure for Java developers - Stockholm
Jan Kronquist
CL metaprogramming
CL metaprogramming
dudarev
The Magnificent Seven
The Magnificent Seven
Mike Fogus
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議
dico_leque
Pune Clojure Course Outline
Pune Clojure Course Outline
Baishampayan Ghose
Frege is a Haskell for the JVM
Frege is a Haskell for the JVM
jwausle
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
Little Tukta Lita
ddd+scala
ddd+scala
潤一 加藤
Basics
Basics
Logan Campbell
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Eelco Visser
Semelhante a Programming Lisp Clojure - 2장 : 클로저 둘러보기
(20)
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
(first '(Clojure.))
(first '(Clojure.))
The groovy puzzlers (as Presented at JavaOne 2014)
The groovy puzzlers (as Presented at JavaOne 2014)
Refactoring to Macros with Clojure
Refactoring to Macros with Clojure
Hw09 Hadoop + Clojure
Hw09 Hadoop + Clojure
Clojure入門
Clojure入門
Term Rewriting
Term Rewriting
Clojure Intro
Clojure Intro
Hadoop + Clojure
Hadoop + Clojure
Python basic
Python basic
Clojure for Java developers - Stockholm
Clojure for Java developers - Stockholm
CL metaprogramming
CL metaprogramming
The Magnificent Seven
The Magnificent Seven
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議
Pune Clojure Course Outline
Pune Clojure Course Outline
Frege is a Haskell for the JVM
Frege is a Haskell for the JVM
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
ddd+scala
ddd+scala
Basics
Basics
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Mais de JangHyuk You
게임 프로그래머를 위한 기초 수학 및 물리 - 8장
게임 프로그래머를 위한 기초 수학 및 물리 - 8장
JangHyuk You
게임 프로그래머를 위한 기초 수학 및 물리 - 9장
게임 프로그래머를 위한 기초 수학 및 물리 - 9장
JangHyuk You
도메인 주도 설계 - 6장 도메인 객체의 생명주기
도메인 주도 설계 - 6장 도메인 객체의 생명주기
JangHyuk You
Mongo DB 완벽가이드 - 4장 쿼리하기
Mongo DB 완벽가이드 - 4장 쿼리하기
JangHyuk You
프로그래머가 몰랐던 멀티코어 CPU 이야기 - 15, 16장
프로그래머가 몰랐던 멀티코어 CPU 이야기 - 15, 16장
JangHyuk You
TAOCP1 - 2.2.2 - 순차할당
TAOCP1 - 2.2.2 - 순차할당
JangHyuk You
TAOCP1 - 1.2.11.1 - O 표기법
TAOCP1 - 1.2.11.1 - O 표기법
JangHyuk You
IT 개발자가 쓴 통쾌한 인간관리 이야기 - Part2 : 프로세스가 제품이다
IT 개발자가 쓴 통쾌한 인간관리 이야기 - Part2 : 프로세스가 제품이다
JangHyuk You
Mais de JangHyuk You
(8)
게임 프로그래머를 위한 기초 수학 및 물리 - 8장
게임 프로그래머를 위한 기초 수학 및 물리 - 8장
게임 프로그래머를 위한 기초 수학 및 물리 - 9장
게임 프로그래머를 위한 기초 수학 및 물리 - 9장
도메인 주도 설계 - 6장 도메인 객체의 생명주기
도메인 주도 설계 - 6장 도메인 객체의 생명주기
Mongo DB 완벽가이드 - 4장 쿼리하기
Mongo DB 완벽가이드 - 4장 쿼리하기
프로그래머가 몰랐던 멀티코어 CPU 이야기 - 15, 16장
프로그래머가 몰랐던 멀티코어 CPU 이야기 - 15, 16장
TAOCP1 - 2.2.2 - 순차할당
TAOCP1 - 2.2.2 - 순차할당
TAOCP1 - 1.2.11.1 - O 표기법
TAOCP1 - 1.2.11.1 - O 표기법
IT 개발자가 쓴 통쾌한 인간관리 이야기 - Part2 : 프로세스가 제품이다
IT 개발자가 쓴 통쾌한 인간관리 이야기 - Part2 : 프로세스가 제품이다
Último
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
pboyjonauth
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
EduSkills OECD
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
pboyjonauth
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
JemimahLaneBuaron
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Steve Thomason
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
SafetyChain Software
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Marc Dusseiller Dusjagr
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Celine George
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Thiyagu K
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Association for Project Management
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
NirmalaLoungPoorunde1
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
PoojaSen20
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
dawncurless
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
eniolaolutunde
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
Sakshi Ghasle
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
UmakantAnnand
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
JhengPantaleon
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
Maestría en Comunicación Digital Interactiva - UNR
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
TechSoup
Último
(20)
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology ( Production , Purification , and Application )
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
Programming Lisp Clojure - 2장 : 클로저 둘러보기
1.
Programming Lisp
Clojure 2 : : : ( )
2.
(
) :
3.
.
. ( ()) .
4.
(Reader) -
. (Reader Macro) - . - .
5.
#(body %)
(fn [params*] body) ; deref @form (deref form) meta ^form (meta form) meda data meat data #^metadata form ‘form (quote form) form #”foo” => a java.util.regex.Pattern `x ~ ~@ var-quote #’x (var x)
6.
(boolean) / nil
true, false (character) a (keyword) :tag, :doc (map) {:name “Bill”, :age 42} (number) 1, 4.2 (string) “hello” (symbol) user/foo, java.lang.String
7.
(symbol)
. - - ( ) - - : /( ), .( ) - (ref) - .
8.
(number) -
. - BigDecimal( M), BigInteger . - BigDecimal . - . - : +, -, /, *, >, >=, <, = - : quot( ), rem( ) - 42 => 42 - [1 2 3] => [1 2 3] - (/ 22 7) => 22/7 - (/ 22.0 7) => 3.142857142857143 - (+) => 0 - (+ 1 (/ 0.00001M 1000000000000000000) ) => 1.00000000000000000000001M
9.
(boolean) / nil
. - ture, 0, () = - false, nil = - nil false . - nil/false ( list = ()/0 = zero) true . - : . (?) . ture . - (true? true) => true - (false? “foo”) => false - (zero? 0.0) => true - (nil? nil) => true - (if () “In Clojure” “in Common Lisp”) => “In Clojlure” - (if 0 “Zero” “NonZero”) => “Zero”
10.
(character)
. - , ( ) . - (backspace), (formfeed, ), (newline), (return), (space), (tab) . - - . - str : ( ) toString nil . - (str ) => - (str space ) => - (str backspace formfeed newline newline tab ) => b f n n t
11.
(string)
. - . - . - (“”) - . - interleave : . - apply str : interleave . . - take-nth :1 , . - (str 1 2 nil 3) => “123” - (apply str (take-nth 3 (apply str (interleave "Attack midnight" "The pur" "None")))) => “Atta”
12.
(map) /
. (hash-code) . - {} . -{ } . - def : , . - get : . . - (def names {“ ”“ ”}) => #‘user /names - (get names “ ”) => “ ” - (get names “ ”“ ”) => “ ”
13.
(keyword)
. - . - (:) . - defstruct : ( ) . - struct : . - struct-map : ( ) . - (def nations {: “ ”} => #‘user/nations - (nations : ) (: nations) => “ ” - (defstruct names : ) => #‘user/names - (struct names “ ”) => {: " "} - (struct-map names : “ ”) => {: " "}
14.
. -
. - (defn [ ...] ) : . & . - #( %1, %2 ... ) (fn [ ] ) : . - (defn get “return” [user] (str “Hello, “ user) (get “world”) => “Hello, world” - (defn get [hello] (fn [user] (str get “,” user))) (defn get2 (get “Hello”) (get2 “world” => “Hello, world”)
15.
. - (def
defn var ) : var .( .) - (var ) #’ : var . - (let [ ... ] ): .
16.
:
(name space) . - => - (resolve ): . - (in-ns ): . - (import ‘( )) : . . - (require ‘ ): . - (use ‘ ): . - (use :reload ‘ ): . - (use :reload-all ‘ ): . - (ns ): , :import, :require, :use . - (in-us ‘newworld) => newworld=>
17.
. -
( ) . - {: } - (with-mata ): . - (identical? 1 2 ): . - (meta ) ^ : . - (assoc ....) : .
18.
.(
) - var . - #^
19.
:
if / do loop / recur for
20.
if
. - . - (if ( ) ) - (if (< 50 0) "yes" "no") => “no” - when / when-not :
21.
do
. - (do ....) - (if (< 50 0) (do (println "haha") "yes") (do (println " ") (println "haha") "no")) => | haha | "no"
22.
loop / recur
. - loop : let recur . - recur : loop . - (loop [ ...] ) - (recur ...) - (loop [n [] x 5] (if (zero? x) (println n) (recur (conj n x) (- x 1)))) => [5 4 3 2 1] | nil
23.
for
. - (for [ ...] ) - (for [file "ABC"] (format "%c" file)) => ("A" "B" "C")
24.
(boolean) / nil
true, false (character) a (keyword) :tag, :doc (map) {:name “Bill”, :age 42} (number) 1, 4.2 (string) “hello” (symbol) user/foo, java.lang.String
25.
: if / (form?)
/ do loop / recur for
26.
QnA