Enviar pesquisa
Carregar
Advanced
•
1 gostou
•
344 visualizações
Logan Campbell
Seguir
Clojure workshop, advanced end that shows off some higher level features.
Leia menos
Leia mais
Tecnologia
Turismo
Vista de apresentação de diapositivos
Denunciar
Compartilhar
Vista de apresentação de diapositivos
Denunciar
Compartilhar
1 de 28
Baixar agora
Baixar para ler offline
Recomendados
Vcs9
Vcs9
Malikireddy Bramhananda Reddy
Runge kutta C programme
Runge kutta C programme
Shah Keval
Implementation of strassens
Implementation of strassens
Vikash Dhal
Prova 6
Prova 6
Lucas Silvano Ferro Solé
Experement no 6
Experement no 6
Smita Batti
Module 2 topic 2 notes
Module 2 topic 2 notes
chrystal_brinson
Dvst
Dvst
hahaa225
An example of R code for Data visualization
An example of R code for Data visualization
Liang (Leon) Zhou
Recomendados
Vcs9
Vcs9
Malikireddy Bramhananda Reddy
Runge kutta C programme
Runge kutta C programme
Shah Keval
Implementation of strassens
Implementation of strassens
Vikash Dhal
Prova 6
Prova 6
Lucas Silvano Ferro Solé
Experement no 6
Experement no 6
Smita Batti
Module 2 topic 2 notes
Module 2 topic 2 notes
chrystal_brinson
Dvst
Dvst
hahaa225
An example of R code for Data visualization
An example of R code for Data visualization
Liang (Leon) Zhou
Python. re
Python. re
Alexey Bovanenko
Euler method in c
Euler method in c
Subir Halder
Program to reflecta triangle
Program to reflecta triangle
Tanya Makkar
Tools for research plotting
Tools for research plotting
Nimrita Koul
Graph of quadratic function
Graph of quadratic function
Nadeem Uddin
Python programing
Python programing
BHAVYA DOSHI
Forecast stock prices python
Forecast stock prices python
Utkarsh Asthana
CM 1.0 geometry3 MrG 2011.0914 - sage
CM 1.0 geometry3 MrG 2011.0914 - sage
A Jorge Garcia
2.5 function transformations
2.5 function transformations
hisema01
Faisal
Faisal
Faisal Saeed
Nhap du lieu
Nhap du lieu
bichdinh
Muhammad ariefnugraha 142014066_kode4
Muhammad ariefnugraha 142014066_kode4
Muhammad Nugraha
Newton cotes method
Newton cotes method
Faisal Saeed
Graph of a linear function
Graph of a linear function
Nadeem Uddin
Tangent plane
Tangent plane
yash patel
Day 2 examples u2f13
Day 2 examples u2f13
jchartiersjsd
Day 9 examples u1w14
Day 9 examples u1w14
jchartiersjsd
Simulador carrera de caballos desarrollado en C++
Simulador carrera de caballos desarrollado en C++
Santiago Sarmiento
Lesson20 Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
Matthew Leingang
R forecasting Example
R forecasting Example
Dr. Volkan OBAN
Promise list
Promise list
Logan Campbell
Basics
Basics
Logan Campbell
Mais conteúdo relacionado
Mais procurados
Python. re
Python. re
Alexey Bovanenko
Euler method in c
Euler method in c
Subir Halder
Program to reflecta triangle
Program to reflecta triangle
Tanya Makkar
Tools for research plotting
Tools for research plotting
Nimrita Koul
Graph of quadratic function
Graph of quadratic function
Nadeem Uddin
Python programing
Python programing
BHAVYA DOSHI
Forecast stock prices python
Forecast stock prices python
Utkarsh Asthana
CM 1.0 geometry3 MrG 2011.0914 - sage
CM 1.0 geometry3 MrG 2011.0914 - sage
A Jorge Garcia
2.5 function transformations
2.5 function transformations
hisema01
Faisal
Faisal
Faisal Saeed
Nhap du lieu
Nhap du lieu
bichdinh
Muhammad ariefnugraha 142014066_kode4
Muhammad ariefnugraha 142014066_kode4
Muhammad Nugraha
Newton cotes method
Newton cotes method
Faisal Saeed
Graph of a linear function
Graph of a linear function
Nadeem Uddin
Tangent plane
Tangent plane
yash patel
Day 2 examples u2f13
Day 2 examples u2f13
jchartiersjsd
Day 9 examples u1w14
Day 9 examples u1w14
jchartiersjsd
Simulador carrera de caballos desarrollado en C++
Simulador carrera de caballos desarrollado en C++
Santiago Sarmiento
Lesson20 Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
Matthew Leingang
R forecasting Example
R forecasting Example
Dr. Volkan OBAN
Mais procurados
(20)
Python. re
Python. re
Euler method in c
Euler method in c
Program to reflecta triangle
Program to reflecta triangle
Tools for research plotting
Tools for research plotting
Graph of quadratic function
Graph of quadratic function
Python programing
Python programing
Forecast stock prices python
Forecast stock prices python
CM 1.0 geometry3 MrG 2011.0914 - sage
CM 1.0 geometry3 MrG 2011.0914 - sage
2.5 function transformations
2.5 function transformations
Faisal
Faisal
Nhap du lieu
Nhap du lieu
Muhammad ariefnugraha 142014066_kode4
Muhammad ariefnugraha 142014066_kode4
Newton cotes method
Newton cotes method
Graph of a linear function
Graph of a linear function
Tangent plane
Tangent plane
Day 2 examples u2f13
Day 2 examples u2f13
Day 9 examples u1w14
Day 9 examples u1w14
Simulador carrera de caballos desarrollado en C++
Simulador carrera de caballos desarrollado en C++
Lesson20 Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
R forecasting Example
R forecasting Example
Destaque
Promise list
Promise list
Logan Campbell
Basics
Basics
Logan Campbell
Clojure at a post office
Clojure at a post office
Logan Campbell
Coordinating non blocking io melb-clj
Coordinating non blocking io melb-clj
Logan Campbell
Capital budgeting’ OF FINANCIAL MANAGEMENT
Capital budgeting’ OF FINANCIAL MANAGEMENT
Vivek Chandraker
комикс
комикс
merleslaan
Majalah ict no.16 2013
Majalah ict no.16 2013
zaey
Herbs That Cure Herpes
Herbs That Cure Herpes
magidmossbar
Destaque
(8)
Promise list
Promise list
Basics
Basics
Clojure at a post office
Clojure at a post office
Coordinating non blocking io melb-clj
Coordinating non blocking io melb-clj
Capital budgeting’ OF FINANCIAL MANAGEMENT
Capital budgeting’ OF FINANCIAL MANAGEMENT
комикс
комикс
Majalah ict no.16 2013
Majalah ict no.16 2013
Herbs That Cure Herpes
Herbs That Cure Herpes
Semelhante a Advanced
Implement the following sorting algorithms Bubble Sort Insertion S.pdf
Implement the following sorting algorithms Bubble Sort Insertion S.pdf
kesav24
The elements of a functional mindset
The elements of a functional mindset
Eric Normand
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Monadologie
Monadologie
league
Computer Graphics in Java and Scala - Part 1b
Computer Graphics in Java and Scala - Part 1b
Philip Schwarz
Advanced Search Techniques
Advanced Search Techniques
Shakil Ahmed
Introduction to R programming
Introduction to R programming
Alberto Labarga
Functional programming in scala
Functional programming in scala
Siarhiej Siemianchuk
The Magnificent Seven
The Magnificent Seven
Mike Fogus
Know more processing
Know more processing
YukiAizawa1
The Essence of the Iterator Pattern
The Essence of the Iterator Pattern
Eric Torreborre
Map, Reduce and Filter in Swift
Map, Reduce and Filter in Swift
Aleksandras Smirnovas
Hitchhiker's Guide to Functional Programming
Hitchhiker's Guide to Functional Programming
Sergey Shishkin
ML-CheatSheet (1).pdf
ML-CheatSheet (1).pdf
KarroumAbdelmalek
Reactive Collections
Reactive Collections
Aleksandar Prokopec
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from Scratch
Ahmed BESBES
An overview of Python 2.7
An overview of Python 2.7
decoupled
A tour of Python
A tour of Python
Aleksandar Veselinovic
The Ring programming language version 1.10 book - Part 33 of 212
The Ring programming language version 1.10 book - Part 33 of 212
Mahmoud Samir Fayed
Atomically { Delete Your Actors }
Atomically { Delete Your Actors }
John De Goes
Semelhante a Advanced
(20)
Implement the following sorting algorithms Bubble Sort Insertion S.pdf
Implement the following sorting algorithms Bubble Sort Insertion S.pdf
The elements of a functional mindset
The elements of a functional mindset
Super Advanced Python –act1
Super Advanced Python –act1
Monadologie
Monadologie
Computer Graphics in Java and Scala - Part 1b
Computer Graphics in Java and Scala - Part 1b
Advanced Search Techniques
Advanced Search Techniques
Introduction to R programming
Introduction to R programming
Functional programming in scala
Functional programming in scala
The Magnificent Seven
The Magnificent Seven
Know more processing
Know more processing
The Essence of the Iterator Pattern
The Essence of the Iterator Pattern
Map, Reduce and Filter in Swift
Map, Reduce and Filter in Swift
Hitchhiker's Guide to Functional Programming
Hitchhiker's Guide to Functional Programming
ML-CheatSheet (1).pdf
ML-CheatSheet (1).pdf
Reactive Collections
Reactive Collections
Introduction to Neural Networks and Deep Learning from Scratch
Introduction to Neural Networks and Deep Learning from Scratch
An overview of Python 2.7
An overview of Python 2.7
A tour of Python
A tour of Python
The Ring programming language version 1.10 book - Part 33 of 212
The Ring programming language version 1.10 book - Part 33 of 212
Atomically { Delete Your Actors }
Atomically { Delete Your Actors }
Último
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Overkill Security
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
Overkill Security
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
The Digital Insurer
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Zilliz
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Último
(20)
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Architecting Cloud Native Applications
Architecting Cloud Native Applications
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Advanced
1.
CLOJURE WORKSHOP
2.
RECURSION
3.
(defn length ([collection] (length collection
0)) ([collection accumulator] (if (empty? collection) accumulator (recur (rest collection) (inc accumulator)))))
4.
(loop [x 10] (when
(> x 1) (println x) (recur (- x 2))))
5.
SEQUENCE PROCESSING
6.
RECURSIVE (defn balance
([string] (balance 0 (seq string))) ([count [head & tail :as chars]] (if (not (empty? chars)) (case head ( (recur (inc count) tail) ) (if (zero? count) false (recur (dec count) tail)) (recur count tail)) true)))
7.
PATTERN MATCHING (defn-‐match balance
([?string] (balance 0 (seq string))) ([_ [] ] true) ([?count [( & ?tail]] (balance (inc count) tail)) ([0 [) & _] ] false) ([?count [) & ?tail]] (balance (dec count) tail)) ([?count [_ & ?tail]] (balance count tail)))
8.
SEQUENCE PROCESSING (defn balance
[string] (-‐>> string seq (map {( inc ) dec}) (filter identity) (reductions #(%2 %1) 0) (filter neg?) empty?))
9.
PROTOCOLS
10.
(defrecord CartesianCoordinate [x
y])
11.
(defrecord PolarCoordinate [distance
angle])
12.
(defprotocol Moveable
(move-‐north [self amount]) (move-‐east [self amount]))
13.
(extend-‐type CartesianCoordinate
Moveable (move-‐north [{x :x y :y} ammount] (CartesianCoordinate. (+ x ammount) y)) (move-‐east [{x :x y :y} ammount] (CartesianCoordinate. x (+ y ammount))))
14.
(defrecord CenterPointRectangle [center-‐point
width height])
15.
(defrecord CornerPointRectangle [top-‐left
bottom-‐right])
16.
(extend-‐type CenterPointRectangle
Moveable (move-‐north [self ammount] (update-‐in self [:center-‐point] #(move-‐x % ammount))) (move-‐east [self ammount] (update-‐in self [:center-‐point] #(move-‐y % ammount))))
17.
MACROS
18.
'(println "Hello, World")
19.
'(println "Hello, World") =>
(println "Hello, World")
20.
(first '(println "Hello,
World"))
21.
(first '(println "Hello,
World")) => println
22.
(def function-name (first '(println
"Hello, World"))) (list function-name "Goodbye, Cruel World")
23.
(def function-name (first '(println
"Hello, World"))) (list function-name "Goodbye, Cruel World") => (println "Goodbye, Cruel World")
24.
(def function-name (first '(println
"Hello, World"))) (def new-code (list function-name "Goodbye, Cruel World")) (eval new-code)
25.
(def function-name (first '(println
"Hello, World"))) (def new-code (list function-name "Goodbye, Cruel World")) (eval new-code) prints: “Goodbye, Cruel World”
26.
(defmacro emoify [original-code] (let
[function-name (first '(println "Hello, World"))] (list function-name "Goodbye, Cruel World") (emoify (println "Hello, World"))
27.
(defmacro emoify [original-code] (let
[function-name (first '(println "Hello, World"))] (list function-name "Goodbye, Cruel World") (emoify (println "Hello, World")) prints: “Goodbye, Cruel World”
28.
FIN Questions?
Baixar agora