1
0
mirror of https://github.com/avitex/elixir-glicko synced 2025-04-19 06:09:58 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Mikael Muszynski
ce08ab5e24 Convert Player (v1/v2) and Result to structs
In an effort to give names to core concepts in the library, replace the
current way of passing around tuples (of varying length and content)
with appropriately named structs.

As a consequence of creating `Player.{V1, V2}` and `Result`, a variety
of functions that extracted values out of the tuples have either been
removed or changed to access struct fields instead.
2020-02-21 22:53:28 +01:00
Mikael Muszynski
e22c34f2ff Run mix format (#1)
Add formatter configuration and run `mix format`.

Additionally, manually replace leading tabs in documentation examples
with four spaces.
2020-01-19 13:58:40 +00:00
avitex
faf5218189 Use tuples exclusively to represent players and results 2017-11-17 11:08:25 +11:00
avitex
b6dd4c2dee Support using tuples 2017-11-16 22:44:01 +11:00