-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice.gql
More file actions
38 lines (33 loc) · 799 Bytes
/
Copy pathpractice.gql
File metadata and controls
38 lines (33 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## works
match
$a isa minute; $a '06';
$b isa minute; $b '30';
$c isa minute;
$d isa minute;
$e isa remainder;
$f isa remainder;
$z (
addeem: $a,
addorm: $b,
resultm: $c,
remresm: $d,
resrem: $e,
remrem: $f
) isa addmin;
get; offset 0; limit 30;
##
match
$a isa minute; $a == '40';
$b isa minute; $b == '10';
$c isa minute; $c == '50';
$d isa minute; $d == '51';
$e isa remainder; $e == true;
get ; offset 0; limit 30;
match
$a isa minute; $a == '40';
$b isa minute; $b == '10';
$c isa minute; $c == '50';
$d isa minute; $d == '51';
$e isa remainder; $e == true;
$z ($a,$b,$c,$d,$e,$e) isa addmin;
get $z ; offset 0; limit 30;