Missing Type

Issue #4 resolved
Former user created an issue

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)

  1. Former user 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.

  2. Former user 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.

  3. Former user Account Deleted reporter

    @pentacent Are you still actively working on this project? Otherwise I'll have to fork.

  4. pentacent 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.

  5. Log in to comment