Skip to content

Exceptions in pure code #172

@ford-prefect

Description

@ford-prefect

Currently, if we have bad code that throws an exception despite being annotated as being pure, it seems to put Aff into a bad state where no more callbacks occur. I've written up an example at:

https://github.com/ford-prefect/purescript-sandbox

This is of course just bad code, but it might make sense to be defensive against this if there isn't a significant cost, as there are cases with a significant surface of JS interop, which can make for more common programming errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions