Created
February 4, 2018 23:40
-
-
Save 46bit/caaacacdda39473284bb0aed150e73be 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
| inputs i; | |
| j = 9 + 1; | |
| a(x) = match x { | |
| 0 => 0, | |
| 1..2 => 1, | |
| 3..4 => 2, | |
| 5..6 | 9 => 3, | |
| _ => 4 | |
| }; | |
| k = 7 / 2 * a(3); | |
| outputs j, k; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment