Skip to main content
"!",/() evaluates to ,"!" now (list, not atom)
Source Link
ngn
  • 15.3k
  • 2
  • 43
  • 87

K (ngn/k)K (ngn/k), 13 12 bytes

-1 byte from @ngn's savings

{x,/y,'x}"!"

Try it online!Try it online!

Creates a function projection, with x fixed to "!".

  • y,'x pair-wise append an exclamation mark to each character in the input
  • x,/ flatten the list, using "!" as the seed (to prepend the leading "!")

K (ngn/k), 13 12 bytes

-1 byte from @ngn's savings

{x,/y,'x}"!"

Try it online!

Creates a function projection, with x fixed to "!".

  • y,'x pair-wise append an exclamation mark to each character in the input
  • x,/ flatten the list, using "!" as the seed (to prepend the leading "!")

K (ngn/k), 13 12 bytes

-1 byte from @ngn's savings

{x,/y,'x}"!"

Try it online!

Creates a function projection, with x fixed to "!".

  • y,'x pair-wise append an exclamation mark to each character in the input
  • x,/ flatten the list, using "!" as the seed (to prepend the leading "!")
added 95 characters in body
Source Link
coltim
  • 6.1k
  • 7
  • 13

K (ngn/k), 1313 12 bytes

-1 byte from @ngn's savings

{"!"x,/xy,'"'x}"!"}

Try it online!Try it online!

Creates a function projection, with x fixed to "!".

  • xy,'"!"'x pair-wise append an exclamation mark to each character in the input
  • "!"x,/ flatten the list, using "!" as the seed (to prepend the leading "!")

K (ngn/k), 13 bytes

{"!",/x,'"!"}

Try it online!

  • x,'"!" pair-wise append an exclamation mark to each character in the input
  • "!",/ flatten the list, using "!" as the seed (to prepend the leading "!")

K (ngn/k), 13 12 bytes

-1 byte from @ngn's savings

{x,/y,'x}"!"

Try it online!

Creates a function projection, with x fixed to "!".

  • y,'x pair-wise append an exclamation mark to each character in the input
  • x,/ flatten the list, using "!" as the seed (to prepend the leading "!")
Source Link
coltim
  • 6.1k
  • 7
  • 13

K (ngn/k), 13 bytes

{"!",/x,'"!"}

Try it online!

  • x,'"!" pair-wise append an exclamation mark to each character in the input
  • "!",/ flatten the list, using "!" as the seed (to prepend the leading "!")