Skip to content

Support Erlang Guard expressions #61

@michallepicki

Description

@michallepicki

I think it would be great if at least some of the Guard Expressions could be used in Sesterl pattern match clauses. I would very much welcome mainly arithmetic, boolean, short-circuting expressions and comparisons.

It probably doesn't make much sense to support type guards (maybe code generator could insert them some day when concrete types are present if it proves beneficial to performance in benchmarks thanks to Erlang JIT's future type-guided optimizations, there aren't that many of them yet).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions