Missing Type
Issue #4
resolved
Many Files depend on :crypto.hash_algorithms
. This type does not exist.
See: https://github.com/erlang/otp/blob/master/lib/crypto/src/crypto.erl 3
Comments (7)
-
repo owner -
repo owner -
Account Deleted reporter I agree that it is odd, but the code really doesn't contain the type. I have never seen any place where the doc mentions types that do not exist.
-
Account Deleted reporter Could you just put
atom
instead? It would be nice to get dialyzer to work. I know that this is way less specific but at least it works. -
Account Deleted reporter @pentacent Are you still actively working on this project? Otherwise I'll have to fork.
-
repo owner Interestingly,
hash_algorithms
has now vanished from the Erlang docs. I’ve added a new type now to reflect this:Belt.Hasher.hash_algorithm
. -
repo owner - changed status to resolved
- Log in to comment
This is odd, I was referring to the
hash_algorithms
type described here: http://erlang.org/doc/man/crypto.html Seems like it’s only defined in the docs … https://github.com/erlang/otp/search?q=hash_algorithmsDo you know if this is common for Erlang to define types only in the docs?