Update introduction.rst

Got the error `Can't find import Effects` when attempting this part of the tutorial. Managed to solve it after finding issue #1524, but would have been faster if this flag was mentioned in the tutorial.
This commit is contained in:
Alex Humphreys 2020-03-17 15:09:45 +01:00 committed by GitHub
parent 93cfe987f3
commit 289b0589ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,8 @@ exceptions, and verified resource management.
This tutorial assumes familiarity with pure programming in Idris,
as described in Sections 16 of the main tutorial [1]_. The examples
presented are tested with Idris and can be found in the
examples directory of the Idris repository.
examples directory of the Idris repository. The ``-p effects`` flag
is needed when starting Idris.
Consider, for example, the following introductory function which
illustrates the kind of properties which can be expressed in the type