3 ms·
They've added https://hexdocs.pm/file_streams/0.6.0/ https://hexdocs.pm/file_streams/0.6.0/ for this purpose. There's a bit of ceremony but similar to how you
by cess11 2y ago
They've added https://hexdocs.pm/file_streams/0.6.0/ https://hexdocs.pm/file_streams/0.6.0/ for this purpose.
There's a bit of ceremony but similar to how you can interface with Java libraries from Clojure you can pull in Erlang when Gleam isn't enough.
You can do some code shortening with use, https://erikarow.land/notes/using-use-gleam https://erikarow.land/notes/using-use-gleam, but it will likely always be rather chatty and won't support metaprogramming: https://lpil.uk/blog/how-to-add-metaprogramming-to-gleam/ https://lpil.uk/blog/how-to-add-metaprogramming-to-gleam/