Sha256: 2ef1d8e7e2be661a8dec4d2d167a40f6436b5df1979ee7145854cc8f9806cf25

Contents?: true

Size: 282 Bytes

Versions: 327

Compression:

Stored size: 282 Bytes

Contents

defmodule Triangle do
  @type kind :: :equilateral | :isosceles | :scalene

  @doc """
  Return the kind of triangle of a triangle with 'a', 'b' and 'c' as lengths.
  """
  @spec kind(number, number, number) :: { :ok, kind } | { :error, String.t }
  def kind(a, b, c) do

  end
end

Version data entries

327 entries across 327 versions & 1 rubygems

Version Path
trackler-2.2.1.109 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.108 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.107 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.106 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.105 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.104 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.103 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.102 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.101 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.100 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.99 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.98 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.97 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.96 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.95 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.94 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.93 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.92 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.91 tracks/elixir/exercises/triangle/triangle.exs
trackler-2.2.1.90 tracks/elixir/exercises/triangle/triangle.exs