Swift Functional Programming - Second Edition

Bring the power of functional programming to Swift to develop clean, smart, scalable and reliable applications.

Swift Functional Programming - Second Edition

Dr. Fatih Nayebi

Bring the power of functional programming to Swift to develop clean, smart, scalable and reliable applications.
Mapt Subscription
FREE
$20.83/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Swift Functional Programming - Second Edition Book Cover
Swift Functional Programming - Second Edition
$ 35.99
$ 25.20
Swift 4 Protocol-Oriented Programming - Third Edition Book Cover
Swift 4 Protocol-Oriented Programming - Third Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781787284500
Paperback316 pages

Book Description

Swift is a multi-paradigm programming language enabling you to tackle different problems in various ways. Understanding each paradigm and knowing when and how to utilize and combine them can lead to a better code base. Functional programming (FP) is an important paradigm that empowers us with declarative development and makes applications more suitable for testing, as well as performant and elegant. This book aims to simplify the FP paradigms, making them easily understandable and usable, by showing you how to solve many of your day-to-day development problems using Swift FP.

It starts with the basics of FP, and you will go through all the core concepts of Swift and the building blocks of FP. You will also go through important aspects, such as function composition and currying, custom operator definition, monads, functors, applicative functors,memoization, lenses, algebraic data types, type erasure, functional data structures, functional reactive programming (FRP), and protocol-oriented programming(POP). You will then learn to combine those techniques to develop a fully functional iOS application from scratch

Table of Contents

Chapter 1: Getting Started with Functional Programming in Swift
Chapter 11: Case Study - Developing an iOS Application with FP and OOP Paradigms

What You Will Learn

  • Understand what functional programming is and why it matters
  • Understand custom operators, function composition, currying, recursion, and memoization
  • Explore algebraic data types, pattern matching, generics, associated type protocols, and type erasure
  • Get acquainted with higher-kinded types and higher-order functions using practical examples
  • Get familiar with functional and non-functional ways to deal with optionals
  • Make use of functional data structures such as semigroup, monoid, binary search tree, linked list, stack, and lazy list
  • Understand the importance of immutability, copy constructors, and lenses
  • Develop a backend API with Vapor
  • Create an iOS app by combining FP, OOP, FRP, and POP paradigms

Authors

Table of Contents

Chapter 1: Getting Started with Functional Programming in Swift
Chapter 11: Case Study - Developing an iOS Application with FP and OOP Paradigms

Book Details

ISBN 139781787284500
Paperback316 pages
Read More

Read More Reviews

Recommended for You

Swift 4 Protocol-Oriented Programming - Third Edition Book Cover
Swift 4 Protocol-Oriented Programming - Third Edition
$ 31.99
$ 22.40
Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 22.40
Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 25.20
Mastering iOS 11 Programming - Second Edition Book Cover
Mastering iOS 11 Programming - Second Edition
$ 35.99
$ 25.20
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 10.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 10.00