Skip to content

Triangle exercise is already complete #361

@TheRealOwenRees

Description

@TheRealOwenRees

When running npm run start in the Triangle exercise, ./src/Triangle.re is generated with the solution, with all tests passing. Image attached for reference.

I believe this is due to the fact that https://github.com/exercism/reasonml/blob/main/exercises/practice/triangle/src/Triangle.re contains the solution already. The other .re files in other exercises are empty. npm run start generates Triangle.bs.js which the tests are compared against, passing all.

Solution
Delete the code from ./src/Triangle.re in line with the other exercises. The user will have to create this file as they do in other exercises.

Image Image

Metadata

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