hex logo Hex
Packages Pricing Docs
Log In
Packages Pricing Docs Log In
Packages

type_check

0.4.0
0.13.7 0.13.6 0.13.5 0.13.4 0.13.3 0.13.2 0.13.1 0.12.4 0.12.3 0.12.2 0.12.1 0.12.0 0.11.0 0.10.8 0.10.7 0.10.6 0.10.5 0.10.4 0.10.3 0.10.2 0.10.1 0.10.0 0.9.0 0.8.2 0.8.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.2 0.3.1 0.3.0 0.2.3 0.2.2 0.2.1 0.2.0 0.1.2 0.1.1 0.1.0

Fast and flexible runtime type-checking: Type checks are optimized by the compiler and types can be composed, re-used and turned into property-testing generators. TypeCheck also focuses on showing understandable messages on typecheck-failures.

HexDocs

Current section

Files

Jump to
Readme
40 Versions
1 Dependency
Dependants
Files
Activity
Readme 40 Versions 1 Dependency Dependants Files Activity
type_check lib type_overrides.ex
Raw

50 files

  • lib
    • type_check
      • builtin
        • any.ex
        • atom.ex
        • binary.ex
        • bitstring.ex
        • boolean.ex
        • fixed_list.ex
        • fixed_map.ex
        • fixed_tuple.ex
        • float.ex
        • function.ex
        • guarded.ex
        • implements_protocol.ex
        • integer.ex
        • lazy.ex
        • list.ex
        • literal.ex
        • map.ex
        • named_type.ex
        • neg_integer.ex
        • non_neg_integer.ex
        • none.ex
        • number.ex
        • one_of.ex
        • pos_integer.ex
        • range.ex
        • tuple.ex
      • internals
        • bootstrap
          • macros.ex
        • bootstrap.ex
        • compilation_checker.ex
        • overrides.ex
        • pre_expander.ex
        • to_typespec.ex
      • protocols
        • inspect.ex
        • to_check.ex
        • to_stream_data.ex
      • type
        • stream_data.ex
      • type_error
        • default_formatter.ex
        • formatter.ex
      • builtin.ex
      • macros.ex
      • options.ex
      • spec.ex
      • type.ex
      • type_error.ex
    • type_check.ex
    • type_overrides.ex
  • Comparing TypeCheck and Norm.md
  • LICENSE
  • README.md
  • mix.exs

    No matching files

    Package files

      No matching files

      lib/type_overrides.ex

      defmodule TypeOverrides do
      use TypeCheck
      import TypeCheck.Builtin
      @type! custom_enum() :: impl(Enumerable)
      end
      hex logo Hex
      About Blog Sponsors Status Advisories
      Documentation FAQ Specifications Report Client Issue Report General Issue Report Security Issue Contact Support
      Code of Conduct Terms of Service Privacy Policy Copyright Policy Dispute Policy

      Copyright 2015. Six Colors AB.

      Powered by the Erlang VM and the Elixir Programming Language

      Search filters

      Type any of these into the search box. They can be combined with free text which searches package names and descriptions.

      Operator Description Example
      name: Match package name. Supports * wildcards and repo/package form name:phx* or name:hexpm/phoenix
      description: Full-text search of package descriptions description:auth
      depends: Packages depending on a given package. Supports repo:package form depends:ecto or depends:hexpm:ecto
      build_tool: Filter by build tool build_tool:mix
      updated_after: Packages updated after an ISO8601 datetime updated_after:2025-01-01T00:00:00Z
      extra: Match custom metadata (key,value). Nested keys are separated by commas extra:license,MIT

      Wrap values in double quotes to include spaces, e.g. name:"my package".