Lesson 10: Using inference

In this lesson, we’ll learn how to write and use functions effectively. We’ll start by seeing functions can be used like views in order to abstract complex query patterns into more maintainable forms. Then we’ll explore how we can use functions to build networks of logic, covering function chaining and recursion, allowing us to create complex behaviour from simple functions.

  • You should complete Lesson 8 before starting this lesson.

Lesson contents

Learn how to create simple abstractions for complex patterns.

Learn how to chain functions, into each other and recursively.