Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[S03] make infix:<%> be rational if possible
- Loading branch information
Carl Masak
committed
Jun 6, 2014
1 parent
44dd6bd
commit ca66483
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ca66483There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of additional specificity here, but this language seems wrong to me. First, it seems like a very unexpected choice to have
Int % Intto be aRat, when the value is always going to be an integer. Second, surelyFatRat % FatRatshould beFatRatrather thanRat?Unfortunately, I'm having a hard time thinking of better language for this...