4 ms·
Or `Cowboy` with `alias :cowboy, as: Cowboy` ;)
by dqv 8y ago
Or `Cowboy` with `alias :cowboy, as: Cowboy` ;)
- latch 8y agoStick 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 8y agoTo be fair, it's a rare thing to be using an index in elixir at all.