Skip to content

Conversation

@xhudik
Copy link
Contributor

@xhudik xhudik commented Mar 30, 2021

the original val cond: (Int, Int) => Boolean = has to be pretty hard for beginners (no notion about _ before, also functions (val) are not so common than procedures def.
Therefore I'd suggest to:

def cond(a: Int, b: Int): Boolean =

which is a standard def with named variables: a,b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants