Skip to content

Commit

Permalink
pequena correção na criação de um Conjunto de Inteiros, não permitind…
Browse files Browse the repository at this point in the history
…o repetições
  • Loading branch information
Matheus de Souza Pessanha committed Apr 8, 2021
1 parent c77b2ca commit 764ccce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions estrutura-dados.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: e047d4cd0456c3725bd1f27880365391287ea50c4caa3bb7caf6b66c5bd02ad1
-- hash: a3273562e4503fc195b9f9abe282d99132e86f6e77c91f98bbe39f70df116dab

name: estrutura-dados
version: 0.2.1.0
version: 0.3.0.0
description: Please see the README on GitHub at <https://github.com/Mdsp9070/estrutura_de_dados#readme>
homepage: https://github.com/Mdsp9070/estrutura_de_dados#readme
bug-reports: https://github.com/Mdsp9070/estrutura_de_dados/issues
Expand Down
2 changes: 1 addition & 1 deletion src/LE1/ConjuntoInt/TAD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ instance Show a => Show (Conjunto a) where
-- Inrterface Pública

fromList :: [Integer] -> Conjunto Integer
fromList xs = Conjunto xs
fromList xs = Conjunto (nub xs)

criaConjunto :: Conjunto Integer
criaConjunto = mempty
Expand Down

0 comments on commit 764ccce

Please sign in to comment.