Think OCaml



Download free course Think OCaml, pdf file on 142 pages by Allen Downey, Nicholas Monje.
How to Think Like a Computer Scientist is an introductory programming book based on the OCaml language. It is a modified version of Think Python by Allen Downey. It is intended for newcomers to programming and also those who know some programming but want to learn programming in the function-oriented paradigm, or those who simply want to learn OCaml.

OCaml is a powerful high-level programming language with a large emphasis on speed and efficiency.

This text leverages the power of the language to teach the reader important concepts in computer science and software design, with an emphasis in experimentation and self-directed learning.

Table of contents

  • The way of the program
  • Variables and Expressions
  • Functions
  • Program Flow
  • Recursive Functions
  • Algorithms
  • Strings
  • Lists
  • Case Study: Regular Expressions
  • Putting the O in OCaml, Part 1: Imperative programming
  • Arrays
  • Hashtables
  • Tuples
  • Records and Custom Data Structures
  • Putting the O in Ocaml Part 2: Objects and Classes
  • Case study: data structure selection
  • Debugging
Pages142
Size0.6 MB
File typePDF
Downloads176
Created2022-02-03
LicenseGNU FDL
Author(s) Allen Downey, Nicholas Monje
Cover of Think OCaml

Download

  • Programming on Parallel Machines: GPU, Multicore, Clusters and More

    Parallel machines provide a wonderful opportunity for applications with large computational requirements. Effeective use of these machines, though, requires a keen understanding of how they work. In only a few years, many standard software products will be based on concepts of parallel programmin...

  • Information ­technology ­project managers' ­competencies

    Download free course Information ­technology ­project managers' ­competencies, pdf file on 269 pages by Carl Marnewick, Wikus Erasmus, Nazeer Joseph....

  • Microservices AntiPatterns and Pitfalls

    Remember when service-oriented architecture (SOA) was all the rage? Companies jumped in before fully understanding SOA's advantages and disadvantages, and struggled to make this complex architecture work. Today, we're poised to repeat this same experience with microservices - only this time we’r...

  • Building the Infrastructure for Cloud Security

    For cloud users and providers alike, security is an everyday concern, yet there are very f..., download free Cloud Security tutorial in PDF (244 pages) created by Raghuram Yeluri ....

  • Efficient Learning Machines

    Download free course Efficient Learning Machines, pdf file on 244 pages by Mariette Awad, Rahul Khanna....

  • Entity-Oriented Search

    Download free course Entity-Oriented Search, pdf file on 351 pages by Krisztian Balog....

  • Complete guide to Adobe Photoshop

    With this pdf tutorial you will be able to create your own project in Photoshop .You will learn all the basics and create a project from scratch. Free training courses designated for student....

  • Lightweight Systems for Realtime Monitoring

    Download free course Lightweight Systems for Realtime Monitoring, pdf file on 27 pages by Sam Newman....

  • Denial of service attacks and network defense

    This PDF tutorial will examine various denial of service attacks and network defense measures taken against them....

  • HackSpace Magazine: Issue 50

    Download free course HackSpace Magazine: Issue 50, pdf file on 116 pages by HackSpace Team....