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.2.1.109 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.108 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.107 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.106 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.105 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.104 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.103 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.102 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.101 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.100 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.99 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.98 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.97 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.96 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.95 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.94 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.93 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.92 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.91 tracks/elixir/exercises/series/series.exs
trackler-2.2.1.90 tracks/elixir/exercises/series/series.exs