5
src/cheats/cmp.pir - Perl6 comparison builtins
15
.sub '&infix:<===>' :multi(_,_)
18
$I0 = '!have_exact_same_type'(a, b)
22
.tailcall '&infix:<===>'($P0, $P1)
24
$P0 = get_hll_global [ 'Bool' ], 'False'
29
.sub '&infix:<!===>' :multi(_,_)
32
$P0 = '&infix:<===>'(a, b)
35
# .tailcall '&prefix:!'($P0)
39
.sub '&infix:<=:=>' :multi(_,_)
44
$P0 = get_hll_global [ 'Bool' ], 'True'
47
$P0 = get_hll_global [ 'Bool' ], 'False'
53
.sub '&infix:<!=:=>' :multi(_,_)
56
$P0 = '&infix:<=:=>'(a, b)
57
.tailcall '&prefix:!'($P0)
69
# vim: expandtab shiftwidth=4 ft=pir: