Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dqv
7y ago
0 comments
Share
Or `Cowboy` with `alias :cowboy, as: Cowboy` ;)
0 comments
default
newest
oldest
latch
7y ago
Stick with the :module notation. This makes it clear that you need to be in "erlang mode"...indexes starting at 1, [probably] charlists instead of binaries, and possibly weird (from an elixir programmer's point of view) argument order.
dnautics
7y ago
To be fair, it's a rare thing to be using an index in elixir at all.
j
/
k
navigate · click thread line to collapse