Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dqv
7y ago
0 comments
Save
Share
Or `Cowboy` with `alias :cowboy, as: Cowboy` ;)
0 comments
2 comments · 1 top-level
top
newest
oldest
latch
7y ago
· 1 in thread
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