Skip to content

Conversation

@bygu4
Copy link
Owner

@bygu4 bygu4 commented Feb 26, 2025

No description provided.

Copy link

@yurii-litvinov yurii-litvinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Очень круто, зачтены все

let squaresTree =
Node (1, Empty, Node (4, Empty, Node (9, Empty, Node (16, Empty, Empty))))

map (( * ) 5) Empty |> should equal Tree<int>.Empty

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я как-то больше привык писать (*), а не ( * )

type Expression =
| Const of int
| Operator of Operation * Expression * Expression
and Operation =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут лучше без and, тип нерекурсивный

@bygu4 bygu4 merged commit 3aceb39 into main Aug 2, 2025
4 checks passed
@bygu4 bygu4 deleted the continuation branch August 2, 2025 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants