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