NicklasXYZ / erlang

πŸ™ Extra code for when running on Erlang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gleam Erlang πŸ™

A library for making use of Erlang specific code!

Features

  • Typed Erlang processes and message sending.
  • Erlang binary format (de)serialisation.
  • Functions for working with Erlang's charlists.
  • Reading, writing, and deletion of files.

Usage

Add this library to your Gleam project

gleam add gleam_erlang

And then use it in your code

import gleam/io
import gleam/erlang/file

pub fn main() {
  assert Ok(contents) = file.read("pokedex.txt")
  io.println(contents)
}

Documentation can be found at https://hexdocs.pm/gleam_erlang/.

About

πŸ™ Extra code for when running on Erlang

License:Apache License 2.0


Languages

Language:Gleam 89.8%Language:Erlang 10.2%