We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We cover most of what Wallet does in TypeExercises with Person. Do we need to double up?
//Type -> String def showWallet(wallet: Wallet): String = ???
is the same as:
def showPerson1(person: Person): String def showPerson2(person: Person): String
//immutable copy def purchase(cost: Double, wallet: Wallet): Wallet = ???
def changeName(newName: String, person: Person): Person = ???
The text was updated successfully, but these errors were encountered:
I think this is a good one to keep.
Redundancy may be useful at this point since this is right at the very beginning.
Sorry, something went wrong.
No branches or pull requests
We cover most of what Wallet does in TypeExercises with Person. Do we need to double up?
is the same as:
is the same as:
The text was updated successfully, but these errors were encountered: