Skip to content

Commit

Permalink
docs: added fix in lab9 text
Browse files Browse the repository at this point in the history
  • Loading branch information
florinrm committed Apr 30, 2024
1 parent 229cddb commit 90745b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell/clase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Pentru că semantic seamănă foarte mult cu `map`, o să-i spunem `treeMap`.
treeMap :: (a -> b) -> BST a -> BST b
treeMap f Empty = Empty
treeMap f (BST info l r) = BST (f info) (treeMap f l) (treeMap f r)
treeMap f (Node info l r) = Node (f info) (treeMap f l) (treeMap f r)
```

Să presupunem că dorim să facem ceva similar și pentru tipul `Maybe`.
Expand Down

0 comments on commit 90745b6

Please sign in to comment.