Last active
March 15, 2023 11:52
-
-
Save konn/f352e4e5f71cad43638ad101b3414516 to your computer and use it in GitHub Desktop.
η-Reduction / Expansion makes SATySFi confused
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
let const a _ = a | |
let always-zero = const 0 | |
let _ = always-zero (always-zero true) % Error! | |
% ^~~~~~~~~~~~~~~~~ | |
% Type Error | |
% this expression has type | |
% int, | |
% but is expected of type | |
% bool. |
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
let const a _ = a | |
let always-zero x = const 0 x | |
let _ = always-zero (always-zero true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment