mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 06:52:19 +03:00
Update introapp.rst
Further explain why the App passed to ``run`` can't throw an exception.
This commit is contained in:
parent
c6a8c9e7a7
commit
69f680e10a
@ -103,5 +103,6 @@ Generalising the ``Path`` parameter with ``l``
|
||||
means that we can invoke ``run`` for any application, whether the ``Path``
|
||||
is ``NoThrow`` or ``MayThrow``. But, in practice, all applications
|
||||
given to ``run`` will not throw at the top level, because the only
|
||||
exception type available is the type ``AppHasIO``. Any exceptions
|
||||
will have been introduced and handled inside the ``App``.
|
||||
exception type available is the type ``AppHasIO``, which is an empty data
|
||||
type (it has no values). Any exceptions will have been introduced and handled
|
||||
inside the ``App``.
|
||||
|
Loading…
Reference in New Issue
Block a user