NEWTON

NEWTON


Popular tags

    Cairo: Cannot unpack multiplication error

    Asked

    4 months ago

    11

    views


    0

    I am getting the following error:

    

    Cannot unpack base * currVal. from

    let (newVal) = base * currVal

    Can someone help me understand what this issue is about?

    This question was originally posted on Triality

      cairocairo-lang

    1 answers

    0

    You are trying to unpack the result of the multiplication into a tuple. Remove the parenthesis around newVal ex:

    let newVal = base * currVal

    This answer was originally posted on Triality

    answered

    4 months ago

    Your answer

    NEWTON

    NEWTON