Skip to content

Instantly share code, notes, and snippets.

@CheolhoJeon
Created May 8, 2021 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CheolhoJeon/4caa147184f8b45cefe6162f965a8c83 to your computer and use it in GitHub Desktop.
Save CheolhoJeon/4caa147184f8b45cefe6162f965a8c83 to your computer and use it in GitHub Desktop.
package chap4.Recursion
fun recurse(i: Int): Int = recurse(i + 1)
fun main() {
// println(recurse(1))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment