exercism / exercism/problem-specifications

Update binary search tree documentation

Ouverte
#1,809 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Ruby
Étoiles
358
Forks
563
Merge moyen
18 h 41 min
PR mergées (30 j)
2

Description

In the tests for the `binary-search-tree` exercise, I think this assertion may be wrong as inserting a duplicate value into a BST has no effect (as checked by `bstValue t `shouldBe` Just 4`) and therefore I believe that `bstLeft` should be `Nothing`.

https://github.com/exercism/haskell/blob/23a8841dc163c0f82b9b999a16d5cf41e77c0fe3/exercises/practice/binary-search-tree/test/Tests.hs#L35

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.