JanetDocsPlaygroundI'm feeling luckyGitHub sign in

-



    function

    (- & xs)

    Returns the difference of xs. If xs is empty, returns 0. If xs has 
    one element, returns the negative value of that element. Otherwise, 
    returns the first element in xs minus the sum of the rest of the 
    elements.


0 examplesSign in to add an example
Loading...