Sha256: 1d0299e51b930d33e56f445b0c14b436276834f8c754860b0f5ef7d4b8e58fe7

Contents?: true

Size: 325 Bytes

Versions: 226

Compression:

Stored size: 325 Bytes

Contents

defmodule StringSeries do
  @doc """
  Given a string `s` and a positive integer `size`, return all substrings
  of that size. If `size` is greater than the length of `s`, or less than 1,
  return an empty list.
  """
  @spec slices(s :: String.t(), size :: integer) :: list(String.t())
  def slices(_s, _size) do
  end
end

Version data entries

226 entries across 226 versions & 1 rubygems

Version Path
trackler-2.0.8.47 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.46 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.45 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.44 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.43 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.42 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.41 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.40 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.39 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.38 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.37 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.36 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.35 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.34 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.33 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.32 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.31 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.30 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.29 tracks/elixir/exercises/series/series.exs
trackler-2.0.8.28 tracks/elixir/exercises/series/series.exs