View Source Extractly.Tools (Extractly v0.5.4)

Summary

Functions

Extract lines from either a

A convenience function to repeat a string, it is a shortform for

Functions

Link to this function

lines_from_source(source)

View Source

Extract lines from either a

  • file given by name
  • a Stream
  • or returns the list passed in as in a NOP
Link to this function

repeat_string(string, times)

View Source
@spec repeat_string(binary(), non_neg_integer()) :: binary()

A convenience function to repeat a string, it is a shortform for

[str] |> Stream.cycle |> Enum.take(n) |> Enum.join