Current section

Files

Jump to
newt priv static docs dist search_data-90348EB0.js
Raw

priv/static/docs/dist/search_data-90348EB0.js

searchData={"items":[{"type":"behaviour","title":"Newt","doc":"A low-cost abstraction implementing the NewType pattern in Elixir\n\nThere is no way (currently) to define zero-cost NewTypes in Elixir (like you\ncan in Rust, Haskell, F#, etc.) because Elixir is dynamically typed. However,\nthis library provides a low-cost abstraction that allows you to define\nNewTypes in Elixir with minimal boilerplate.","ref":"Newt.html"},{"type":"macro","title":"Newt.newtype/2","doc":"","ref":"Newt.html#newtype/2"},{"type":"macro","title":"Newt.newtype/3","doc":"","ref":"Newt.html#newtype/3"},{"type":"callback","title":"Newt.validate/1","doc":"","ref":"Newt.html#c:validate/1"},{"type":"extras","title":"Newt","doc":"# Newt\n\nA low-cost abstraction implementing the NewType pattern in Elixir\n\nThere is no way (currently) to define zero-cost NewTypes in Elixir (like you\ncan in Rust, Haskell, F#, etc.) because Elixir is dynamically typed. However,\nthis library provides a low-cost abstraction that allows you to define NewTypes\nin Elixir with minimal boilerplate.","ref":"readme.html"},{"type":"extras","title":"Installation - Newt","doc":"If [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `newt` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n [\n {:newt, \"~> 0.1.0\"}\n ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at .","ref":"readme.html#installation"}],"content_type":"text/markdown","producer":{"name":"ex_doc","version":[48,46,51,52,46,50]}}