Skip to content

Too many variables, need help. #119

@gaoryrt

Description

@gaoryrt

Brilliant repo!
I was trying to write a fib function, but I got too many variables, is there anyway avoiding it?

Here's my fib code:

吾有一術。名之曰「斐波那契」。
欲行是術。必先得一數。曰「囊」。乃行是術曰。
若囊小於三者。
  乃得一。
若非。
  減囊以一。名之曰「甲」。
  施「斐波那契」於甲名之曰「左」。
  減甲以一。名之曰「乙」。
  施「斐波那契」於乙名之曰「右」。
  加左於右名之曰「答」
  乃得「答」也。
是謂「斐波那契」之術也。

Can I do the same thing without declaring ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions