Sha256: 31eda9838494674edb316e64d3f59ab432f1277ad8aee4db2131d141d542f7b7

Contents?: true

Size: 843 Bytes

Versions: 69

Compression:

Stored size: 843 Bytes

Contents

defmodule CustomSet do
  @opaque t :: %__MODULE__{map: map}

  @spec new(Enum.t()) :: t
  def new(enumerable) do
  end

  @spec empty?(t) :: boolean
  def empty?(custom_set) do
  end

  @spec contains?(t, any) :: boolean
  def contains?(custom_set, element) do
  end

  @spec subset?(t, t) :: boolean
  def subset?(custom_set_1, custom_set_2) do
  end

  @spec disjoint?(t, t) :: boolean
  def disjoint?(custom_set_1, custom_set_2) do
  end

  @spec equal?(t, t) :: boolean
  def equal?(custom_set_1, custom_set_2) do
  end

  @spec add(t, any) :: t
  def add(custom_set, element) do
  end

  @spec intersection(t, t) :: t
  def intersection(custom_set_1, custom_set_2) do
  end

  @spec difference(t, t) :: t
  def difference(custom_set_1, custom_set_2) do
  end

  @spec union(t, t) :: t
  def union(custom_set_1, custom_set_2) do
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.179 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.178 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.177 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.176 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.175 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.174 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.173 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.172 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.171 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.170 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.169 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.167 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.166 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.165 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.164 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.163 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.162 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.161 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.160 tracks/elixir/exercises/custom-set/custom_set.exs