Enviar búsqueda
Cargar
Clojure functions 4
•
0 recomendaciones
•
296 vistas
Jackson dos Santos Olveira
Seguir
Tecnología
Economía y finanzas
Empresariales
Denunciar
Compartir
Denunciar
Compartir
1 de 14
Descargar ahora
Descargar para leer sin conexión
Recomendados
RxJS 5 in Depth
RxJS 5 in Depth
C4Media
Functional JavaScript for everyone
Functional JavaScript for everyone
Bartek Witczak
Correcting Common .NET Async/Await Mistakes
Correcting Common .NET Async/Await Mistakes
Brandon Minnick, MBA
Correcting Common Async/Await Mistakes in .NET
Correcting Common Async/Await Mistakes in .NET
Brandon Minnick, MBA
Modern c++ Memory Management
Modern c++ Memory Management
Alan Uthoff
C c++-meetup-1nov2017-autofdo
C c++-meetup-1nov2017-autofdo
Kim Phillips
Jarmo van de Seijp Shadbox ERC223
Jarmo van de Seijp Shadbox ERC223
Jarmo van de Seijp
Understanding the nodejs event loop
Understanding the nodejs event loop
Saurabh Kumar
Recomendados
RxJS 5 in Depth
RxJS 5 in Depth
C4Media
Functional JavaScript for everyone
Functional JavaScript for everyone
Bartek Witczak
Correcting Common .NET Async/Await Mistakes
Correcting Common .NET Async/Await Mistakes
Brandon Minnick, MBA
Correcting Common Async/Await Mistakes in .NET
Correcting Common Async/Await Mistakes in .NET
Brandon Minnick, MBA
Modern c++ Memory Management
Modern c++ Memory Management
Alan Uthoff
C c++-meetup-1nov2017-autofdo
C c++-meetup-1nov2017-autofdo
Kim Phillips
Jarmo van de Seijp Shadbox ERC223
Jarmo van de Seijp Shadbox ERC223
Jarmo van de Seijp
Understanding the nodejs event loop
Understanding the nodejs event loop
Saurabh Kumar
Grailsでドメイン駆動設計を実践する時の勘所
Grailsでドメイン駆動設計を実践する時の勘所
Takuma Watabiki
Ns2: OTCL - PArt II
Ns2: OTCL - PArt II
Ajit Nayak
Ns2: Introduction - Part I
Ns2: Introduction - Part I
Ajit Nayak
Penjualan swalayan
Penjualan swalayan
Setiyo Agus Widjaja
Меняем javascript с помощью javascript
Меняем javascript с помощью javascript
Pavel Volokitin
rx.js make async programming simpler
rx.js make async programming simpler
Alexander Mostovenko
NS2: AWK and GNUplot - PArt III
NS2: AWK and GNUplot - PArt III
Ajit Nayak
Google App Engine Developer - Day3
Google App Engine Developer - Day3
Simon Su
Multi qubit entanglement
Multi qubit entanglement
Vijayananda Mohire
Pemrograman visual
Pemrograman visual
Univ. State of Surabaya
Gearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copy
Brian Aker
Design Patterns in .Net
Design Patterns in .Net
Dmitri Nesteruk
Add Some Fun to Your Functional Programming With RXJS
Add Some Fun to Your Functional Programming With RXJS
Ryan Anklam
Gearman, from the worker's perspective
Gearman, from the worker's perspective
Brian Aker
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
sjabs
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
Exchange 2010/2013 Exchange Management Shell Command
Exchange 2010/2013 Exchange Management Shell Command
Naseem Khoodoruth
Compose Async with RxJS
Compose Async with RxJS
Kyung Yeol Kim
Quantum neural network
Quantum neural network
Vijayananda Mohire
Broken windows de práticas ágeis
Broken windows de práticas ágeis
Cecilia Fernandes
Clojure functions
Clojure functions
Jackson dos Santos Olveira
Android
Android
Jackson dos Santos Olveira
Más contenido relacionado
La actualidad más candente
Grailsでドメイン駆動設計を実践する時の勘所
Grailsでドメイン駆動設計を実践する時の勘所
Takuma Watabiki
Ns2: OTCL - PArt II
Ns2: OTCL - PArt II
Ajit Nayak
Ns2: Introduction - Part I
Ns2: Introduction - Part I
Ajit Nayak
Penjualan swalayan
Penjualan swalayan
Setiyo Agus Widjaja
Меняем javascript с помощью javascript
Меняем javascript с помощью javascript
Pavel Volokitin
rx.js make async programming simpler
rx.js make async programming simpler
Alexander Mostovenko
NS2: AWK and GNUplot - PArt III
NS2: AWK and GNUplot - PArt III
Ajit Nayak
Google App Engine Developer - Day3
Google App Engine Developer - Day3
Simon Su
Multi qubit entanglement
Multi qubit entanglement
Vijayananda Mohire
Pemrograman visual
Pemrograman visual
Univ. State of Surabaya
Gearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copy
Brian Aker
Design Patterns in .Net
Design Patterns in .Net
Dmitri Nesteruk
Add Some Fun to Your Functional Programming With RXJS
Add Some Fun to Your Functional Programming With RXJS
Ryan Anklam
Gearman, from the worker's perspective
Gearman, from the worker's perspective
Brian Aker
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
sjabs
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
Exchange 2010/2013 Exchange Management Shell Command
Exchange 2010/2013 Exchange Management Shell Command
Naseem Khoodoruth
Compose Async with RxJS
Compose Async with RxJS
Kyung Yeol Kim
Quantum neural network
Quantum neural network
Vijayananda Mohire
Broken windows de práticas ágeis
Broken windows de práticas ágeis
Cecilia Fernandes
La actualidad más candente
(20)
Grailsでドメイン駆動設計を実践する時の勘所
Grailsでドメイン駆動設計を実践する時の勘所
Ns2: OTCL - PArt II
Ns2: OTCL - PArt II
Ns2: Introduction - Part I
Ns2: Introduction - Part I
Penjualan swalayan
Penjualan swalayan
Меняем javascript с помощью javascript
Меняем javascript с помощью javascript
rx.js make async programming simpler
rx.js make async programming simpler
NS2: AWK and GNUplot - PArt III
NS2: AWK and GNUplot - PArt III
Google App Engine Developer - Day3
Google App Engine Developer - Day3
Multi qubit entanglement
Multi qubit entanglement
Pemrograman visual
Pemrograman visual
Gearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copy
Design Patterns in .Net
Design Patterns in .Net
Add Some Fun to Your Functional Programming With RXJS
Add Some Fun to Your Functional Programming With RXJS
Gearman, from the worker's perspective
Gearman, from the worker's perspective
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
Kamil Chmielewski, Jacek Juraszek - "Hadoop. W poszukiwaniu złotego młotka."
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Exchange 2010/2013 Exchange Management Shell Command
Exchange 2010/2013 Exchange Management Shell Command
Compose Async with RxJS
Compose Async with RxJS
Quantum neural network
Quantum neural network
Broken windows de práticas ágeis
Broken windows de práticas ágeis
Destacado
Clojure functions
Clojure functions
Jackson dos Santos Olveira
Android
Android
Jackson dos Santos Olveira
Celery Introduction
Celery Introduction
Jackson dos Santos Olveira
Clojure functions examples
Clojure functions examples
Jackson dos Santos Olveira
Ocaml
Ocaml
Jackson dos Santos Olveira
Clojure functions 3
Clojure functions 3
Jackson dos Santos Olveira
Prototype js
Prototype js
Jackson dos Santos Olveira
Destacado
(7)
Clojure functions
Clojure functions
Android
Android
Celery Introduction
Celery Introduction
Clojure functions examples
Clojure functions examples
Ocaml
Ocaml
Clojure functions 3
Clojure functions 3
Prototype js
Prototype js
Similar a Clojure functions 4
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extension
LINE Corporation
Fact, Fiction, and FP
Fact, Fiction, and FP
Brian Lonsdorf
A Shiny Example-- R
A Shiny Example-- R
Dr. Volkan OBAN
Flying Futures at the same sky can make the sun rise at midnight
Flying Futures at the same sky can make the sun rise at midnight
Wiem Zine Elabidine
Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»
e-Legion
(BDT401) Big Data Orchestra - Harmony within Data Analysis Tools | AWS re:Inv...
(BDT401) Big Data Orchestra - Harmony within Data Analysis Tools | AWS re:Inv...
Amazon Web Services
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Concurrency on the JVM
Concurrency on the JVM
Vaclav Pech
Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)
Jonas Bonér
Pragmatic Real-World Scala
Pragmatic Real-World Scala
parag978978
Emerging Languages: A Tour of the Horizon
Emerging Languages: A Tour of the Horizon
Alex Payne
リローダブルClojureアプリケーション
リローダブルClojureアプリケーション
Kenji Nakamura
Flux and InfluxDB 2.0 by Paul Dix
Flux and InfluxDB 2.0 by Paul Dix
InfluxData
C programs
C programs
Azaj Khan
Tools for Making Machine Learning more Reactive
Tools for Making Machine Learning more Reactive
Jeff Smith
ClojureScript loves React, DomCode May 26 2015
ClojureScript loves React, DomCode May 26 2015
Michiel Borkent
Refactoring to Macros with Clojure
Refactoring to Macros with Clojure
Dmitry Buzdin
jQuery Foot-Gun Features
jQuery Foot-Gun Features
dmethvin
Cycle.js: Functional and Reactive
Cycle.js: Functional and Reactive
Eugene Zharkov
Flask patterns
Flask patterns
it-people
Similar a Clojure functions 4
(20)
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extension
Fact, Fiction, and FP
Fact, Fiction, and FP
A Shiny Example-- R
A Shiny Example-- R
Flying Futures at the same sky can make the sun rise at midnight
Flying Futures at the same sky can make the sun rise at midnight
Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»
(BDT401) Big Data Orchestra - Harmony within Data Analysis Tools | AWS re:Inv...
(BDT401) Big Data Orchestra - Harmony within Data Analysis Tools | AWS re:Inv...
Super Advanced Python –act1
Super Advanced Python –act1
Concurrency on the JVM
Concurrency on the JVM
Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala
Pragmatic Real-World Scala
Emerging Languages: A Tour of the Horizon
Emerging Languages: A Tour of the Horizon
リローダブルClojureアプリケーション
リローダブルClojureアプリケーション
Flux and InfluxDB 2.0 by Paul Dix
Flux and InfluxDB 2.0 by Paul Dix
C programs
C programs
Tools for Making Machine Learning more Reactive
Tools for Making Machine Learning more Reactive
ClojureScript loves React, DomCode May 26 2015
ClojureScript loves React, DomCode May 26 2015
Refactoring to Macros with Clojure
Refactoring to Macros with Clojure
jQuery Foot-Gun Features
jQuery Foot-Gun Features
Cycle.js: Functional and Reactive
Cycle.js: Functional and Reactive
Flask patterns
Flask patterns
Más de Jackson dos Santos Olveira
AWS Control Tower
AWS Control Tower
Jackson dos Santos Olveira
Netty training
Netty training
Jackson dos Santos Olveira
An introduction to predictionIO
An introduction to predictionIO
Jackson dos Santos Olveira
Introduction to HashiCorp Consul
Introduction to HashiCorp Consul
Jackson dos Santos Olveira
Apache mahout - introduction
Apache mahout - introduction
Jackson dos Santos Olveira
Managing computational resources with Apache Mesos
Managing computational resources with Apache Mesos
Jackson dos Santos Olveira
Introduction to CFEngine
Introduction to CFEngine
Jackson dos Santos Olveira
DBC Principles
DBC Principles
Jackson dos Santos Olveira
Racket
Racket
Jackson dos Santos Olveira
Jboss Teiid - The data you have on the place you need
Jboss Teiid - The data you have on the place you need
Jackson dos Santos Olveira
Apache PIG introduction
Apache PIG introduction
Jackson dos Santos Olveira
Jboss AS7 New Main Features
Jboss AS7 New Main Features
Jackson dos Santos Olveira
Solid
Solid
Jackson dos Santos Olveira
Aurinko
Aurinko
Jackson dos Santos Olveira
Gcontract
Gcontract
Jackson dos Santos Olveira
Ocaml
Ocaml
Jackson dos Santos Olveira
Haskell
Haskell
Jackson dos Santos Olveira
Elastic search introduction
Elastic search introduction
Jackson dos Santos Olveira
Presentation about ClosureScript fraemework
Presentation about ClosureScript fraemework
Jackson dos Santos Olveira
Clojure functions midje
Clojure functions midje
Jackson dos Santos Olveira
Más de Jackson dos Santos Olveira
(20)
AWS Control Tower
AWS Control Tower
Netty training
Netty training
An introduction to predictionIO
An introduction to predictionIO
Introduction to HashiCorp Consul
Introduction to HashiCorp Consul
Apache mahout - introduction
Apache mahout - introduction
Managing computational resources with Apache Mesos
Managing computational resources with Apache Mesos
Introduction to CFEngine
Introduction to CFEngine
DBC Principles
DBC Principles
Racket
Racket
Jboss Teiid - The data you have on the place you need
Jboss Teiid - The data you have on the place you need
Apache PIG introduction
Apache PIG introduction
Jboss AS7 New Main Features
Jboss AS7 New Main Features
Solid
Solid
Aurinko
Aurinko
Gcontract
Gcontract
Ocaml
Ocaml
Haskell
Haskell
Elastic search introduction
Elastic search introduction
Presentation about ClosureScript fraemework
Presentation about ClosureScript fraemework
Clojure functions midje
Clojure functions midje
Último
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
Zilliz
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
apidays
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Último
(20)
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Clojure functions 4
1.
Clojure Example Functions
ilegra - LDC By Jackson dos Santos
2.
frequencies user => (frequencies
'(1 2 3)) {1 1, 2 1, 3 1}
3.
gensym user => (gensym
"Blastoise") Blastoise342 user=> (gensym) G__345
4.
memfn user=> (map (memfn
charAt i) ["fred" "ethel" "lucy"] [1 2 3]) (r h y) user=>(map #(.charAt %1 %2) ["fred" "ethel" "lucy"] [1 2 3]) (r h y)
5.
bank-transfer (defn bank-withdraw[bank-account value-to-withdraw]
(dosync (ref-set bank-account (assoc @bank-account :value (- (get @bank-account :value) value-to-withdraw))) ) ) (defn bank-deposit [bank-account value-to-deposit] (dosync (ref-set bank-account (assoc @bank-account :value (+ (get @bank-account :value) value-to-deposit))) ) (defn bank-transfer[account-to-debit account-to-credit value] (bank-deposit account-to-credit value) (bank-withdraw account-to-debit value) )
6.
bank-transfer (deftest test-bank-transfer
(def client1 (ref (struct bank-account "Blastoise" 151))) (def client2 (ref (struct bank-account "Pikachu" 1500))) (bank-transfer client2 client1 132.98M) (is (= 283.98M (get @client1 :value))) (is (= 1367.02M (get @client2 :value))) )
7.
Java and Clojure
Integration RT.loadResourceScript("cartax.clj"); Var carType = RT.var("cartax", "car"); return carType.get();
8.
Java and Clojure
Integration RT.loadResourceScript("cartax.clj"); Var carType = RT.var("cartax", "car"); return carType.get();
9.
Java and Clojure
Integration Var structMap = RT.var("clojure.core", "struct-map"); return structMap.invoke(carStruct, getStructMapKeyVal("owner-name"), ownerName, getStructMapKeyVal("car-type"), carType, getStructMapKeyVal("cur-speed"), curSpeed, getStructMapKeyVal("licence-plate"), licencePlate) (struct-map car :owner-name “valor” :car-type “valor” :cur-speed valor :licence-plate “valor”)
10.
Java and Clojure
Integration try { Var t = RT.var("cartax", "verify_car_speed"); return t.invoke(carStruct); } catch (Exception e) { throw new RuntimeException(e); }
11.
Java and Clojure
Integration try { RT.loadResourceScript("cartax.clj"); Object car = buildCar(getCarReference(), "Jackson", "Fuca", 101, "AAAA"); Object verifiedCar = verifyCarSpeed(car); System.out.println(verifiedCar); } catch (Exception e) { throw new RuntimeException(e); }
12.
4Clojure Problems Solved
13.
4Clojure Problem
14.
4Clojure Problem
Descargar ahora