Skip to content

Cannot substitute x with 0 in sin x #278

Open
@AlephAlpha

Description

I tried this:

substitute [(x, 0)] (sin x)

Egison showed this error:

egison: Prelude.foldl1: empty list

substitute' x 0 (sin x) runs without error and returns sin 0. But when I tried to simplify the result using mathNormalize, it showed the same error again.

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