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

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

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

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Kürzlich hochgeladen (20)

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 

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!