Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jolux
on June 12, 2023
|
parent
|
context
|
favorite
| on:
Scripting with Elixir
you can define functions outside of a module using fn blocks
throwawaymaths
on June 12, 2023
|
next
[–]
There's good odds it will come to elixir, since support just landed in Erlang
erszcz
on June 13, 2023
|
parent
|
next
[–]
To be specific, it has landed in the Erlang shell with Erlang/OTP 26. Defining inline functions in source code, on the other hand, has been possible for years (like 20+ years).
skndr
on June 12, 2023
|
prev
[–]
There's also defining a module and then `import`ing it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: