Skip to content

Commit

Permalink
Cosmetic fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
am-kantox committed Jun 19, 2017
1 parent 7fdf0bf commit c2efb0a
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions lib/string_naming.ex
Expand Up @@ -40,18 +40,18 @@ defmodule String.Naming do

@categories Application.get_env(:string_naming, :categories)

data_path = Path.join([__DIR__, "string_naming", "unicode", "NamesList.txt"])

~S"""
0021 EXCLAMATION MARK
= factorial
= bang
x (inverted exclamation mark - 00A1)
x (latin letter retroflex click - 01C3)
"""

data_path = Path.join([__DIR__, "string_naming", "unicode", "NamesList.txt"])

extract_prop = fn
_rest, [_category, _names, _props] = acc ->
# TODO make properties available as well
# IO.inspect rest, label: "★ property"
acc
end
Expand Down Expand Up @@ -113,14 +113,6 @@ defmodule String.Naming do

String.Naming.H.nesteds(["String", "Naming"], names_tree)


#for {code, name} <- names do
# IO.inspect "★ #{code} :: #{name}"
# def unquote(name)() do
# <<String.to_integer(unquote(code), 16)::utf8>>
# end
#end

end

:code.delete String.Naming.H
Expand Down

0 comments on commit c2efb0a

Please sign in to comment.