SlideShare ist ein Scribd-Unternehmen logo
1 von 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/

Weitere ähnliche Inhalte

Andere mochten auch

Menu Pane E Vino
Menu Pane E Vino Menu Pane E Vino
Menu Pane E Vino Pane E Vino
 
Menu Pane E Vino
Menu Pane E VinoMenu Pane E Vino
Menu Pane E VinoPane 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 WalkthroughdotNet Miami
 
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 DevelopmentdotNet Miami
 
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...dotNet Miami
 
 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物 灘校パソコン研究部内lt大会(2012年度)本物
 灘校パソコン研究部内lt大会(2012年度)本物yamanakako
 
Apex the peak of good living
Apex the peak of good livingApex the peak of good living
Apex the peak of good livingejchapman
 
โครงงานสุขภาพ
โครงงานสุขภาพโครงงานสุขภาพ
โครงงานสุขภาพkrupangpound
 
תיק עבודות-סיון מנדל
תיק עבודות-סיון מנדלתיק עבודות-סיון מנדל
תיק עבודות-סיון מנדלsivan_m
 
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 Palermostartappa
 
บริหารกายด้วยยางยืด
บริหารกายด้วยยางยืดบริหารกายด้วยยางยืด
บริหารกายด้วยยางยืดkrupangpound
 

Andere mochten auch (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
 

Kürzlich hochgeladen

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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 FMESafe Software
 
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, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
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 TerraformAndrey Devyatkin
 
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 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 

Kürzlich hochgeladen (20)

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...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 
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 2024The 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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

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

Hinweis der Redaktion

  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!