Header logo.
small hallucinations
homeyearstagsaboutrss

TIL 251014

Claude Sonnet 4 generates good Elixir code, except when it adds return at the end of a function.

You can run a .exs file from terminal by doing this:

mix run my_script.exs "arg"

If you have set up your script like this:

1defmodule MyModule do
2  def main(args) do
3    ## omitted
4  end
5end
6
7MyModule.main(System.argv())