Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/unicode_guards.ex
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ defmodule Unicode.Guards do
defguard is_printable(codepoint)
when is_integer(codepoint) and match?(codepoint, "[[:printable:]]")


@doc false
# Replaced by `is_graph/1`.
defguard is_visible(codepoint)
Expand Down Expand Up @@ -181,7 +180,6 @@ defmodule Unicode.Guards do
defguard is_blank(codepoint)
when is_integer(codepoint) and match?(codepoint, "[[:blank:]]")


@doc """
Guargs where a UTF8 codepoint is a printing character.

Expand All @@ -191,5 +189,4 @@ defmodule Unicode.Guards do
"""
defguard is_print(codepoint)
when is_integer(codepoint) and match?(codepoint, "[[:print:]]")

end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defmodule Unicode.Guards.MixProject do
defp deps do
[
{:unicode_set, "~> 0.11"},
{:nimble_parsec, "~> 0.5", runtime: false},
{:nimble_parsec, "~> 1.1", runtime: false},
{:benchee, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.19", optional: true, runtime: false}
]
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"ex_unicode": {:hex, :ex_unicode, "1.11.0", "fb7dc40fe909e7e79163dbb3736e4d0e29e8ed5f0ff9d82ab1e95d1f287f7235", [:mix], [{:ex_doc, "~> 0.19", [hex: :ex_doc, repo: "hexpm", optional: false]}], "hexpm", "c2c8dd491a5aa18f9d30e5e765649f54d7c8f224496105f4a67ec73c80e1663c"},
"makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"},
"makeup_elixir": {:hex, :makeup_elixir, "0.14.1", "4f0e96847c63c17841d42c08107405a005a2680eb9c7ccadfd757bd31dabccfb", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "f2438b1a80eaec9ede832b5c41cd4f373b38fd7aa33e3b22d9db79e640cbde11"},
"nimble_parsec": {:hex, :nimble_parsec, "0.6.0", "32111b3bf39137144abd7ba1cce0914533b2d16ef35e8abc5ec8be6122944263", [:mix], [], "hexpm", "27eac315a94909d4dc68bc07a4a83e06c8379237c5ea528a9acff4ca1c873c52"},
"nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"},
"unicode_set": {:hex, :unicode_set, "0.11.0", "0d91d022ac244d29208e8dbaeff2c138046dcba819d9e4b6c437affb4ea50c3e", [:mix], [{:ex_doc, "~> 0.19", [hex: :ex_doc, repo: "hexpm", optional: false]}, {:ex_unicode, "~> 1.11", [hex: :ex_unicode, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "ea7826a32b42e150325600fd7d6d521547af17c00233759e45be610296ee29ac"},
}