Skip to content

Add a putstr method to the Print trait#126

Closed
Champii wants to merge 1 commit intodevelopfrom
putstr_method
Closed

Add a putstr method to the Print trait#126
Champii wants to merge 1 commit intodevelopfrom
putstr_method

Conversation

@Champii
Copy link
Copy Markdown
Owner

@Champii Champii commented Jun 19, 2022

No description provided.

@Champii Champii added the enhancement New feature or request label Jun 19, 2022
@Champii Champii self-assigned this Jun 19, 2022
@Champii Champii linked an issue Jun 19, 2022 that may be closed by this pull request
Comment thread std/src/print.rk
putstr: a => Int64

# Here we would need generic impl
# Here we would need generic impl and/or default impl
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really need this, I don't like the repetition for each type
This is some serious boilerplate that we could get rid of

@Champii Champii marked this pull request as draft June 20, 2022 16:42
@Champii
Copy link
Copy Markdown
Owner Author

Champii commented Jun 20, 2022

This has been implemented in #128

@Champii Champii closed this Jun 20, 2022
@Champii Champii deleted the putstr_method branch June 20, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCE] Print and Println distinction

1 participant