Bogdanp / Bogdanp/elm-ast

Stricter type (alias) for module parser?

Open
#8 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Elm
Stars
145
Forks
19
PR merge metrics
No merged PRs in 30d

Description

The parser result is a list of statements at the moment. Are there any plans to add a stricter/richer type or type alias to only support valid combinations of statements, like only one module declaration at the top of the file? This is partially related to the question in https://github.com/Bogdanp/elm-ast/pull/7. Or should something like this be done in some elm-ast-extra package?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.