Suche senden
Hochladen
Advanced
•
1 gefällt mir
•
344 views
Logan Campbell
Folgen
Clojure workshop, advanced end that shows off some higher level features.
Weniger lesen
Mehr lesen
Technologie
Reisen
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 28
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
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
Empfohlen
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
Weitere ähnliche Inhalte
Was ist angesagt?
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
Was ist angesagt?
(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
Andere mochten auch
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
Andere mochten auch
(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
Ähnlich wie 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
Ähnlich wie 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 }
Kürzlich hochgeladen
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
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
Kürzlich hochgeladen
(20)
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
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...
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?
Jetzt herunterladen