mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00

Figuring out what this module was doing, and why, took me a bit less than half an hour. We should document what's happening for others in the future so they don't need to follow up on Zulip necessarily.
22 lines
693 B
Text
22 lines
693 B
Text
procedure Bool.7 (#Attr.2, #Attr.3):
|
|
let Test.11 : Builtin(Bool) = lowlevel Eq #Attr.2 #Attr.3;
|
|
ret Test.11;
|
|
|
|
procedure Test.1 (Test.3):
|
|
let Test.6 : Builtin(Int(I64)) = 10i64;
|
|
joinpoint Test.8 Test.13:
|
|
if Test.13 then
|
|
let Test.7 : Builtin(Int(I64)) = 0i64;
|
|
ret Test.7;
|
|
else
|
|
let Test.12 : Builtin(Int(I64)) = 42i64;
|
|
ret Test.12;
|
|
in
|
|
let Test.10 : Builtin(Int(I64)) = 5i64;
|
|
let Test.9 : Builtin(Bool) = CallByName Bool.7 Test.6 Test.10;
|
|
jump Test.8 Test.9;
|
|
|
|
procedure Test.0 ():
|
|
let Test.5 : Struct([]) = Struct {};
|
|
let Test.4 : Builtin(Int(I64)) = CallByName Test.1 Test.5;
|
|
ret Test.4;
|