Code Monkey home page Code Monkey logo

fsharp-4.0-design-patterns's Introduction

#F# 4.0 Design Patterns This is the code repository for F# 4.0 Design Patterns By Packt. It contains all the supporting project files necessary to work through the book from start to finish.

#About the Book Following design patterns is a well-known approach to writing better programs that captures and reuses high-level abstractions that are common in many applications. This book will encourage you to develop an idiomatic F# coding skillset by fully embracing the functional-first F# paradigm. It will also help you harness this powerful instrument to write succinct, bug-free, and cross-platform code.

##Instructions and Navigation All of the code is organized into folders. Each folder starts with number followed by the application name. For example, Chapter02.

You will see code something similar to the following:

type IMyInterface =
    abstract member DoIt: unit -> unit
    
type MyImpl() =
    interface IMyInterface with
        member __.DoIt() = printfn "Did it!"
        
MyImpl().DoIt() // Error: member 'DoIt' is not defined

(MyImpl() :> IMyInterface).DoIt()

// ... but
let doit (doer: IMyInterface) =
    doer.DoIt()

doit (MyImpl())

##Software and Hardware List

Chapter Software required OS required
1 to 13 LINQPad (http://www.linqpad.net/) Windows/ MAC OS
1 to 13 .NET Fiddle website https://dotnetfiddle.net/ Windows/ MAC/ Linux

##Related F# Products:

Suggestions and Feedback

[Click here] (https://docs.google.com/forms/d/e/1FAIpQLSe5qwunkGf6PUvzPirPDtuy1Du5Rlzew23UBp2S-P3wB-GcwQ/viewform) if you have any feedback or suggestions.

fsharp-4.0-design-patterns's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.