Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zambal
on Aug 3, 2023
|
parent
|
context
|
favorite
| on:
Elixir for cynical curmudgeons
A bit pedantic I guess, but that still uses some syntactic sugar (optional brackets and keyword syntax). Removing all syntactic sugar would look like this:
defmodule(Foo, [{:do, def(:bar, [{:do, "baz"}])}])
Even aliases (like Foo) are also a kind of syntactic sugar for a specific type of atom (Foo is actually the atom :"Elixir.Foo")
sodapopcan
on Aug 3, 2023
[–]
Ha, ya I meant remove the `do` sugar.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: