SlideShare una empresa de Scribd logo
1 de 25
An Introduction to
        F#

            Horacio Nunez
   {hnh12358@gmail.com, horatio.info}
What is F#?
F# Interactive
F# 101 (less than 10 minutes!)
Walkthrough: Functional
Numerical Matrixes
Online Resources
F# is multi-paradigm
programming language targeting
      the .NET framework
functional
object oriented
imperative          F#
language oriented
Immutable values and data types
(No State => No Shared Memory)

let x = 10
x = 10 //<!-- boolean
High Order Functions
(functions can be parameters and
     results of other functions)
Type Inference
Think in C#’s var… everywhere
Declarative
Express the desired result, not the
        step-by-step recipe
Lazy Evaluation
Use values only when you really
             need it
Pattern Matching
The compiler “understands” types
Imperative
Mutable values and data types
(State => Probable Shared Memory)

let mutable x = 10
x <- 10
Object
Oriented
F# can consume and create OOP
        designs seamlessly
also…

F# becomes MSIL, hard
    to read, but MSIL
F# is fully supported in Visual
Studio except for GUI Designers
What is F#?
F# Interactive
F# 101 (less than 10 minutes!)
Walkthrough: Functional
Numerical Matrixs
Online Resources
What is F#?
F# Interactive
F# 101 (less than 10 minutes!)
Walkthrough: Functional
Numerical Matrixs
Online Resources
What is F#?
F# Interactive
F# 101 (less than 10 minutes!)
Walkthrough: Functional
Numerical Matrixs
Online Resources
Functional Abstractions for
    Numerical Matrixes
Have you ever tried to create a
Matrix of order Int32.MaxValue?
Out of Memory Exception!
What is F#?
F# Interactive
F# 101 (less than 10 minutes!)
Walkthrough: Functional
Numerical Matrixs
Online Resources
ONLINE RESOURCES

Don Syme’ Blog (F# Designer)
http://blogs.msdn.com/b/dsyme/


Tomas Petricek's’ Blog
http://tomasp.net/
ONLINE RESOURCES

F# Snippets
http://fssnip.net/

Channel 9
http://channel9.msdn.com/

StackOverflow
http://stackoverflow.com/

Más contenido relacionado

Destacado

 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物
yamanakako
 

Destacado (18)

Menu Pane E Vino
Menu Pane E Vino Menu Pane E Vino
Menu Pane E Vino
 
Menu Pane E Vino
Menu Pane E VinoMenu Pane E Vino
Menu Pane E Vino
 
dotNet Miami - August 16, 2012 - Windows 8 App Walkthrough
dotNet Miami - August 16, 2012 - Windows 8 App WalkthroughdotNet Miami - August 16, 2012 - Windows 8 App Walkthrough
dotNet Miami - August 16, 2012 - Windows 8 App Walkthrough
 
dotNet Miami - May 17th, 2012: Will Tartak: Designing for Mobile Development
dotNet Miami - May 17th, 2012: Will Tartak: Designing for Mobile DevelopmentdotNet Miami - May 17th, 2012: Will Tartak: Designing for Mobile Development
dotNet Miami - May 17th, 2012: Will Tartak: Designing for Mobile Development
 
brochure2014
brochure2014brochure2014
brochure2014
 
Nexus travel
Nexus travelNexus travel
Nexus travel
 
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
 
 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物
 
30 haziran11 kaybettiklerimizi ariyoruz
30 haziran11 kaybettiklerimizi ariyoruz30 haziran11 kaybettiklerimizi ariyoruz
30 haziran11 kaybettiklerimizi ariyoruz
 
06 haziran11 sehitler olmezler
06 haziran11 sehitler olmezler06 haziran11 sehitler olmezler
06 haziran11 sehitler olmezler
 
Apex the peak of good living
Apex the peak of good livingApex the peak of good living
Apex the peak of good living
 
09 eylul11 Ilımlı İslâm Üzerine
09 eylul11 Ilımlı İslâm Üzerine09 eylul11 Ilımlı İslâm Üzerine
09 eylul11 Ilımlı İslâm Üzerine
 
SAECULUM 9/2004
SAECULUM 9/2004SAECULUM 9/2004
SAECULUM 9/2004
 
โครงงานสุขภาพ
โครงงานสุขภาพโครงงานสุขภาพ
โครงงานสุขภาพ
 
תיק עבודות-סיון מנדל
תיק עבודות-סיון מנדלתיק עבודות-סיון מנדל
תיק עבודות-סיון מנדל
 
Il modello della Silicon Valley a Palermo
Il modello della Silicon Valley a PalermoIl modello della Silicon Valley a Palermo
Il modello della Silicon Valley a Palermo
 
บริหารกายด้วยยางยืด
บริหารกายด้วยยางยืดบริหารกายด้วยยางยืด
บริหารกายด้วยยางยืด
 
Convivio N°16
Convivio N°16Convivio N°16
Convivio N°16
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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 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 New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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 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, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

dotNet Miami - April 19, 2012: Horacio Nunez: Introduction to F#

Notas del editor

  1. That’s a lot of responsibility for just one compiler!
  2. That’s a lot of responsibility for just one compiler!
  3. That’s a lot of responsibility for just one compiler!
  4. That’s a lot of responsibility for just one compiler!