You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Packt-ITService 557baf23e8 add free ebook notification 2 years ago
Chapter01 TR update datatypes 6 years ago
Chapter02 src 6 years ago
Chapter03 TR final changes 6 years ago
Chapter04 remove turbofish example 6 years ago
Chapter05 add nonstub motor controllers for each building and test for simulate_trip 3 years ago
Chapter06 TR suggestions 6 years ago
Chapter07 chapter 7 tr suggestions 6 years ago
Chapter08 chapter 8 TR suggestions 6 years ago
Chapter09 procmacro2 example 6 years ago
.gitignore gitignore 6 years ago
LICENSE Initial commit 6 years ago
README.md add free ebook notification 2 years ago

README.md

Hands-On Functional Programming in Rust

This is the code repository for Hands-On Functional Programming in Rust, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Functional Programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of Rust, you can develop robust and scalable applications that fulfill modern day software requirements. This book will help you discover all the Rust features that can be used to build software in a functional way.

Instructions and Navigation

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

All code files are present in their respective folders.

The code will look like the following:

pub trait MotorController
{
  fn init(&mut self, esp: ElevatorSpecification, est: ElevatorState);
  fn poll(&mut self, est: ElevatorState, dst: u64) -> MotorInput;
}

In order to successfully read through this book and work out all the code samples, we expect readers to fulfill the following

  • We assume familiarity with the concepts from the first 10 chapters of Rust documentation (https://doc.rust-lang.org/book/). Some of the material from these chapters is fairly advanced, so we will also explain that here when relevant. However, the knowledge of syntax and very basic features will be expected.
  • Clone the GitHub code repository and follow along. Tweak the examples and see what effects you can create.
  • Stay curious. Some of the keywords we mentioned could fill an entire book with unique content. Some of these topics presented are so pervasive that they have decent Wikipedia articles to explain and expand on the concepts. However, knowing the keyword is required to even know what to search for.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788839358