Recursive Function
// PS:43,
psn
> a15 > 160
//
Scala
type inference cannot infer the return type of recursive
// function
//
@tailrec
Annotation can be used to check tail-call optimization
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment