Toggle the table of contents

Functional programming