fram-lang / fram-lang/dbl

Modules as ADTs

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
1. type inference proposal
Dominant language
OCaml
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Each module could have distinguished type, that could be accessed by providing only the module name (the same feature as `this` types in Helium). The motivation is to write `List` instead of `List.T` or `List.List` for library-defined types. This feature will work well with #44, as regular ADT could be a module with constructors and single distinguished type. On the other hand, without #34 it would give terrible error messages. The concrete syntax should be determined.

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.