Packages
Implementation of Unicode Sets and Regexes for Elixir that can be used in function guards, compiled patterns, nimble_parsec combinators and regexes.
Current section
Files
Jump to
Current section
Files
lib/set/protocol.ex
defimpl String.Chars, for: Unicode.Set do
def to_string(%Unicode.Set{set: set}) do
set
end
end
defimpl Inspect, for: Unicode.Set do
def inspect(%Unicode.Set{set: set}, _) do
"#Unicode.Set<" <> set <> ">"
end
end