News for hackers. Stuff that matters.
Re:Learning Elixir: My side-project by ch4s3 on Thursday July 06, 2017 @10:40AM (#14710739)
There are typespec annotations. The syntax using guards allows you to have for example:

def backlog(board_id) when is_integer(board_id), do: something

and

def backlog(board_id) when is_list(board_id), do: some_list_thing

There are no comments on this comment yet.