SlideShare ist ein Scribd-Unternehmen logo
1 von 11
• File
• With-Open
• Delete-File
with-open
Usage: (with-open bindings & body)

Evaluates body in a try expression with names
  bound to the values of the inits, and a finally
  clause that calls (.close name) on each name
  in reverse order.
file
Usage:      (file arg)
            (file parent child)
            (file parent child & more)
Returns a java.io.File, passing each arg to as-file.
  Multiple-arg versions treat the first argument
  as parent and subsequent args as children
  relative to the parent.
delete-file
Usage: (delete-file f & [silently])

Delete file f. Raise an exception if it fails unless
 silently is true.
LDC 5
LDC 5
LDC 5
LDC 5

Weitere ähnliche Inhalte

Andere mochten auch

1. ecologically sustainable development
1. ecologically sustainable development1. ecologically sustainable development
1. ecologically sustainable developmentjbusse
 
Explosive power tools
Explosive power toolsExplosive power tools
Explosive power toolsjbusse
 
Booking sheets, 2011 v1
Booking sheets, 2011 v1Booking sheets, 2011 v1
Booking sheets, 2011 v1jbusse
 
Kindergarten presentation 2
Kindergarten presentation 2Kindergarten presentation 2
Kindergarten presentation 2Monica Johnson
 
Projecte científic Body Forward
Projecte científic Body ForwardProjecte científic Body Forward
Projecte científic Body Forwardrobogenious
 
In-Silico Modelling of Tumour Growth
In-Silico Modelling of Tumour GrowthIn-Silico Modelling of Tumour Growth
In-Silico Modelling of Tumour GrowthDario Panada
 
Astroemagazine n25 pag.1-22
Astroemagazine n25 pag.1-22Astroemagazine n25 pag.1-22
Astroemagazine n25 pag.1-22astroemagazine
 
Astroemagazine n26 pag.1-26
Astroemagazine n26 pag.1-26Astroemagazine n26 pag.1-26
Astroemagazine n26 pag.1-26astroemagazine
 
650 cau trac-nghiem-sinh-10
650 cau trac-nghiem-sinh-10650 cau trac-nghiem-sinh-10
650 cau trac-nghiem-sinh-10Nguyen Van Tai
 
Don Quizzote 3.0 - For a few shots more...
Don Quizzote 3.0 - For a few shots more...Don Quizzote 3.0 - For a few shots more...
Don Quizzote 3.0 - For a few shots more...El Biswajit
 
3 summary RELIGION CHRISTIANITY
3 summary RELIGION CHRISTIANITY3 summary RELIGION CHRISTIANITY
3 summary RELIGION CHRISTIANITYlara8vicky22
 

Andere mochten auch (16)

Qi4j
Qi4j Qi4j
Qi4j
 
1. ecologically sustainable development
1. ecologically sustainable development1. ecologically sustainable development
1. ecologically sustainable development
 
China or no
China or noChina or no
China or no
 
Explosive power tools
Explosive power toolsExplosive power tools
Explosive power tools
 
Booking sheets, 2011 v1
Booking sheets, 2011 v1Booking sheets, 2011 v1
Booking sheets, 2011 v1
 
Kindergarten presentation 2
Kindergarten presentation 2Kindergarten presentation 2
Kindergarten presentation 2
 
"Word of Mouse" Revised
"Word of Mouse" Revised"Word of Mouse" Revised
"Word of Mouse" Revised
 
Projecte científic Body Forward
Projecte científic Body ForwardProjecte científic Body Forward
Projecte científic Body Forward
 
In-Silico Modelling of Tumour Growth
In-Silico Modelling of Tumour GrowthIn-Silico Modelling of Tumour Growth
In-Silico Modelling of Tumour Growth
 
epc letter
epc letterepc letter
epc letter
 
Astroemagazine n25 pag.1-22
Astroemagazine n25 pag.1-22Astroemagazine n25 pag.1-22
Astroemagazine n25 pag.1-22
 
Astroemagazine n26 pag.1-26
Astroemagazine n26 pag.1-26Astroemagazine n26 pag.1-26
Astroemagazine n26 pag.1-26
 
650 cau trac-nghiem-sinh-10
650 cau trac-nghiem-sinh-10650 cau trac-nghiem-sinh-10
650 cau trac-nghiem-sinh-10
 
Don Quizzote 3.0 - For a few shots more...
Don Quizzote 3.0 - For a few shots more...Don Quizzote 3.0 - For a few shots more...
Don Quizzote 3.0 - For a few shots more...
 
3 summary RELIGION CHRISTIANITY
3 summary RELIGION CHRISTIANITY3 summary RELIGION CHRISTIANITY
3 summary RELIGION CHRISTIANITY
 
Fichas
FichasFichas
Fichas
 

Kürzlich hochgeladen

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Kürzlich hochgeladen (20)

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

LDC 5

  • 1.
  • 3. with-open Usage: (with-open bindings & body) Evaluates body in a try expression with names bound to the values of the inits, and a finally clause that calls (.close name) on each name in reverse order.
  • 4.
  • 5. file Usage: (file arg) (file parent child) (file parent child & more) Returns a java.io.File, passing each arg to as-file. Multiple-arg versions treat the first argument as parent and subsequent args as children relative to the parent.
  • 6.
  • 7. delete-file Usage: (delete-file f & [silently]) Delete file f. Raise an exception if it fails unless silently is true.