Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Conditional : #80

Description

@saleynik

In Elixir the positioning of : has a meaning. If the : is on the left side of a word, that's an atom, and such values shouldn't be broken apart, so:

type: :a | :b,
id: atom(),
other: :c | :def,
value: Quantity.t(),

needs to be aligned like this (preserving the atoms:

type:   :a | :b,
id:     atom(),
other:  :c | :def,
value:  Quantity.t(),

instead of:

type:   :             a | : b,
id:     atom(),
other:  :             c | : def,
value:  Quantity.t(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions