Sha256: 8179902aedbb393611096dbd6991d5516947ab80f3017e0e1f1ff2c1077d55bc

Contents?: true

Size: 841 Bytes

Versions: 327

Compression:

Stored size: 841 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

327 entries across 327 versions & 1 rubygems

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