Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule Concat do
- def content(string) do
- size = byte_size string
- cond do
- size < 200 -> content(string <> string)
- true -> string
- end
- end
- end
- IO.puts Concat.content "123"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement