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.29 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.28 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.27 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.26 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.25 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.24 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.23 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.22 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.21 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.20 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.19 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.18 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.17 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.16 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.15 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.14 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.13 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.12 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.11 tracks/elixir/exercises/custom-set/custom_set.exs
trackler-2.2.1.10 tracks/elixir/exercises/custom-set/custom_set.exs