Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Union tag docs now can be in parentheses #154

Merged
merged 1 commit into from Jul 22, 2017
Merged

Conversation

@dahlia
Copy link
Member

@dahlia dahlia commented Jul 22, 2017

Fixes #153.

Like record docs, union tag docs also now can be in parentheses e.g.:

union U
    = T1 ()
    # Docs after closing parenthesis still work.
    | T2 (
        # Docs after opening parenthesis now becomes supported. 馃啎
    )
    ;
Fix #153
@dahlia dahlia self-assigned this Jul 22, 2017
@dahlia dahlia requested review from kanghyojun and AiOO Jul 22, 2017
);

union shape
# Type constructors in a sum type become translated to subtypes in OO
# languages, and datatypes in functional languages.
= rectangle (point upper-left, point lower-right)
= rectangle (
# Each tag can have zero or more fields like record types.

This comment has been minimized.

@dahlia dahlia merged commit 7853572 into nirum-lang:master Jul 22, 2017
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants