Close cookie details

This site uses cookies. Learn more about cookies.

OverDrive would like to use cookies to store information on your computer to improve your user experience at our Website. One of the cookies we use is critical for certain aspects of the site to operate and has already been set. You may delete and block all cookies from this site, but this could affect certain features or services of the site. To find out more about the cookies we use and how to delete them, click here to see our Privacy Policy.

If you do not wish to continue, please click here to exit this site.

Hide notification

  Main Nav
Functional Programming For Dummies
Cover of Functional Programming For Dummies
Functional Programming For Dummies

Your guide to the functional programming paradigm 

Functional programming mainly sees use in math computations, including those used in Artificial Intelligence and gaming. This programming paradigm makes algorithms used for math calculations easier to understand and provides a concise method of coding algorithms by people who aren't developers. Current books on the market have a significant learning curve because they're written for developers, by developers—until now. 

Functional Programming for Dummies explores the differences between the pure (as represented by the Haskell language) and impure (as represented by the Python language) approaches to functional programming for readers just like you. The pure approach is best suited to researchers who have no desire to create production code but do need to test algorithms fully and demonstrate their usefulness to peers. The impure approach is best suited to production environments because it's possible to mix coding paradigms in a single application to produce a result more quickly. Functional Programming For Dummies uses this two-pronged approach to give you an all-in-one approach to a coding methodology that can otherwise be hard to grasp.

  • Learn pure and impure when it comes to coding
  • Dive into the processes that most functional programmers use to derive, analyze and prove the worth of algorithms
  • Benefit from examples that are provided in both Python and Haskell
  • Glean the expertise of an expert author who has written some of the market-leading programming books to date
  • If you’re ready to massage data to understand how things work in new ways, you’ve come to the right place!

    Your guide to the functional programming paradigm 

    Functional programming mainly sees use in math computations, including those used in Artificial Intelligence and gaming. This programming paradigm makes algorithms used for math calculations easier to understand and provides a concise method of coding algorithms by people who aren't developers. Current books on the market have a significant learning curve because they're written for developers, by developers—until now. 

    Functional Programming for Dummies explores the differences between the pure (as represented by the Haskell language) and impure (as represented by the Python language) approaches to functional programming for readers just like you. The pure approach is best suited to researchers who have no desire to create production code but do need to test algorithms fully and demonstrate their usefulness to peers. The impure approach is best suited to production environments because it's possible to mix coding paradigms in a single application to produce a result more quickly. Functional Programming For Dummies uses this two-pronged approach to give you an all-in-one approach to a coding methodology that can otherwise be hard to grasp.

  • Learn pure and impure when it comes to coding
  • Dive into the processes that most functional programmers use to derive, analyze and prove the worth of algorithms
  • Benefit from examples that are provided in both Python and Haskell
  • Glean the expertise of an expert author who has written some of the market-leading programming books to date
  • If you’re ready to massage data to understand how things work in new ways, you’ve come to the right place!

    Available formats-
    • Kindle Book
    • OverDrive Read
    • EPUB eBook
    Languages:-
    Copies-
    • Available:
      0
    • Library copies:
      2
    Levels-
    • ATOS:
    • Lexile:
    • Interest Level:
    • Text Difficulty:

    Recommended for you

    About the Author-
    • John Paul Mueller has written more than 100 books and 600+ articles on everything from networking and home security to database management and heads-down programming. His technical editing talents have helped more than 70 authors refine and polish their manuscripts. John's books address every level of skill from beginning to advanced.

    Table of Contents-
    • Introduction 1

      About This Book 1

      Foolish Assumptions 3

      Icons Used in This Book 3

      Beyond the Book 4

      Where to Go from Here 5

      Part 1: Getting Started with Functional Programming 7

      Chapter 1: Introducing Functional Programming 9

      Defining Functional Programming 10

      Understanding its goals 11

      Using the pure approach 11

      Using the impure approach 12

      Considering Other Programming Paradigms 13

      Imperative 13

      Procedural 13

      Object-oriented 14

      Declarative 14

      Using Functional Programming to Perform Tasks 15

      Discovering Languages That Support Functional Programming 16

      Considering the pure languages 16

      Considering the impure languages 17

      Finding Functional Programming Online 17

      Chapter 2: Getting and Using Python 19

      Working with Python in This Book 20

      Creating better code 20

      Debugging functionality 20

      Defining why notebooks are useful 21

      Obtaining Your Copy of Anaconda 21

      Obtaining Analytics Anaconda 21

      Installing Anaconda on Linux 22

      Installing Anaconda on MacOS 23

      Installing Anaconda on Windows 24

      Understanding the Anaconda package 26

      Downloading the Datasets and Example Code 27

      Using Jupyter Notebook 28

      Defining the code repository 28

      Getting and using datasets 33

      Creating a Python Application 34

      Understanding cells 35

      Adding documentation cells 36

      Other cell content 38

      Running the Python Application 38

      Understanding the Use of Indentation 39

      Adding Comments 41

      Understanding comments 41

      Using comments to leave yourself reminders 43

      Using comments to keep code from executing 43

      Closing Jupyter Notebook 44

      Getting Help with the Python Language 45

      Chapter 3: Getting and Using Haskell 47

      Working with Haskell in This Book 48

      Obtaining and Installing Haskell 48

      Installing Haskell on a Linux system 50

      Installing Haskell on a Mac system 50

      Installing Haskell on a Windows system 52

      Testing the Haskell Installation 54

      Compiling a Haskell Application 56

      Using Haskell Libraries 59

      Getting Help with the Haskell Language 60

      Part 2: Starting Functional Programming Tasks 63

      Chapter 4: Defining the Functional Difference 65

      Comparing Declarations to Procedures 66

      Understanding How Data Works 67

      Working with immutable data 68

      Considering the role of state 68

      Eliminating side effects 69

      Seeing a Function in Haskell 69

      Using non-curried functions 69

      Using curried functions 70

      Seeing a Function in Python 73

      Creating and using a Python function 73

      Passing by reference versus by value 74

      Chapter 5: Understanding the Role of Lambda Calculus 77

      Considering the Origins of Lambda Calculus 78

      Understanding the Rules 80

      Working with variables 80

      Using application 81

      Using abstraction 82

      Performing Reduction Operations 85

      Considering α-conversion 85

      Considering β-reduction 86

      Considering η-conversion 88

      Creating Lambda Functions in Haskell 89

      Creating Lambda Functions in Python 89

      Chapter 6: Working with Lists and Strings 91

      Defining List Uses 92

      Creating Lists 93

      Using Haskell to create Lists 94

      Using Python to create lists 95

      Evaluating Lists...

    Title Information+
    • Publisher
      Wiley
    • Kindle Book
      Release date:
    • OverDrive Read
      Release date:
    • EPUB eBook
      Release date:
    Digital Rights Information+
    • Copyright Protection (DRM) required by the Publisher may be applied to this title to limit or prohibit printing or copying. File sharing or redistribution is prohibited. Your rights to access this material expire at the end of the lending period. Please see Important Notice about Copyrighted Materials for terms applicable to this content.

    Status bar:

    You've reached your checkout limit.

    Visit your Checkouts page to manage your titles.

    Close

    You already have this title checked out.

    Want to go to your Checkouts?

    Close

    Recommendation Limit Reached.

    You've reached the maximum number of titles you can recommend at this time. You can recommend up to 5 titles every 7 day(s).

    Close

    Sign in to recommend this title.

    Recommend your library consider adding this title to the Digital Collection.

    Close

    Enhanced Details

    Close
    Close

    Limited availability

    Availability can change throughout the month based on the library's budget.

    is available for days.

    Once playback starts, you have hours to view the title.

    Close

    Permissions

    Close

    The OverDrive Read format of this eBook has professional narration that plays while you read in your browser. Learn more here.

    Close

    Holds

    Total holds:


    Close

    Restricted

    Some format options have been disabled. You may see additional download options outside of this network.

    Close

    MP3 audiobooks are only supported on macOS 10.6 (Snow Leopard) through 10.14 (Mojave). Learn more about MP3 audiobook support on Macs.

    Close

    You've reached your library's checkout limit for digital titles.

    To make room for more checkouts, you may be able to return titles from your Checkouts page.

    Close

    Excessive Checkout Limit Reached.

    There have been too many titles checked out and returned by your account within a short period of time.

    Try again in several days. If you are still not able to check out titles after 7 days, please contact Support.

    Close

    You have already checked out this title. To access it, return to your Checkouts page.

    Close

    This title is not available for your card type. If you think this is an error contact support.

    Close

    An unexpected error has occurred.

    If this problem persists, please contact support.

    Close

    Close

    NOTE: Barnes and Noble® may change this list of devices at any time.

    Close
    Buy it now
    and help our library WIN!
    Functional Programming For Dummies
    Functional Programming For Dummies
    John Paul Mueller
    Choose a retail partner below to buy this title for yourself.
    A portion of this purchase goes to support your library.
    Clicking on the 'Buy It Now' link will cause you to leave the library download platform website. The content of the retail website is not controlled by the library. Please be aware that the website does not have the same privacy policy as the library or its service providers.
    Close
    Close

    There are no copies of this issue left to borrow. Please try to borrow this title again when a new issue is released.

    Close
    Barnes & Noble Sign In |   Sign In

    You will be prompted to sign into your library account on the next page.

    If this is your first time selecting “Send to NOOK,” you will then be taken to a Barnes & Noble page to sign into (or create) your NOOK account. You should only have to sign into your NOOK account once to link it to your library account. After this one-time step, periodicals will be automatically sent to your NOOK account when you select "Send to NOOK."

    The first time you select “Send to NOOK,” you will be taken to a Barnes & Noble page to sign into (or create) your NOOK account. You should only have to sign into your NOOK account once to link it to your library account. After this one-time step, periodicals will be automatically sent to your NOOK account when you select "Send to NOOK."

    You can read periodicals on any NOOK tablet or in the free NOOK reading app for iOS, Android or Windows 8.

    Accept to ContinueCancel