Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 545 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 545 Bytes

phfly

Solving https://protohackers.com challenges using Erlang.

Dependencies:

  • Ranch as a socket acceptor.
  • Thoas json parser
  • gproc for process registry and pubsub

Each solution is in a module implementing the ranch_protocol behavior.

The config file at config/sys.config controls which behavior is used at runtime.

To pass the problems, a server must be running. A fly.toml file is provided to host on https://fly.io.