-
-
Save dimitris-papadimitriou-chr/6fc65d4732fc46cfa2e8b3a75048765d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class Balance { | |
| static Left = new Balance(0, 1) | |
| static Right = new Balance(1, 0) | |
| static Empty = new Balance(0, 0) | |
| L: number | |
| R: number | |
| constructor(l: number, r: number) { | |
| this.L = l; | |
| this.R = r; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment