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

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Último (20)

Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
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
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 

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!