Book Image

Learning F# Functional Data Structures and Algorithms

By : Adnan Masood
Book Image

Learning F# Functional Data Structures and Algorithms

By: Adnan Masood

Overview of this book

Table of Contents (21 chapters)
Learning F# Functional Data Structures and Algorithms
Credits
Foreword
Foreword
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

F# implementation of sorting algorithms


In this section, we will review a few common sorting algorithms, and their functional style implementation in F#. Quick sort, bubble sort, and merge sort are fairly easy to understand sorting algorithms and are commonly taught in the introduction to algorithm courses. The purpose of using them here, is to reinforce the idea of functional constructs discussed earlier, and show their usage in a practical setting.