JanetDocsPlaygroundI'm feeling luckyGitHub sign in

buffer



    cfunction
    src/core/corelib.c on line 362, column 1

    (buffer & xs)

    Creates a buffer by concatenating the elements of `xs` together. If 
    an element is not a byte sequence, it is converted to bytes via 
    `describe`. Returns the new buffer.


2 examplesSign in to add an example
Loading...
(buffer ;(interpose " " [:ant 'bee "cat" ``dog`` @`ewe`]))
# => @"ant bee cat dog ewe"
sogaiuPlayground
(buffer "dude, " "where's " "my " "car?") # => @"dude, where's my car?"
jgartePlayground