@mattpolzin/harmony 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -1
  2. package/harmony +805 -664
  3. package/package.json +1 -1
package/harmony CHANGED
@@ -366,17 +366,22 @@ const { Octokit } = require('octokit')
366
366
  const okit_octokit = authToken =>
367
367
  new Octokit({ auth: authToken })
368
368
 
369
+ // Note that every Octokit FFI function uses idris__okit_stringify_error
370
+ // which results in onFailure being called with a JSON string of the following structure:
371
+ // { "status": <http status code>, "error": <error string> }
369
372
  const idris__okit_unpromisify = (promise, onSuccess, onFailure) =>
370
- promise.then(r => onSuccess(r)(), e => onFailure(e)())
373
+ promise.then(r => onSuccess(r)(), e => idris__okit_stringify_error(onFailure)(e)())
371
374
 
372
375
  const idris__okit_stringify_error = (fn) => (err) => {
376
+ const status = err.response.status;
373
377
  const url = err.response.url
374
378
  const msg = err.response.data.message
375
379
  const details =
376
380
  Array.isArray(err.response.data.errors)
377
381
  ? '\n - ' + err.response.data.errors.map(e => e.message).join('\n - ')
378
382
  : ''
379
- return fn('GitHub Error: ' + msg + ' (' + url + ')' + details)
383
+ const json = { status: status, error: 'GitHub Error: ' + msg + ' (' + url + ')' + details }
384
+ return fn(JSON.stringify(json))
380
385
  }
381
386
 
382
387
  const newline_delimited = array =>
@@ -391,22 +396,22 @@ const from_comma_delimited = str => {
391
396
  const digDefaultBranch = repoJson =>
392
397
  repoJson.default_branch
393
398
 
394
- const okit_get_repo_default_branch = (octokit, org, repo, onSuccess, onFailure) =>
399
+ const okit_get_repo_default_branch = (octokit, owner, repo, onSuccess, onFailure) =>
395
400
  idris__okit_unpromisify(
396
- octokit.rest.repos.get({ owner: org, repo }),
401
+ octokit.rest.repos.get({ owner, repo }),
397
402
  r => onSuccess(digDefaultBranch(r.data)),
398
- idris__okit_stringify_error(onFailure)
403
+ onFailure
399
404
  )
400
405
 
401
406
  // get repo labels
402
407
  const digLabelNames = labelsJson =>
403
408
  labelsJson.map(l => l.name)
404
409
 
405
- const okit_list_repo_labels = (octokit, org, repo, onSuccess, onFailure) =>
410
+ const okit_list_repo_labels = (octokit, owner, repo, onSuccess, onFailure) =>
406
411
  idris__okit_unpromisify(
407
- octokit.rest.issues.listLabelsForRepo({ owner: org, repo, per_page: 100 }),
412
+ octokit.rest.issues.listLabelsForRepo({ owner, repo, per_page: 100 }),
408
413
  r => onSuccess(newline_delimited(digLabelNames(r.data))),
409
- idris__okit_stringify_error(onFailure)
414
+ onFailure
410
415
  )
411
416
 
412
417
  // list teams
@@ -418,7 +423,7 @@ const okit_list_teams = (octokit, org, onSuccess, onFailure) =>
418
423
  idris__okit_unpromisify(
419
424
  octokit.rest.teams.list({ org, per_page: 100 }),
420
425
  r => onSuccess(newline_delimited(digTeams(r.data))),
421
- idris__okit_stringify_error(onFailure)
426
+ onFailure
422
427
  )
423
428
 
424
429
  // Executes callback with [String] (string array)
@@ -426,7 +431,7 @@ const okit_list_my_teams = (octokit, onSuccess, onFailure) =>
426
431
  idris__okit_unpromisify(
427
432
  octokit.rest.teams.listForAuthenticatedUser({per_page: 100}),
428
433
  r => onSuccess(newline_delimited(digTeams(r.data))),
429
- idris__okit_stringify_error(onFailure)
434
+ onFailure
430
435
  )
431
436
 
432
437
  // list PRs for branch
@@ -451,7 +456,7 @@ const okit_list_pull_requests_for_branch = (octokit, owner, repo, branch, onSucc
451
456
  idris__okit_unpromisify(
452
457
  octokit.rest.pulls.list({ owner, repo, head: `${owner}:${branch}`, state: 'open', per_page: 10 }),
453
458
  r => onSuccess(JSON.stringify(digPrs(r.data))),
454
- idris__okit_stringify_error(onFailure)
459
+ onFailure
455
460
  )
456
461
 
457
462
  // Create PR
@@ -460,7 +465,7 @@ const okit_create_pr = (octokit, owner, repo, head, base, title, body, isDraft,
460
465
  idris__okit_unpromisify(
461
466
  octokit.rest.pulls.create({ owner, repo, head, base, title, body, draft: Boolean(isDraft) }),
462
467
  r => onSuccess(JSON.stringify(digPr(r.data))),
463
- idris__okit_stringify_error(onFailure)
468
+ onFailure
464
469
  )
465
470
 
466
471
 
@@ -470,7 +475,7 @@ const okit_create_comment = (octokit, owner, repo, issue_number, body, onSuccess
470
475
  idris__okit_unpromisify(
471
476
  octokit.rest.issues.createComment({ owner, repo, issue_number: Number(issue_number), body }),
472
477
  r => onSuccess(""),
473
- idris__okit_stringify_error(onFailure)
478
+ onFailure
474
479
  )
475
480
 
476
481
  // list PR reviewers
@@ -482,7 +487,7 @@ const okit_list_reviewers = (octokit, owner, repo, state, per_page, onSuccess, o
482
487
  idris__okit_unpromisify(
483
488
  octokit.rest.pulls.list({ owner, repo, state, per_page }),
484
489
  r => onSuccess(newline_delimited(digReviewers(r.data))),
485
- idris__okit_stringify_error(onFailure)
490
+ onFailure
486
491
  )
487
492
 
488
493
  // list PRs
@@ -491,7 +496,7 @@ const okit_list_pull_requests = (octokit, owner, repo, state, per_page, page, on
491
496
  idris__okit_unpromisify(
492
497
  octokit.rest.pulls.list({ owner, repo, state, per_page, page }),
493
498
  r => onSuccess(JSON.stringify(digPrs(r.data))),
494
- idris__okit_stringify_error(onFailure)
499
+ onFailure
495
500
  )
496
501
 
497
502
  // add PR reviewers
@@ -502,7 +507,7 @@ const okit_add_reviewers = (octokit, owner, repo, pull_number, reviewers, team_r
502
507
  idris__okit_unpromisify(
503
508
  octokit.rest.pulls.requestReviewers({ owner, repo, pull_number: Number(pull_number), reviewers: from_comma_delimited(reviewers), team_reviewers: from_comma_delimited(team_reviewers) }),
504
509
  r => onSuccess(newline_delimited(digReviewers([r.data]))),
505
- idris__okit_stringify_error(onFailure)
510
+ onFailure
506
511
  )
507
512
 
508
513
  // list PR reviews
@@ -521,7 +526,7 @@ const okit_add_labels = (octokit, owner, repo, pull_number, labels, onSuccess, o
521
526
  idris__okit_unpromisify(
522
527
  octokit.rest.issues.addLabels({ owner, repo, issue_number: Number(pull_number), labels: from_comma_delimited(labels) }),
523
528
  r => onSuccess(newline_delimited(digLabelNames(r.data))),
524
- idris__okit_stringify_error(onFailure)
529
+ onFailure
525
530
  )
526
531
 
527
532
  // Executes callback with [{author: String, state: String, submitted_at: String}]
@@ -529,7 +534,7 @@ const okit_list_pr_reviews = (octokit, owner, repo, pull_number, onSuccess, onFa
529
534
  idris__okit_unpromisify(
530
535
  octokit.rest.pulls.listReviews({ owner, repo, pull_number: Number(pull_number) }),
531
536
  r => onSuccess(JSON.stringify(digReviews(r.data))),
532
- idris__okit_stringify_error(onFailure)
537
+ onFailure
533
538
  )
534
539
 
535
540
  // list team members
@@ -541,7 +546,7 @@ const okit_list_team_members = (octokit, org, team_slug, onSuccess, onFailure) =
541
546
  idris__okit_unpromisify(
542
547
  octokit.rest.teams.listMembersInOrg({ org, team_slug }),
543
548
  r => onSuccess(newline_delimited(digUserLogins(r.data))),
544
- idris__okit_stringify_error(onFailure)
549
+ onFailure
545
550
  )
546
551
 
547
552
  // list org members
@@ -550,7 +555,7 @@ const okit_list_org_members = (octokit, org, onSuccess, onFailure) =>
550
555
  idris__okit_unpromisify(
551
556
  octokit.rest.orgs.listMembers({ org, per_page: 100 }),
552
557
  r => onSuccess(newline_delimited(digUserLogins(r.data))),
553
- idris__okit_stringify_error(onFailure)
558
+ onFailure
554
559
  )
555
560
 
556
561
  // get user details
@@ -563,7 +568,7 @@ const okit_get_user = (octokit, username, onSuccess, onFailure) =>
563
568
  idris__okit_unpromisify(
564
569
  octokit.rest.users.getByUsername({ username }),
565
570
  r => onSuccess(JSON.stringify(digUser(r.data))),
566
- idris__okit_stringify_error(onFailure)
571
+ onFailure
567
572
  )
568
573
 
569
574
  // get authed user details (self)
@@ -572,7 +577,7 @@ const okit_get_self = (octokit, onSuccess, onFailure) =>
572
577
  idris__okit_unpromisify(
573
578
  octokit.rest.users.getAuthenticated(),
574
579
  r => onSuccess(JSON.stringify(digUser(r.data))),
575
- idris__okit_stringify_error(onFailure)
580
+ onFailure
576
581
  )
577
582
 
578
583
 
@@ -872,7 +877,7 @@ function x24tcOpt_1($0) {
872
877
  case 0: return {h: 0 /* {TcDone:1} */, a1: $0.a5};
873
878
  default: {
874
879
  const $17 = {a1: $0.a5.a1.a1, a2: $0.a5.a1.a2, a3: $0.a5.a1.a3};
875
- const $1b = Data_List_DeleteBy_deleteByx27($1e => $1f => Prelude_Basics_on($22 => $23 => $0.a1.a1.a1($22)($23), csegen_606(), $1e, $1f), $17, $0.a6);
880
+ const $1b = Data_List_DeleteBy_deleteByx27($1e => $1f => Prelude_Basics_on($22 => $23 => $0.a1.a1.a1($22)($23), csegen_612(), $1e, $1f), $17, $0.a6);
876
881
  switch($1b.a1.h) {
877
882
  case 0: /* nothing */ {
878
883
  switch($0.a8) {
@@ -887,7 +892,7 @@ function x24tcOpt_1($0) {
887
892
  }
888
893
  default: {
889
894
  const $6a = {a1: $0.a5.a1.a1, a2: $0.a5.a1.a2, a3: $0.a5.a1.a3};
890
- const $6e = Data_List_DeleteBy_deleteByx27($71 => $72 => Prelude_Basics_on($75 => $76 => $0.a1.a1.a1($75)($76), csegen_606(), $71, $72), $6a, $0.a6);
895
+ const $6e = Data_List_DeleteBy_deleteByx27($71 => $72 => Prelude_Basics_on($75 => $76 => $0.a1.a1.a1($75)($76), csegen_612(), $71, $72), $6a, $0.a6);
891
896
  switch($6e.a1.h) {
892
897
  case 0: /* nothing */ {
893
898
  switch($0.a8) {
@@ -912,7 +917,7 @@ function x24tcOpt_1($0) {
912
917
  case 0: return {h: 0 /* {TcDone:1} */, a1: $0.a5};
913
918
  default: {
914
919
  const $c1 = {a1: $0.a5.a1.a1, a2: $0.a5.a1.a2, a3: $0.a5.a1.a3};
915
- const $c5 = Data_List_DeleteBy_deleteByx27($c8 => $c9 => Prelude_Basics_on($cc => $cd => $0.a1.a1.a1($cc)($cd), csegen_606(), $c8, $c9), $c1, $0.a6);
920
+ const $c5 = Data_List_DeleteBy_deleteByx27($c8 => $c9 => Prelude_Basics_on($cc => $cd => $0.a1.a1.a1($cc)($cd), csegen_612(), $c8, $c9), $c1, $0.a6);
916
921
  switch($c5.a1.h) {
917
922
  case 0: /* nothing */ {
918
923
  switch($0.a8) {
@@ -927,7 +932,7 @@ function x24tcOpt_1($0) {
927
932
  }
928
933
  default: {
929
934
  const $114 = {a1: $0.a5.a1.a1, a2: $0.a5.a1.a2, a3: $0.a5.a1.a3};
930
- const $118 = Data_List_DeleteBy_deleteByx27($11b => $11c => Prelude_Basics_on($11f => $120 => $0.a1.a1.a1($11f)($120), csegen_606(), $11b, $11c), $114, $0.a6);
935
+ const $118 = Data_List_DeleteBy_deleteByx27($11b => $11c => Prelude_Basics_on($11f => $120 => $0.a1.a1.a1($11f)($120), csegen_612(), $11b, $11c), $114, $0.a6);
931
936
  switch($118.a1.h) {
932
937
  case 0: /* nothing */ {
933
938
  switch($0.a8) {
@@ -2462,17 +2467,17 @@ const csegen_52 = __lazy(function () {
2462
2467
 
2463
2468
  /* {csegen:65} */
2464
2469
  const csegen_65 = __lazy(function () {
2465
- return () => ({a1: b => a => func => $1 => $2 => $3 => Data_Promise_map_Functor_Promise(func, $1, $2, $3), a2: a => $a => $b => $c => Data_Promise_pure_Applicative_Promise($a, $b, $c), a3: b => a => $12 => $13 => $14 => $15 => Data_Promise_x3cx2ax3e_Applicative_Promise($12, $13, $14, $15)});
2470
+ return () => ({a1: b => a => func => $1 => $2 => $3 => Data_Promise_map_Functor_x28Promisex20x24ex29(func, $1, $2, $3), a2: a => $a => $b => $c => Data_Promise_pure_Applicative_x28Promisex20x24ex29($a, $b, $c), a3: b => a => $12 => $13 => $14 => $15 => Data_Promise_x3cx2ax3e_Applicative_x28Promisex20x24ex29($12, $13, $14, $15)});
2466
2471
  });
2467
2472
 
2468
2473
  /* {csegen:70} */
2469
2474
  const csegen_70 = __lazy(function () {
2470
- return () => ({a1: csegen_65()(), a2: b => a => $4 => $5 => $6 => $7 => Data_Promise_x3ex3ex3d_Monad_Promise($4, $5, $6, $7), a3: a => $e => Data_Promise_join_Monad_Promise($e)});
2475
+ return () => ({a1: csegen_65()(), a2: b => a => $4 => $5 => $6 => $7 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($4, $5, $6, $7), a3: a => $e => Data_Promise_join_Monad_x28Promisex20x24ex29($e)});
2471
2476
  });
2472
2477
 
2473
2478
  /* {csegen:73} */
2474
2479
  const csegen_73 = __lazy(function () {
2475
- return () => ({a1: csegen_70()(), a2: a => $4 => $5 => $6 => $7 => Data_Promise_liftIO_HasIO_Promise($4, $5, $6, $7)});
2480
+ return () => ({a1: csegen_70()(), a2: a => $4 => $5 => $6 => $7 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($4, $5, $6, $7)});
2476
2481
  });
2477
2482
 
2478
2483
  /* {csegen:74} */
@@ -2623,163 +2628,163 @@ const csegen_317 = __lazy(function () {
2623
2628
  return {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Optionally apply any number of labels by prefixing them with \'#\'.'), a2: {h: 0}};
2624
2629
  });
2625
2630
 
2626
- /* {csegen:351} */
2627
- const csegen_351 = __lazy(function () {
2628
- return {a1: Help_argument(1, '<team-slug>'), a2: {h: 0}};
2629
- });
2630
-
2631
- /* {csegen:407} */
2632
- const csegen_407 = __lazy(function () {
2633
- return $0 => $1 => $2 => $3 => Data_Promise_x3ex3ex3d_Monad_Promise($0, $1, $2, $3);
2631
+ /* {csegen:409} */
2632
+ const csegen_409 = __lazy(function () {
2633
+ return () => $0 => $0.a2;
2634
2634
  });
2635
2635
 
2636
- /* {csegen:408} */
2637
- const csegen_408 = __lazy(function () {
2638
- return $0 => $1 => Data_Promise_either(csegen_52(), Data_PullRequest_parsePullRequestsString($0), $1);
2636
+ /* {csegen:411} */
2637
+ const csegen_411 = __lazy(function () {
2638
+ return $0 => $1 => $2 => $3 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($0, $1, $2, $3);
2639
2639
  });
2640
2640
 
2641
- /* {csegen:409} */
2642
- const csegen_409 = __lazy(function () {
2643
- return $0 => $1 => Data_Promise_either(csegen_52(), Data_User_parseUserString($0), $1);
2641
+ /* {csegen:412} */
2642
+ const csegen_412 = __lazy(function () {
2643
+ return $0 => $1 => Data_Promise_either(Data_PullRequest_parsePullRequestsString($0), $1);
2644
2644
  });
2645
2645
 
2646
2646
  /* {csegen:414} */
2647
2647
  const csegen_414 = __lazy(function () {
2648
+ return $0 => $1 => Data_Promise_either(Data_User_parseUserString($0), $1);
2649
+ });
2650
+
2651
+ /* {csegen:419} */
2652
+ const csegen_419 = __lazy(function () {
2648
2653
  return $0 => $1 => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29($0, $1);
2649
2654
  });
2650
2655
 
2651
- /* {csegen:427} */
2652
- const csegen_427 = __lazy(function () {
2656
+ /* {csegen:432} */
2657
+ const csegen_432 = __lazy(function () {
2653
2658
  return $0 => Language_JSON_Accessors_array($3 => Data_PullRequest_parsePR($3), $0);
2654
2659
  });
2655
2660
 
2656
- /* {csegen:435} */
2657
- const csegen_435 = __lazy(function () {
2658
- return () => $0 => $1 => $2 => Data_Promise_pure_Applicative_Promise($0, $1, $2);
2661
+ /* {csegen:440} */
2662
+ const csegen_440 = __lazy(function () {
2663
+ return () => $0 => $1 => $2 => Data_Promise_pure_Applicative_x28Promisex20x24ex29($0, $1, $2);
2659
2664
  });
2660
2665
 
2661
- /* {csegen:436} */
2662
- const csegen_436 = __lazy(function () {
2666
+ /* {csegen:441} */
2667
+ const csegen_441 = __lazy(function () {
2663
2668
  return $0 => Prelude_EqOrd_x3dx3d_Eq_Char($0, '/');
2664
2669
  });
2665
2670
 
2666
- /* {csegen:437} */
2667
- const csegen_437 = __lazy(function () {
2671
+ /* {csegen:442} */
2672
+ const csegen_442 = __lazy(function () {
2668
2673
  return () => $0 => $0.a2;
2669
2674
  });
2670
2675
 
2671
- /* {csegen:441} */
2672
- const csegen_441 = __lazy(function () {
2676
+ /* {csegen:446} */
2677
+ const csegen_446 = __lazy(function () {
2673
2678
  return () => $0 => $0.a1;
2674
2679
  });
2675
2680
 
2676
- /* {csegen:452} */
2677
- const csegen_452 = __lazy(function () {
2678
- return () => $0 => $1 => Data_Promise_map_Functor_Promise($4 => Number(_truncUBigInt32($4)), System_time(csegen_73()()), $0, $1);
2679
- });
2680
-
2681
2681
  /* {csegen:457} */
2682
2682
  const csegen_457 = __lazy(function () {
2683
+ return () => $0 => $1 => Data_Promise_map_Functor_x28Promisex20x24ex29($4 => Number(_truncUBigInt32($4)), System_time(csegen_73()()), $0, $1);
2684
+ });
2685
+
2686
+ /* {csegen:462} */
2687
+ const csegen_462 = __lazy(function () {
2683
2688
  return $0 => $1 => $2 => $3 => Prelude_Types_map_Functor_Maybe($2, $3);
2684
2689
  });
2685
2690
 
2686
- /* {csegen:470} */
2687
- const csegen_470 = __lazy(function () {
2688
- return () => $0 => $1 => $2 => Data_Promise_liftIO_HasIO_Promise($5 => Prelude_IO_prim__getStr($5), $0, $1, $2);
2691
+ /* {csegen:475} */
2692
+ const csegen_475 = __lazy(function () {
2693
+ return () => $0 => $1 => $2 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($5 => Prelude_IO_prim__getStr($5), $0, $1, $2);
2689
2694
  });
2690
2695
 
2691
- /* {csegen:472} */
2692
- const csegen_472 = __lazy(function () {
2693
- return () => $0 => $1 => Data_Promise_pure_Applicative_Promise({h: 0}, $0, $1);
2696
+ /* {csegen:477} */
2697
+ const csegen_477 = __lazy(function () {
2698
+ return () => $0 => $1 => Data_Promise_pure_Applicative_x28Promisex20x24ex29({h: 0}, $0, $1);
2694
2699
  });
2695
2700
 
2696
- /* {csegen:500} */
2697
- const csegen_500 = __lazy(function () {
2701
+ /* {csegen:505} */
2702
+ const csegen_505 = __lazy(function () {
2698
2703
  return {a1: csegen_9(), a2: a => ({h: 0}), a3: a => $4 => $5 => Prelude_Types_x3cx7cx3e_Alternative_Maybe($4, $5)};
2699
2704
  });
2700
2705
 
2701
- /* {csegen:501} */
2702
- const csegen_501 = __lazy(function () {
2706
+ /* {csegen:506} */
2707
+ const csegen_506 = __lazy(function () {
2703
2708
  return $0 => Data_List_sort(csegen_224(), $0);
2704
2709
  });
2705
2710
 
2706
- /* {csegen:502} */
2707
- const csegen_502 = __lazy(function () {
2711
+ /* {csegen:508} */
2712
+ const csegen_508 = __lazy(function () {
2708
2713
  return $0 => $1 => $2 => FFI_Concurrency_promiseAll(csegen_146(), $0, $1, $2);
2709
2714
  });
2710
2715
 
2711
- /* {csegen:510} */
2712
- const csegen_510 = __lazy(function () {
2716
+ /* {csegen:516} */
2717
+ const csegen_516 = __lazy(function () {
2713
2718
  return $0 => $0.a1;
2714
2719
  });
2715
2720
 
2716
- /* {csegen:512} */
2717
- const csegen_512 = __lazy(function () {
2721
+ /* {csegen:518} */
2722
+ const csegen_518 = __lazy(function () {
2718
2723
  return $0 => $1 => Data_Date_compare_Ord_Date($0, $1);
2719
2724
  });
2720
2725
 
2721
- /* {csegen:513} */
2722
- const csegen_513 = __lazy(function () {
2726
+ /* {csegen:519} */
2727
+ const csegen_519 = __lazy(function () {
2723
2728
  return $0 => $0.a2;
2724
2729
  });
2725
2730
 
2726
- /* {csegen:514} */
2727
- const csegen_514 = __lazy(function () {
2728
- return $0 => $1 => Prelude_Basics_on(csegen_512(), csegen_513(), $0, $1);
2731
+ /* {csegen:520} */
2732
+ const csegen_520 = __lazy(function () {
2733
+ return $0 => $1 => Prelude_Basics_on(csegen_518(), csegen_519(), $0, $1);
2729
2734
  });
2730
2735
 
2731
- /* {csegen:527} */
2732
- const csegen_527 = __lazy(function () {
2736
+ /* {csegen:533} */
2737
+ const csegen_533 = __lazy(function () {
2733
2738
  return $0 => $0.a2;
2734
2739
  });
2735
2740
 
2736
- /* {csegen:529} */
2737
- const csegen_529 = __lazy(function () {
2741
+ /* {csegen:535} */
2742
+ const csegen_535 = __lazy(function () {
2738
2743
  return Theme_cs({a1: 2, a2: {h: 0}});
2739
2744
  });
2740
2745
 
2741
- /* {csegen:532} */
2742
- const csegen_532 = __lazy(function () {
2746
+ /* {csegen:538} */
2747
+ const csegen_538 = __lazy(function () {
2743
2748
  return $0 => $0.a1;
2744
2749
  });
2745
2750
 
2746
- /* {csegen:538} */
2747
- const csegen_538 = __lazy(function () {
2751
+ /* {csegen:544} */
2752
+ const csegen_544 = __lazy(function () {
2748
2753
  return date => Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('earliest:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Data_Date_show_Show_Date(date)), a2: {h: 0}}}));
2749
2754
  });
2750
2755
 
2751
- /* {csegen:548} */
2752
- const csegen_548 = __lazy(function () {
2756
+ /* {csegen:554} */
2757
+ const csegen_554 = __lazy(function () {
2753
2758
  return Theme_cs({a1: 0, a2: {h: 0}});
2754
2759
  });
2755
2760
 
2756
- /* {csegen:549} */
2757
- const csegen_549 = __lazy(function () {
2761
+ /* {csegen:555} */
2762
+ const csegen_555 = __lazy(function () {
2758
2763
  return Theme_cs({a1: 1, a2: {h: 0}});
2759
2764
  });
2760
2765
 
2761
- /* {csegen:550} */
2762
- const csegen_550 = __lazy(function () {
2766
+ /* {csegen:556} */
2767
+ const csegen_556 = __lazy(function () {
2763
2768
  return Theme_cs({a1: 3, a2: {h: 0}});
2764
2769
  });
2765
2770
 
2766
- /* {csegen:571} */
2767
- const csegen_571 = __lazy(function () {
2771
+ /* {csegen:577} */
2772
+ const csegen_577 = __lazy(function () {
2768
2773
  return $0 => Util_yesNoPrompt(csegen_73()(), 'Would you like to continue creating a Pull Request anyway?');
2769
2774
  });
2770
2775
 
2771
- /* {csegen:606} */
2772
- const csegen_606 = __lazy(function () {
2776
+ /* {csegen:612} */
2777
+ const csegen_612 = __lazy(function () {
2773
2778
  return $0 => $0.a1;
2774
2779
  });
2775
2780
 
2776
- /* {csegen:616} */
2777
- const csegen_616 = __lazy(function () {
2781
+ /* {csegen:622} */
2782
+ const csegen_622 = __lazy(function () {
2778
2783
  return {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc()}, a2: {h: 0}};
2779
2784
  });
2780
2785
 
2781
- /* {csegen:634} */
2782
- const csegen_634 = __lazy(function () {
2786
+ /* {csegen:640} */
2787
+ const csegen_640 = __lazy(function () {
2783
2788
  return {a1: ann => $1 => Graph_pretty_Pretty_Date($1), a2: ann => $5 => $6 => Graph_prettyPrec_Pretty_Date($5, $6)};
2784
2789
  });
2785
2790
 
@@ -2788,18 +2793,18 @@ function prim__sub_Integer($0, $1) {
2788
2793
  return ($0-$1);
2789
2794
  }
2790
2795
 
2791
- /* Main.8543:1484:parsePg */
2792
- function Main_n__8543_1484_parsePg($0, $1, $2, $3, $4, $5, $6) {
2796
+ /* Main.8686:1488:parsePg */
2797
+ function Main_n__8686_1488_parsePg($0, $1, $2, $3, $4, $5, $6) {
2793
2798
  return Data_String_parsePositive(csegen_2(), $6);
2794
2799
  }
2795
2800
 
2796
- /* Main.8543:1483:parseLim */
2797
- function Main_n__8543_1483_parseLim($0, $1, $2, $3, $4, $5) {
2801
+ /* Main.8686:1487:parseLim */
2802
+ function Main_n__8686_1487_parseLim($0, $1, $2, $3, $4, $5) {
2798
2803
  return Prelude_Interfaces_x3cx3dx3c(csegen_14(), x => Data_Fin_natToFin(x, 101n), $e => Data_String_parsePositive(csegen_2(), $e));
2799
2804
  }
2800
2805
 
2801
- /* Main.8404:1285:configuredOpts */
2802
- function Main_n__8404_1285_configuredOpts($0, $1, $2, $3) {
2806
+ /* Main.8546:1285:configuredOpts */
2807
+ function Main_n__8546_1285_configuredOpts($0, $1, $2, $3) {
2803
2808
  const $13 = $14 => {
2804
2809
  switch($14.h) {
2805
2810
  case 1: /* Right */ return $0.a1.a1.a2(undefined)(BashCompletion_opts($14.a1, $3, $2, $1));
@@ -2831,7 +2836,7 @@ function Main_shouldUseColors($0) {
2831
2836
  return $0.a1.a2(undefined)(undefined)(System_File_Meta_isTTY($0, System_File_Virtual_stdout()))($e);
2832
2837
  }
2833
2838
 
2834
- /* Main.resolve'' : Promise () -> IO () */
2839
+ /* Main.resolve'' : Promise' () -> IO () */
2835
2840
  function Main_resolvex27x27($0) {
2836
2841
  return Data_Promise_resolvex27($3 => $4 => $3, $6 => Main_exitError(csegen_31()(), $6), $0);
2837
2842
  }
@@ -2903,7 +2908,7 @@ function Main_main($0) {
2903
2908
  return Main_handleArgs($ac, $a4, $1, $8, $17, $1f)($0);
2904
2909
  }
2905
2910
 
2906
- /* Main.handleConfiguredArgs : Config => Git => Maybe String -> List String -> Promise () */
2911
+ /* Main.handleConfiguredArgs : Config => Git => Maybe String -> List String -> Promise' () */
2907
2912
  function Main_handleConfiguredArgs($0, $1, $2, $3) {
2908
2913
  switch($3.h) {
2909
2914
  case undefined: /* cons */ {
@@ -2914,19 +2919,19 @@ function Main_handleConfiguredArgs($0, $1, $2, $3) {
2914
2919
  case undefined: /* cons */ {
2915
2920
  return $15 => {
2916
2921
  switch($3.a2.a2.h) {
2917
- case 0: /* nil */ return $17 => Data_Promise_x3ex3ex3d_Monad_Promise(Config_getConfig($0, $3.a2.a1), value => $1e => $1f => $20 => Data_Promise_liftIO_HasIO_Promise($23 => Prelude_IO_prim__putStr((value+'\n'), $23), $1e, $1f, $20), $15, $17);
2922
+ case 0: /* nil */ return $17 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Config_getConfig($0, $3.a2.a1), value => $1e => $1f => $20 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($23 => Prelude_IO_prim__putStr((value+'\n'), $23), $1e, $1f, $20), $15, $17);
2918
2923
  case undefined: /* cons */ {
2919
2924
  return $2e => {
2920
2925
  switch($3.a2.a2.a2.h) {
2921
- case 0: /* nil */ return Data_Promise_map_Functor_Promise($32 => (undefined), Config_setConfig($0, $3.a2.a1, $3.a2.a2.a1), $15, $2e);
2926
+ case 0: /* nil */ return Data_Promise_map_Functor_x28Promisex20x24ex29($32 => (undefined), Config_setConfig($0, $3.a2.a1, $3.a2.a2.a1), $15, $2e);
2922
2927
  default: {
2923
2928
  const $4a = $4b => $4c => $4d => {
2924
2929
  switch($4b.h) {
2925
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($51 => $52 => $53 => Data_Promise_liftIO_HasIO_Promise($56 => FFI_GitHub_octokit($4b.a1, $56), $51, $52, $53), _ => $5e => $5f => Data_Promise_x3ex3ex3d_Monad_Promise($62 => $63 => Config_syncIfOld(_, $0, $62, $63), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $5e, $5f), $4c, $4d);
2930
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($51 => $52 => $53 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($56 => FFI_GitHub_octokit($4b.a1, $56), $51, $52, $53), _ => $5e => $5f => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($62 => $63 => Config_syncIfOld(_, $0, $62, $63), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $5e, $5f), $4c, $4d);
2926
2931
  case 0: /* nothing */ return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $4c, $4d);
2927
2932
  }
2928
2933
  };
2929
- return Data_Promise_x3ex3ex3d_Monad_Promise($3c => $3d => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($45 => $45, $0.a13)), $3c, $3d), $4a, $15, $2e);
2934
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($3c => $3d => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($45 => $45, $0.a13)), $3c, $3d), $4a, $15, $2e);
2930
2935
  }
2931
2936
  }
2932
2937
  };
@@ -2935,11 +2940,11 @@ function Main_handleConfiguredArgs($0, $1, $2, $3) {
2935
2940
  return $79 => {
2936
2941
  const $8a = $8b => $8c => $8d => {
2937
2942
  switch($8b.h) {
2938
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($91 => $92 => $93 => Data_Promise_liftIO_HasIO_Promise($96 => FFI_GitHub_octokit($8b.a1, $96), $91, $92, $93), _ => $9e => $9f => Data_Promise_x3ex3ex3d_Monad_Promise($a2 => $a3 => Config_syncIfOld(_, $0, $a2, $a3), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $9e, $9f), $8c, $8d);
2943
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($91 => $92 => $93 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($96 => FFI_GitHub_octokit($8b.a1, $96), $91, $92, $93), _ => $9e => $9f => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($a2 => $a3 => Config_syncIfOld(_, $0, $a2, $a3), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $9e, $9f), $8c, $8d);
2939
2944
  case 0: /* nothing */ return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $8c, $8d);
2940
2945
  }
2941
2946
  };
2942
- return Data_Promise_x3ex3ex3d_Monad_Promise($7c => $7d => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($85 => $85, $0.a13)), $7c, $7d), $8a, $15, $79);
2947
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($7c => $7d => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($85 => $85, $0.a13)), $7c, $7d), $8a, $15, $79);
2943
2948
  };
2944
2949
  }
2945
2950
  }
@@ -2949,11 +2954,11 @@ function Main_handleConfiguredArgs($0, $1, $2, $3) {
2949
2954
  return $b9 => $ba => {
2950
2955
  const $cb = $cc => $cd => $ce => {
2951
2956
  switch($cc.h) {
2952
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($d2 => $d3 => $d4 => Data_Promise_liftIO_HasIO_Promise($d7 => FFI_GitHub_octokit($cc.a1, $d7), $d2, $d3, $d4), _ => $df => $e0 => Data_Promise_x3ex3ex3d_Monad_Promise($e3 => $e4 => Config_syncIfOld(_, $0, $e3, $e4), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $df, $e0), $cd, $ce);
2957
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($d2 => $d3 => $d4 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($d7 => FFI_GitHub_octokit($cc.a1, $d7), $d2, $d3, $d4), _ => $df => $e0 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($e3 => $e4 => Config_syncIfOld(_, $0, $e3, $e4), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $df, $e0), $cd, $ce);
2953
2958
  case 0: /* nothing */ return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $cd, $ce);
2954
2959
  }
2955
2960
  };
2956
- return Data_Promise_x3ex3ex3d_Monad_Promise($bd => $be => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($c6 => $c6, $0.a13)), $bd, $be), $cb, $b9, $ba);
2961
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($bd => $be => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($c6 => $c6, $0.a13)), $bd, $be), $cb, $b9, $ba);
2957
2962
  };
2958
2963
  }
2959
2964
  }
@@ -2962,11 +2967,11 @@ function Main_handleConfiguredArgs($0, $1, $2, $3) {
2962
2967
  return $fa => $fb => {
2963
2968
  const $10c = $10d => $10e => $10f => {
2964
2969
  switch($10d.h) {
2965
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($113 => $114 => $115 => Data_Promise_liftIO_HasIO_Promise($118 => FFI_GitHub_octokit($10d.a1, $118), $113, $114, $115), _ => $120 => $121 => Data_Promise_x3ex3ex3d_Monad_Promise($124 => $125 => Config_syncIfOld(_, $0, $124, $125), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $120, $121), $10e, $10f);
2970
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($113 => $114 => $115 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($118 => FFI_GitHub_octokit($10d.a1, $118), $113, $114, $115), _ => $120 => $121 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($124 => $125 => Config_syncIfOld(_, $0, $124, $125), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $120, $121), $10e, $10f);
2966
2971
  case 0: /* nothing */ return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $10e, $10f);
2967
2972
  }
2968
2973
  };
2969
- return Data_Promise_x3ex3ex3d_Monad_Promise($fe => $ff => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($107 => $107, $0.a13)), $fe, $ff), $10c, $fa, $fb);
2974
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($fe => $ff => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($107 => $107, $0.a13)), $fe, $ff), $10c, $fa, $fb);
2970
2975
  };
2971
2976
  }
2972
2977
  }
@@ -2975,17 +2980,17 @@ function Main_handleConfiguredArgs($0, $1, $2, $3) {
2975
2980
  return $13b => $13c => {
2976
2981
  const $14d = $14e => $14f => $150 => {
2977
2982
  switch($14e.h) {
2978
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($154 => $155 => $156 => Data_Promise_liftIO_HasIO_Promise($159 => FFI_GitHub_octokit($14e.a1, $159), $154, $155, $156), _ => $161 => $162 => Data_Promise_x3ex3ex3d_Monad_Promise($165 => $166 => Config_syncIfOld(_, $0, $165, $166), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $161, $162), $14f, $150);
2983
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($154 => $155 => $156 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($159 => FFI_GitHub_octokit($14e.a1, $159), $154, $155, $156), _ => $161 => $162 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($165 => $166 => Config_syncIfOld(_, $0, $165, $166), configx27 => Main_handleAuthenticatedArgs(configx27, $1, _, $3), $161, $162), $14f, $150);
2979
2984
  case 0: /* nothing */ return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $14f, $150);
2980
2985
  }
2981
2986
  };
2982
- return Data_Promise_x3ex3ex3d_Monad_Promise($13f => $140 => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($148 => $148, $0.a13)), $13f, $140), $14d, $13b, $13c);
2987
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($13f => $140 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($2, () => Prelude_Types_map_Functor_Maybe($148 => $148, $0.a13)), $13f, $140), $14d, $13b, $13c);
2983
2988
  };
2984
2989
  }
2985
2990
  }
2986
2991
  }
2987
2992
 
2988
- /* Main.handleAuthenticatedArgs : Config => Git => Octokit => List String -> Promise () */
2993
+ /* Main.handleAuthenticatedArgs : Config => Git => Octokit => List String -> Promise' () */
2989
2994
  function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
2990
2995
  switch($3.h) {
2991
2996
  case undefined: /* cons */ {
@@ -3003,8 +3008,8 @@ function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
3003
3008
  return $b => {
3004
3009
  const $c = Data_String_parsePositive(csegen_47(), $3.a2.a2.a1);
3005
3010
  switch($c.h) {
3006
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($13 => $14 => FFI_GitHub_listPullReviewsJsonStr($2, $0.a2, $0.a3, $c.a1, $13, $14), reviewsJsonStr => $1f => $20 => $21 => Data_Promise_liftIO_HasIO_Promise($24 => Prelude_IO_prim__putStr(reviewsJsonStr, $24), $1f, $20, $21), $9, $b);
3007
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(undefined, $9, $b);
3011
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($13 => $14 => FFI_GitHub_listPullReviewsJsonStr($2, $0.a2, $0.a3, $c.a1, $13, $14), reviewsJsonStr => $1f => $20 => $21 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($24 => Prelude_IO_prim__putStr(reviewsJsonStr, $24), $1f, $20, $21), $9, $b);
3012
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $9, $b);
3008
3013
  }
3009
3014
  };
3010
3015
  }
@@ -3053,11 +3058,11 @@ function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
3053
3058
  }
3054
3059
  return Prelude_Types_x3ex3ex3d_Monad_Maybe($b5, filter => ({a1: {a1: filter, a2: {a1: $b2.a1, a2: $b2.a2}}}));
3055
3060
  };
3056
- const $92 = Prelude_Types_x3ex3ex3d_Monad_Maybe(Prelude_Types_x3cx2ax3e_Applicative_Maybe(Prelude_Types_x3cx2ax3e_Applicative_Maybe({a1: $9a => $9b => ({a1: $9a, a2: $9b})}, Main_n__8543_1483_parseLim($1, $2, $3.a2.a2.a1, $3.a2.a2.a2.a1, $3.a2.a2.a2.a2.a1, $0)($3.a2.a2.a2.a1)), Main_n__8543_1484_parsePg($1, $2, $3.a2.a2.a1, $3.a2.a2.a2.a1, $3.a2.a2.a2.a2.a1, $0, $3.a2.a2.a2.a2.a1)), $b1);
3061
+ const $92 = Prelude_Types_x3ex3ex3d_Monad_Maybe(Prelude_Types_x3cx2ax3e_Applicative_Maybe(Prelude_Types_x3cx2ax3e_Applicative_Maybe({a1: $9a => $9b => ({a1: $9a, a2: $9b})}, Main_n__8686_1487_parseLim($1, $2, $3.a2.a2.a1, $3.a2.a2.a2.a1, $3.a2.a2.a2.a2.a1, $0)($3.a2.a2.a2.a1)), Main_n__8686_1488_parsePg($1, $2, $3.a2.a2.a1, $3.a2.a2.a2.a1, $3.a2.a2.a2.a2.a1, $0, $3.a2.a2.a2.a2.a1)), $b1);
3057
3062
  return $c2 => {
3058
3063
  switch($92.h) {
3059
- case undefined: /* just */ return $c4 => Data_Promise_x3ex3ex3d_Monad_Promise(FFI_GitHub_listPullRequestsJsonStr($2, $0.a2, $0.a3, $92.a1.a1, $92.a1.a2.a1, $92.a1.a2.a2), pullsJsonStr => $d3 => $d4 => $d5 => Data_Promise_liftIO_HasIO_Promise($d8 => Prelude_IO_prim__putStr(pullsJsonStr, $d8), $d3, $d4, $d5), $c2, $c4);
3060
- case 0: /* nothing */ return $e1 => Data_Promise_pure_Applicative_Promise(undefined, $c2, $e1);
3064
+ case undefined: /* just */ return $c4 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_GitHub_listPullRequestsJsonStr($2, $0.a2, $0.a3, $92.a1.a1, $92.a1.a2.a1, $92.a1.a2.a2), pullsJsonStr => $d3 => $d4 => $d5 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($d8 => Prelude_IO_prim__putStr(pullsJsonStr, $d8), $d3, $d4, $d5), $c2, $c4);
3065
+ case 0: /* nothing */ return $e1 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $c2, $e1);
3061
3066
  }
3062
3067
  };
3063
3068
  }
@@ -3089,7 +3094,7 @@ function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
3089
3094
  case undefined: /* cons */ {
3090
3095
  return $174 => {
3091
3096
  switch($3.a2.a2.a2.h) {
3092
- case 0: /* nil */ return Data_Promise_x3ex3ex3d_Monad_Promise(FFI_GitHub_getUser($2)($3.a2.a2.a1), $17d => $17e => $17f => $180 => Data_Promise_liftIO_HasIO_Promise($183 => Prelude_IO_prim__putStr(JSON_Parser_showImpl(Data_User_json($17d)), $183), $17e, $17f, $180), $172, $174);
3097
+ case 0: /* nil */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_GitHub_getUser($2)($3.a2.a2.a1), $17d => $17e => $17f => $180 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($183 => Prelude_IO_prim__putStr(JSON_Parser_showImpl(Data_User_json($17d)), $183), $17e, $17f, $180), $172, $174);
3093
3098
  default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $197 => $197, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $172, $174);
3094
3099
  }
3095
3100
  };
@@ -3168,36 +3173,36 @@ function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
3168
3173
  case 'list': {
3169
3174
  return $2a8 => {
3170
3175
  switch($3.a2.h) {
3171
- case 0: /* nil */ return $2aa => Data_Promise_reject('The list command expects the name of a GitHub Team as an argument.', $2a8, $2aa);
3176
+ case 0: /* nil */ return $2aa => Commands_listOrgTeams($0, $2, $2a8, $2aa);
3172
3177
  case undefined: /* cons */ {
3173
- return $2af => {
3178
+ return $2b0 => {
3174
3179
  switch($3.a2.a2.h) {
3175
- case 0: /* nil */ return Commands_list($0, $2, $3.a2.a1, $2a8, $2af);
3176
- default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $2be => $2be, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $2a8, $2af);
3180
+ case 0: /* nil */ return Commands_list($0, $2, $3.a2.a1, $2a8, $2b0);
3181
+ default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $2bf => $2bf, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $2a8, $2b0);
3177
3182
  }
3178
3183
  };
3179
3184
  }
3180
- default: return $2cc => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $2d4 => $2d4, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $2a8, $2cc);
3185
+ default: return $2cd => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $2d5 => $2d5, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $2a8, $2cd);
3181
3186
  }
3182
3187
  };
3183
3188
  }
3184
3189
  case 'graph': {
3185
- const $2e2 = Commands_parseGraphArgs($3.a2);
3186
- switch($2e2.h) {
3187
- case 1: /* Right */ return Commands_graph($0, $2, $2e2.a1);
3188
- case 0: /* Left */ return Main_exitError(csegen_73()(), $2e2.a1);
3190
+ const $2e3 = Commands_parseGraphArgs($3.a2);
3191
+ switch($2e3.h) {
3192
+ case 1: /* Right */ return Commands_graph($0, $2, $2e3.a1);
3193
+ case 0: /* Left */ return Main_exitError(csegen_73()(), $2e3.a1);
3189
3194
  }
3190
3195
  }
3191
3196
  case 'assign': {
3192
- return $2ee => $2ef => {
3197
+ return $2ef => $2f0 => {
3193
3198
  switch($3.a2.h) {
3194
3199
  case undefined: /* cons */ {
3195
3200
  switch($3.a2.a1) {
3196
- case '--dry': return Data_Promise_x3ex3ex3d_Monad_Promise(csegen_74(), $2f6 => Commands_request($0, $1, $2, $3.a2.a2, 1), $2ee, $2ef);
3197
- default: return Data_Promise_x3ex3ex3d_Monad_Promise(csegen_74(), $303 => Commands_request($0, $1, $2, $3.a2, 0), $2ee, $2ef);
3201
+ case '--dry': return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(csegen_74(), $2f7 => Commands_request($0, $1, $2, $3.a2.a2, 1), $2ef, $2f0);
3202
+ default: return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(csegen_74(), $304 => Commands_request($0, $1, $2, $3.a2, 0), $2ef, $2f0);
3198
3203
  }
3199
3204
  }
3200
- default: return Data_Promise_x3ex3ex3d_Monad_Promise(csegen_74(), $310 => Commands_request($0, $1, $2, $3.a2, 0), $2ee, $2ef);
3205
+ default: return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(csegen_74(), $311 => Commands_request($0, $1, $2, $3.a2, 0), $2ef, $2f0);
3201
3206
  }
3202
3207
  };
3203
3208
  }
@@ -3224,18 +3229,18 @@ function Main_handleAuthenticatedArgs($0, $1, $2, $3) {
3224
3229
  }
3225
3230
  }
3226
3231
  case 'label': {
3227
- return $341 => $342 => {
3232
+ return $342 => $343 => {
3228
3233
  switch($3.a2.h) {
3229
- case 0: /* nil */ return Data_Promise_reject('The label command expects one or more labels as arguments.', $341, $342);
3230
- case undefined: /* cons */ return Commands_label($0, $1, $2, {a1: $3.a2.a1, a2: $3.a2.a2}, $341, $342);
3231
- default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $358 => $358, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $341, $342);
3234
+ case 0: /* nil */ return Data_Promise_reject('The label command expects one or more labels as arguments.', $342, $343);
3235
+ case undefined: /* cons */ return Commands_label($0, $1, $2, {a1: $3.a2.a1, a2: $3.a2.a2}, $342, $343);
3236
+ default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $359 => $359, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $342, $343);
3232
3237
  }
3233
3238
  };
3234
3239
  }
3235
- default: return $366 => $367 => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $36f => $36f, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $366, $367);
3240
+ default: return $367 => $368 => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $370 => $370, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $367, $368);
3236
3241
  }
3237
3242
  }
3238
- default: return $37d => $37e => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $386 => $386, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $37d, $37e);
3243
+ default: return $37e => $37f => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $387 => $387, {a1: 'Unexpected command line arguments: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $3), a2: {a1: '.', a2: {h: 0}}}}), $37e, $37f);
3239
3244
  }
3240
3245
  }
3241
3246
 
@@ -3253,34 +3258,34 @@ function Main_handleArgs($0, $1, $2, $3, $4, $5) {
3253
3258
  case undefined: /* cons */ {
3254
3259
  switch($5.a2.a2.a2.a2.h) {
3255
3260
  case 0: /* nil */ return Main_bashCompletion(csegen_31()(), $5.a2.a1, $5.a2.a2.a1, $5.a2.a2.a2.a1);
3256
- default: return Main_resolvex27x27($15 => $16 => Data_Promise_x3ex3ex3d_Monad_Promise($19 => $1a => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $19, $1a), config => Main_handleConfiguredArgs(config, $0, $1, $5), $15, $16));
3261
+ default: return Main_resolvex27x27($15 => $16 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($19 => $1a => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $19, $1a), config => Main_handleConfiguredArgs(config, $0, $1, $5), $15, $16));
3257
3262
  }
3258
3263
  }
3259
- default: return Main_resolvex27x27($2d => $2e => Data_Promise_x3ex3ex3d_Monad_Promise($31 => $32 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $31, $32), config => Main_handleConfiguredArgs(config, $0, $1, $5), $2d, $2e));
3264
+ default: return Main_resolvex27x27($2d => $2e => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($31 => $32 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $31, $32), config => Main_handleConfiguredArgs(config, $0, $1, $5), $2d, $2e));
3260
3265
  }
3261
3266
  }
3262
- default: return Main_resolvex27x27($45 => $46 => Data_Promise_x3ex3ex3d_Monad_Promise($49 => $4a => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $49, $4a), config => Main_handleConfiguredArgs(config, $0, $1, $5), $45, $46));
3267
+ default: return Main_resolvex27x27($45 => $46 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($49 => $4a => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $49, $4a), config => Main_handleConfiguredArgs(config, $0, $1, $5), $45, $46));
3263
3268
  }
3264
3269
  }
3265
- default: return Main_resolvex27x27($5d => $5e => Data_Promise_x3ex3ex3d_Monad_Promise($61 => $62 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $61, $62), config => Main_handleConfiguredArgs(config, $0, $1, $5), $5d, $5e));
3270
+ default: return Main_resolvex27x27($5d => $5e => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($61 => $62 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $61, $62), config => Main_handleConfiguredArgs(config, $0, $1, $5), $5d, $5e));
3266
3271
  }
3267
3272
  }
3268
3273
  case '--bash-completion-script': {
3269
3274
  switch($5.a2.h) {
3270
3275
  case 0: /* nil */ return $74 => Prelude_IO_prim__putStr((BashCompletion_script()+'\n'), $74);
3271
- default: return Main_resolvex27x27($7d => $7e => Data_Promise_x3ex3ex3d_Monad_Promise($81 => $82 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $81, $82), config => Main_handleConfiguredArgs(config, $0, $1, $5), $7d, $7e));
3276
+ default: return Main_resolvex27x27($7d => $7e => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($81 => $82 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $81, $82), config => Main_handleConfiguredArgs(config, $0, $1, $5), $7d, $7e));
3272
3277
  }
3273
3278
  }
3274
3279
  case '--zsh-completion-script': {
3275
3280
  switch($5.a2.h) {
3276
3281
  case 0: /* nil */ return $94 => Prelude_IO_prim__putStr((ZshCompletion_script()+'\n'), $94);
3277
- default: return Main_resolvex27x27($9d => $9e => Data_Promise_x3ex3ex3d_Monad_Promise($a1 => $a2 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $a1, $a2), config => Main_handleConfiguredArgs(config, $0, $1, $5), $9d, $9e));
3282
+ default: return Main_resolvex27x27($9d => $9e => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($a1 => $a2 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $a1, $a2), config => Main_handleConfiguredArgs(config, $0, $1, $5), $9d, $9e));
3278
3283
  }
3279
3284
  }
3280
- default: return Main_resolvex27x27($b5 => $b6 => Data_Promise_x3ex3ex3d_Monad_Promise($b9 => $ba => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $b9, $ba), config => Main_handleConfiguredArgs(config, $0, $1, $5), $b5, $b6));
3285
+ default: return Main_resolvex27x27($b5 => $b6 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($b9 => $ba => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $b9, $ba), config => Main_handleConfiguredArgs(config, $0, $1, $5), $b5, $b6));
3281
3286
  }
3282
3287
  }
3283
- default: return Main_resolvex27x27($cd => $ce => Data_Promise_x3ex3ex3d_Monad_Promise($d1 => $d2 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $d1, $d2), config => Main_handleConfiguredArgs(config, $0, $1, $5), $cd, $ce));
3288
+ default: return Main_resolvex27x27($cd => $ce => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($d1 => $d2 => Config_loadOrCreateConfig($0, $1, $2, $3, $4, $d1, $d2), config => Main_handleConfiguredArgs(config, $0, $1, $5), $cd, $ce));
3284
3289
  }
3285
3290
  }
3286
3291
 
@@ -3306,7 +3311,7 @@ function Main_exitError($0, $1) {
3306
3311
 
3307
3312
  /* Main.bashCompletion : HasIO io => String -> String -> String -> io () */
3308
3313
  function Main_bashCompletion($0, $1, $2, $3) {
3309
- const $4 = Prelude_Types_maybe(() => Main_n__8404_1285_configuredOpts($0, $3, $2, $1), () => $d => $0.a1.a1.a2(undefined)($d), BashCompletion_cmdOpts($1, $2, $3));
3314
+ const $4 = Prelude_Types_maybe(() => Main_n__8546_1285_configuredOpts($0, $3, $2, $1), () => $d => $0.a1.a1.a2(undefined)($d), BashCompletion_cmdOpts($1, $2, $3));
3310
3315
  return $0.a1.a2(undefined)(undefined)($4)($24 => $0.a2(undefined)($2a => Prelude_IO_prim__putStr(Data_String_fastUnlines($24), $2a)));
3311
3316
  }
3312
3317
 
@@ -6387,7 +6392,7 @@ function Data_Config_n__9815_4806_exactlyOneOf($0, $1, $2, $3) {
6387
6392
 
6388
6393
  /* Data.Config.show */
6389
6394
  function Data_Config_show_Show_Config($0) {
6390
- return Data_String_fastUnlines({a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $9 => $9, {a1: ' updatedAt: ', a2: {a1: Prelude_Show_show_Show_Bits32($0.a1), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $19 => $19, {a1: ' theme: ', a2: {a1: Data_Theme_show_Show_Theme($0.a14), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $29 => $29, {a1: ' org: ', a2: {a1: Prelude_Show_show_Show_String($0.a2), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $39 => $39, {a1: ' repo: ', a2: {a1: Prelude_Show_show_Show_String($0.a3), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $49 => $49, {a1: ' defaultRemote: ', a2: {a1: Prelude_Show_show_Show_String($0.a4), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $59 => $59, {a1: ' mainBranch: ', a2: {a1: Prelude_Show_show_Show_String($0.a5), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $69 => $69, {a1: ' requestTeams: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a6), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $79 => $79, {a1: ' requestUsers: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a7), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $89 => $89, {a1: 'commentOnRequest: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a8), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $99 => $99, {a1: ' teamSlugs: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a9), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $ab => $ab, {a1: ' repoLabels: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a10), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $bd => $bd, {a1: ' orgMembers: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a11), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $cf => $cf, {a1: ' ignoredPRs: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29({a1: x => Prelude_Show_show_Show_Integer(x), a2: d => x => Prelude_Show_showPrec_Show_Integer(d, x)}, $0.a12), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e7 => $e7, {a1: ' githubPAT: ', a2: {a1: Data_Config_n__9286_4289_personalAccessToken($0), a2: {h: 0}}}), a2: {h: 0}}}}}}}}}}}}}}});
6395
+ return Data_String_fastUnlines({a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $9 => $9, {a1: ' updatedAt: ', a2: {a1: Prelude_Show_show_Show_Bits32($0.a1), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $19 => $19, {a1: ' theme: ', a2: {a1: Data_Theme_show_Show_Theme($0.a14), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $29 => $29, {a1: ' org or user: ', a2: {a1: Prelude_Show_show_Show_String($0.a2), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $39 => $39, {a1: ' repo: ', a2: {a1: Prelude_Show_show_Show_String($0.a3), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $49 => $49, {a1: ' defaultRemote: ', a2: {a1: Prelude_Show_show_Show_String($0.a4), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $59 => $59, {a1: ' mainBranch: ', a2: {a1: Prelude_Show_show_Show_String($0.a5), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $69 => $69, {a1: ' requestTeams: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a6), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $79 => $79, {a1: ' requestUsers: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a7), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $89 => $89, {a1: 'commentOnRequest: ', a2: {a1: Prelude_Show_show_Show_Bool($0.a8), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $99 => $99, {a1: ' teamSlugs: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a9), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $ab => $ab, {a1: ' repoLabels: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a10), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $bd => $bd, {a1: ' orgMembers: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29(csegen_52(), $0.a11), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $cf => $cf, {a1: ' ignoredPRs: ', a2: {a1: Prelude_Show_show_Show_x28Listx20x24ax29({a1: x => Prelude_Show_show_Show_Integer(x), a2: d => x => Prelude_Show_showPrec_Show_Integer(d, x)}, $0.a12), a2: {h: 0}}}), a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e7 => $e7, {a1: ' githubPAT: ', a2: {a1: Data_Config_n__9286_4289_personalAccessToken($0), a2: {h: 0}}}), a2: {h: 0}}}}}}}}}}}}}}});
6391
6396
  }
6392
6397
 
6393
6398
  /* Data.Config.show */
@@ -7434,18 +7439,18 @@ function Util_with__yesNoPromptx2cyesUnlessNo_1314($0, $1, $2, $3, $4) {
7434
7439
  }
7435
7440
  }
7436
7441
 
7437
- /* Util.5282:1306:yesUnlessNo */
7438
- function Util_n__5282_1306_yesUnlessNo($0, $1, $2) {
7442
+ /* Util.5304:1306:yesUnlessNo */
7443
+ function Util_n__5304_1306_yesUnlessNo($0, $1, $2) {
7439
7444
  return Util_with__yesNoPromptx2cyesUnlessNo_1314(undefined, $0, $1, $2, Data_String_toLower($2));
7440
7445
  }
7441
7446
 
7442
- /* Util.5385:1413:startOver */
7443
- const Util_n__5385_1413_startOver = __lazy(function () {
7447
+ /* Util.5408:1414:startOver */
7448
+ const Util_n__5408_1414_startOver = __lazy(function () {
7444
7449
  return {a1: 0, a2: {h: 0}};
7445
7450
  });
7446
7451
 
7447
- /* Util.5385:1412:guardSuccess */
7448
- function Util_n__5385_1412_guardSuccess($0) {
7452
+ /* Util.5408:1413:guardSuccess */
7453
+ function Util_n__5408_1413_guardSuccess($0) {
7449
7454
  switch($0.h) {
7450
7455
  case undefined: /* cons */ {
7451
7456
  switch($0.a1) {
@@ -7458,13 +7463,13 @@ function Util_n__5385_1412_guardSuccess($0) {
7458
7463
  }
7459
7464
  }
7460
7465
 
7461
- /* Util.5385:1411:go */
7462
- function Util_n__5385_1411_go($0, $1) {
7466
+ /* Util.5408:1412:go */
7467
+ function Util_n__5408_1412_go($0, $1) {
7463
7468
  switch($0.a1) {
7464
7469
  case 0: {
7465
7470
  switch(Prelude_Types_isAlpha($1)) {
7466
7471
  case 1: return {a1: 1, a2: {a1: $1, a2: $0.a2}};
7467
- case 0: return Util_n__5385_1413_startOver();
7472
+ case 0: return Util_n__5408_1414_startOver();
7468
7473
  }
7469
7474
  }
7470
7475
  case 1: {
@@ -7473,7 +7478,7 @@ function Util_n__5385_1411_go($0, $1) {
7473
7478
  default: {
7474
7479
  switch(Prelude_Types_isAlpha($1)) {
7475
7480
  case 1: return {a1: 1, a2: {a1: $1, a2: $0.a2}};
7476
- case 0: return Util_n__5385_1413_startOver();
7481
+ case 0: return Util_n__5408_1414_startOver();
7477
7482
  }
7478
7483
  }
7479
7484
  }
@@ -7481,7 +7486,7 @@ function Util_n__5385_1411_go($0, $1) {
7481
7486
  case 2: {
7482
7487
  switch(Prelude_Types_isDigit($1)) {
7483
7488
  case 1: return {a1: 3, a2: {a1: $1, a2: $0.a2}};
7484
- case 0: return Util_n__5385_1413_startOver();
7489
+ case 0: return Util_n__5408_1414_startOver();
7485
7490
  }
7486
7491
  }
7487
7492
  case 3: {
@@ -7494,8 +7499,8 @@ function Util_n__5385_1411_go($0, $1) {
7494
7499
  }
7495
7500
  }
7496
7501
 
7497
- /* Util.5169:1194:getMoreLines */
7498
- function Util_n__5169_1194_getMoreLines($0, $1, $2) {
7502
+ /* Util.5191:1194:getMoreLines */
7503
+ function Util_n__5191_1194_getMoreLines($0, $1, $2) {
7499
7504
  switch($2.h) {
7500
7505
  case 0: /* nothing */ return $0.a1.a1.a2(undefined)(Prelude_Types_List_reverse($1));
7501
7506
  case undefined: /* just */ {
@@ -7506,13 +7511,13 @@ function Util_n__5169_1194_getMoreLines($0, $1, $2) {
7506
7511
  case '': {
7507
7512
  switch(line) {
7508
7513
  case '': return $0.a1.a1.a2(undefined)(Prelude_Types_List_reverse($1.a2));
7509
- default: return Util_n__5169_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7514
+ default: return Util_n__5191_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7510
7515
  }
7511
7516
  }
7512
- default: return Util_n__5169_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7517
+ default: return Util_n__5191_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7513
7518
  }
7514
7519
  }
7515
- default: return Util_n__5169_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7520
+ default: return Util_n__5191_1194_getMoreLines($0, {a1: line, a2: $1}, $2.a1());
7516
7521
  }
7517
7522
  };
7518
7523
  return $0.a1.a2(undefined)(undefined)($0.a1.a1.a1(undefined)(undefined)($20 => Data_String_trim($20))($0.a2(undefined)($29 => Prelude_IO_prim__getStr($29))))($2c);
@@ -7522,7 +7527,7 @@ function Util_n__5169_1194_getMoreLines($0, $1, $2) {
7522
7527
 
7523
7528
  /* Util.yesNoPrompt : HasIO io => String -> io Bool */
7524
7529
  function Util_yesNoPrompt($0, $1) {
7525
- return $0.a1.a2(undefined)(undefined)($0.a2(undefined)($10 => Prelude_IO_prim__putStr(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $18 => $18, {a1: $1, a2: {a1: ' [Y/n] ', a2: {h: 0}}}), $10)))($20 => $0.a1.a1.a1(undefined)(undefined)($2b => Util_n__5282_1306_yesUnlessNo($0, $1, Data_String_trim($2b)))($0.a2(undefined)($38 => Prelude_IO_prim__getStr($38))));
7530
+ return $0.a1.a2(undefined)(undefined)($0.a2(undefined)($10 => Prelude_IO_prim__putStr(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $18 => $18, {a1: $1, a2: {a1: ' [Y/n] ', a2: {h: 0}}}), $10)))($20 => $0.a1.a1.a1(undefined)(undefined)($2b => Util_n__5304_1306_yesUnlessNo($0, $1, Data_String_trim($2b)))($0.a2(undefined)($38 => Prelude_IO_prim__getStr($38))));
7526
7531
  }
7527
7532
 
7528
7533
  /* Util.whenNothing : Applicative f => Maybe a -> f () -> f () */
@@ -7543,14 +7548,14 @@ function Util_renderIO($0, $1, $2) {
7543
7548
  return $1.a2(undefined)($8 => Text_PrettyPrint_Prettyprinter_Render_Terminal_renderIO(Text_PrettyPrint_Prettyprinter_Doc_layoutPretty(Util_layoutOptions($0), Util_colorize($0, $2)), $8));
7544
7549
  }
7545
7550
 
7546
- /* Util.relativeToRoot : Git => String -> Promise String */
7551
+ /* Util.relativeToRoot : Git => String -> Promise' String */
7547
7552
  function Util_relativeToRoot($0, $1, $2, $3) {
7548
- return Data_Promise_map_Functor_Promise($6 => ($6+Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: '/', a2: {a1: $1, a2: {h: 0}}})), $15 => $16 => FFI_Git_rootDir($0, $15, $16), $2, $3);
7553
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($6 => ($6+Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: '/', a2: {a1: $1, a2: {h: 0}}})), $15 => $16 => FFI_Git_rootDir($0, $15, $16), $2, $3);
7549
7554
  }
7550
7555
 
7551
7556
  /* Util.parseJiraPrefix : String -> Maybe String */
7552
7557
  function Util_parseJiraPrefix($0) {
7553
- return Prelude_Types_map_Functor_Maybe($3 => Prelude_Types_fastPack(Prelude_Types_List_reverse($3)), Util_n__5385_1412_guardSuccess(Prelude_Types_foldl_Foldable_List($d => $e => Util_n__5385_1411_go($d, $e), Util_n__5385_1413_startOver(), Prelude_Types_fastUnpack($0))));
7558
+ return Prelude_Types_map_Functor_Maybe($3 => Prelude_Types_fastPack(Prelude_Types_List_reverse($3)), Util_n__5408_1413_guardSuccess(Prelude_Types_foldl_Foldable_List($d => $e => Util_n__5408_1412_go($d, $e), Util_n__5408_1414_startOver(), Prelude_Types_fastUnpack($0))));
7554
7559
  }
7555
7560
 
7556
7561
  /* Util.optionsWithBestWidth : Nat -> LayoutOptions */
@@ -7577,7 +7582,7 @@ function Util_layoutOptions($0) {
7577
7582
 
7578
7583
  /* Util.getManyLines : HasIO io => Fuel -> io (List String) */
7579
7584
  function Util_getManyLines($0, $1) {
7580
- return Util_n__5169_1194_getMoreLines($0, {h: 0}, $1);
7585
+ return Util_n__5191_1194_getMoreLines($0, {h: 0}, $1);
7581
7586
  }
7582
7587
 
7583
7588
  /* Util.colorize : Config => Doc AnsiStyle -> Doc AnsiStyle */
@@ -7589,7 +7594,7 @@ function Util_colorize($0, $1) {
7589
7594
  }
7590
7595
 
7591
7596
  /* FFI.Git.case block in unpushedCommits */
7592
- function FFI_Git_case__unpushedCommits_2011($0, $1, $2) {
7597
+ function FFI_Git_case__unpushedCommits_2494($0, $1, $2) {
7593
7598
  switch($1) {
7594
7599
  case '': {
7595
7600
  switch($2.h) {
@@ -7602,7 +7607,7 @@ function FFI_Git_case__unpushedCommits_2011($0, $1, $2) {
7602
7607
  }
7603
7608
 
7604
7609
  /* FFI.Git.case block in stagedChanges */
7605
- function FFI_Git_case__stagedChanges_1948($0, $1, $2) {
7610
+ function FFI_Git_case__stagedChanges_2429($0, $1, $2) {
7606
7611
  switch($1) {
7607
7612
  case '': {
7608
7613
  switch($2.h) {
@@ -7615,7 +7620,7 @@ function FFI_Git_case__stagedChanges_1948($0, $1, $2) {
7615
7620
  }
7616
7621
 
7617
7622
  /* FFI.Git.case block in uncommittedChanges */
7618
- function FFI_Git_case__uncommittedChanges_1885($0, $1, $2) {
7623
+ function FFI_Git_case__uncommittedChanges_2364($0, $1, $2) {
7619
7624
  switch($1) {
7620
7625
  case '': {
7621
7626
  switch($2.h) {
@@ -7628,7 +7633,7 @@ function FFI_Git_case__uncommittedChanges_1885($0, $1, $2) {
7628
7633
  }
7629
7634
 
7630
7635
  /* FFI.Git.case block in remoteTrackingBranch */
7631
- function FFI_Git_case__remoteTrackingBranch_1822($0, $1, $2) {
7636
+ function FFI_Git_case__remoteTrackingBranch_2299($0, $1, $2) {
7632
7637
  switch($1) {
7633
7638
  case '': {
7634
7639
  switch($2.h) {
@@ -7640,54 +7645,54 @@ function FFI_Git_case__remoteTrackingBranch_1822($0, $1, $2) {
7640
7645
  }
7641
7646
  }
7642
7647
 
7643
- /* FFI.Git.userEmail : Git => Promise String */
7648
+ /* FFI.Git.userEmail : Git => Promise' String */
7644
7649
  function FFI_Git_userEmail($0, $1, $2) {
7645
7650
  return FFI_promiseIO($5 => $6 => $7 => FFI_Git_prim__userEmail($0, $5, $6, $7), $1, $2);
7646
7651
  }
7647
7652
 
7648
- /* FFI.Git.unpushedCommits : Git => Promise (Maybe String) */
7653
+ /* FFI.Git.unpushedCommits : Git => Promise' (Maybe String) */
7649
7654
  function FFI_Git_unpushedCommits($0, $1, $2) {
7650
- return Data_Promise_x3ex3ex3d_Monad_Promise($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__unpushedCommits($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_Promise(FFI_Git_case__unpushedCommits_2011($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7655
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__unpushedCommits($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(FFI_Git_case__unpushedCommits_2494($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7651
7656
  }
7652
7657
 
7653
- /* FFI.Git.uncommittedChanges : Git => Promise (Maybe String) */
7658
+ /* FFI.Git.uncommittedChanges : Git => Promise' (Maybe String) */
7654
7659
  function FFI_Git_uncommittedChanges($0, $1, $2) {
7655
- return Data_Promise_x3ex3ex3d_Monad_Promise($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__uncommittedChanges($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_Promise(FFI_Git_case__uncommittedChanges_1885($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7660
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__uncommittedChanges($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(FFI_Git_case__uncommittedChanges_2364($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7656
7661
  }
7657
7662
 
7658
- /* FFI.Git.stagedChanges : Git => Promise (Maybe String) */
7663
+ /* FFI.Git.stagedChanges : Git => Promise' (Maybe String) */
7659
7664
  function FFI_Git_stagedChanges($0, $1, $2) {
7660
- return Data_Promise_x3ex3ex3d_Monad_Promise($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__stagedChanges($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_Promise(FFI_Git_case__stagedChanges_1948($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7665
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__stagedChanges($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(FFI_Git_case__stagedChanges_2429($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7661
7666
  }
7662
7667
 
7663
- /* FFI.Git.rootDir : Git => Promise String */
7668
+ /* FFI.Git.rootDir : Git => Promise' String */
7664
7669
  function FFI_Git_rootDir($0, $1, $2) {
7665
7670
  return FFI_promiseIO($5 => $6 => $7 => FFI_Git_prim__rootDir($0, $5, $6, $7), $1, $2);
7666
7671
  }
7667
7672
 
7668
- /* FFI.Git.remoteURI : Git => String -> Promise String */
7673
+ /* FFI.Git.remoteURI : Git => String -> Promise' String */
7669
7674
  function FFI_Git_remoteURI($0, $1, $2, $3) {
7670
7675
  return FFI_promiseIO($6 => $7 => $8 => FFI_Git_prim__remoteURI($0, $1, $6, $7, $8), $2, $3);
7671
7676
  }
7672
7677
 
7673
- /* FFI.Git.remoteTrackingBranch : Git => Promise (Maybe String) */
7678
+ /* FFI.Git.remoteTrackingBranch : Git => Promise' (Maybe String) */
7674
7679
  function FFI_Git_remoteTrackingBranch($0, $1, $2) {
7675
- return Data_Promise_x3ex3ex3d_Monad_Promise($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__remoteTrackingBranch($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_Promise(FFI_Git_case__remoteTrackingBranch_1822($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7680
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($5 => $6 => FFI_promiseIO($9 => $a => $b => FFI_Git_prim__remoteTrackingBranch($0, $9, $a, $b), $5, $6), str => $14 => $15 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(FFI_Git_case__remoteTrackingBranch_2299($0, str, Data_String_strM(str)), $14, $15), $1, $2);
7676
7681
  }
7677
7682
 
7678
- /* FFI.Git.pushNewBranch : Git => String -> String -> Promise () */
7683
+ /* FFI.Git.pushNewBranch : Git => String -> String -> Promise' () */
7679
7684
  function FFI_Git_pushNewBranch($0, $1, $2, $3, $4) {
7680
- return Data_Promise_map_Functor_Promise($7 => (undefined), $9 => $a => FFI_promiseIO($d => $e => $f => FFI_Git_prim__pushNewBranch($0, $1, $2, $d, $e, $f), $9, $a), $3, $4);
7685
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($7 => (undefined), $9 => $a => FFI_promiseIO($d => $e => $f => FFI_Git_prim__pushNewBranch($0, $1, $2, $d, $e, $f), $9, $a), $3, $4);
7681
7686
  }
7682
7687
 
7683
- /* FFI.Git.push : Git => Promise () */
7688
+ /* FFI.Git.push : Git => Promise' () */
7684
7689
  function FFI_Git_push($0, $1, $2) {
7685
- return Data_Promise_map_Functor_Promise($5 => (undefined), $7 => $8 => FFI_promiseIO($b => $c => $d => FFI_Git_prim__push($0, $b, $c, $d), $7, $8), $1, $2);
7690
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($5 => (undefined), $7 => $8 => FFI_promiseIO($b => $c => $d => FFI_Git_prim__push($0, $b, $c, $d), $7, $8), $1, $2);
7686
7691
  }
7687
7692
 
7688
- /* FFI.Git.listRemotes : Git => Promise (List String) */
7693
+ /* FFI.Git.listRemotes : Git => Promise' (List String) */
7689
7694
  function FFI_Git_listRemotes($0, $1, $2) {
7690
- return Data_Promise_map_Functor_Promise($5 => Data_String_lines($5), $9 => $a => FFI_promiseIO($d => $e => $f => FFI_Git_prim__listRemotes($0, $d, $e, $f), $9, $a), $1, $2);
7695
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($5 => Data_String_lines($5), $9 => $a => FFI_promiseIO($d => $e => $f => FFI_Git_prim__listRemotes($0, $d, $e, $f), $9, $a), $1, $2);
7691
7696
  }
7692
7697
 
7693
7698
  /* FFI.Git.git : HasIO io => io Git */
@@ -7695,49 +7700,49 @@ function FFI_Git_git($0) {
7695
7700
  return $0.a1.a1.a1(undefined)(undefined)($b => $b)($0.a2(undefined)($12 => FFI_Git_prim__git($12)));
7696
7701
  }
7697
7702
 
7698
- /* FFI.Git.currentBranch : Git => Promise String */
7703
+ /* FFI.Git.currentBranch : Git => Promise' String */
7699
7704
  function FFI_Git_currentBranch($0, $1, $2) {
7700
7705
  return FFI_promiseIO($5 => $6 => $7 => FFI_Git_prim__currentBranch($0, $5, $6, $7), $1, $2);
7701
7706
  }
7702
7707
 
7703
- /* FFI.Git.checkoutBranch : Git => String -> Promise () */
7708
+ /* FFI.Git.checkoutBranch : Git => String -> Promise' () */
7704
7709
  function FFI_Git_checkoutBranch($0, $1, $2, $3) {
7705
- return Data_Promise_map_Functor_Promise($6 => (undefined), $8 => $9 => FFI_promiseIO($c => $d => $e => FFI_Git_prim__checkoutBranch($0, $1, $c, $d, $e), $8, $9), $2, $3);
7710
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($6 => (undefined), $8 => $9 => FFI_promiseIO($c => $d => $e => FFI_Git_prim__checkoutBranch($0, $1, $c, $d, $e), $8, $9), $2, $3);
7706
7711
  }
7707
7712
 
7708
- /* FFI.promiseIO : ((String -> PrimIO ()) -> (String -> PrimIO ()) -> PrimIO ()) -> Promise String */
7713
+ /* FFI.promiseIO : ((String -> PrimIO ()) -> (String -> PrimIO ()) -> PrimIO ()) -> Promise String String */
7709
7714
  function FFI_promiseIO($0, $1, $2) {
7710
7715
  return Data_Promise_promisify(ok => notOk => $0(res => ok(res))(err => notOk(err)), $1, $2);
7711
7716
  }
7712
7717
 
7713
7718
  /* Data.Promise.pure */
7714
- function Data_Promise_pure_Applicative_Promise($0, $1, $2) {
7719
+ function Data_Promise_pure_Applicative_x28Promisex20x24ex29($0, $1, $2) {
7715
7720
  return $1($0);
7716
7721
  }
7717
7722
 
7718
7723
  /* Data.Promise.map */
7719
- function Data_Promise_map_Functor_Promise($0, $1, $2, $3) {
7720
- return $1(x => $2($0(x)))($3);
7724
+ function Data_Promise_map_Functor_x28Promisex20x24ex29($0, $1, $2, $3) {
7725
+ return $1($7 => $2($0($7)))($3);
7721
7726
  }
7722
7727
 
7723
7728
  /* Data.Promise.liftIO */
7724
- function Data_Promise_liftIO_HasIO_Promise($0, $1, $2, $3) {
7729
+ function Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($0, $1, $2, $3) {
7725
7730
  const $4 = $0($3);
7726
7731
  return $1($4)($3);
7727
7732
  }
7728
7733
 
7729
7734
  /* Data.Promise.join */
7730
- function Data_Promise_join_Monad_Promise($0) {
7731
- return $1 => $2 => Data_Promise_x3ex3ex3d_Monad_Promise($0, $6 => $6, $1, $2);
7735
+ function Data_Promise_join_Monad_x28Promisex20x24ex29($0) {
7736
+ return $1 => $2 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($0, $6 => $6, $1, $2);
7732
7737
  }
7733
7738
 
7734
7739
  /* Data.Promise.>>= */
7735
- function Data_Promise_x3ex3ex3d_Monad_Promise($0, $1, $2, $3) {
7740
+ function Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($0, $1, $2, $3) {
7736
7741
  return Data_Promise_bind($0, $1, $2, $3);
7737
7742
  }
7738
7743
 
7739
7744
  /* Data.Promise.<|> */
7740
- function Data_Promise_x3cx7cx3e_Alternative_Promise($0, $1, $2, $3) {
7745
+ function Data_Promise_x3cx7cx3e_Alternative_x28Promisex20Stringx29($0, $1, $2, $3) {
7741
7746
  const $7 = $8 => {
7742
7747
  const $b = $1();
7743
7748
  const $a = $b;
@@ -7748,36 +7753,50 @@ function Data_Promise_x3cx7cx3e_Alternative_Promise($0, $1, $2, $3) {
7748
7753
  }
7749
7754
 
7750
7755
  /* Data.Promise.<*> */
7751
- function Data_Promise_x3cx2ax3e_Applicative_Promise($0, $1, $2, $3) {
7752
- return Data_Promise_bind($0, f => $7 => $8 => Data_Promise_map_Functor_Promise(f, $1, $7, $8), $2, $3);
7756
+ function Data_Promise_x3cx2ax3e_Applicative_x28Promisex20x24ex29($0, $1, $2, $3) {
7757
+ return Data_Promise_bind($0, f => $7 => $8 => Data_Promise_map_Functor_x28Promisex20x24ex29(f, $1, $7, $8), $2, $3);
7753
7758
  }
7754
7759
 
7755
- /* Data.Promise.resolve' : (a -> IO ()) -> (String -> IO ()) -> Promise a -> IO () */
7760
+ /* Data.Promise.resolve' : (a -> IO ()) -> (e -> IO ()) -> Promise e a -> IO () */
7756
7761
  function Data_Promise_resolvex27($0, $1, $2) {
7757
7762
  return $2($0)($1);
7758
7763
  }
7759
7764
 
7760
- /* Data.Promise.reject : String -> Promise a */
7765
+ /* Data.Promise.reject : e -> Promise e a */
7761
7766
  function Data_Promise_reject($0, $1, $2) {
7762
7767
  return $2($0);
7763
7768
  }
7764
7769
 
7765
- /* Data.Promise.promisify : PromiseShape a -> Promise a */
7770
+ /* Data.Promise.promisify : PromiseShape e a -> Promise e a */
7766
7771
  function Data_Promise_promisify($0, $1, $2) {
7767
7772
  return $0($1)($2);
7768
7773
  }
7769
7774
 
7770
- /* Data.Promise.either : Show e => Either e a -> Promise a */
7771
- function Data_Promise_either($0, $1, $2) {
7772
- return $3 => {
7773
- switch($1.h) {
7774
- case 0: /* Left */ return Data_Promise_reject($0.a1($1.a1), $2, $3);
7775
- case 1: /* Right */ return Data_Promise_pure_Applicative_Promise($1.a1, $2, $3);
7775
+ /* Data.Promise.mapError : (e -> e') -> Promise e a -> Promise e' a */
7776
+ function Data_Promise_mapError($0, $1, $2, $3) {
7777
+ return $1($2)($8 => $3($0($8)));
7778
+ }
7779
+
7780
+ /* Data.Promise.either : Either e a -> Promise e a */
7781
+ function Data_Promise_either($0, $1) {
7782
+ return $2 => {
7783
+ switch($0.h) {
7784
+ case 0: /* Left */ return Data_Promise_reject($0.a1, $1, $2);
7785
+ case 1: /* Right */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29($0.a1, $1, $2);
7776
7786
  }
7777
7787
  };
7778
7788
  }
7779
7789
 
7780
- /* Data.Promise.bind : Promise a -> (a -> Promise b) -> Promise b */
7790
+ /* Data.Promise.bindError : Promise e a -> (e -> Promise e' a) -> Promise e' a */
7791
+ function Data_Promise_bindError($0, $1, $2, $3) {
7792
+ const $7 = x => {
7793
+ const $8 = $1(x);
7794
+ return $8($2)($3);
7795
+ };
7796
+ return $0($2)($7);
7797
+ }
7798
+
7799
+ /* Data.Promise.bind : Promise e a -> (a -> Promise e b) -> Promise e b */
7781
7800
  function Data_Promise_bind($0, $1, $2, $3) {
7782
7801
  const $6 = x => {
7783
7802
  const $7 = $1(x);
@@ -8357,18 +8376,18 @@ function Help_subcommandHelpx27($0) {
8357
8376
  case 'config': return Help_subcommand($0, {a1: Help_argument(1, '<property>'), a2: {a1: Help_argument(0, '<value>'), a2: {h: 0}}}, {a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Util_reflow(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $5c => $5c, {a1: 'Get or set the value of a configuration property. Not all properties\ncan be set and read via this subcommand.', a2: {h: 0}})), Text_PrettyPrint_Prettyprinter_Doc_line()), Help_argumentx27('properties')), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines(':'), a2: {h: 0}})), Text_PrettyPrint_Prettyprinter_Doc_align(Text_PrettyPrint_Prettyprinter_Doc_concatWith(a => b => Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(a, Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines(','), a2: {h: 0}})), Text_PrettyPrint_Prettyprinter_Doc_softline()), b), Prelude_Types_List_mapAppend({h: 0}, $85 => Help_option($85), Data_Config_settablePropNames())))), a2: {h: 0}});
8358
8377
  case 'pr': return Help_subcommand($0, {a1: Help_argument(0, '--draft'), a2: csegen_311()}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Identify an existing PR or create a new one for the current branch.'), a2: csegen_317()});
8359
8378
  case 'contribute': return Help_subcommand($0, {a1: Help_argument(0, '-c/--checkout'), a2: {a1: Help_argument(0, '-<num>'), a2: {a1: Help_argument(0, '-i/--ignore {<uri>/<pr-number>}'), a2: {h: 0}}}}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $b5 => $b5, {a1: 'Contribute to an open PR. Prints a URL. Prioritizes PRs you are\nrequested to review but will also return other PRs.', a2: {h: 0}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Util_reflow(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $c2 => $c2, {a1: 'Use dash followed by a number (e.g. \'-3\') to skip that number of\npotential PRs and return the next.', a2: {h: 0}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Util_reflow(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $cf => $cf, {a1: 'Specify a PR to ignore (only affects the local Harmony config on\nthis machine) if you would like to more permanently skip a potential\nPR. Do this with the \'--ignore\' option followed by a GitHub URI or\nPull Request number.', a2: {h: 0}})), a2: {h: 0}}}});
8360
- case 'graph': return Help_subcommand($0, {a1: Help_argument(0, '-c/--completed'), a2: csegen_351()}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Graph the relative review workload of the members of the given GitHub Team.'), a2: {h: 0}});
8379
+ case 'graph': return Help_subcommand($0, {a1: Help_argument(0, '-c/--completed'), a2: {a1: Help_argument(1, '<team-slug>'), a2: {h: 0}}}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Graph the relative review workload of the members of the given GitHub Team.'), a2: {h: 0}});
8361
8380
  case 'help': return Help_subcommand($0, {a1: Help_argument(0, '<subcommand>'), a2: {h: 0}}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Print help'), a2: {h: 0}});
8362
8381
  case 'version': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Print version'), a2: {h: 0}});
8363
8382
  case 'sync': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Synchronize local config with information from GitHub.'), a2: {h: 0}});
8364
8383
  case 'branch': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Print the GitHub URI for the currently checked out branch.'), a2: {h: 0}});
8365
8384
  case 'whoami': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Print information about the configured and authenticated user.'), a2: {h: 0}});
8366
8385
  case 'reflect': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Reflect on the current state of ones own PRs and review requests.'), a2: {h: 0}});
8367
- case 'list': return Help_subcommand($0, csegen_351(), {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('List the members of the given GitHub Team.'), a2: {h: 0}});
8386
+ case 'list': return Help_subcommand($0, {a1: Help_argument(0, '<team-slug>'), a2: {h: 0}}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('List all teams or the members of the given GitHub Team.'), a2: {h: 0}});
8368
8387
  case 'health': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Util_reflow('Graph all open PRs grouped by the month they were created.'), a2: {h: 0}});
8369
8388
  case 'rq': return Help_subcommand($0, {h: 0}, {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Alias for \'request\' command.'), a2: {h: 0}});
8370
8389
  case 'assign': return Help_subcommand($0, {h: 0}, {a1: Help_warning('Deprecated alias for \'request\' command.'), a2: {h: 0}});
8371
- default: return Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $13f => $13f, {a1: 'Unreconized command: ', a2: {a1: $0, a2: {h: 0}}}));
8390
+ default: return Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $147 => $147, {a1: 'Unreconized command: ', a2: {a1: $0, a2: {h: 0}}}));
8372
8391
  }
8373
8392
  }
8374
8393
 
@@ -8477,6 +8496,40 @@ function FFI_Term_termCols($0) {
8477
8496
  }
8478
8497
  }
8479
8498
 
8499
+ /* FFI.GitHub.6688:5597:unexpectedPayload */
8500
+ function FFI_GitHub_n__6688_5597_unexpectedPayload($0, $1) {
8501
+ return FFI_GitHub_internalError(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $9 => $9, {a1: 'Unexpected error JSON: ', a2: {a1: $0, a2: {h: 0}}}));
8502
+ }
8503
+
8504
+ /* FFI.GitHub.6688:5596:parse */
8505
+ function FFI_GitHub_n__6688_5596_parse($0, $1) {
8506
+ switch($1.h) {
8507
+ case 6: /* JObject */ return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_lookupAll({a1: 'status', a2: {a1: 'error', a2: {h: 0}}}, $1.a1), $d => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_integer($d.a1), s => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($d.a2.a1), e => ({h: 1 /* Right */, a1: {a1: FFI_GitHub_statusCode(s), a2: e}}))));
8508
+ default: return {h: 0 /* Left */, a1: 'Expected an Object containing error and status keys'};
8509
+ }
8510
+ }
8511
+
8512
+ /* FFI.GitHub.7920:6871:errString */
8513
+ function FFI_GitHub_n__7920_6871_errString($0, $1) {
8514
+ switch($1.h) {
8515
+ case 0: /* nothing */ return 'You can only use teams with repositories belonging to GitHub organizations';
8516
+ case undefined: /* just */ return $1.a1;
8517
+ }
8518
+ }
8519
+
8520
+ /* FFI.GitHub.7037:5969:errString */
8521
+ function FFI_GitHub_n__7037_5969_errString($0, $1) {
8522
+ switch($1.h) {
8523
+ case 0: /* nothing */ return 'You can only list teams for repositories belonging to GitHub organizations';
8524
+ case undefined: /* just */ return $1.a1;
8525
+ }
8526
+ }
8527
+
8528
+ /* FFI.GitHub.6821:5730:errMsg */
8529
+ function FFI_GitHub_n__6821_5730_errMsg($0) {
8530
+ return Prelude_Types_either(() => csegen_409()(), () => csegen_409()(), $0);
8531
+ }
8532
+
8480
8533
  /* FFI.GitHub.show */
8481
8534
  function FFI_GitHub_show_Show_GitHubPRState($0) {
8482
8535
  switch($0) {
@@ -8485,6 +8538,14 @@ function FFI_GitHub_show_Show_GitHubPRState($0) {
8485
8538
  }
8486
8539
  }
8487
8540
 
8541
+ /* FFI.GitHub.statusCode : Integer -> ErrorCode */
8542
+ function FFI_GitHub_statusCode($0) {
8543
+ switch(Prelude_EqOrd_x3dx3d_Eq_Integer($0, 404n)) {
8544
+ case 1: return {h: 0 /* NotFound */};
8545
+ case 0: return {h: 2 /* OtherStatus */, a1: $0};
8546
+ }
8547
+ }
8548
+
8488
8549
  /* FFI.GitHub.pullRequestStateFilter : Maybe GitHubPRState -> String */
8489
8550
  function FFI_GitHub_pullRequestStateFilter($0) {
8490
8551
  switch($0.h) {
@@ -8493,98 +8554,162 @@ function FFI_GitHub_pullRequestStateFilter($0) {
8493
8554
  }
8494
8555
  }
8495
8556
 
8557
+ /* FFI.GitHub.parseOctokitError : String -> OctokitError */
8558
+ function FFI_GitHub_parseOctokitError($0) {
8559
+ return Prelude_Types_either(() => $3 => $3, () => $5 => $5, FFI_GitHub_parseError($0));
8560
+ }
8561
+
8562
+ /* FFI.GitHub.parseError : String -> Either OctokitError OctokitError */
8563
+ function FFI_GitHub_parseError($0) {
8564
+ const $3 = JSON_Parser_parseJSON({h: 0}, $0);
8565
+ let $2;
8566
+ switch($3.h) {
8567
+ case 0: /* Left */ {
8568
+ $2 = {h: 0 /* Left */, a1: FFI_GitHub_n__6688_5597_unexpectedPayload($0, $3.a1)};
8569
+ break;
8570
+ }
8571
+ case 1: /* Right */ {
8572
+ $2 = {h: 1 /* Right */, a1: $3.a1};
8573
+ break;
8574
+ }
8575
+ }
8576
+ const $c = json => {
8577
+ const $d = FFI_GitHub_n__6688_5596_parse($0, json);
8578
+ switch($d.h) {
8579
+ case 0: /* Left */ return {h: 0 /* Left */, a1: FFI_GitHub_internalError($d.a1)};
8580
+ case 1: /* Right */ return {h: 1 /* Right */, a1: $d.a1};
8581
+ }
8582
+ };
8583
+ return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29($2, $c);
8584
+ }
8585
+
8586
+ /* FFI.GitHub.orgError : OctokitError -> OrgError */
8587
+ function FFI_GitHub_orgError($0) {
8588
+ switch($0.a1.h) {
8589
+ case 0: /* NotFound */ return {h: 0};
8590
+ case 1: /* InternalError */ return {a1: $0.a2};
8591
+ case 2: /* OtherStatus */ return {a1: $0.a2};
8592
+ }
8593
+ }
8594
+
8496
8595
  /* FFI.GitHub.octokit : String -> IO Octokit */
8497
8596
  function FFI_GitHub_octokit($0, $1) {
8498
8597
  return Prelude_IO_map_Functor_IO($4 => $4, $6 => FFI_GitHub_prim__octokit($0, $6), $1);
8499
8598
  }
8500
8599
 
8501
- /* FFI.GitHub.listTeams : Octokit => String -> Promise (List String) */
8600
+ /* FFI.GitHub.mapOrgError : Promise String a -> Promise OrgError a */
8601
+ function FFI_GitHub_mapOrgError($0, $1, $2) {
8602
+ return Data_Promise_mapError($5 => FFI_GitHub_orgError(FFI_GitHub_parseOctokitError($5)), $0, $1, $2);
8603
+ }
8604
+
8605
+ /* FFI.GitHub.listTeams : Octokit => String -> Promise OrgError (List String) */
8502
8606
  function FFI_GitHub_listTeams($0, $1, $2, $3) {
8503
- return Data_Promise_map_Functor_Promise($6 => Data_String_lines($6), $a => $b => FFI_promiseIO($e => $f => $10 => FFI_GitHub_prim__listTeams($0, $1, $e, $f, $10), $a, $b), $2, $3);
8607
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($6 => Data_String_lines($6), $a => $b => FFI_GitHub_mapOrgError($e => $f => FFI_promiseIO($12 => $13 => $14 => FFI_GitHub_prim__listTeams($0, $1, $12, $13, $14), $e, $f), $a, $b), $2, $3);
8504
8608
  }
8505
8609
 
8506
- /* FFI.GitHub.listTeamMembers : Octokit => String -> String -> Promise (List String) */
8610
+ /* FFI.GitHub.listTeamMembers : Octokit => String -> String -> Promise OrgError (List String) */
8507
8611
  function FFI_GitHub_listTeamMembers($0, $1, $2, $3, $4) {
8508
- return Data_Promise_map_Functor_Promise($7 => Data_String_lines($7), $b => $c => FFI_promiseIO($f => $10 => $11 => FFI_GitHub_prim__listTeamMembers($0, $1, $2, $f, $10, $11), $b, $c), $3, $4);
8612
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($7 => Data_String_lines($7), $b => $c => FFI_GitHub_mapOrgError($f => $10 => FFI_promiseIO($13 => $14 => $15 => FFI_GitHub_prim__listTeamMembers($0, $1, $2, $13, $14, $15), $f, $10), $b, $c), $3, $4);
8509
8613
  }
8510
8614
 
8511
- /* FFI.GitHub.listRepoLabels : Octokit => String -> String -> Promise (List String) */
8615
+ /* FFI.GitHub.listRepoLabels : Octokit => String -> String -> Promise String (List String) */
8512
8616
  function FFI_GitHub_listRepoLabels($0, $1, $2, $3, $4) {
8513
- return Data_Promise_map_Functor_Promise($7 => Data_String_lines($7), $b => $c => FFI_promiseIO($f => $10 => $11 => FFI_GitHub_prim__listRepoLabels($0, $1, $2, $f, $10, $11), $b, $c), $3, $4);
8617
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($7 => Data_String_lines($7), $b => $c => FFI_GitHub_ignoreStatus($f => $10 => FFI_promiseIO($13 => $14 => $15 => FFI_GitHub_prim__listRepoLabels($0, $1, $2, $13, $14, $15), $f, $10), $b, $c), $3, $4);
8514
8618
  }
8515
8619
 
8516
- /* FFI.GitHub.listPullReviewsJsonStr : Octokit => String -> String -> Integer -> Promise String */
8620
+ /* FFI.GitHub.listPullReviewsJsonStr : Octokit => String -> String -> Integer -> Promise String String */
8517
8621
  function FFI_GitHub_listPullReviewsJsonStr($0, $1, $2, $3, $4, $5) {
8518
- return FFI_promiseIO($8 => $9 => $a => FFI_GitHub_prim__listPullReviews($0, $1, $2, $3, $8, $9, $a), $4, $5);
8622
+ return FFI_GitHub_ignoreStatus($8 => $9 => FFI_promiseIO($c => $d => $e => FFI_GitHub_prim__listPullReviews($0, $1, $2, $3, $c, $d, $e), $8, $9), $4, $5);
8519
8623
  }
8520
8624
 
8521
8625
  /* FFI.GitHub.listPullRequestsJsonStr : Octokit =>
8522
8626
  String -> String -> Maybe GitHubPRState -> Fin 101 -> {default 0 _ : Nat} ->
8523
- Promise String */
8627
+ Promise String String */
8524
8628
  function FFI_GitHub_listPullRequestsJsonStr($0, $1, $2, $3, $4, $5) {
8525
8629
  const $6 = FFI_GitHub_pullRequestStateFilter($3);
8526
8630
  const $9 = Number(_truncBigInt16($4));
8527
8631
  const $b = Number(_truncBigInt16(($5+1n)));
8528
- return $f => $10 => FFI_promiseIO($13 => $14 => $15 => FFI_GitHub_prim__listPullRequests($0, $1, $2, $6, $9, $b, $13, $14, $15), $f, $10);
8632
+ return $f => $10 => FFI_GitHub_ignoreStatus($13 => $14 => FFI_promiseIO($17 => $18 => $19 => FFI_GitHub_prim__listPullRequests($0, $1, $2, $6, $9, $b, $17, $18, $19), $13, $14), $f, $10);
8529
8633
  }
8530
8634
 
8531
8635
  /* FFI.GitHub.listPullRequests : Octokit =>
8532
8636
  String -> String -> Maybe GitHubPRState -> Fin 101 -> {default 0 _ : Nat} ->
8533
- Promise (List PullRequest) */
8637
+ Promise String (List PullRequest) */
8534
8638
  function FFI_GitHub_listPullRequests($0, $1, $2, $3, $4, $5) {
8535
- return Prelude_Basics_flip(csegen_407(), csegen_408(), FFI_GitHub_listPullRequestsJsonStr($0, $1, $2, $3, $4, $5));
8639
+ return Prelude_Basics_flip(csegen_411(), csegen_412(), FFI_GitHub_listPullRequestsJsonStr($0, $1, $2, $3, $4, $5));
8536
8640
  }
8537
8641
 
8538
- /* FFI.GitHub.listPRsForBranch : Octokit => String -> String -> String -> Promise (List PullRequest) */
8642
+ /* FFI.GitHub.listPRsForBranch : Octokit => String -> String -> String -> Promise String (List PullRequest) */
8539
8643
  function FFI_GitHub_listPRsForBranch($0, $1, $2, $3) {
8540
- return Prelude_Basics_flip(csegen_407(), csegen_408(), $a => $b => FFI_promiseIO($e => $f => $10 => FFI_GitHub_prim__listPRsForBranch($0, $1, $2, $3, $e, $f, $10), $a, $b));
8644
+ return Prelude_Basics_flip(csegen_411(), csegen_412(), $a => $b => FFI_GitHub_ignoreStatus($e => $f => FFI_promiseIO($12 => $13 => $14 => FFI_GitHub_prim__listPRsForBranch($0, $1, $2, $3, $12, $13, $14), $e, $f), $a, $b));
8541
8645
  }
8542
8646
 
8543
- /* FFI.GitHub.listOrgMembers : Octokit => String -> Promise (List String) */
8647
+ /* FFI.GitHub.listOrgMembers : Octokit => String -> Promise OrgError (List String) */
8544
8648
  function FFI_GitHub_listOrgMembers($0, $1, $2, $3) {
8545
- return Data_Promise_map_Functor_Promise($6 => Data_String_lines($6), $a => $b => FFI_promiseIO($e => $f => $10 => FFI_GitHub_prim__listOrgMembers($0, $1, $e, $f, $10), $a, $b), $2, $3);
8649
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($6 => Data_String_lines($6), $a => $b => FFI_GitHub_mapOrgError($e => $f => FFI_promiseIO($12 => $13 => $14 => FFI_GitHub_prim__listOrgMembers($0, $1, $12, $13, $14), $e, $f), $a, $b), $2, $3);
8546
8650
  }
8547
8651
 
8548
- /* FFI.GitHub.listMyTeams : Octokit => Promise (List String) */
8652
+ /* FFI.GitHub.listMyTeams : Octokit => Promise String (List String) */
8549
8653
  function FFI_GitHub_listMyTeams($0, $1, $2) {
8550
- return Data_Promise_map_Functor_Promise($5 => Data_String_lines($5), $9 => $a => FFI_promiseIO($d => $e => $f => FFI_GitHub_prim__listMyTeams($0, $d, $e, $f), $9, $a), $1, $2);
8654
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($5 => Data_String_lines($5), $9 => $a => FFI_GitHub_ignoreStatus($d => $e => FFI_promiseIO($11 => $12 => $13 => FFI_GitHub_prim__listMyTeams($0, $11, $12, $13), $d, $e), $9, $a), $1, $2);
8551
8655
  }
8552
8656
 
8553
- /* FFI.GitHub.getUser : Octokit => String -> Promise User */
8657
+ /* FFI.GitHub.internalError : String -> OctokitError */
8658
+ function FFI_GitHub_internalError($0) {
8659
+ return {a1: {h: 1 /* InternalError */}, a2: $0};
8660
+ }
8661
+
8662
+ /* FFI.GitHub.ignoreStatus : Promise String a -> Promise String a */
8663
+ function FFI_GitHub_ignoreStatus($0, $1, $2) {
8664
+ return Data_Promise_mapError($5 => FFI_GitHub_n__6821_5730_errMsg(FFI_GitHub_parseError($5)), $0, $1, $2);
8665
+ }
8666
+
8667
+ /* FFI.GitHub.getUser : Octokit => String -> Promise String User */
8554
8668
  function FFI_GitHub_getUser($0) {
8555
- return Prelude_Interfaces_x3cx3dx3c(csegen_70()(), csegen_409(), $8 => $9 => $a => FFI_promiseIO($d => $e => $f => FFI_GitHub_prim__getUser($0, $8, $d, $e, $f), $9, $a));
8669
+ return Prelude_Interfaces_x3cx3dx3c(csegen_70()(), csegen_414(), $8 => $9 => $a => FFI_GitHub_ignoreStatus($d => $e => FFI_promiseIO($11 => $12 => $13 => FFI_GitHub_prim__getUser($0, $8, $11, $12, $13), $d, $e), $9, $a));
8556
8670
  }
8557
8671
 
8558
- /* FFI.GitHub.getSelf : Octokit => Promise User */
8672
+ /* FFI.GitHub.getSelf : Octokit => Promise String User */
8559
8673
  function FFI_GitHub_getSelf($0) {
8560
- return Prelude_Basics_flip(csegen_407(), csegen_409(), $7 => $8 => FFI_promiseIO($b => $c => $d => FFI_GitHub_prim__getSelf($0, $b, $c, $d), $7, $8));
8674
+ return Prelude_Basics_flip(csegen_411(), csegen_414(), $7 => $8 => FFI_GitHub_ignoreStatus($b => $c => FFI_promiseIO($f => $10 => $11 => FFI_GitHub_prim__getSelf($0, $f, $10, $11), $b, $c), $7, $8));
8561
8675
  }
8562
8676
 
8563
- /* FFI.GitHub.getRepoDefaultBranch : Octokit => String -> String -> Promise String */
8677
+ /* FFI.GitHub.getRepoDefaultBranch : Octokit => String -> String -> Promise String String */
8564
8678
  function FFI_GitHub_getRepoDefaultBranch($0, $1, $2, $3, $4) {
8565
- return FFI_promiseIO($7 => $8 => $9 => FFI_GitHub_prim__getRepoDefaultBranch($0, $1, $2, $7, $8, $9), $3, $4);
8679
+ return FFI_GitHub_ignoreStatus($7 => $8 => FFI_promiseIO($b => $c => $d => FFI_GitHub_prim__getRepoDefaultBranch($0, $1, $2, $b, $c, $d), $7, $8), $3, $4);
8680
+ }
8681
+
8682
+ /* FFI.GitHub.forceListTeams : Octokit => String -> Promise' (List String) */
8683
+ function FFI_GitHub_forceListTeams($0, $1, $2, $3) {
8684
+ return Data_Promise_mapError($6 => FFI_GitHub_n__7037_5969_errString($0, $6), $b => $c => FFI_GitHub_listTeams($0, $1, $b, $c), $2, $3);
8685
+ }
8686
+
8687
+ /* FFI.GitHub.forceListTeamMembers : Octokit => String -> String -> Promise' (List String) */
8688
+ function FFI_GitHub_forceListTeamMembers($0, $1, $2, $3, $4) {
8689
+ return Data_Promise_mapError($7 => FFI_GitHub_n__7920_6871_errString($0, $7), $c => $d => FFI_GitHub_listTeamMembers($0, $1, $2, $c, $d), $3, $4);
8566
8690
  }
8567
8691
 
8568
8692
  /* FFI.GitHub.createPR : Octokit => {default False _ : Bool} ->
8569
- String -> String -> String -> String -> String -> String -> Promise PullRequest */
8693
+ String -> String -> String -> String -> String -> String -> Promise String PullRequest */
8570
8694
  function FFI_GitHub_createPR($0, $1, $2, $3, $4, $5, $6, $7) {
8571
- return Prelude_Basics_flip(csegen_407(), $c => $d => Data_Promise_either(csegen_52(), Data_PullRequest_parsePullRequestString($c), $d), $16 => $17 => FFI_promiseIO($1a => $1b => $1c => FFI_GitHub_prim__createPR($0, $2, $3, $4, $5, $6, $7, $1, $1a, $1b, $1c), $16, $17));
8695
+ return Prelude_Basics_flip(csegen_411(), $c => $d => Data_Promise_either(Data_PullRequest_parsePullRequestString($c), $d), $14 => $15 => FFI_GitHub_ignoreStatus($18 => $19 => FFI_promiseIO($1c => $1d => $1e => FFI_GitHub_prim__createPR($0, $2, $3, $4, $5, $6, $7, $1, $1c, $1d, $1e), $18, $19), $14, $15));
8572
8696
  }
8573
8697
 
8574
- /* FFI.GitHub.createComment : Octokit => String -> String -> Integer -> String -> Promise () */
8698
+ /* FFI.GitHub.createComment : Octokit => String -> String -> Integer -> String -> Promise String () */
8575
8699
  function FFI_GitHub_createComment($0, $1, $2, $3, $4, $5, $6) {
8576
- return Data_Promise_map_Functor_Promise($9 => (undefined), $b => $c => FFI_promiseIO($f => $10 => $11 => FFI_GitHub_prim__createComment($0, $1, $2, $3, $4, $f, $10, $11), $b, $c), $5, $6);
8700
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($9 => (undefined), $b => $c => FFI_GitHub_ignoreStatus($f => $10 => FFI_promiseIO($13 => $14 => $15 => FFI_GitHub_prim__createComment($0, $1, $2, $3, $4, $13, $14, $15), $f, $10), $b, $c), $5, $6);
8577
8701
  }
8578
8702
 
8579
8703
  /* FFI.GitHub.addPullReviewers : Octokit =>
8580
- String -> String -> Integer -> List String -> List String -> Promise (List String) */
8704
+ String -> String -> Integer -> List String -> List String -> Promise String (List String) */
8581
8705
  function FFI_GitHub_addPullReviewers($0, $1, $2, $3, $4, $5, $6, $7) {
8582
- return Data_Promise_x3ex3ex3d_Monad_Promise($a => $b => Data_Promise_map_Functor_Promise($e => Data_String_lines($e), $12 => $13 => FFI_promiseIO($16 => $17 => $18 => FFI_GitHub_prim__addPullReviewers($0, $1, $2, $3, '', Data_String_Extra_join(',', csegen_146(), $5), $16, $17, $18), $12, $13), $a, $b), teamReviewers => $2d => $2e => Data_Promise_x3ex3ex3d_Monad_Promise($31 => $32 => Data_Promise_map_Functor_Promise($35 => Data_String_lines($35), $39 => $3a => FFI_promiseIO($3d => $3e => $3f => FFI_GitHub_prim__addPullReviewers($0, $1, $2, $3, Data_String_Extra_join(',', csegen_146(), $4), '', $3d, $3e, $3f), $39, $3a), $31, $32), individualReviewers => $54 => $55 => Data_Promise_pure_Applicative_Promise(Prelude_Types_List_tailRecAppend(teamReviewers, individualReviewers), $54, $55), $2d, $2e), $6, $7);
8706
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($a => $b => Data_Promise_map_Functor_x28Promisex20x24ex29($e => Data_String_lines($e), $12 => $13 => FFI_GitHub_ignoreStatus($16 => $17 => FFI_promiseIO($1a => $1b => $1c => FFI_GitHub_prim__addPullReviewers($0, $1, $2, $3, '', Data_String_Extra_join(',', csegen_146(), $5), $1a, $1b, $1c), $16, $17), $12, $13), $a, $b), teamReviewers => $33 => $34 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($37 => $38 => Data_Promise_map_Functor_x28Promisex20x24ex29($3b => Data_String_lines($3b), $3f => $40 => FFI_GitHub_ignoreStatus($43 => $44 => FFI_promiseIO($47 => $48 => $49 => FFI_GitHub_prim__addPullReviewers($0, $1, $2, $3, Data_String_Extra_join(',', csegen_146(), $4), '', $47, $48, $49), $43, $44), $3f, $40), $37, $38), individualReviewers => $60 => $61 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_List_tailRecAppend(teamReviewers, individualReviewers), $60, $61), $33, $34), $6, $7);
8583
8707
  }
8584
8708
 
8585
- /* FFI.GitHub.addPullLabels : Octokit => String -> String -> Integer -> List String -> Promise (List String) */
8709
+ /* FFI.GitHub.addPullLabels : Octokit =>
8710
+ String -> String -> Integer -> List String -> Promise String (List String) */
8586
8711
  function FFI_GitHub_addPullLabels($0, $1, $2, $3, $4, $5, $6) {
8587
- return Data_Promise_map_Functor_Promise($9 => Data_String_lines($9), $d => $e => FFI_promiseIO($11 => $12 => $13 => FFI_GitHub_prim__addLabels($0, $1, $2, $3, Data_String_Extra_join(',', csegen_146(), $4), $11, $12, $13), $d, $e), $5, $6);
8712
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($9 => Data_String_lines($9), $d => $e => FFI_GitHub_ignoreStatus($11 => $12 => FFI_promiseIO($15 => $16 => $17 => FFI_GitHub_prim__addLabels($0, $1, $2, $3, Data_String_Extra_join(',', csegen_146(), $4), $15, $16, $17), $11, $12), $d, $e), $5, $6);
8588
8713
  }
8589
8714
 
8590
8715
  /* Data.User.parseUserString : String -> Either String User */
@@ -8638,7 +8763,7 @@ function Data_Review_parseState($0) {
8638
8763
 
8639
8764
  /* Data.Review.parseReview : JSON -> Either String Review */
8640
8765
  function Data_Review_parseReview($0) {
8641
- return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_object($0), review => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_lookupAll({a1: 'author', a2: {a1: 'state', a2: {a1: 'submitted_at', a2: {h: 0}}}}, review), $12 => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($12.a1), author => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_414(), $22 => Data_Review_parseState($22), Language_JSON_Accessors_string($12.a2.a1)), state => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_414(), $2f => Data_Review_parseDateTime($2f), Language_JSON_Accessors_string($12.a2.a2.a1)), submittedAt => ({h: 1 /* Right */, a1: {a1: submittedAt, a2: author, a3: state}}))))));
8766
+ return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_object($0), review => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_lookupAll({a1: 'author', a2: {a1: 'state', a2: {a1: 'submitted_at', a2: {h: 0}}}}, review), $12 => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($12.a1), author => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_419(), $22 => Data_Review_parseState($22), Language_JSON_Accessors_string($12.a2.a1)), state => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_419(), $2f => Data_Review_parseDateTime($2f), Language_JSON_Accessors_string($12.a2.a2.a1)), submittedAt => ({h: 1 /* Right */, a1: {a1: submittedAt, a2: author, a3: state}}))))));
8642
8767
  }
8643
8768
 
8644
8769
  /* Data.Review.parseDateTime : String -> Either String Date */
@@ -8929,7 +9054,7 @@ function Data_PullRequest_parsePullRequestsString($0) {
8929
9054
  };
8930
9055
  const $3 = {a1: $4, a2: a => $c => ({h: 1 /* Right */, a1: $c}), a3: $e};
8931
9056
  const $2 = {a1: $3, a2: csegen_210(), a3: csegen_211()};
8932
- return Prelude_Interfaces_x3ex3dx3e($2, csegen_212(), csegen_427(), $0);
9057
+ return Prelude_Interfaces_x3ex3dx3e($2, csegen_212(), csegen_432(), $0);
8933
9058
  }
8934
9059
 
8935
9060
  /* Data.PullRequest.parsePullRequestString : String -> Either String PullRequest */
@@ -8958,7 +9083,7 @@ function Data_PullRequest_parsePullRequestString($0) {
8958
9083
 
8959
9084
  /* Data.PullRequest.parsePR : JSON -> Either String PullRequest */
8960
9085
  function Data_PullRequest_parsePR($0) {
8961
- return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_object($0), pr => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_lookupAll({a1: 'pull_number', a2: {a1: 'author', a2: {a1: 'state', a2: {a1: 'created_at', a2: {a1: 'merged', a2: {a1: 'draft', a2: {a1: 'reviewers', a2: {a1: 'head_ref', a2: {h: 0}}}}}}}}}, pr), $1c => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_integer($1c.a1), number => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($1c.a2.a1), author => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_bool($1c.a2.a2.a2.a2.a1), merged => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_bool($1c.a2.a2.a2.a2.a2.a1), isDraft => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_414(), $40 => Data_PullRequest_parseState(merged, $40), Language_JSON_Accessors_string($1c.a2.a2.a1)), state => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_414(), $4e => Data_PullRequest_parseDateTime($4e), Language_JSON_Accessors_string($1c.a2.a2.a2.a1)), createdAt => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_array($59 => Language_JSON_Accessors_string($59), $1c.a2.a2.a2.a2.a2.a2.a1), reviewers => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($1c.a2.a2.a2.a2.a2.a2.a2.a1), headRef => ({h: 1 /* Right */, a1: {a1: number, a2: createdAt, a3: isDraft, a4: author, a5: state, a6: reviewers, a7: headRef}})))))))))));
9086
+ return Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_object($0), pr => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_lookupAll({a1: 'pull_number', a2: {a1: 'author', a2: {a1: 'state', a2: {a1: 'created_at', a2: {a1: 'merged', a2: {a1: 'draft', a2: {a1: 'reviewers', a2: {a1: 'head_ref', a2: {h: 0}}}}}}}}}, pr), $1c => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_integer($1c.a1), number => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($1c.a2.a1), author => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_bool($1c.a2.a2.a2.a2.a1), merged => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_bool($1c.a2.a2.a2.a2.a2.a1), isDraft => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_419(), $40 => Data_PullRequest_parseState(merged, $40), Language_JSON_Accessors_string($1c.a2.a2.a1)), state => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Prelude_Basics_flip(csegen_419(), $4e => Data_PullRequest_parseDateTime($4e), Language_JSON_Accessors_string($1c.a2.a2.a2.a1)), createdAt => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_array($59 => Language_JSON_Accessors_string($59), $1c.a2.a2.a2.a2.a2.a2.a1), reviewers => Prelude_Types_x3ex3ex3d_Monad_x28Eitherx20x24ex29(Language_JSON_Accessors_string($1c.a2.a2.a2.a2.a2.a2.a2.a1), headRef => ({h: 1 /* Right */, a1: {a1: number, a2: createdAt, a3: isDraft, a4: author, a5: state, a6: reviewers, a7: headRef}})))))))))));
8962
9087
  }
8963
9088
 
8964
9089
  /* Data.PullRequest.parseDateTime : String -> Either String Date */
@@ -8977,35 +9102,35 @@ function Data_PullRequest_isAuthor($0, $1) {
8977
9102
  }
8978
9103
 
8979
9104
  /* Config.with block in getConfig */
8980
- function Config_with__getConfig_2386($0, $1, $2, $3) {
9105
+ function Config_with__getConfig_2467($0, $1, $2, $3) {
8981
9106
  return $4 => {
8982
9107
  switch($1.h) {
8983
9108
  case 0: /* nothing */ return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $d => $d, {a1: $0, a2: {a1: ' cannot get read via `config` command.', a2: {h: 0}}}), $3, $4);
8984
- case undefined: /* just */ return Data_Promise_pure_Applicative_Promise(Config_propGetter($1.a1, $2), $3, $4);
9109
+ case undefined: /* just */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(Config_propGetter($1.a1, $2), $3, $4);
8985
9110
  }
8986
9111
  };
8987
9112
  }
8988
9113
 
8989
9114
  /* Config.with block in with block in setConfig */
8990
- function Config_with__withx20blockx20inx20setConfig_2201($0, $1, $2, $3, $4, $5, $6) {
9115
+ function Config_with__withx20blockx20inx20setConfig_2277($0, $1, $2, $3, $4, $5, $6) {
8991
9116
  return $7 => {
8992
9117
  switch($5.h) {
8993
9118
  case 0: /* nothing */ return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $10 => $10, {a1: $4, a2: {a1: ' is not a valid value for ', a2: {a1: $1, a2: {a1: '.', a2: {h: 0}}}}}), $6, $7);
8994
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Types_either(() => $20 => Util_renderIO($5.a1, csegen_73()(), $20), () => csegen_435()(), Config_checkConfigConsistency($5.a1)), $2e => $2f => $30 => Config_writeConfig($5.a1, $2f, $30), $6, $7);
9119
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Types_either(() => $20 => Util_renderIO($5.a1, csegen_73()(), $20), () => csegen_440()(), Config_checkConfigConsistency($5.a1)), $2e => $2f => $30 => Config_writeConfig($5.a1, $2f, $30), $6, $7);
8995
9120
  }
8996
9121
  };
8997
9122
  }
8998
9123
 
8999
9124
  /* Config.with block in setConfig */
9000
- function Config_with__setConfig_2171($0, $1, $2, $3) {
9125
+ function Config_with__setConfig_2245($0, $1, $2, $3) {
9001
9126
  switch($1.h) {
9002
9127
  case 0: /* nothing */ return $5 => $6 => Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: $0, a2: {a1: ' cannot be set via `config` command.', a2: {h: 0}}}), $5, $6);
9003
- case undefined: /* just */ return $16 => Config_with__withx20blockx20inx20setConfig_2201(undefined, $0, $1.a1, $3, $2, Config_propSetter($1.a1, $3)($2), $16);
9128
+ case undefined: /* just */ return $16 => Config_with__withx20blockx20inx20setConfig_2277(undefined, $0, $1.a1, $3, $2, Config_propSetter($1.a1, $3)($2), $16);
9004
9129
  }
9005
9130
  }
9006
9131
 
9007
9132
  /* Config.with block in parseBool */
9008
- function Config_with__parseBool_1625($0, $1) {
9133
+ function Config_with__parseBool_1699($0, $1) {
9009
9134
  switch($1) {
9010
9135
  case 'yes': return {a1: 1};
9011
9136
  case 'true': return {a1: 1};
@@ -9016,7 +9141,7 @@ function Config_with__parseBool_1625($0, $1) {
9016
9141
  }
9017
9142
 
9018
9143
  /* Config.with block in dropPrefix',drop' */
9019
- function Config_with__dropPrefixx27x2cdropx27_1450($0, $1, $2) {
9144
+ function Config_with__dropPrefixx27x2cdropx27_1524($0, $1, $2) {
9020
9145
  switch($2.h) {
9021
9146
  case 0: /* Yes */ return {a1: $2.a1.a1};
9022
9147
  case 1: /* No */ return {h: 0};
@@ -9024,7 +9149,7 @@ function Config_with__dropPrefixx27x2cdropx27_1450($0, $1, $2) {
9024
9149
  }
9025
9150
 
9026
9151
  /* Config.case block in parseGitHubURI,parseSuffix */
9027
- function Config_case__parseGitHubURIx2cparseSuffix_1511($0, $1, $2) {
9152
+ function Config_case__parseGitHubURIx2cparseSuffix_1585($0, $1, $2) {
9028
9153
  const $b = $c => {
9029
9154
  switch($c.h) {
9030
9155
  case undefined: /* cons */ {
@@ -9041,36 +9166,36 @@ function Config_case__parseGitHubURIx2cparseSuffix_1511($0, $1, $2) {
9041
9166
  default: return {h: 0};
9042
9167
  }
9043
9168
  };
9044
- return Prelude_Types_x3ex3ex3d_Monad_Maybe({a1: Data_String_split(csegen_436(), $2.a1)}, $b);
9169
+ return Prelude_Types_x3ex3ex3d_Monad_Maybe({a1: Data_String_split(csegen_441(), $2.a1)}, $b);
9045
9170
  }
9046
9171
 
9047
- /* Config.9448:2541:repo */
9048
- function Config_n__9448_2541_repo($0, $1, $2, $3, $4, $5) {
9049
- return Prelude_Types_map_Functor_Maybe(csegen_437()(), $5);
9172
+ /* Config.9665:2625:repo */
9173
+ function Config_n__9665_2625_repo($0, $1, $2, $3, $4, $5) {
9174
+ return Prelude_Types_map_Functor_Maybe(csegen_442()(), $5);
9050
9175
  }
9051
9176
 
9052
- /* Config.8441:1491:parseSuffix */
9053
- function Config_n__8441_1491_parseSuffix($0, $1) {
9054
- return Config_case__parseGitHubURIx2cparseSuffix_1511($0, $1, Data_String_break$($8 => Prelude_EqOrd_x3dx3d_Eq_Char($8, '.'), $1));
9177
+ /* Config.8648:1565:parseSuffix */
9178
+ function Config_n__8648_1565_parseSuffix($0, $1) {
9179
+ return Config_case__parseGitHubURIx2cparseSuffix_1585($0, $1, Data_String_break$($8 => Prelude_EqOrd_x3dx3d_Eq_Char($8, '.'), $1));
9055
9180
  }
9056
9181
 
9057
- /* Config.8441:1490:parseSSH */
9058
- function Config_n__8441_1490_parseSSH($0, $1) {
9059
- return Prelude_Interfaces_x3ex3dx3e(csegen_14(), $6 => Config_dropPrefixx27('git@github.com:', $6), $b => Config_n__8441_1491_parseSuffix($0, $b), $1);
9182
+ /* Config.8648:1564:parseSSH */
9183
+ function Config_n__8648_1564_parseSSH($0, $1) {
9184
+ return Prelude_Interfaces_x3ex3dx3e(csegen_14(), $6 => Config_dropPrefixx27('git@github.com:', $6), $b => Config_n__8648_1565_parseSuffix($0, $b), $1);
9060
9185
  }
9061
9186
 
9062
- /* Config.8441:1489:parseHTTPS */
9063
- function Config_n__8441_1489_parseHTTPS($0, $1) {
9064
- return Prelude_Interfaces_x3ex3dx3e(csegen_14(), $6 => Config_dropPrefixx27('https://github/com/', $6), $b => Config_n__8441_1491_parseSuffix($0, $b), $1);
9187
+ /* Config.8648:1563:parseHTTPS */
9188
+ function Config_n__8648_1563_parseHTTPS($0, $1) {
9189
+ return Prelude_Interfaces_x3ex3dx3e(csegen_14(), $6 => Config_dropPrefixx27('https://github/com/', $6), $b => Config_n__8648_1565_parseSuffix($0, $b), $1);
9065
9190
  }
9066
9191
 
9067
- /* Config.9448:2540:org */
9068
- function Config_n__9448_2540_org($0, $1, $2, $3, $4, $5) {
9069
- return Prelude_Types_map_Functor_Maybe(csegen_441()(), $5);
9192
+ /* Config.9665:2624:org */
9193
+ function Config_n__9665_2624_org($0, $1, $2, $3, $4, $5) {
9194
+ return Prelude_Types_map_Functor_Maybe(csegen_446()(), $5);
9070
9195
  }
9071
9196
 
9072
- /* Config.9448:2539:orIfEmpty */
9073
- function Config_n__9448_2539_orIfEmpty($0, $1, $2, $3, $4, $5, $6) {
9197
+ /* Config.9665:2623:orIfEmpty */
9198
+ function Config_n__9665_2623_orIfEmpty($0, $1, $2, $3, $4, $5, $6) {
9074
9199
  switch($5.h) {
9075
9200
  case 0: /* nothing */ return $6;
9076
9201
  case undefined: /* just */ {
@@ -9082,13 +9207,13 @@ function Config_n__9448_2539_orIfEmpty($0, $1, $2, $3, $4, $5, $6) {
9082
9207
  }
9083
9208
  }
9084
9209
 
9085
- /* Config.8156:1214:oneDayAgo */
9086
- function Config_n__8156_1214_oneDayAgo($0, $1, $2) {
9210
+ /* Config.8360:1285:oneDayAgo */
9211
+ function Config_n__8360_1285_oneDayAgo($0, $1, $2) {
9087
9212
  return $2.a1.a2(undefined)(undefined)(System_time($2))(now => $2.a1.a1.a2(undefined)(Number(_truncUBigInt32((now-86400n)))));
9088
9213
  }
9089
9214
 
9090
- /* Config.9448:2538:offerRetry */
9091
- function Config_n__9448_2538_offerRetry($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9215
+ /* Config.9665:2622:offerRetry */
9216
+ function Config_n__9665_2622_offerRetry($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9092
9217
  const $13 = $14 => {
9093
9218
  switch($14.h) {
9094
9219
  case 0: /* nothing */ {
@@ -9109,28 +9234,28 @@ function Config_n__9448_2538_offerRetry($0, $1, $2, $3, $4, $5, $6, $7, $8, $9)
9109
9234
  return $5.a1.a2(undefined)(undefined)($9)($13);
9110
9235
  }
9111
9236
 
9112
- /* Config.9351:2426:help */
9113
- function Config_n__9351_2426_help($0, $1) {
9237
+ /* Config.9568:2510:help */
9238
+ function Config_n__9568_2510_help($0, $1) {
9114
9239
  return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($1.a1)), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $14 => $14, {a1: ': ', a2: {a1: (Data_String_replicate(Prelude_Types_prim__integerToNat((Data_Config_longestSettablePropName()-Prelude_Types_String_length($1.a1))), ' ')+$1.a2), a2: {h: 0}}})));
9115
9240
  }
9116
9241
 
9117
- /* Config.9448:2537:enterForDefaultStr */
9118
- function Config_n__9448_2537_enterForDefaultStr($0, $1, $2, $3, $4, $5) {
9242
+ /* Config.9665:2621:enterForDefaultStr */
9243
+ function Config_n__9665_2621_enterForDefaultStr($0, $1, $2, $3, $4, $5) {
9119
9244
  return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $b => $b, {a1: ' (ENTER for default: ', a2: {a1: $5, a2: {a1: ')', a2: {h: 0}}}});
9120
9245
  }
9121
9246
 
9122
- /* Config.8394:1442:drop' */
9123
- function Config_n__8394_1442_dropx27($0, $1) {
9124
- return Config_with__dropPrefixx27x2cdropx27_1450($0, $1, Data_List_PrefixSuffix_dropPrefix($8 => $9 => Decidable_Equality_decEq_DecEq_Char($8, $9), Prelude_Types_fastUnpack($0), $1));
9247
+ /* Config.8601:1516:drop' */
9248
+ function Config_n__8601_1516_dropx27($0, $1) {
9249
+ return Config_with__dropPrefixx27x2cdropx27_1524($0, $1, Data_List_PrefixSuffix_dropPrefix($8 => $9 => Decidable_Equality_decEq_DecEq_Char($8, $9), Prelude_Types_fastUnpack($0), $1));
9125
9250
  }
9126
9251
 
9127
- /* Config.9448:2536:defaultStr */
9128
- function Config_n__9448_2536_defaultStr($0, $1, $2, $3, $4, $5, $6) {
9129
- return Data_Maybe_fromMaybe(() => '', Prelude_Types_map_Functor_Maybe($c => Config_n__9448_2537_enterForDefaultStr($0, $1, $2, $3, $4, $5($c)), $6));
9252
+ /* Config.9665:2620:defaultStr */
9253
+ function Config_n__9665_2620_defaultStr($0, $1, $2, $3, $4, $5, $6) {
9254
+ return Data_Maybe_fromMaybe(() => '', Prelude_Types_map_Functor_Maybe($c => Config_n__9665_2621_enterForDefaultStr($0, $1, $2, $3, $4, $5($c)), $6));
9130
9255
  }
9131
9256
 
9132
- /* Config.8283:1335:checkRequestSettings */
9133
- function Config_n__8283_1335_checkRequestSettings($0, $1) {
9257
+ /* Config.8490:1409:checkRequestSettings */
9258
+ function Config_n__8490_1409_checkRequestSettings($0, $1) {
9134
9259
  let $2;
9135
9260
  switch($1.a6) {
9136
9261
  case 1: {
@@ -9156,15 +9281,15 @@ function Config_show_Show_ConfigError($0) {
9156
9281
  }
9157
9282
  }
9158
9283
 
9159
- /* Config.writeConfig : Config -> Promise Config */
9284
+ /* Config.writeConfig : Config -> Promise' Config */
9160
9285
  function Config_writeConfig($0, $1, $2) {
9161
9286
  const $11 = res => $12 => $13 => {
9162
9287
  switch(res.h) {
9163
- case 1: /* Right */ return Data_Promise_pure_Applicative_Promise($0, $12, $13);
9288
+ case 1: /* Right */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29($0, $12, $13);
9164
9289
  case 0: /* Left */ return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $20 => $20, {a1: 'Failed to write updated config file to ', a2: {a1: Data_Config_rf__filepath($0), a2: {a1: ': ', a2: {a1: System_File_Error_show_Show_FileError(res.a1), a2: {a1: '.', a2: {h: 0}}}}}}), $12, $13);
9165
9290
  }
9166
9291
  };
9167
- return Data_Promise_x3ex3ex3d_Monad_Promise(System_File_ReadWrite_writeFile(csegen_73()(), Data_Config_rf__filepath($0), JSON_Parser_showImpl(Data_Config_json($0))), $11, $1, $2);
9292
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(System_File_ReadWrite_writeFile(csegen_73()(), Data_Config_rf__filepath($0), JSON_Parser_showImpl(Data_Config_json($0))), $11, $1, $2);
9168
9293
  }
9169
9294
 
9170
9295
  /* Config.update : Functor f => (String -> f a) -> (a -> b -> b) -> b -> String -> f b */
@@ -9172,59 +9297,59 @@ function Config_update($0, $1, $2, $3, $4) {
9172
9297
  return $0(undefined)(undefined)($c => Prelude_Basics_flip($2, $3, $c))($1($4));
9173
9298
  }
9174
9299
 
9175
- /* Config.syncIfOld : Octokit => Config -> Promise Config */
9300
+ /* Config.syncIfOld : Octokit => Config -> Promise' Config */
9176
9301
  function Config_syncIfOld($0, $1, $2, $3) {
9177
9302
  const $c = $d => $e => {
9178
9303
  switch(Prelude_EqOrd_x3c_Ord_Bits32($1.a1, $d)) {
9179
9304
  case 1: return $14 => Config_syncConfig($1, $0, 0, $e, $14);
9180
- case 0: return $1b => Data_Promise_pure_Applicative_Promise($1, $e, $1b);
9305
+ case 0: return $1b => Data_Promise_pure_Applicative_x28Promisex20x24ex29($1, $e, $1b);
9181
9306
  }
9182
9307
  };
9183
- return Data_Promise_x3ex3ex3d_Monad_Promise(Config_n__8156_1214_oneDayAgo($0, $1, csegen_73()()), $c, $2, $3);
9308
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Config_n__8360_1285_oneDayAgo($0, $1, csegen_73()()), $c, $2, $3);
9184
9309
  }
9185
9310
 
9186
- /* Config.syncConfig : Config => Octokit => Bool -> Promise Config */
9311
+ /* Config.syncConfig : Config => Octokit => Bool -> Promise' Config */
9187
9312
  function Config_syncConfig($0, $1, $2, $3, $4) {
9188
- const $f = teamSlugs => $10 => $11 => {
9189
- const $1e = labelNames => $1f => $20 => {
9190
- const $2b = orgMembers => $2c => $2d => {
9191
- const $32 = updatedAt => {
9192
- const $33 = {a1: updatedAt, a2: $0.a2, a3: $0.a3, a4: $0.a4, a5: $0.a5, a6: $0.a6, a7: $0.a7, a8: $0.a8, a9: teamSlugs, a10: labelNames, a11: orgMembers, a12: $0.a12, a13: $0.a13, a14: $0.a14, a15: $0.a15};
9193
- return $44 => $45 => Data_Promise_x3ex3ex3d_Monad_Promise($48 => $49 => Data_Promise_map_Functor_Promise($4c => (undefined), $4e => $4f => Config_writeConfig($33, $4e, $4f), $48, $49), $57 => $58 => $59 => Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Interfaces_when(csegen_65()(), $2, () => $62 => $63 => Data_Promise_x3ex3ex3d_Monad_Promise($66 => $67 => $68 => Data_Promise_liftIO_HasIO_Promise($6b => Prelude_IO_prim__putStr('Your updated configuration is:\n', $6b), $66, $67, $68), $73 => $74 => $75 => $76 => Data_Promise_liftIO_HasIO_Promise($79 => Prelude_IO_prim__putStr((Data_Config_show_Show_Config($33)+'\n'), $79), $74, $75, $76), $62, $63)), $87 => $88 => $89 => Data_Promise_pure_Applicative_Promise($33, $88, $89), $58, $59), $44, $45);
9313
+ const $16 = teamSlugs => $17 => $18 => {
9314
+ const $2a = orgMembers => $2b => $2c => {
9315
+ const $39 = labelNames => $3a => $3b => {
9316
+ const $40 = updatedAt => {
9317
+ const $41 = {a1: updatedAt, a2: $0.a2, a3: $0.a3, a4: $0.a4, a5: $0.a5, a6: $0.a6, a7: $0.a7, a8: $0.a8, a9: teamSlugs, a10: labelNames, a11: orgMembers, a12: $0.a12, a13: $0.a13, a14: $0.a14, a15: $0.a15};
9318
+ return $52 => $53 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($56 => $57 => Data_Promise_map_Functor_x28Promisex20x24ex29($5a => (undefined), $5c => $5d => Config_writeConfig($41, $5c, $5d), $56, $57), $65 => $66 => $67 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Interfaces_when(csegen_65()(), $2, () => $70 => $71 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($74 => $75 => $76 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($79 => Prelude_IO_prim__putStr('Your updated configuration is:\n', $79), $74, $75, $76), $81 => $82 => $83 => $84 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($87 => Prelude_IO_prim__putStr((Data_Config_show_Show_Config($41)+'\n'), $87), $82, $83, $84), $70, $71)), $95 => $96 => $97 => Data_Promise_pure_Applicative_x28Promisex20x24ex29($41, $96, $97), $66, $67), $52, $53);
9194
9319
  };
9195
- return Data_Promise_x3ex3ex3d_Monad_Promise(csegen_452()(), $32, $2c, $2d);
9320
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(csegen_457()(), $40, $3a, $3b);
9196
9321
  };
9197
- return Data_Promise_x3ex3ex3d_Monad_Promise($23 => $24 => FFI_GitHub_listOrgMembers($1, $0.a2, $23, $24), $2b, $1f, $20);
9322
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($2f => $30 => FFI_GitHub_listRepoLabels($1, $0.a2, $0.a3, $2f, $30), $39, $2b, $2c);
9198
9323
  };
9199
- return Data_Promise_x3ex3ex3d_Monad_Promise($14 => $15 => FFI_GitHub_listRepoLabels($1, $0.a2, $0.a3, $14, $15), $1e, $10, $11);
9324
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1b => $1c => Config_nonOrgFallback(() => ({h: 0}), $20 => $21 => FFI_GitHub_listOrgMembers($1, $0.a2, $20, $21), $1b, $1c), $2a, $17, $18);
9200
9325
  };
9201
- return Data_Promise_x3ex3ex3d_Monad_Promise($7 => $8 => FFI_GitHub_listTeams($1, $0.a2, $7, $8), $f, $3, $4);
9326
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($7 => $8 => Config_nonOrgFallback(() => ({h: 0}), $c => $d => FFI_GitHub_listTeams($1, $0.a2, $c, $d), $7, $8), $16, $3, $4);
9202
9327
  }
9203
9328
 
9204
9329
  /* Config.settablePropsWithHelp : Config => String */
9205
9330
  function Config_settablePropsWithHelp($0) {
9206
- return Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep(Prelude_Types_List_mapAppend({h: 0}, $9 => Config_n__9351_2426_help($0, $9), Data_Config_settablePropNamesAndHelp())));
9331
+ return Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep(Prelude_Types_List_mapAppend({h: 0}, $9 => Config_n__9568_2510_help($0, $9), Data_Config_settablePropNamesAndHelp())));
9207
9332
  }
9208
9333
 
9209
- /* Config.setConfig : Config => String -> String -> Promise Config */
9334
+ /* Config.setConfig : Config => String -> String -> Promise' Config */
9210
9335
  function Config_setConfig($0, $1, $2) {
9211
- return Config_with__setConfig_2171($1, Data_Config_settablePropNamed($1), $2, $0);
9336
+ return Config_with__setConfig_2245($1, Data_Config_settablePropNamed($1), $2, $0);
9212
9337
  }
9213
9338
 
9214
9339
  /* Config.propSetter : SettableProp n h -> Config -> String -> Maybe Config */
9215
9340
  function Config_propSetter($0, $1) {
9216
9341
  return $2 => {
9217
9342
  switch($0) {
9218
- case 0: return Config_update(csegen_457(), $8 => Config_parseBool($8), b => $c => ({a1: $c.a1, a2: $c.a2, a3: $c.a3, a4: $c.a4, a5: $c.a5, a6: b, a7: $c.a7, a8: $c.a8, a9: $c.a9, a10: $c.a10, a11: $c.a11, a12: $c.a12, a13: $c.a13, a14: $c.a14, a15: $c.a15}), $1, $2);
9219
- case 1: return Config_update(csegen_457(), $23 => Config_parseBool($23), b => $27 => ({a1: $27.a1, a2: $27.a2, a3: $27.a3, a4: $27.a4, a5: $27.a5, a6: $27.a6, a7: b, a8: $27.a8, a9: $27.a9, a10: $27.a10, a11: $27.a11, a12: $27.a12, a13: $27.a13, a14: $27.a14, a15: $27.a15}), $1, $2);
9220
- case 2: return Config_update(csegen_457(), $3e => Config_parseBool($3e), b => $42 => ({a1: $42.a1, a2: $42.a2, a3: $42.a3, a4: $42.a4, a5: $42.a5, a6: $42.a6, a7: $42.a7, a8: b, a9: $42.a9, a10: $42.a10, a11: $42.a11, a12: $42.a12, a13: $42.a13, a14: $42.a14, a15: $42.a15}), $1, $2);
9221
- case 3: return Config_update(csegen_457(), $59 => ({a1: $59}), s => $5c => ({a1: $5c.a1, a2: $5c.a2, a3: $5c.a3, a4: s, a5: $5c.a5, a6: $5c.a6, a7: $5c.a7, a8: $5c.a8, a9: $5c.a9, a10: $5c.a10, a11: $5c.a11, a12: $5c.a12, a13: $5c.a13, a14: $5c.a14, a15: $5c.a15}), $1, $2);
9222
- case 4: return Config_update(csegen_457(), $73 => ({a1: $73}), s => $76 => ({a1: $76.a1, a2: $76.a2, a3: $76.a3, a4: $76.a4, a5: s, a6: $76.a6, a7: $76.a7, a8: $76.a8, a9: $76.a9, a10: $76.a10, a11: $76.a11, a12: $76.a12, a13: $76.a13, a14: $76.a14, a15: $76.a15}), $1, $2);
9223
- case 5: return Config_update(csegen_457(), $8d => Data_Theme_parseString($8d), t => $91 => ({a1: $91.a1, a2: $91.a2, a3: $91.a3, a4: $91.a4, a5: $91.a5, a6: $91.a6, a7: $91.a7, a8: $91.a8, a9: $91.a9, a10: $91.a10, a11: $91.a11, a12: $91.a12, a13: $91.a13, a14: t, a15: $91.a15}), $1, $2);
9224
- case 6: return Config_update(csegen_457(), $a8 => ({a1: $a8}), s => $ab => ({a1: $ab.a1, a2: $ab.a2, a3: $ab.a3, a4: $ab.a4, a5: $ab.a5, a6: $ab.a6, a7: $ab.a7, a8: $ab.a8, a9: $ab.a9, a10: $ab.a10, a11: $ab.a11, a12: $ab.a12, a13: {a1: s}, a14: $ab.a14, a15: $ab.a15}), $1, $2);
9225
- case 7: return Config_update(csegen_457(), $c3 => Config_parseBool($c3), b => $c7 => ({a1: $c7.a1, a2: $c7.a2, a3: $c7.a3, a4: $c7.a4, a5: $c7.a5, a6: b, a7: $c7.a7, a8: $c7.a8, a9: $c7.a9, a10: $c7.a10, a11: $c7.a11, a12: $c7.a12, a13: $c7.a13, a14: $c7.a14, a15: $c7.a15}), $1, $2);
9226
- case 8: return Config_update(csegen_457(), $de => Config_parseBool($de), b => $e2 => ({a1: $e2.a1, a2: $e2.a2, a3: $e2.a3, a4: $e2.a4, a5: $e2.a5, a6: $e2.a6, a7: b, a8: $e2.a8, a9: $e2.a9, a10: $e2.a10, a11: $e2.a11, a12: $e2.a12, a13: $e2.a13, a14: $e2.a14, a15: $e2.a15}), $1, $2);
9227
- case 9: return Config_update(csegen_457(), $f9 => Config_parseBool($f9), b => $fd => ({a1: $fd.a1, a2: $fd.a2, a3: $fd.a3, a4: $fd.a4, a5: $fd.a5, a6: $fd.a6, a7: $fd.a7, a8: b, a9: $fd.a9, a10: $fd.a10, a11: $fd.a11, a12: $fd.a12, a13: $fd.a13, a14: $fd.a14, a15: $fd.a15}), $1, $2);
9343
+ case 0: return Config_update(csegen_462(), $8 => Config_parseBool($8), b => $c => ({a1: $c.a1, a2: $c.a2, a3: $c.a3, a4: $c.a4, a5: $c.a5, a6: b, a7: $c.a7, a8: $c.a8, a9: $c.a9, a10: $c.a10, a11: $c.a11, a12: $c.a12, a13: $c.a13, a14: $c.a14, a15: $c.a15}), $1, $2);
9344
+ case 1: return Config_update(csegen_462(), $23 => Config_parseBool($23), b => $27 => ({a1: $27.a1, a2: $27.a2, a3: $27.a3, a4: $27.a4, a5: $27.a5, a6: $27.a6, a7: b, a8: $27.a8, a9: $27.a9, a10: $27.a10, a11: $27.a11, a12: $27.a12, a13: $27.a13, a14: $27.a14, a15: $27.a15}), $1, $2);
9345
+ case 2: return Config_update(csegen_462(), $3e => Config_parseBool($3e), b => $42 => ({a1: $42.a1, a2: $42.a2, a3: $42.a3, a4: $42.a4, a5: $42.a5, a6: $42.a6, a7: $42.a7, a8: b, a9: $42.a9, a10: $42.a10, a11: $42.a11, a12: $42.a12, a13: $42.a13, a14: $42.a14, a15: $42.a15}), $1, $2);
9346
+ case 3: return Config_update(csegen_462(), $59 => ({a1: $59}), s => $5c => ({a1: $5c.a1, a2: $5c.a2, a3: $5c.a3, a4: s, a5: $5c.a5, a6: $5c.a6, a7: $5c.a7, a8: $5c.a8, a9: $5c.a9, a10: $5c.a10, a11: $5c.a11, a12: $5c.a12, a13: $5c.a13, a14: $5c.a14, a15: $5c.a15}), $1, $2);
9347
+ case 4: return Config_update(csegen_462(), $73 => ({a1: $73}), s => $76 => ({a1: $76.a1, a2: $76.a2, a3: $76.a3, a4: $76.a4, a5: s, a6: $76.a6, a7: $76.a7, a8: $76.a8, a9: $76.a9, a10: $76.a10, a11: $76.a11, a12: $76.a12, a13: $76.a13, a14: $76.a14, a15: $76.a15}), $1, $2);
9348
+ case 5: return Config_update(csegen_462(), $8d => Data_Theme_parseString($8d), t => $91 => ({a1: $91.a1, a2: $91.a2, a3: $91.a3, a4: $91.a4, a5: $91.a5, a6: $91.a6, a7: $91.a7, a8: $91.a8, a9: $91.a9, a10: $91.a10, a11: $91.a11, a12: $91.a12, a13: $91.a13, a14: t, a15: $91.a15}), $1, $2);
9349
+ case 6: return Config_update(csegen_462(), $a8 => ({a1: $a8}), s => $ab => ({a1: $ab.a1, a2: $ab.a2, a3: $ab.a3, a4: $ab.a4, a5: $ab.a5, a6: $ab.a6, a7: $ab.a7, a8: $ab.a8, a9: $ab.a9, a10: $ab.a10, a11: $ab.a11, a12: $ab.a12, a13: {a1: s}, a14: $ab.a14, a15: $ab.a15}), $1, $2);
9350
+ case 7: return Config_update(csegen_462(), $c3 => Config_parseBool($c3), b => $c7 => ({a1: $c7.a1, a2: $c7.a2, a3: $c7.a3, a4: $c7.a4, a5: $c7.a5, a6: b, a7: $c7.a7, a8: $c7.a8, a9: $c7.a9, a10: $c7.a10, a11: $c7.a11, a12: $c7.a12, a13: $c7.a13, a14: $c7.a14, a15: $c7.a15}), $1, $2);
9351
+ case 8: return Config_update(csegen_462(), $de => Config_parseBool($de), b => $e2 => ({a1: $e2.a1, a2: $e2.a2, a3: $e2.a3, a4: $e2.a4, a5: $e2.a5, a6: $e2.a6, a7: b, a8: $e2.a8, a9: $e2.a9, a10: $e2.a10, a11: $e2.a11, a12: $e2.a12, a13: $e2.a13, a14: $e2.a14, a15: $e2.a15}), $1, $2);
9352
+ case 9: return Config_update(csegen_462(), $f9 => Config_parseBool($f9), b => $fd => ({a1: $fd.a1, a2: $fd.a2, a3: $fd.a3, a4: $fd.a4, a5: $fd.a5, a6: $fd.a6, a7: $fd.a7, a8: b, a9: $fd.a9, a10: $fd.a10, a11: $fd.a11, a12: $fd.a12, a13: $fd.a13, a14: $fd.a14, a15: $fd.a15}), $1, $2);
9228
9353
  }
9229
9354
  };
9230
9355
  }
@@ -9256,19 +9381,30 @@ function Config_preferOriginRemote($0) {
9256
9381
 
9257
9382
  /* Config.parseGitHubURI : String -> Maybe GitRemote */
9258
9383
  function Config_parseGitHubURI($0) {
9259
- return Prelude_Types_x3cx7cx3e_Alternative_Maybe(Config_n__8441_1489_parseHTTPS($0, $0), () => Config_n__8441_1490_parseSSH($0, $0));
9384
+ return Prelude_Types_x3cx7cx3e_Alternative_Maybe(Config_n__8648_1563_parseHTTPS($0, $0), () => Config_n__8648_1564_parseSSH($0, $0));
9260
9385
  }
9261
9386
 
9262
9387
  /* Config.parseBool : String -> Maybe Bool */
9263
9388
  function Config_parseBool($0) {
9264
- return Config_with__parseBool_1625($0, Data_String_toLower($0));
9389
+ return Config_with__parseBool_1699($0, Data_String_toLower($0));
9390
+ }
9391
+
9392
+ /* Config.nonOrgFallback : Lazy a -> Promise OrgError a -> Promise String a */
9393
+ function Config_nonOrgFallback($0, $1, $2, $3) {
9394
+ const $6 = $7 => $8 => $9 => {
9395
+ switch($7.h) {
9396
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29($0(), $8, $9);
9397
+ case undefined: /* just */ return Data_Promise_reject($7.a1, $8, $9);
9398
+ }
9399
+ };
9400
+ return Data_Promise_bindError($1, $6, $2, $3);
9265
9401
  }
9266
9402
 
9267
- /* Config.loadOrCreateConfig : Git => Maybe String -> Bool -> Nat -> Maybe String -> Promise Config */
9403
+ /* Config.loadOrCreateConfig : Git => Maybe String -> Bool -> Nat -> Maybe String -> Promise' Config */
9268
9404
  function Config_loadOrCreateConfig($0, $1, $2, $3, $4, $5, $6) {
9269
9405
  const $10 = $11 => {
9270
9406
  switch($11.h) {
9271
- case 1: /* Right */ return $13 => $14 => Data_Promise_pure_Applicative_Promise($11.a1, $13, $14);
9407
+ case 1: /* Right */ return $13 => $14 => Data_Promise_pure_Applicative_x28Promisex20x24ex29($11.a1, $13, $14);
9272
9408
  case 0: /* Left */ {
9273
9409
  return $19 => {
9274
9410
  switch($11.a1.h) {
@@ -9286,7 +9422,7 @@ function Config_loadOrCreateConfig($0, $1, $2, $3, $4, $5, $6) {
9286
9422
  }
9287
9423
  }
9288
9424
  };
9289
- return Data_Promise_x3ex3ex3d_Monad_Promise(Config_loadConfig(csegen_73()(), $2, $3, $4), $10, $5, $6);
9425
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Config_loadConfig(csegen_73()(), $2, $3, $4), $10, $5, $6);
9290
9426
  }
9291
9427
 
9292
9428
  /* Config.loadConfig : HasIO io => Bool -> Nat -> Maybe String -> io (Either ConfigError Config) */
@@ -9360,9 +9496,9 @@ function Config_loadConfig($0, $1, $2, $3) {
9360
9496
  return $32($4e);
9361
9497
  }
9362
9498
 
9363
- /* Config.getConfig : Config => String -> Promise String */
9499
+ /* Config.getConfig : Config => String -> Promise' String */
9364
9500
  function Config_getConfig($0, $1) {
9365
- return $2 => Config_with__getConfig_2386($1, Data_Config_settablePropNamed($1), $0, $2);
9501
+ return $2 => Config_with__getConfig_2467($1, Data_Config_settablePropNamed($1), $0, $2);
9366
9502
  }
9367
9503
 
9368
9504
  /* Config.findConfig : HasIO io => String -> Fuel -> io (Maybe String) */
@@ -9384,14 +9520,14 @@ function Config_findConfig($0, $1, $2) {
9384
9520
 
9385
9521
  /* Config.dropPrefix' : String -> String -> Maybe String */
9386
9522
  function Config_dropPrefixx27($0, $1) {
9387
- return Prelude_Types_map_Functor_Maybe($4 => Prelude_Types_fastPack($4), Config_n__8394_1442_dropx27($0, Prelude_Types_fastUnpack($1)));
9523
+ return Prelude_Types_map_Functor_Maybe($4 => Prelude_Types_fastPack($4), Config_n__8601_1516_dropx27($0, Prelude_Types_fastUnpack($1)));
9388
9524
  }
9389
9525
 
9390
- /* Config.createConfig : Git => Maybe String -> Bool -> Nat -> Maybe String -> Promise Config */
9526
+ /* Config.createConfig : Git => Maybe String -> Bool -> Nat -> Maybe String -> Promise' Config */
9391
9527
  function Config_createConfig($0, $1, $2, $3, $4, $5, $6) {
9392
9528
  const $25 = $26 => $27 => $28 => {
9393
9529
  const $37 = $38 => {
9394
- const $3a = Config_n__9448_2537_enterForDefaultStr($0, $4, $3, $2, $1, 'unset');
9530
+ const $3a = Config_n__9665_2621_enterForDefaultStr($0, $4, $3, $2, $1, 'unset');
9395
9531
  const $39 = () => $42 => $43 => {
9396
9532
  const $6d = $6e => $6f => $70 => {
9397
9533
  const $72 = $73 => $74 => {
@@ -9401,7 +9537,7 @@ function Config_createConfig($0, $1, $2, $3, $4, $5, $6) {
9401
9537
  default: return {a1: Data_String_trim($77)};
9402
9538
  }
9403
9539
  };
9404
- return Data_Promise_map_Functor_Promise($76, csegen_470()(), $73, $74);
9540
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($76, csegen_475()(), $73, $74);
9405
9541
  };
9406
9542
  const $83 = configPAT => $84 => $85 => {
9407
9543
  const $91 = $92 => $93 => $94 => {
@@ -9409,22 +9545,22 @@ function Config_createConfig($0, $1, $2, $3, $4, $5, $6) {
9409
9545
  case undefined: /* just */ {
9410
9546
  const $a8 = remoteGuess => $a9 => $aa => {
9411
9547
  const $c7 = defaultOrgAndRepo => {
9412
- const $c8 = Config_n__9448_2536_defaultStr($0, $4, $3, $2, $1, csegen_441()(), defaultOrgAndRepo);
9548
+ const $c8 = Config_n__9665_2620_defaultStr($0, $4, $3, $2, $1, csegen_446()(), defaultOrgAndRepo);
9413
9549
  return $d3 => $d4 => {
9414
9550
  const $f2 = $f3 => $f4 => $f5 => {
9415
9551
  const $113 = org => {
9416
- const $114 = Config_n__9448_2536_defaultStr($0, $4, $3, $2, $1, csegen_437()(), defaultOrgAndRepo);
9552
+ const $114 = Config_n__9665_2620_defaultStr($0, $4, $3, $2, $1, csegen_442()(), defaultOrgAndRepo);
9417
9553
  return $11f => $120 => {
9418
9554
  const $13e = $13f => $140 => $141 => {
9419
9555
  const $15f = repo => {
9420
- const $160 = Config_n__9448_2537_enterForDefaultStr($0, $4, $3, $2, $1, remoteGuess);
9556
+ const $160 = Config_n__9665_2621_enterForDefaultStr($0, $4, $3, $2, $1, remoteGuess);
9421
9557
  return $168 => $169 => {
9422
9558
  const $187 = $188 => $189 => $18a => {
9423
9559
  const $1a2 = defaultRemote => $1a3 => $1a4 => {
9424
9560
  const $1ac = commentOnRequest => $1ad => $1ae => {
9425
9561
  const $1b6 = requestTeams => $1b7 => $1b8 => {
9426
9562
  const $1c0 = requestUsers => {
9427
- const $1c1 = Config_n__9448_2537_enterForDefaultStr($0, $4, $3, $2, $1, 'dark');
9563
+ const $1c1 = Config_n__9665_2621_enterForDefaultStr($0, $4, $3, $2, $1, 'dark');
9428
9564
  return $1c9 => $1ca => {
9429
9565
  const $1e8 = $1e9 => $1ea => $1eb => {
9430
9566
  const $212 = theme => $213 => $214 => {
@@ -9434,79 +9570,79 @@ function Config_createConfig($0, $1, $2, $3, $4, $5, $6) {
9434
9570
  const $249 = updatedAt => {
9435
9571
  const $24a = {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $251 => $251, {a1: './', a2: {a1: Data_Config_filename(), a2: {h: 0}}}), a2: $2, a3: $3, a4: $4};
9436
9572
  return $25b => $25c => {
9437
- const $266 = teamSlugs => $267 => $268 => {
9438
- const $273 = repoLabels => $274 => $275 => {
9439
- const $27f = orgMembers => {
9440
- const $280 = {a1: updatedAt, a2: org, a3: repo, a4: defaultRemote, a5: mainBranch, a6: requestTeams, a7: requestUsers, a8: commentOnRequest, a9: teamSlugs, a10: repoLabels, a11: orgMembers, a12: {h: 0}, a13: Prelude_Types_map_Functor_Maybe($290 => $290, configPAT), a14: theme, a15: $24a};
9441
- return $294 => $295 => Data_Promise_x3ex3ex3d_Monad_Promise($298 => $299 => Data_Promise_map_Functor_Promise($29c => (undefined), $29e => $29f => Config_writeConfig($280, $29e, $29f), $298, $299), $2a7 => $2a8 => $2a9 => Data_Promise_x3ex3ex3d_Monad_Promise($2ac => $2ad => $2ae => Data_Promise_liftIO_HasIO_Promise($2b1 => Prelude_IO_prim__putStr('Your new configuration is:\n', $2b1), $2ac, $2ad, $2ae), $2b9 => $2ba => $2bb => Data_Promise_x3ex3ex3d_Monad_Promise($2be => $2bf => $2c0 => Data_Promise_liftIO_HasIO_Promise($2c3 => Prelude_IO_prim__putStr((Data_Config_show_Show_Config($280)+'\n'), $2c3), $2be, $2bf, $2c0), $2cf => $2d0 => $2d1 => Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Types_either(() => $2d6 => Util_renderIO($280, csegen_73()(), $2d6), () => csegen_435()(), Config_checkConfigConsistency($280)), $2e4 => $2e5 => $2e6 => Data_Promise_pure_Applicative_Promise($280, $2e5, $2e6), $2d0, $2d1), $2ba, $2bb), $2a8, $2a9), $294, $295);
9573
+ const $26d = teamSlugs => $26e => $26f => {
9574
+ const $280 = orgMembers => $281 => $282 => {
9575
+ const $28d = repoLabels => {
9576
+ const $28e = {a1: updatedAt, a2: org, a3: repo, a4: defaultRemote, a5: mainBranch, a6: requestTeams, a7: requestUsers, a8: commentOnRequest, a9: teamSlugs, a10: repoLabels, a11: orgMembers, a12: {h: 0}, a13: Prelude_Types_map_Functor_Maybe($29e => $29e, configPAT), a14: theme, a15: $24a};
9577
+ return $2a2 => $2a3 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($2a6 => $2a7 => Data_Promise_map_Functor_x28Promisex20x24ex29($2aa => (undefined), $2ac => $2ad => Config_writeConfig($28e, $2ac, $2ad), $2a6, $2a7), $2b5 => $2b6 => $2b7 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($2ba => $2bb => $2bc => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($2bf => Prelude_IO_prim__putStr('Your new configuration is:\n', $2bf), $2ba, $2bb, $2bc), $2c7 => $2c8 => $2c9 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($2cc => $2cd => $2ce => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($2d1 => Prelude_IO_prim__putStr((Data_Config_show_Show_Config($28e)+'\n'), $2d1), $2cc, $2cd, $2ce), $2dd => $2de => $2df => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Types_either(() => $2e4 => Util_renderIO($28e, csegen_73()(), $2e4), () => csegen_440()(), Config_checkConfigConsistency($28e)), $2f2 => $2f3 => $2f4 => Data_Promise_pure_Applicative_x28Promisex20x24ex29($28e, $2f3, $2f4), $2de, $2df), $2c8, $2c9), $2b6, $2b7), $2a2, $2a3);
9442
9578
  };
9443
- return Data_Promise_x3ex3ex3d_Monad_Promise($278 => $279 => FFI_GitHub_listOrgMembers(_, org, $278, $279), $27f, $274, $275);
9579
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($285 => $286 => FFI_GitHub_listRepoLabels(_, org, repo, $285, $286), $28d, $281, $282);
9444
9580
  };
9445
- return Data_Promise_x3ex3ex3d_Monad_Promise($26b => $26c => FFI_GitHub_listRepoLabels(_, org, repo, $26b, $26c), $273, $267, $268);
9581
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($272 => $273 => Config_nonOrgFallback(() => ({h: 0}), $277 => $278 => FFI_GitHub_listOrgMembers(_, org, $277, $278), $272, $273), $280, $26e, $26f);
9446
9582
  };
9447
- return Data_Promise_x3ex3ex3d_Monad_Promise($25f => $260 => FFI_GitHub_listTeams(_, org, $25f, $260), $266, $25b, $25c);
9583
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($25f => $260 => Config_nonOrgFallback(() => ({h: 0}), $264 => $265 => FFI_GitHub_listTeams(_, org, $264, $265), $25f, $260), $26d, $25b, $25c);
9448
9584
  };
9449
9585
  };
9450
- return Data_Promise_x3ex3ex3d_Monad_Promise(csegen_452()(), $249, $243, $244);
9586
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(csegen_457()(), $249, $243, $244);
9451
9587
  };
9452
- return Data_Promise_x3ex3ex3d_Monad_Promise($23a => $23b => FFI_GitHub_getRepoDefaultBranch(_, org, repo, $23a, $23b), $242, $236, $237);
9588
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($23a => $23b => FFI_GitHub_getRepoDefaultBranch(_, org, repo, $23a, $23b), $242, $236, $237);
9453
9589
  };
9454
- return Data_Promise_x3ex3ex3d_Monad_Promise($228 => $229 => $22a => Data_Promise_liftIO_HasIO_Promise($22d => Prelude_IO_prim__putStr('Creating config...\n', $22d), $228, $229, $22a), $234, $224, $225);
9590
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($228 => $229 => $22a => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($22d => Prelude_IO_prim__putStr('Creating config...\n', $22d), $228, $229, $22a), $234, $224, $225);
9455
9591
  };
9456
- return Data_Promise_x3ex3ex3d_Monad_Promise($217 => $218 => $219 => Data_Promise_liftIO_HasIO_Promise($21c => FFI_GitHub_octokit($92.a1, $21c), $217, $218, $219), $223, $213, $214);
9592
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($217 => $218 => $219 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($21c => FFI_GitHub_octokit($92.a1, $21c), $217, $218, $219), $223, $213, $214);
9457
9593
  };
9458
- return Data_Promise_x3ex3ex3d_Monad_Promise(Config_n__9448_2538_offerRetry($0, $4, $3, $2, $1, csegen_73()(), 'The theme must be either \'dark\' or \'light\'. Which would you prefer?', 'Could not parse the input as a valid theme; will use \'dark\' for now.', () => 1, $1fb => $1fc => Data_Promise_map_Functor_Promise($1ff => Data_Theme_parseString(Config_n__9448_2539_orIfEmpty($0, $4, $3, $2, $1, {a1: 'dark'}, Data_String_trim($1ff))), csegen_470()(), $1fb, $1fc)), $212, $1ea, $1eb);
9594
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Config_n__9665_2622_offerRetry($0, $4, $3, $2, $1, csegen_73()(), 'The theme must be either \'dark\' or \'light\'. Which would you prefer?', 'Could not parse the input as a valid theme; will use \'dark\' for now.', () => 1, $1fb => $1fc => Data_Promise_map_Functor_x28Promisex20x24ex29($1ff => Data_Theme_parseString(Config_n__9665_2623_orIfEmpty($0, $4, $3, $2, $1, {a1: 'dark'}, Data_String_trim($1ff))), csegen_475()(), $1fb, $1fc)), $212, $1ea, $1eb);
9459
9595
  };
9460
- return Data_Promise_x3ex3ex3d_Monad_Promise($1cd => $1ce => $1cf => Data_Promise_liftIO_HasIO_Promise($1d2 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $1db => $1db, {a1: 'Would you like harmony configured for a dark or light terminal background', a2: {a1: $1c1, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $1d2), $1cd, $1ce, $1cf), $1e8, $1c9, $1ca);
9596
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1cd => $1ce => $1cf => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($1d2 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $1db => $1db, {a1: 'Would you like harmony configured for a dark or light terminal background', a2: {a1: $1c1, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $1d2), $1cd, $1ce, $1cf), $1e8, $1c9, $1ca);
9461
9597
  };
9462
9598
  };
9463
- return Data_Promise_x3ex3ex3d_Monad_Promise(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to request reviews from individual users when it requests a teams review?'), $1c0, $1b7, $1b8);
9599
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to request reviews from individual users when it requests a teams review?'), $1c0, $1b7, $1b8);
9464
9600
  };
9465
- return Data_Promise_x3ex3ex3d_Monad_Promise(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to request reviews from teams when it requests reviewers?'), $1b6, $1ad, $1ae);
9601
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to request reviews from teams when it requests reviewers?'), $1b6, $1ad, $1ae);
9466
9602
  };
9467
- return Data_Promise_x3ex3ex3d_Monad_Promise(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to comment when it requests reviewers?'), $1ac, $1a3, $1a4);
9603
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Util_yesNoPrompt(csegen_73()(), 'Would you like harmony to comment when it requests reviewers?'), $1ac, $1a3, $1a4);
9468
9604
  };
9469
- return Data_Promise_x3ex3ex3d_Monad_Promise($18d => $18e => Data_Promise_map_Functor_Promise($191 => Config_n__9448_2539_orIfEmpty($0, $4, $3, $2, $1, {a1: remoteGuess}, Data_String_trim($191)), csegen_470()(), $18d, $18e), $1a2, $189, $18a);
9605
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($18d => $18e => Data_Promise_map_Functor_x28Promisex20x24ex29($191 => Config_n__9665_2623_orIfEmpty($0, $4, $3, $2, $1, {a1: remoteGuess}, Data_String_trim($191)), csegen_475()(), $18d, $18e), $1a2, $189, $18a);
9470
9606
  };
9471
- return Data_Promise_x3ex3ex3d_Monad_Promise($16c => $16d => $16e => Data_Promise_liftIO_HasIO_Promise($171 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $17a => $17a, {a1: 'What GitHub remote repo would you like to use harmony for', a2: {a1: $160, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $171), $16c, $16d, $16e), $187, $168, $169);
9607
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($16c => $16d => $16e => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($171 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $17a => $17a, {a1: 'What GitHub remote repo would you like to use harmony for', a2: {a1: $160, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $171), $16c, $16d, $16e), $187, $168, $169);
9472
9608
  };
9473
9609
  };
9474
- return Data_Promise_x3ex3ex3d_Monad_Promise($144 => $145 => Data_Promise_map_Functor_Promise($148 => Config_n__9448_2539_orIfEmpty($0, $4, $3, $2, $1, Config_n__9448_2541_repo($0, $4, $3, $2, $1, defaultOrgAndRepo), Data_String_trim($148)), csegen_470()(), $144, $145), $15f, $140, $141);
9610
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($144 => $145 => Data_Promise_map_Functor_x28Promisex20x24ex29($148 => Config_n__9665_2623_orIfEmpty($0, $4, $3, $2, $1, Config_n__9665_2625_repo($0, $4, $3, $2, $1, defaultOrgAndRepo), Data_String_trim($148)), csegen_475()(), $144, $145), $15f, $140, $141);
9475
9611
  };
9476
- return Data_Promise_x3ex3ex3d_Monad_Promise($123 => $124 => $125 => Data_Promise_liftIO_HasIO_Promise($128 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $131 => $131, {a1: 'What repository would you like to use harmony for', a2: {a1: $114, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $128), $123, $124, $125), $13e, $11f, $120);
9612
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($123 => $124 => $125 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($128 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $131 => $131, {a1: 'What repository would you like to use harmony for', a2: {a1: $114, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $128), $123, $124, $125), $13e, $11f, $120);
9477
9613
  };
9478
9614
  };
9479
- return Data_Promise_x3ex3ex3d_Monad_Promise($f8 => $f9 => Data_Promise_map_Functor_Promise($fc => Config_n__9448_2539_orIfEmpty($0, $4, $3, $2, $1, Config_n__9448_2540_org($0, $4, $3, $2, $1, defaultOrgAndRepo), Data_String_trim($fc)), csegen_470()(), $f8, $f9), $113, $f4, $f5);
9615
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($f8 => $f9 => Data_Promise_map_Functor_x28Promisex20x24ex29($fc => Config_n__9665_2623_orIfEmpty($0, $4, $3, $2, $1, Config_n__9665_2624_org($0, $4, $3, $2, $1, defaultOrgAndRepo), Data_String_trim($fc)), csegen_475()(), $f8, $f9), $113, $f4, $f5);
9480
9616
  };
9481
- return Data_Promise_x3ex3ex3d_Monad_Promise($d7 => $d8 => $d9 => Data_Promise_liftIO_HasIO_Promise($dc => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e5 => $e5, {a1: 'What GitHub org would you like to use harmony for', a2: {a1: $c8, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $dc), $d7, $d8, $d9), $f2, $d3, $d4);
9617
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($d7 => $d8 => $d9 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($dc => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e5 => $e5, {a1: 'What GitHub org would you like to use harmony for', a2: {a1: $c8, a2: {a1: '?', a2: {h: 0}}}})+'\n'), $dc), $d7, $d8, $d9), $f2, $d3, $d4);
9482
9618
  };
9483
9619
  };
9484
- return Data_Promise_x3ex3ex3d_Monad_Promise($ad => $ae => Data_Promise_x3cx7cx3e_Alternative_Promise($b1 => $b2 => Data_Promise_map_Functor_Promise($b5 => Config_parseGitHubURI($b5), $b9 => $ba => FFI_Git_remoteURI($0, remoteGuess, $b9, $ba), $b1, $b2), () => csegen_472()(), $ad, $ae), $c7, $a9, $aa);
9620
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($ad => $ae => Data_Promise_x3cx7cx3e_Alternative_x28Promisex20Stringx29($b1 => $b2 => Data_Promise_map_Functor_x28Promisex20x24ex29($b5 => Config_parseGitHubURI($b5), $b9 => $ba => FFI_Git_remoteURI($0, remoteGuess, $b9, $ba), $b1, $b2), () => csegen_477()(), $ad, $ae), $c7, $a9, $aa);
9485
9621
  };
9486
- return Data_Promise_x3ex3ex3d_Monad_Promise($98 => $99 => Data_Promise_map_Functor_Promise($9c => Config_preferOriginRemote($9c), $a0 => $a1 => FFI_Git_listRemotes($0, $a0, $a1), $98, $99), $a8, $93, $94);
9622
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($98 => $99 => Data_Promise_map_Functor_x28Promisex20x24ex29($9c => Config_preferOriginRemote($9c), $a0 => $a1 => FFI_Git_listRemotes($0, $a0, $a1), $98, $99), $a8, $93, $94);
9487
9623
  }
9488
9624
  default: return Data_Promise_reject('Either the GITHUB_PAT environment variable or githubPAT config property must be set to a personal access token.', $93, $94);
9489
9625
  }
9490
9626
  };
9491
- return Data_Promise_x3ex3ex3d_Monad_Promise($88 => $89 => Data_Promise_pure_Applicative_Promise(Prelude_Types_x3cx7cx3e_Alternative_Maybe($1, () => configPAT), $88, $89), $91, $84, $85);
9627
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($88 => $89 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_x3cx7cx3e_Alternative_Maybe($1, () => configPAT), $88, $89), $91, $84, $85);
9492
9628
  };
9493
- return Data_Promise_x3ex3ex3d_Monad_Promise($72, $83, $6f, $70);
9629
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($72, $83, $6f, $70);
9494
9630
  };
9495
- return Data_Promise_x3ex3ex3d_Monad_Promise($46 => $47 => $48 => Data_Promise_liftIO_HasIO_Promise($4b => Prelude_IO_prim__putStr(Data_String_fastUnlines({a1: 'Harmony uses a GitHub Personal Access Token (PAT) to communicate with GitHub.', a2: {a1: 'You can set this via the $GITHUB_PAT environment variable or a config property.', a2: {a1: 'If you don\'t set in your config now, you can set later with `harmony config githubPAT abcdefg`.', a2: {a1: 'The ENV var will always take precedence over the config property.', a2: {a1: '', a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $60 => $60, {a1: 'What PAT would you like to set in the config file', a2: {a1: $3a, a2: {a1: '?', a2: {h: 0}}}}), a2: {h: 0}}}}}}}), $4b), $46, $47, $48), $6d, $42, $43);
9631
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($46 => $47 => $48 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($4b => Prelude_IO_prim__putStr(Data_String_fastUnlines({a1: 'Harmony uses a GitHub Personal Access Token (PAT) to communicate with GitHub.', a2: {a1: 'You can set this via the $GITHUB_PAT environment variable or a config property.', a2: {a1: 'If you don\'t set in your config now, you can set later with `harmony config githubPAT abcdefg`.', a2: {a1: 'The ENV var will always take precedence over the config property.', a2: {a1: '', a2: {a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $60 => $60, {a1: 'What PAT would you like to set in the config file', a2: {a1: $3a, a2: {a1: '?', a2: {h: 0}}}}), a2: {h: 0}}}}}}}), $4b), $46, $47, $48), $6d, $42, $43);
9496
9632
  };
9497
9633
  return $39();
9498
9634
  };
9499
- return Data_Promise_x3ex3ex3d_Monad_Promise($2b => $2c => $2d => Data_Promise_liftIO_HasIO_Promise($30 => Prelude_IO_prim__putStr('\n', $30), $2b, $2c, $2d), $37, $27, $28);
9635
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($2b => $2c => $2d => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($30 => Prelude_IO_prim__putStr('\n', $30), $2b, $2c, $2d), $37, $27, $28);
9500
9636
  };
9501
- return Data_Promise_x3ex3ex3d_Monad_Promise($9 => $a => $b => Data_Promise_liftIO_HasIO_Promise($e => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $17 => $17, {a1: 'Creating a new configuration (storing in ', a2: {a1: Data_Config_filename(), a2: {a1: ')...', a2: {h: 0}}}})+'\n'), $e), $9, $a, $b), $25, $5, $6);
9637
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($9 => $a => $b => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($e => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $17 => $17, {a1: 'Creating a new configuration (storing in ', a2: {a1: Data_Config_filename(), a2: {a1: ')...', a2: {h: 0}}}})+'\n'), $e), $9, $a, $b), $25, $5, $6);
9502
9638
  }
9503
9639
 
9504
9640
  /* Config.checkConfigConsistency : Config -> Either (Doc AnsiStyle) () */
9505
9641
  function Config_checkConfigConsistency($0) {
9506
- return Config_n__8283_1335_checkRequestSettings($0, $0);
9642
+ return Config_n__8490_1409_checkRequestSettings($0, $0);
9507
9643
  }
9508
9644
 
9509
- /* Config.addIgnoredPRs : Config -> List Integer -> Promise Config */
9645
+ /* Config.addIgnoredPRs : Config -> List Integer -> Promise' Config */
9510
9646
  function Config_addIgnoredPRs($0, $1, $2, $3) {
9511
9647
  return Config_writeConfig({a1: $0.a1, a2: $0.a2, a3: $0.a3, a4: $0.a4, a5: $0.a5, a6: $0.a6, a7: $0.a7, a8: $0.a8, a9: $0.a9, a10: $0.a10, a11: $0.a11, a12: Data_List_nub(csegen_227(), Prelude_Types_List_tailRecAppend($0.a12, $1)), a13: $0.a13, a14: $0.a14, a15: $0.a15}, $2, $3);
9512
9648
  }
@@ -9559,7 +9695,7 @@ function Data_List_PrefixSuffix_dropPrefix($0, $1, $2) {
9559
9695
  }
9560
9696
 
9561
9697
  /* Commands.case block in contribute */
9562
- function Commands_case__contribute_3019($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $a, $b, $c, $d, $e) {
9698
+ function Commands_case__contribute_3117($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $a, $b, $c, $d, $e) {
9563
9699
  const $10 = Data_List_headx27(Data_List_drop($9, Prelude_Types_List_tailRecAppend($e.a1, $e.a2)));
9564
9700
  return $19 => $1a => {
9565
9701
  switch($10.h) {
@@ -9569,40 +9705,40 @@ function Commands_case__contribute_3019($0, $1, $2, $3, $4, $5, $6, $7, $8, $9,
9569
9705
  const $24 = Prelude_Types_map_Functor_Maybe($27 => $10.a1.a7, $a);
9570
9706
  switch($24.h) {
9571
9707
  case undefined: /* just */ return FFI_Git_checkoutBranch($0, $24.a1, $22, $23);
9572
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(undefined, $22, $23);
9708
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $22, $23);
9573
9709
  }
9574
9710
  };
9575
- return Data_Promise_x3ex3ex3d_Monad_Promise($21, $34 => $35 => $36 => $37 => Data_Promise_liftIO_HasIO_Promise($3a => Prelude_IO_prim__putStr((Data_PullRequest_rf__webURI($8, $10.a1)+'\n'), $3a), $35, $36, $37), $19, $1a);
9711
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($21, $34 => $35 => $36 => $37 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($3a => Prelude_IO_prim__putStr((Data_PullRequest_rf__webURI($8, $10.a1)+'\n'), $3a), $35, $36, $37), $19, $1a);
9576
9712
  }
9577
9713
  }
9578
9714
  };
9579
9715
  }
9580
9716
 
9581
9717
  /* Commands.case block in case block in graph */
9582
- function Commands_case__casex20blockx20inx20graph_2168($0, $1, $2, $3, $4, $5, $6, $7, $8) {
9718
+ function Commands_case__casex20blockx20inx20graph_2254($0, $1, $2, $3, $4, $5, $6, $7, $8) {
9583
9719
  return $9 => {
9584
9720
  const $c = $d => $e => {
9585
9721
  switch(Data_Maybe_isJust($3)) {
9586
- case 1: return Data_Promise_map_Functor_Promise($14 => ({a1: $14}), PullRequest_countReviewsByEachUser($2, $0)(PullRequest_combined($6)), $d, $e);
9587
- case 0: return Data_Promise_pure_Applicative_Promise({h: 0}, $d, $e);
9722
+ case 1: return Data_Promise_map_Functor_x28Promisex20x24ex29($14 => ({a1: $14}), PullRequest_countReviewsByEachUser($2, $0)(PullRequest_combined($6)), $d, $e);
9723
+ case 0: return Data_Promise_pure_Applicative_x28Promisex20x24ex29({h: 0}, $d, $e);
9588
9724
  }
9589
9725
  };
9590
- return Data_Promise_x3ex3ex3d_Monad_Promise($c, completedReviews => Util_renderIO($2, csegen_73()(), Graph_reviewsGraph($2, csegen_224(), {a1: ann => $31 => Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($31), a2: ann => $35 => $36 => Text_PrettyPrint_Prettyprinter_Doc_prettyPrec_Pretty_String($35, $36)}, $7.a2, $7.a1, $5, completedReviews)), $8, $9);
9726
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($c, completedReviews => Util_renderIO($2, csegen_73()(), Graph_reviewsGraph($2, csegen_224(), {a1: ann => $31 => Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($31), a2: ann => $35 => $36 => Text_PrettyPrint_Prettyprinter_Doc_prettyPrec_Pretty_String($35, $36)}, $7.a2, $7.a1, $5, completedReviews)), $8, $9);
9591
9727
  };
9592
9728
  }
9593
9729
 
9594
9730
  /* Commands.case block in graph */
9595
- function Commands_case__graph_2126($0, $1, $2, $3, $4, $5) {
9731
+ function Commands_case__graph_2210($0, $1, $2, $3, $4, $5) {
9596
9732
  return $6 => {
9597
9733
  switch($4.h) {
9598
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($a => $b => FFI_GitHub_listTeamMembers($0, $2.a2, $4.a1, $a, $b), teamMemberLogins => $14 => $15 => Data_Promise_x3ex3ex3d_Monad_Promise(PullRequest_listPartitionedPRs($2, $0, 4n, 100n), prs => $1e => Commands_case__casex20blockx20inx20graph_2168($0, $1, $2, $3, $4.a1, teamMemberLogins, prs, PullRequest_rf__allReviewers(prs), $1e), $14, $15), $5, $6);
9734
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($a => $b => FFI_GitHub_forceListTeamMembers($0, $2.a2, $4.a1, $a, $b), teamMemberLogins => $14 => $15 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(PullRequest_listPartitionedPRs($2, $0, 4n, 100n), prs => $1e => Commands_case__casex20blockx20inx20graph_2254($0, $1, $2, $3, $4.a1, teamMemberLogins, prs, PullRequest_rf__allReviewers(prs), $1e), $14, $15), $5, $6);
9599
9735
  case 0: /* nothing */ return Data_Promise_reject('The graph command expects the name of a GitHub Team as an argument.', $5, $6);
9600
9736
  }
9601
9737
  };
9602
9738
  }
9603
9739
 
9604
9740
  /* Commands.case block in request */
9605
- function Commands_case__request_1766($0, $1, $2, $3, $4, $5) {
9741
+ function Commands_case__request_1779($0, $1, $2, $3, $4, $5) {
9606
9742
  return $7 => $9 => {
9607
9743
  let $a;
9608
9744
  switch(Prelude_Types_null_Foldable_List($5.a1)) {
@@ -9644,27 +9780,27 @@ function Commands_case__request_1766($0, $1, $2, $3, $4, $5) {
9644
9780
  }
9645
9781
  return Prelude_Interfaces_when(csegen_65()(), $46, () => $4c => $4d => Commands_label($0, $1, $2, $5.a2.a2, $4c, $4d));
9646
9782
  };
9647
- return Data_Promise_x3ex3ex3d_Monad_Promise($35 => $36 => PullRequest_requestReviewers($0, $2, $2f.a2, $5.a2.a1, $5.a1, $3, $35, $36), $40, $30, $31);
9783
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($35 => $36 => PullRequest_requestReviewers($0, $2, $2f.a2, $5.a2.a1, $5.a1, $3, $35, $36), $40, $30, $31);
9648
9784
  };
9649
- return Data_Promise_x3ex3ex3d_Monad_Promise($16 => $17 => Data_Promise_x3ex3ex3d_Monad_Promise($1a => $1b => FFI_Git_currentBranch($1, $1a, $1b), $21 => $22 => $23 => PullRequest_identifyOrCreatePR($0, $1, $2, 0, $21, $22, $23), $16, $17), $2e, $7, $9);
9785
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($16 => $17 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1a => $1b => FFI_Git_currentBranch($1, $1a, $1b), $21 => $22 => $23 => PullRequest_identifyOrCreatePR($0, $1, $2, 0, $21, $22, $23), $16, $17), $2e, $7, $9);
9650
9786
  }
9651
9787
  }
9652
9788
  };
9653
9789
  }
9654
9790
 
9655
9791
  /* Commands.case block in case block in request,partitionedArgs */
9656
- function Commands_case__casex20blockx20inx20requestx2cpartitionedArgs_1686($0, $1, $2, $3, $4, $5, $6, $7) {
9792
+ function Commands_case__casex20blockx20inx20requestx2cpartitionedArgs_1699($0, $1, $2, $3, $4, $5, $6, $7) {
9657
9793
  const $9 = Prelude_Interfaces_mapHom({a1: d => b => c => a => $d => $e => $f => ({a1: $d($f.a1), a2: $e($f.a2)}), a2: b => c => a => $18 => $19 => ({a1: $18($19.a1), a2: $19.a2}), a3: a => d => b => $20 => $21 => ({a1: $21.a1, a2: $20($21.a2)})}, $28 => Prelude_Types_List_mapAppend({h: 0}, $2c => Data_String_Extra_drop(1n, $2c), $28), {a1: $5, a2: $7.a1});
9658
9794
  return {a1: $9.a1, a2: {a1: $7.a2, a2: $9.a2}};
9659
9795
  }
9660
9796
 
9661
9797
  /* Commands.case block in request,partitionedArgs */
9662
- function Commands_case__requestx2cpartitionedArgs_1663($0, $1, $2, $3, $4, $5) {
9663
- return Commands_case__casex20blockx20inx20requestx2cpartitionedArgs_1686($0, $1, $2, $3, $4, $5.a1, $5.a2, Data_List_partition($12 => BashCompletion_isHashPrefix($12), $5.a2));
9798
+ function Commands_case__requestx2cpartitionedArgs_1676($0, $1, $2, $3, $4, $5) {
9799
+ return Commands_case__casex20blockx20inx20requestx2cpartitionedArgs_1699($0, $1, $2, $3, $4, $5.a1, $5.a2, Data_List_partition($12 => BashCompletion_isHashPrefix($12), $5.a2));
9664
9800
  }
9665
9801
 
9666
- /* Commands.9895:2513:recombineIgnoreArgs */
9667
- function Commands_n__9895_2513_recombineIgnoreArgs($0, $1) {
9802
+ /* Commands.10121:2607:recombineIgnoreArgs */
9803
+ function Commands_n__10121_2607_recombineIgnoreArgs($0, $1) {
9668
9804
  switch($1.h) {
9669
9805
  case 0: /* nil */ return {a1: {h: 0}, a2: {h: 0}};
9670
9806
  case undefined: /* cons */ {
@@ -9673,20 +9809,20 @@ function Commands_n__9895_2513_recombineIgnoreArgs($0, $1) {
9673
9809
  switch($1.a2.h) {
9674
9810
  case 0: /* nil */ return {a1: {h: 0}, a2: {a1: '-i', a2: {h: 0}}};
9675
9811
  case undefined: /* cons */ {
9676
- const $b = Commands_n__9895_2511_parseIgnoreOpt($0, $1.a2.a1);
9812
+ const $b = Commands_n__10121_2605_parseIgnoreOpt($0, $1.a2.a1);
9677
9813
  switch($b.h) {
9678
9814
  case undefined: /* just */ {
9679
- const $f = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2.a2);
9815
+ const $f = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2.a2);
9680
9816
  return {a1: {a1: $b.a1, a2: $f.a1}, a2: $f.a2};
9681
9817
  }
9682
9818
  case 0: /* nothing */ {
9683
- const $17 = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2.a2);
9819
+ const $17 = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2.a2);
9684
9820
  return {a1: $17.a1, a2: {a1: '-i', a2: {a1: $1.a2.a1, a2: $17.a2}}};
9685
9821
  }
9686
9822
  }
9687
9823
  }
9688
9824
  default: {
9689
- const $21 = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2);
9825
+ const $21 = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2);
9690
9826
  return {a1: $21.a1, a2: {a1: $1.a1, a2: $21.a2}};
9691
9827
  }
9692
9828
  }
@@ -9695,26 +9831,26 @@ function Commands_n__9895_2513_recombineIgnoreArgs($0, $1) {
9695
9831
  switch($1.a2.h) {
9696
9832
  case 0: /* nil */ return {a1: {h: 0}, a2: {a1: '--ignore', a2: {h: 0}}};
9697
9833
  case undefined: /* cons */ {
9698
- const $2e = Commands_n__9895_2511_parseIgnoreOpt($0, $1.a2.a1);
9834
+ const $2e = Commands_n__10121_2605_parseIgnoreOpt($0, $1.a2.a1);
9699
9835
  switch($2e.h) {
9700
9836
  case undefined: /* just */ {
9701
- const $32 = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2.a2);
9837
+ const $32 = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2.a2);
9702
9838
  return {a1: {a1: $2e.a1, a2: $32.a1}, a2: $32.a2};
9703
9839
  }
9704
9840
  case 0: /* nothing */ {
9705
- const $3a = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2.a2);
9841
+ const $3a = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2.a2);
9706
9842
  return {a1: $3a.a1, a2: {a1: '--ignore', a2: {a1: $1.a2.a1, a2: $3a.a2}}};
9707
9843
  }
9708
9844
  }
9709
9845
  }
9710
9846
  default: {
9711
- const $44 = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2);
9847
+ const $44 = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2);
9712
9848
  return {a1: $44.a1, a2: {a1: $1.a1, a2: $44.a2}};
9713
9849
  }
9714
9850
  }
9715
9851
  }
9716
9852
  default: {
9717
- const $4c = Commands_n__9895_2513_recombineIgnoreArgs($0, $1.a2);
9853
+ const $4c = Commands_n__10121_2607_recombineIgnoreArgs($0, $1.a2);
9718
9854
  return {a1: $4c.a1, a2: {a1: $1.a1, a2: $4c.a2}};
9719
9855
  }
9720
9856
  }
@@ -9722,33 +9858,33 @@ function Commands_n__9895_2513_recombineIgnoreArgs($0, $1) {
9722
9858
  }
9723
9859
  }
9724
9860
 
9725
- /* Commands.9284:1922:putNameLn */
9726
- function Commands_n__9284_1922_putNameLn($0, $1, $2, $3) {
9861
+ /* Commands.9492:1998:putNameLn */
9862
+ function Commands_n__9492_1998_putNameLn($0, $1, $2, $3) {
9727
9863
  return Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_fillBreak(15, Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($3.a1))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines('-'), a2: {h: 0}}), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($3.a2), a2: {h: 0}}}});
9728
9864
  }
9729
9865
 
9730
- /* Commands.8605:1299:putLabels */
9731
- function Commands_n__8605_1299_putLabels($0, $1, $2, $3, $4) {
9732
- return Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_intersperse(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(', '), Prelude_Types_List_mapAppend({h: 0}, $f => Commands_n__8605_1298_putLabel($0, $1, $2, $3, $f), $4)));
9866
+ /* Commands.8744:1300:putLabels */
9867
+ function Commands_n__8744_1300_putLabels($0, $1, $2, $3, $4) {
9868
+ return Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_intersperse(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(', '), Prelude_Types_List_mapAppend({h: 0}, $f => Commands_n__8744_1299_putLabel($0, $1, $2, $3, $f), $4)));
9733
9869
  }
9734
9870
 
9735
- /* Commands.8605:1298:putLabel */
9736
- function Commands_n__8605_1298_putLabel($0, $1, $2, $3, $4) {
9871
+ /* Commands.8744:1299:putLabel */
9872
+ function Commands_n__8744_1299_putLabel($0, $1, $2, $3, $4) {
9737
9873
  return Text_PrettyPrint_Prettyprinter_Doc_enclose(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\"'), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\"'), Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($4)));
9738
9874
  }
9739
9875
 
9740
- /* Commands.8960:1651:partitionedArgs */
9741
- function Commands_n__8960_1651_partitionedArgs($0, $1, $2, $3, $4) {
9742
- return Commands_case__requestx2cpartitionedArgs_1663($0, $1, $2, $3, $4, Data_List_partition($e => Data_String_isPrefixOf('+', $e), $4));
9876
+ /* Commands.9111:1664:partitionedArgs */
9877
+ function Commands_n__9111_1664_partitionedArgs($0, $1, $2, $3, $4) {
9878
+ return Commands_case__requestx2cpartitionedArgs_1676($0, $1, $2, $3, $4, Data_List_partition($e => Data_String_isPrefixOf('+', $e), $4));
9743
9879
  }
9744
9880
 
9745
- /* Commands.9736:2375:parseTeamArg */
9746
- function Commands_n__9736_2375_parseTeamArg($0, $1) {
9881
+ /* Commands.9962:2469:parseTeamArg */
9882
+ function Commands_n__9962_2469_parseTeamArg($0, $1) {
9747
9883
  return {a1: {a1: $1}};
9748
9884
  }
9749
9885
 
9750
- /* Commands.9895:2512:parseSkipArg */
9751
- function Commands_n__9895_2512_parseSkipArg($0, $1) {
9886
+ /* Commands.10121:2606:parseSkipArg */
9887
+ function Commands_n__10121_2606_parseSkipArg($0, $1) {
9752
9888
  const $2 = Prelude_Types_fastUnpack($1);
9753
9889
  switch($2.h) {
9754
9890
  case undefined: /* cons */ {
@@ -9761,15 +9897,15 @@ function Commands_n__9895_2512_parseSkipArg($0, $1) {
9761
9897
  }
9762
9898
  }
9763
9899
 
9764
- /* Commands.9895:2511:parseIgnoreOpt */
9765
- function Commands_n__9895_2511_parseIgnoreOpt($0, $1) {
9766
- const $2 = Data_String_split(csegen_436(), $1);
9900
+ /* Commands.10121:2605:parseIgnoreOpt */
9901
+ function Commands_n__10121_2605_parseIgnoreOpt($0, $1) {
9902
+ const $2 = Data_String_split(csegen_441(), $1);
9767
9903
  const $7 = Data_List1_last($2);
9768
9904
  return Prelude_Types_map_Functor_Maybe($c => $c, Data_String_parsePositive(csegen_2(), $7));
9769
9905
  }
9770
9906
 
9771
- /* Commands.9736:2374:parseCompletedFlag */
9772
- function Commands_n__9736_2374_parseCompletedFlag($0, $1) {
9907
+ /* Commands.9962:2468:parseCompletedFlag */
9908
+ function Commands_n__9962_2468_parseCompletedFlag($0, $1) {
9773
9909
  switch($1) {
9774
9910
  case '-c': return {a1: {h: 0}};
9775
9911
  case '--completed': return {a1: {h: 0}};
@@ -9777,8 +9913,8 @@ function Commands_n__9736_2374_parseCompletedFlag($0, $1) {
9777
9913
  }
9778
9914
  }
9779
9915
 
9780
- /* Commands.9895:2510:parseCheckoutFlag */
9781
- function Commands_n__9895_2510_parseCheckoutFlag($0, $1) {
9916
+ /* Commands.10121:2604:parseCheckoutFlag */
9917
+ function Commands_n__10121_2604_parseCheckoutFlag($0, $1) {
9782
9918
  switch($1) {
9783
9919
  case '-c': return {a1: {h: 0 /* Checkout */}};
9784
9920
  case '--checkout': return {a1: {h: 0 /* Checkout */}};
@@ -9786,17 +9922,17 @@ function Commands_n__9895_2510_parseCheckoutFlag($0, $1) {
9786
9922
  }
9787
9923
  }
9788
9924
 
9789
- /* Commands.10225:2849:isNotIgnored */
9790
- function Commands_n__10225_2849_isNotIgnored($0, $1, $2, $3, $4, $5) {
9925
+ /* Commands.10451:2943:isNotIgnored */
9926
+ function Commands_n__10451_2943_isNotIgnored($0, $1, $2, $3, $4, $5) {
9791
9927
  return Data_Maybe_isNothing(Data_List_find($a => Prelude_EqOrd_x3dx3d_Eq_Integer($a, $5.a1), $4.a12));
9792
9928
  }
9793
9929
 
9794
- /* Commands.9284:1921:forkedUser */
9795
- function Commands_n__9284_1921_forkedUser($0, $1, $2, $3) {
9930
+ /* Commands.9492:1997:forkedUser */
9931
+ function Commands_n__9492_1997_forkedUser($0, $1, $2, $3) {
9796
9932
  return FFI_Concurrency_fork(csegen_73()(), ('user --json '+$3));
9797
9933
  }
9798
9934
 
9799
- /* Commands.whoami : Config => Git => Octokit => Promise () */
9935
+ /* Commands.whoami : Config => Git => Octokit => Promise' () */
9800
9936
  function Commands_whoami($0, $1, $2, $3, $4) {
9801
9937
  return User_Me_printInfoOnSelf($0, $2, $1, $3, $4);
9802
9938
  }
@@ -9818,9 +9954,9 @@ function Commands_teamNameArg($0) {
9818
9954
  }
9819
9955
  }
9820
9956
 
9821
- /* Commands.sync : Config => Octokit => Promise () */
9957
+ /* Commands.sync : Config => Octokit => Promise' () */
9822
9958
  function Commands_sync($0, $1, $2, $3) {
9823
- return Data_Promise_map_Functor_Promise($6 => (undefined), $8 => $9 => Config_syncConfig($0, $1, 1, $8, $9), $2, $3);
9959
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($6 => (undefined), $8 => $9 => Config_syncConfig($0, $1, 1, $8, $9), $2, $3);
9824
9960
  }
9825
9961
 
9826
9962
  /* Commands.skipArg : ContributeArg -> Maybe Nat */
@@ -9832,18 +9968,18 @@ function Commands_skipArg($0) {
9832
9968
  }
9833
9969
 
9834
9970
  /* Commands.request : Config => Git => Octokit => List String -> {default False _ : Bool} ->
9835
- Promise () */
9971
+ Promise' () */
9836
9972
  function Commands_request($0, $1, $2, $3, $4) {
9837
- return Commands_case__request_1766($0, $1, $2, $4, $3, Commands_n__8960_1651_partitionedArgs($0, $1, $2, $4, $3));
9973
+ return Commands_case__request_1779($0, $1, $2, $4, $3, Commands_n__9111_1664_partitionedArgs($0, $1, $2, $4, $3));
9838
9974
  }
9839
9975
 
9840
- /* Commands.reflect : Config => Octokit => Promise () */
9976
+ /* Commands.reflect : Config => Octokit => Promise' () */
9841
9977
  function Commands_reflect($0, $1, $2, $3) {
9842
9978
  return User_Reflect_reflectOnSelf($0, $1, $2, $3);
9843
9979
  }
9844
9980
 
9845
9981
  /* Commands.pr : Config => Git => Octokit => {default False _ : Bool} ->
9846
- List String -> Promise () */
9982
+ List String -> Promise' () */
9847
9983
  function Commands_pr($0, $1, $2, $3, $4, $5) {
9848
9984
  return $6 => {
9849
9985
  switch(Prelude_Types_foldMap_Foldable_List({a1: $b => $c => Prelude_Interfaces_Bool_Semigroup_x3cx2bx3e_Semigroup_AllBool($b, $c), a2: 1}, $12 => BashCompletion_isHashPrefix($12), $4)) {
@@ -9851,8 +9987,8 @@ function Commands_pr($0, $1, $2, $3, $4, $5) {
9851
9987
  const $30 = $31 => $32 => $33 => {
9852
9988
  const $36 = $37 => $38 => {
9853
9989
  switch($31.a1) {
9854
- case 0: return $3a => Data_Promise_liftIO_HasIO_Promise($3d => Prelude_IO_prim__putStr((Data_PullRequest_rf__webURI($0, $31.a2)+'\n'), $3d), $37, $38, $3a);
9855
- case 1: return Data_Promise_pure_Applicative_Promise(undefined, $37, $38);
9990
+ case 0: return $3a => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($3d => Prelude_IO_prim__putStr((Data_PullRequest_rf__webURI($0, $31.a2)+'\n'), $3d), $37, $38, $3a);
9991
+ case 1: return Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $37, $38);
9856
9992
  }
9857
9993
  };
9858
9994
  const $4d = $4e => {
@@ -9869,9 +10005,9 @@ function Commands_pr($0, $1, $2, $3, $4, $5) {
9869
10005
  }
9870
10006
  return Prelude_Interfaces_when(csegen_65()(), $53, () => $58 => $59 => Commands_label($0, $1, $2, $4, $58, $59));
9871
10007
  };
9872
- return Data_Promise_x3ex3ex3d_Monad_Promise($36, $4d, $32, $33);
10008
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($36, $4d, $32, $33);
9873
10009
  };
9874
- return Data_Promise_x3ex3ex3d_Monad_Promise($18 => $19 => Data_Promise_x3ex3ex3d_Monad_Promise($1c => $1d => FFI_Git_currentBranch($1, $1c, $1d), $23 => $24 => $25 => PullRequest_identifyOrCreatePR($0, $1, $2, $3, $23, $24, $25), $18, $19), $30, $5, $6);
10010
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($18 => $19 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1c => $1d => FFI_Git_currentBranch($1, $1c, $1d), $23 => $24 => $25 => PullRequest_identifyOrCreatePR($0, $1, $2, $3, $23, $24, $25), $18, $19), $30, $5, $6);
9875
10011
  }
9876
10012
  case 0: return Data_Promise_reject('The pr command only accepts labels prefixed with \'#\' and the --draft flag.', $5, $6);
9877
10013
  }
@@ -9888,7 +10024,7 @@ function Commands_parseGraphArgs($0) {
9888
10024
  switch($0.a2.a2.h) {
9889
10025
  case undefined: /* cons */ return {h: 0 /* Left */, a1: 'graph accepts at most one team name and the --completed flag.'};
9890
10026
  default: {
9891
- const $6 = Prelude_Types_traverse_Traversable_List(csegen_9(), $b => Commands_x3cx7cx7cx3e(csegen_500(), $10 => Commands_n__9736_2374_parseCompletedFlag($0, $10), $15 => Commands_n__9736_2375_parseTeamArg($0, $15), $b), $0);
10027
+ const $6 = Prelude_Types_traverse_Traversable_List(csegen_9(), $b => Commands_x3cx7cx7cx3e(csegen_505(), $10 => Commands_n__9962_2468_parseCompletedFlag($0, $10), $15 => Commands_n__9962_2469_parseTeamArg($0, $15), $b), $0);
9892
10028
  switch($6.h) {
9893
10029
  case undefined: /* just */ return {h: 1 /* Right */, a1: $6.a1};
9894
10030
  case 0: /* nothing */ return {h: 0 /* Left */, a1: 'The graph command expects the name of a GitHub Team and optionally --completed as arguments.'};
@@ -9897,7 +10033,7 @@ function Commands_parseGraphArgs($0) {
9897
10033
  }
9898
10034
  }
9899
10035
  default: {
9900
- const $1d = Prelude_Types_traverse_Traversable_List(csegen_9(), $22 => Commands_x3cx7cx7cx3e(csegen_500(), $27 => Commands_n__9736_2374_parseCompletedFlag($0, $27), $2c => Commands_n__9736_2375_parseTeamArg($0, $2c), $22), $0);
10036
+ const $1d = Prelude_Types_traverse_Traversable_List(csegen_9(), $22 => Commands_x3cx7cx7cx3e(csegen_505(), $27 => Commands_n__9962_2468_parseCompletedFlag($0, $27), $2c => Commands_n__9962_2469_parseTeamArg($0, $2c), $22), $0);
9901
10037
  switch($1d.h) {
9902
10038
  case undefined: /* just */ return {h: 1 /* Right */, a1: $1d.a1};
9903
10039
  case 0: /* nothing */ return {h: 0 /* Left */, a1: 'The graph command expects the name of a GitHub Team and optionally --completed as arguments.'};
@@ -9906,7 +10042,7 @@ function Commands_parseGraphArgs($0) {
9906
10042
  }
9907
10043
  }
9908
10044
  default: {
9909
- const $34 = Prelude_Types_traverse_Traversable_List(csegen_9(), $39 => Commands_x3cx7cx7cx3e(csegen_500(), $3e => Commands_n__9736_2374_parseCompletedFlag($0, $3e), $43 => Commands_n__9736_2375_parseTeamArg($0, $43), $39), $0);
10045
+ const $34 = Prelude_Types_traverse_Traversable_List(csegen_9(), $39 => Commands_x3cx7cx7cx3e(csegen_505(), $3e => Commands_n__9962_2468_parseCompletedFlag($0, $3e), $43 => Commands_n__9962_2469_parseTeamArg($0, $43), $39), $0);
9910
10046
  switch($34.h) {
9911
10047
  case undefined: /* just */ return {h: 1 /* Right */, a1: $34.a1};
9912
10048
  case 0: /* nothing */ return {h: 0 /* Left */, a1: 'The graph command expects the name of a GitHub Team and optionally --completed as arguments.'};
@@ -9920,34 +10056,39 @@ function Commands_parseContributeArgs($0) {
9920
10056
  switch($0.h) {
9921
10057
  case 0: /* nil */ return {h: 1 /* Right */, a1: {h: 0}};
9922
10058
  default: {
9923
- const $3 = Commands_n__9895_2513_recombineIgnoreArgs($0, $0);
10059
+ const $3 = Commands_n__10121_2607_recombineIgnoreArgs($0, $0);
9924
10060
  const $7 = Prelude_Types_List_mapAppend({h: 0}, $b => ({h: 1 /* Ignore */, a1: $b}), $3.a1);
9925
- const $e = Prelude_Types_traverse_Traversable_List(csegen_9(), $13 => Commands_x3cx7cx7cx3e(csegen_500(), $18 => Commands_n__9895_2512_parseSkipArg($0, $18), $1d => Commands_n__9895_2510_parseCheckoutFlag($0, $1d), $13), $3.a2);
10061
+ const $e = Prelude_Types_traverse_Traversable_List(csegen_9(), $13 => Commands_x3cx7cx7cx3e(csegen_505(), $18 => Commands_n__10121_2606_parseSkipArg($0, $18), $1d => Commands_n__10121_2604_parseCheckoutFlag($0, $1d), $13), $3.a2);
9926
10062
  return Data_Either_maybeToEither(() => Commands_contributeUsageError(), Prelude_Types_map_Functor_Maybe($29 => Prelude_Types_List_tailRecAppend($7, $29), $e));
9927
10063
  }
9928
10064
  }
9929
10065
  }
9930
10066
 
9931
- /* Commands.list : Config => Octokit => String -> Promise () */
10067
+ /* Commands.listOrgTeams : Config => Octokit => Promise' () */
10068
+ function Commands_listOrgTeams($0, $1, $2, $3) {
10069
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($6 => $7 => Data_Promise_map_Functor_x28Promisex20x24ex29(csegen_506(), $c => $d => FFI_GitHub_forceListTeams($1, $0.a2, $c, $d), $6, $7), teamNames => Util_renderIO($0, csegen_73()(), Text_PrettyPrint_Prettyprinter_Doc_vsep(Prelude_Types_List_mapAppend({h: 0}, $22 => Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($22)), teamNames))), $2, $3);
10070
+ }
10071
+
10072
+ /* Commands.list : Config => Octokit => String -> Promise' () */
9932
10073
  function Commands_list($0, $1, $2, $3, $4) {
9933
- return Data_Promise_x3ex3ex3d_Monad_Promise($7 => $8 => Data_Promise_map_Functor_Promise(csegen_501(), $d => $e => FFI_GitHub_listTeamMembers($1, $0.a2, $2, $d, $e), $7, $8), teamMemberLogins => $19 => $1a => Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Basics_flip(csegen_407(), csegen_502(), Prelude_Types_traverse_Traversable_List(csegen_65()(), $28 => Commands_n__9284_1921_forkedUser($1, $2, $0, $28), teamMemberLogins)), teamMembersJson => $30 => $31 => Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Types_traverse_Traversable_List(csegen_65()(), $39 => $3a => Data_Promise_either(csegen_52(), Data_User_parseUser($39), $3a), teamMembersJson), teamMembers => Util_renderIO($0, csegen_73()(), Text_PrettyPrint_Prettyprinter_Doc_vsep(Prelude_Types_List_mapAppend({h: 0}, $4f => Commands_n__9284_1922_putNameLn($1, $2, $0, $4f), teamMembers))), $30, $31), $19, $1a), $3, $4);
10074
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($7 => $8 => Data_Promise_map_Functor_x28Promisex20x24ex29(csegen_506(), $d => $e => FFI_GitHub_forceListTeamMembers($1, $0.a2, $2, $d, $e), $7, $8), teamMemberLogins => $19 => $1a => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Basics_flip(csegen_411(), csegen_508(), Prelude_Types_traverse_Traversable_List(csegen_65()(), $28 => Commands_n__9492_1997_forkedUser($1, $2, $0, $28), teamMemberLogins)), teamMembersJson => $30 => $31 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Types_traverse_Traversable_List(csegen_65()(), $39 => $3a => Data_Promise_either(Data_User_parseUser($39), $3a), teamMembersJson), teamMembers => Util_renderIO($0, csegen_73()(), Text_PrettyPrint_Prettyprinter_Doc_vsep(Prelude_Types_List_mapAppend({h: 0}, $4d => Commands_n__9492_1998_putNameLn($1, $2, $0, $4d), teamMembers))), $30, $31), $19, $1a), $3, $4);
9934
10075
  }
9935
10076
 
9936
- /* Commands.label : Config => Git => Octokit => List String -> Promise () */
10077
+ /* Commands.label : Config => Git => Octokit => List String -> Promise' () */
9937
10078
  function Commands_label($0, $1, $2, $3, $4, $5) {
9938
10079
  const $20 = $21 => {
9939
10080
  const $23 = Prelude_Types_List_mapAppend({h: 0}, $27 => Commands_unslugifyLabel($0.a10, $27), $3);
9940
- return $2d => $2e => Data_Promise_x3ex3ex3d_Monad_Promise($31 => $32 => Label_addLabels($0, $2, $21.a2, $23, $31, $32), allLabels => Util_renderIO($0, csegen_73()(), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Added'), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Commands_n__8605_1299_putLabels($1, $2, $3, $0, $23), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines(' to PR.'), a2: {h: 0}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $63 => $63, {a1: 'All labels for PR of ', a2: {a1: $21.a2.a7, a2: {a1: ':', a2: {h: 0}}}})), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Commands_n__8605_1299_putLabels($1, $2, $3, $0, allLabels), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines('.'), a2: {h: 0}}))), a2: {h: 0}}})), $2d, $2e);
10081
+ return $2d => $2e => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($31 => $32 => Label_addLabels($0, $2, $21.a2, $23, $31, $32), allLabels => Util_renderIO($0, csegen_73()(), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Added'), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Commands_n__8744_1300_putLabels($1, $2, $3, $0, $23), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines(' to PR.'), a2: {h: 0}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $63 => $63, {a1: 'All labels for PR of ', a2: {a1: $21.a2.a7, a2: {a1: ':', a2: {h: 0}}}})), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Commands_n__8744_1300_putLabels($1, $2, $3, $0, allLabels), Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_unsafeTextWithoutNewLines('.'), a2: {h: 0}}))), a2: {h: 0}}})), $2d, $2e);
9941
10082
  };
9942
- return Data_Promise_x3ex3ex3d_Monad_Promise($8 => $9 => Data_Promise_x3ex3ex3d_Monad_Promise($c => $d => FFI_Git_currentBranch($1, $c, $d), $13 => $14 => $15 => PullRequest_identifyOrCreatePR($0, $1, $2, 0, $13, $14, $15), $8, $9), $20, $4, $5);
10083
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($8 => $9 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($c => $d => FFI_Git_currentBranch($1, $c, $d), $13 => $14 => $15 => PullRequest_identifyOrCreatePR($0, $1, $2, 0, $13, $14, $15), $8, $9), $20, $4, $5);
9943
10084
  }
9944
10085
 
9945
- /* Commands.health : Config => Octokit => Promise () */
10086
+ /* Commands.health : Config => Octokit => Promise' () */
9946
10087
  function Commands_health($0, $1, $2, $3) {
9947
- return Data_Promise_x3ex3ex3d_Monad_Promise(PullRequest_listOpenPRs($0, $1, 4n, 100n), prs => Util_renderIO($0, csegen_73()(), Graph_healthGraph($0, prs, $0.a2, $0.a3)), $2, $3);
10088
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(PullRequest_listOpenPRs($0, $1, 4n, 100n), prs => Util_renderIO($0, csegen_73()(), Graph_healthGraph($0, prs, $0.a2, $0.a3)), $2, $3);
9948
10089
  }
9949
10090
 
9950
- /* Commands.graph : Config => Octokit => List GraphArg -> Promise () */
10091
+ /* Commands.graph : Config => Octokit => List GraphArg -> Promise' () */
9951
10092
  function Commands_graph($0, $1, $2) {
9952
10093
  const $5 = $6 => {
9953
10094
  switch($6.h) {
@@ -9956,7 +10097,7 @@ function Commands_graph($0, $1, $2) {
9956
10097
  }
9957
10098
  };
9958
10099
  const $3 = Data_List_find($5, $2);
9959
- return $9 => Commands_case__graph_2126($1, $2, $0, $3, Data_List_headx27(Prelude_Types_List_mapMaybeAppend({h: 0}, $15 => Commands_teamNameArg($15), $2)), $9);
10100
+ return $9 => Commands_case__graph_2210($1, $2, $0, $3, Data_List_headx27(Prelude_Types_List_mapMaybeAppend({h: 0}, $15 => Commands_teamNameArg($15), $2)), $9);
9960
10101
  }
9961
10102
 
9962
10103
  /* Commands.contributeUsageError : String */
@@ -9964,7 +10105,7 @@ const Commands_contributeUsageError = __lazy(function () {
9964
10105
  return 'contribute\'s arguments must be -<num> to skip num PRs, --ignore (-i) <uri>/<pr-number>, or --checkout (-c) to checkout the branch needing review.';
9965
10106
  });
9966
10107
 
9967
- /* Commands.contribute : Config => Git => Octokit => List ContributeArg -> Promise () */
10108
+ /* Commands.contribute : Config => Git => Octokit => List ContributeArg -> Promise' () */
9968
10109
  function Commands_contribute($0, $1, $2, $3, $4, $5) {
9969
10110
  const $12 = openPrs => {
9970
10111
  const $16 = $17 => {
@@ -9980,7 +10121,7 @@ function Commands_contribute($0, $1, $2, $3, $4, $5) {
9980
10121
  return $2d => $2e => {
9981
10122
  const $30 = $31 => $32 => {
9982
10123
  switch(Prelude_Types_null_Foldable_List($2a)) {
9983
- case 1: return Data_Promise_pure_Applicative_Promise($0, $31, $32);
10124
+ case 1: return Data_Promise_pure_Applicative_x28Promisex20x24ex29($0, $31, $32);
9984
10125
  case 0: return Config_addIgnoredPRs($0, $2a, $31, $32);
9985
10126
  }
9986
10127
  };
@@ -10000,28 +10141,28 @@ function Commands_contribute($0, $1, $2, $3, $4, $5) {
10000
10141
  }
10001
10142
  };
10002
10143
  const $53 = Prelude_Types_List_filterAppend({h: 0}, $56, $13);
10003
- const $5d = Prelude_Types_List_filterAppend({h: 0}, $61 => Commands_n__10225_2849_isNotIgnored($1, $2, $3, $0, configx27, $61), $53);
10144
+ const $5d = Prelude_Types_List_filterAppend({h: 0}, $61 => Commands_n__10451_2943_isNotIgnored($1, $2, $3, $0, configx27, $61), $53);
10004
10145
  const $6a = Data_List_partition($6d => Data_PullRequest_isRequestedReviewer(myLogin, $6d), $5d);
10005
- return Commands_case__contribute_3019($1, $2, $3, $0, openPrs, $13, myLogin, $2a, configx27, $40, $4d, $53, $5d, $6a, Prelude_Interfaces_mapHom({a1: d => b => c => a => $85 => $86 => $87 => ({a1: $85($87.a1), a2: $86($87.a2)}), a2: b => c => a => $90 => $91 => ({a1: $90($91.a1), a2: $91.a2}), a3: a => d => b => $98 => $99 => ({a1: $99.a1, a2: $98($99.a2)})}, $a0 => Data_List_sortBy(csegen_514(), $a0), $6a));
10146
+ return Commands_case__contribute_3117($1, $2, $3, $0, openPrs, $13, myLogin, $2a, configx27, $40, $4d, $53, $5d, $6a, Prelude_Interfaces_mapHom({a1: d => b => c => a => $85 => $86 => $87 => ({a1: $85($87.a1), a2: $86($87.a2)}), a2: b => c => a => $90 => $91 => ({a1: $90($91.a1), a2: $91.a2}), a3: a => d => b => $98 => $99 => ({a1: $99.a1, a2: $98($99.a2)})}, $a0 => Data_List_sortBy(csegen_520(), $a0), $6a));
10006
10147
  };
10007
- return Data_Promise_x3ex3ex3d_Monad_Promise($30, $3f, $2d, $2e);
10148
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($30, $3f, $2d, $2e);
10008
10149
  };
10009
10150
  };
10010
- return Data_Promise_x3ex3ex3d_Monad_Promise($1f => $20 => Data_Promise_map_Functor_Promise(csegen_510(), FFI_GitHub_getSelf($2), $1f, $20), $29, $1b, $1c);
10151
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1f => $20 => Data_Promise_map_Functor_x28Promisex20x24ex29(csegen_516(), FFI_GitHub_getSelf($2), $1f, $20), $29, $1b, $1c);
10011
10152
  };
10012
10153
  };
10013
- return Data_Promise_x3ex3ex3d_Monad_Promise(FFI_GitHub_listPullRequests($2, $0.a2, $0.a3, {a1: 0}, 100n, 0n), $12, $4, $5);
10154
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_GitHub_listPullRequests($2, $0.a2, $0.a3, {a1: 0}, 100n, 0n), $12, $4, $5);
10014
10155
  }
10015
10156
 
10016
- /* Commands.branch : Config => Git => Promise () */
10157
+ /* Commands.branch : Config => Git => Promise' () */
10017
10158
  function Commands_branch($0, $1, $2, $3) {
10018
10159
  const $c = branch => {
10019
10160
  const $d = $0.a2;
10020
10161
  const $f = $0.a3;
10021
10162
  const $11 = Prelude_Types_foldMap_Foldable_List(csegen_50()(), $17 => $17, {a1: 'https://github.com/', a2: {a1: $d, a2: {a1: '/', a2: {a1: $f, a2: {a1: '/tree/', a2: {a1: branch, a2: {h: 0}}}}}}});
10022
- return $25 => $26 => $27 => Data_Promise_liftIO_HasIO_Promise($2a => Prelude_IO_prim__putStr(($11+'\n'), $2a), $25, $26, $27);
10163
+ return $25 => $26 => $27 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($2a => Prelude_IO_prim__putStr(($11+'\n'), $2a), $25, $26, $27);
10023
10164
  };
10024
- return Data_Promise_x3ex3ex3d_Monad_Promise($6 => $7 => FFI_Git_currentBranch($1, $6, $7), $c, $2, $3);
10165
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($6 => $7 => FFI_Git_currentBranch($1, $6, $7), $c, $2, $3);
10025
10166
  }
10026
10167
 
10027
10168
  /* Commands.(<||>) : Alternative t => (a -> t b) -> (a -> t b) -> a -> t b */
@@ -10030,68 +10171,68 @@ function Commands_x3cx7cx7cx3e($0, $1, $2, $3) {
10030
10171
  }
10031
10172
 
10032
10173
  /* User.Reflect.case block in case block in reflectOnSelf */
10033
- function User_Reflect_case__casex20blockx20inx20reflectOnSelf_1921($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10034
- const $b = Prelude_Interfaces_mapHom({a1: d => b => c => a => $f => $10 => $11 => ({a1: $f($11.a1), a2: $10($11.a2)}), a2: b => c => a => $1a => $1b => ({a1: $1a($1b.a1), a2: $1b.a2}), a3: a => d => b => $22 => $23 => ({a1: $23.a1, a2: $22($23.a2)})}, $2a => Data_List_headx27(Data_List_sort({a1: {a1: $31 => $32 => Data_Date_x3dx3d_Eq_Date($31, $32), a2: $37 => $38 => Data_Date_x2fx3d_Eq_Date($37, $38)}, a2: $3d => $3e => Data_Date_compare_Ord_Date($3d, $3e), a3: $43 => $44 => Data_Date_x3c_Ord_Date($43, $44), a4: $49 => $4a => Data_Date_x3e_Ord_Date($49, $4a), a5: $4f => $50 => Data_Date_x3cx3d_Ord_Date($4f, $50), a6: $55 => $56 => Data_Date_x3ex3d_Ord_Date($55, $56), a7: $5b => $5c => Data_Date_max_Ord_Date($5b, $5c), a8: $61 => $62 => Data_Date_min_Ord_Date($61, $62)}, Prelude_Types_List_mapAppend({h: 0}, csegen_527(), $2a))), {a1: $7, a2: $9.a1});
10174
+ function User_Reflect_case__casex20blockx20inx20reflectOnSelf_1925($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10175
+ const $b = Prelude_Interfaces_mapHom({a1: d => b => c => a => $f => $10 => $11 => ({a1: $f($11.a1), a2: $10($11.a2)}), a2: b => c => a => $1a => $1b => ({a1: $1a($1b.a1), a2: $1b.a2}), a3: a => d => b => $22 => $23 => ({a1: $23.a1, a2: $22($23.a2)})}, $2a => Data_List_headx27(Data_List_sort({a1: {a1: $31 => $32 => Data_Date_x3dx3d_Eq_Date($31, $32), a2: $37 => $38 => Data_Date_x2fx3d_Eq_Date($37, $38)}, a2: $3d => $3e => Data_Date_compare_Ord_Date($3d, $3e), a3: $43 => $44 => Data_Date_x3c_Ord_Date($43, $44), a4: $49 => $4a => Data_Date_x3e_Ord_Date($49, $4a), a5: $4f => $50 => Data_Date_x3cx3d_Ord_Date($4f, $50), a6: $55 => $56 => Data_Date_x3ex3d_Ord_Date($55, $56), a7: $5b => $5c => Data_Date_max_Ord_Date($5b, $5c), a8: $61 => $62 => Data_Date_min_Ord_Date($61, $62)}, Prelude_Types_List_mapAppend({h: 0}, csegen_533(), $2a))), {a1: $7, a2: $9.a1});
10035
10176
  return Util_renderIO($0, csegen_73()(), User_Reflect_print(Prelude_Types_String_length(User_Reflect_intro()), Prelude_Types_List_lengthTR($4), Prelude_Types_List_lengthTR($9.a1), Prelude_Types_List_lengthTR($9.a2), Prelude_Types_List_lengthTR($8), Prelude_Types_List_lengthTR($7), $5, $b.a1, $b.a2, $0));
10036
10177
  }
10037
10178
 
10038
- /* User.Me.7401:2049:ul */
10039
- function User_Me_n__7401_2049_ul($0, $1, $2, $3, $4) {
10179
+ /* User.Me.7540:2054:ul */
10180
+ function User_Me_n__7540_2054_ul($0, $1, $2, $3, $4) {
10040
10181
  return Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_underline(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($4));
10041
10182
  }
10042
10183
 
10043
- /* User.Me.7401:2048:teams */
10044
- function User_Me_n__7401_2048_teams($0, $1, $2, $3) {
10045
- return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: User_Me_n__7401_2049_ul($0, $1, $2, $3, 'GitHub Teams:'), a2: Prelude_Types_List_mapAppend({h: 0}, $11 => User_Me_n__7401_2046_it($0, $1, $2, $3, $11), $0)});
10184
+ /* User.Me.7540:2053:teams */
10185
+ function User_Me_n__7540_2053_teams($0, $1, $2, $3) {
10186
+ return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: User_Me_n__7540_2054_ul($0, $1, $2, $3, 'GitHub Teams:'), a2: Prelude_Types_List_mapAppend({h: 0}, $11 => User_Me_n__7540_2051_it($0, $1, $2, $3, $11), $0)});
10046
10187
  }
10047
10188
 
10048
- /* User.Me.7401:2047:login */
10049
- function User_Me_n__7401_2047_login($0, $1, $2, $3) {
10050
- return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('GitHub Login:'), User_Me_n__7401_2043_dataVal($0, $1, $2, $3, $1.a1));
10189
+ /* User.Me.7540:2052:login */
10190
+ function User_Me_n__7540_2052_login($0, $1, $2, $3) {
10191
+ return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('GitHub Login:'), User_Me_n__7540_2048_dataVal($0, $1, $2, $3, $1.a1));
10051
10192
  }
10052
10193
 
10053
- /* User.Reflect.6461:1080:ital */
10054
- function User_Reflect_n__6461_1080_ital($0, $1) {
10194
+ /* User.Reflect.6595:1080:ital */
10195
+ function User_Reflect_n__6595_1080_ital($0, $1) {
10055
10196
  return Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($1));
10056
10197
  }
10057
10198
 
10058
- /* User.Me.7401:2046:it */
10059
- function User_Me_n__7401_2046_it($0, $1, $2, $3, $4) {
10199
+ /* User.Me.7540:2051:it */
10200
+ function User_Me_n__7540_2051_it($0, $1, $2, $3, $4) {
10060
10201
  return Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($4));
10061
10202
  }
10062
10203
 
10063
- /* User.Me.7551:2202:handleUnsetEmail */
10064
- function User_Me_n__7551_2202_handleUnsetEmail($0, $1, $2, $3) {
10204
+ /* User.Me.7690:2207:handleUnsetEmail */
10205
+ function User_Me_n__7690_2207_handleUnsetEmail($0, $1, $2, $3) {
10065
10206
  switch($3) {
10066
10207
  case '': return {h: 0};
10067
10208
  default: return {a1: $3};
10068
10209
  }
10069
10210
  }
10070
10211
 
10071
- /* User.Me.7401:2045:fullName */
10072
- function User_Me_n__7401_2045_fullName($0, $1, $2, $3) {
10073
- return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('GitHub Name:'), User_Me_n__7401_2043_dataVal($0, $1, $2, $3, $1.a2));
10212
+ /* User.Me.7540:2050:fullName */
10213
+ function User_Me_n__7540_2050_fullName($0, $1, $2, $3) {
10214
+ return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('GitHub Name:'), User_Me_n__7540_2048_dataVal($0, $1, $2, $3, $1.a2));
10074
10215
  }
10075
10216
 
10076
- /* User.Me.7401:2044:email */
10077
- function User_Me_n__7401_2044_email($0, $1, $2, $3) {
10217
+ /* User.Me.7540:2049:email */
10218
+ function User_Me_n__7540_2049_email($0, $1, $2, $3) {
10078
10219
  let $8;
10079
10220
  switch($2.h) {
10080
10221
  case undefined: /* just */ {
10081
- $8 = User_Me_n__7401_2043_dataVal($0, $1, $2, $3, $2.a1);
10222
+ $8 = User_Me_n__7540_2048_dataVal($0, $1, $2, $3, $2.a1);
10082
10223
  break;
10083
10224
  }
10084
10225
  case 0: /* nothing */ {
10085
- $8 = User_Me_n__7401_2046_it($0, $1, $2, $3, 'Not set');
10226
+ $8 = User_Me_n__7540_2051_it($0, $1, $2, $3, 'Not set');
10086
10227
  break;
10087
10228
  }
10088
10229
  }
10089
10230
  return Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Git Email:'), $8);
10090
10231
  }
10091
10232
 
10092
- /* User.Me.7401:2043:dataVal */
10093
- function User_Me_n__7401_2043_dataVal($0, $1, $2, $3, $4) {
10094
- return Theme_theme($3, csegen_529(), Theme_cs({a1: 4, a2: {h: 0}}), 8)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($4));
10233
+ /* User.Me.7540:2048:dataVal */
10234
+ function User_Me_n__7540_2048_dataVal($0, $1, $2, $3, $4) {
10235
+ return Theme_theme($3, csegen_535(), Theme_cs({a1: 4, a2: {h: 0}}), 8)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($4));
10095
10236
  }
10096
10237
 
10097
10238
  /* User.Reflect.rightTitle : String */
@@ -10109,26 +10250,26 @@ function User_replicatex27($0, $1, $2, $3, $4, $5) {
10109
10250
  return Theme_theme($0, $1, $2, $3)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Data_String_replicate($4, $5)));
10110
10251
  }
10111
10252
 
10112
- /* User.Reflect.reflectOnSelf : Config => Octokit => Promise () */
10253
+ /* User.Reflect.reflectOnSelf : Config => Octokit => Promise' () */
10113
10254
  function User_Reflect_reflectOnSelf($0, $1, $2, $3) {
10114
10255
  const $c = prs => $d => $e => {
10115
10256
  const $1b = myLogin => $1c => $1d => {
10116
10257
  const $39 = reviews => {
10117
- const $3a = Prelude_Types_map_Functor_Maybe(csegen_532(), Data_List_headx27(Data_List_sortBy($43 => $44 => Prelude_Basics_on(csegen_512(), csegen_532(), $43, $44), reviews)));
10258
+ const $3a = Prelude_Types_map_Functor_Maybe(csegen_538(), Data_List_headx27(Data_List_sortBy($43 => $44 => Prelude_Basics_on(csegen_518(), csegen_538(), $43, $44), reviews)));
10118
10259
  const $4d = PullRequest_tuple(prs);
10119
10260
  const $50 = Prelude_Interfaces_mapHom({a1: d => b => c => a => $54 => $55 => $56 => ({a1: $54($56.a1), a2: $55($56.a2)}), a2: b => c => a => $5f => $60 => ({a1: $5f($60.a1), a2: $60.a2}), a3: a => d => b => $67 => $68 => ({a1: $68.a1, a2: $67($68.a2)})}, $6f => Prelude_Types_List_filterAppend({h: 0}, $73 => Prelude_EqOrd_x3dx3d_Eq_String($73.a4, myLogin), $6f), $4d);
10120
- return User_Reflect_case__casex20blockx20inx20reflectOnSelf_1921($0, $1, prs, myLogin, reviews, $3a, $4d, $50.a1, $50.a2, Prelude_Interfaces_mapHom({a1: d => b => c => a => $88 => $89 => $8a => ({a1: $88($8a.a1), a2: $89($8a.a2)}), a2: b => c => a => $93 => $94 => ({a1: $93($94.a1), a2: $94.a2}), a3: a => d => b => $9b => $9c => ({a1: $9c.a1, a2: $9b($9c.a2)})}, $a3 => Prelude_Types_List_filterAppend({h: 0}, $a7 => Prelude_Types_foldMap_Foldable_List(csegen_96(), $ac => Prelude_EqOrd_x3dx3d_Eq_String($ac, myLogin), $a7.a6), $a3), $4d));
10261
+ return User_Reflect_case__casex20blockx20inx20reflectOnSelf_1925($0, $1, prs, myLogin, reviews, $3a, $4d, $50.a1, $50.a2, Prelude_Interfaces_mapHom({a1: d => b => c => a => $88 => $89 => $8a => ({a1: $88($8a.a1), a2: $89($8a.a2)}), a2: b => c => a => $93 => $94 => ({a1: $93($94.a1), a2: $94.a2}), a3: a => d => b => $9b => $9c => ({a1: $9c.a1, a2: $9b($9c.a2)})}, $a3 => Prelude_Types_List_filterAppend({h: 0}, $a7 => Prelude_Types_foldMap_Foldable_List(csegen_96(), $ac => Prelude_EqOrd_x3dx3d_Eq_String($ac, myLogin), $a7.a6), $a3), $4d));
10121
10262
  };
10122
- return Data_Promise_x3ex3ex3d_Monad_Promise(PullRequest_reviewsByUser($0, $1, myLogin, Data_List_take(User_Reflect_reviewDetailsCount(), Prelude_Types_List_reverse(Data_List_sortBy($2d => $2e => Prelude_Basics_on(csegen_512(), csegen_527(), $2d, $2e), PullRequest_combined(prs))))), $39, $1c, $1d);
10263
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(PullRequest_reviewsByUser($0, $1, myLogin, Data_List_take(User_Reflect_reviewDetailsCount(), Prelude_Types_List_reverse(Data_List_sortBy($2d => $2e => Prelude_Basics_on(csegen_518(), csegen_533(), $2d, $2e), PullRequest_combined(prs))))), $39, $1c, $1d);
10123
10264
  };
10124
- return Data_Promise_x3ex3ex3d_Monad_Promise($11 => $12 => Data_Promise_map_Functor_Promise(csegen_510(), FFI_GitHub_getSelf($1), $11, $12), $1b, $d, $e);
10265
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($11 => $12 => Data_Promise_map_Functor_x28Promisex20x24ex29(csegen_516(), FFI_GitHub_getSelf($1), $11, $12), $1b, $d, $e);
10125
10266
  };
10126
- return Data_Promise_x3ex3ex3d_Monad_Promise(PullRequest_listPartitionedPRs($0, $1, 4n, User_Reflect_prCount()), $c, $2, $3);
10267
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(PullRequest_listPartitionedPRs($0, $1, 4n, User_Reflect_prCount()), $c, $2, $3);
10127
10268
  }
10128
10269
 
10129
- /* User.Me.printInfoOnSelf : Config => Octokit => Git => Promise () */
10270
+ /* User.Me.printInfoOnSelf : Config => Octokit => Git => Promise' () */
10130
10271
  function User_Me_printInfoOnSelf($0, $1, $2, $3, $4) {
10131
- return Data_Promise_x3ex3ex3d_Monad_Promise($7 => $8 => Data_Promise_map_Functor_Promise($b => User_Me_n__7551_2202_handleUnsetEmail($1, $2, $0, $b), $12 => $13 => FFI_Git_userEmail($2, $12, $13), $7, $8), gitEmail => $1b => $1c => Data_Promise_x3ex3ex3d_Monad_Promise(FFI_GitHub_getSelf($1), githubUser => $22 => $23 => Data_Promise_x3ex3ex3d_Monad_Promise($26 => $27 => Data_Promise_map_Functor_Promise(csegen_501(), $2c => $2d => FFI_GitHub_listMyTeams($1, $2c, $2d), $26, $27), githubTeams => Util_renderIO($0, csegen_73()(), User_Me_print($0, gitEmail, githubUser, githubTeams)), $22, $23), $1b, $1c), $3, $4);
10272
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($7 => $8 => Data_Promise_map_Functor_x28Promisex20x24ex29($b => User_Me_n__7690_2207_handleUnsetEmail($1, $2, $0, $b), $12 => $13 => FFI_Git_userEmail($2, $12, $13), $7, $8), gitEmail => $1b => $1c => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_GitHub_getSelf($1), githubUser => $22 => $23 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($26 => $27 => Data_Promise_map_Functor_x28Promisex20x24ex29(csegen_506(), $2c => $2d => FFI_GitHub_listMyTeams($1, $2c, $2d), $26, $27), githubTeams => Util_renderIO($0, csegen_73()(), User_Me_print($0, gitEmail, githubUser, githubTeams)), $22, $23), $1b, $1c), $3, $4);
10132
10273
  }
10133
10274
 
10134
10275
  /* User.Reflect.print : Nat -> Nat -> Nat -> Nat -> Nat -> Nat -> Maybe Date -> Maybe Date -> Maybe Date -> Config =>
@@ -10139,7 +10280,7 @@ function User_Reflect_print($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10139
10280
 
10140
10281
  /* User.Me.print : Config -> Maybe String -> User -> List String -> Doc AnsiStyle */
10141
10282
  function User_Me_print($0, $1, $2, $3) {
10142
- return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7401_2044_email($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7401_2045_fullName($3, $2, $1, $0), a2: {a1: User_Me_n__7401_2047_login($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7401_2048_teams($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {h: 0}}}}}}}}});
10283
+ return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7540_2049_email($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7540_2050_fullName($3, $2, $1, $0), a2: {a1: User_Me_n__7540_2052_login($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: User_Me_n__7540_2053_teams($3, $2, $1, $0), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {h: 0}}}}}}}}});
10143
10284
  }
10144
10285
 
10145
10286
  /* User.Reflect.prCount : Fin 101 */
@@ -10159,7 +10300,7 @@ const User_Reflect_intro = __lazy(function () {
10159
10300
 
10160
10301
  /* User.Reflect.header : Nat -> Doc AnsiStyle */
10161
10302
  function User_Reflect_header($0) {
10162
- return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($0)), Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: User_Reflect_n__6461_1080_ital($0, User_Reflect_leftTitle()), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(' '), a2: {a1: User_Reflect_n__6461_1080_ital($0, User_Reflect_rightTitle()), a2: {h: 0}}}}));
10303
+ return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($0)), Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: User_Reflect_n__6595_1080_ital($0, User_Reflect_leftTitle()), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(' '), a2: {a1: User_Reflect_n__6595_1080_ital($0, User_Reflect_rightTitle()), a2: {h: 0}}}}));
10163
10304
  }
10164
10305
 
10165
10306
  /* User.Reflect.graph : Nat -> Nat -> Nat -> Nat -> Nat -> Nat -> Config => Doc AnsiStyle */
@@ -10177,12 +10318,12 @@ function User_Reflect_graph($0, $1, $2, $3, $4, $5, $6) {
10177
10318
 
10178
10319
  /* User.Reflect.details : Nat -> Nat -> Nat -> Nat -> Nat -> Nat -> Maybe Date -> Maybe Date -> Maybe Date -> Doc AnsiStyle */
10179
10320
  function User_Reflect_details($0, $1, $2, $3, $4, $5, $6, $7, $8) {
10180
- return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(User_Reflect_intro()), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_underline(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Requested Reviews:')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('unreviewed:')}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('open:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($2)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(csegen_538(), $8), a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('closed:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(1), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($3)), a2: {h: 0}}})}, a2: {h: 0}}}})))}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('reviews*:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($1)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(date => Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('most recent:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Data_Date_show_Show_Date(date)), a2: {h: 0}}})), $6), a2: {h: 0}}}}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_underline(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Authored Pulls:')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('open:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($5)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(csegen_538(), $7), a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('closed:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($4)), a2: {h: 0}}})}, a2: {h: 0}}}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $d0 => $d0, {a1: '*review count (not PR count) of most recent ', a2: {a1: Data_Fin_show_Show_x28Finx20x24nx29(User_Reflect_reviewDetailsCount()), a2: {a1: ' PRs.', a2: {h: 0}}}}))), a2: {h: 0}}}}}}}}}});
10321
+ return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(User_Reflect_intro()), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_underline(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Requested Reviews:')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('unreviewed:')}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('open:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($2)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(csegen_544(), $8), a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('closed:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(1), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($3)), a2: {h: 0}}})}, a2: {h: 0}}}})))}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('reviews*:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($1)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(date => Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('most recent:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Data_Date_show_Show_Date(date)), a2: {h: 0}}})), $6), a2: {h: 0}}}}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_underline(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Authored Pulls:')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_indent(2, Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('open:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($5)), a2: {h: 0}}})}, a2: {a1: Prelude_Types_map_Functor_Maybe(csegen_544(), $7), a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_hsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('closed:'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Nat($4)), a2: {h: 0}}})}, a2: {h: 0}}}}))), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_italic(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $d0 => $d0, {a1: '*review count (not PR count) of most recent ', a2: {a1: Data_Fin_show_Show_x28Finx20x24nx29(User_Reflect_reviewDetailsCount()), a2: {a1: ' PRs.', a2: {h: 0}}}}))), a2: {h: 0}}}}}}}}}});
10181
10322
  }
10182
10323
 
10183
10324
  /* User.Reflect.chart : Nat -> Nat -> Nat -> Nat -> Nat -> Nat -> Config => Nat -> Doc AnsiStyle */
10184
10325
  function User_Reflect_chart($0, $1, $2, $3, $4, $5, $6, $7) {
10185
- return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($7)), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(User_replicatex27($6, csegen_529(), csegen_548(), 4, $1, '\u{b7}'), User_replicatex27($6, csegen_549(), csegen_549(), 7, $3, '\u{25e6}')), User_replicatex27($6, csegen_550(), csegen_550(), 5, $2, '<')), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('|'), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(User_replicatex27($6, csegen_550(), csegen_550(), 5, $5, '>'), User_replicatex27($6, csegen_529(), csegen_548(), 4, $4, '\u{b7}')))));
10326
+ return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($7)), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(User_replicatex27($6, csegen_535(), csegen_554(), 4, $1, '\u{b7}'), User_replicatex27($6, csegen_555(), csegen_555(), 7, $3, '\u{25e6}')), User_replicatex27($6, csegen_556(), csegen_556(), 5, $2, '<')), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('|'), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx3e_Semigroup_x28Docx20x24annx29(User_replicatex27($6, csegen_556(), csegen_556(), 5, $5, '>'), User_replicatex27($6, csegen_535(), csegen_554(), 4, $4, '\u{b7}')))));
10186
10327
  }
10187
10328
 
10188
10329
  /* Theme.4312:1214:maybeAnnotate */
@@ -10233,7 +10374,7 @@ function Theme_cs($0) {
10233
10374
  }
10234
10375
 
10235
10376
  /* PullRequest.with block in with block in listPartitionedPRs */
10236
- function PullRequest_with__withx20blockx20inx20listPartitionedPRs_1609($0, $1, $2, $3, $4, $5, $6) {
10377
+ function PullRequest_with__withx20blockx20inx20listPartitionedPRs_1618($0, $1, $2, $3, $4, $5, $6) {
10237
10378
  return $7 => {
10238
10379
  switch($2.h) {
10239
10380
  case 1: /* No */ return $9 => PullRequest_partitionx27(Data_Pagination_metaPages($0, 1n, $4, 1n, $4), $7, $9);
@@ -10243,20 +10384,20 @@ function PullRequest_with__withx20blockx20inx20listPartitionedPRs_1609($0, $1, $
10243
10384
  }
10244
10385
 
10245
10386
  /* PullRequest.with block in listPartitionedPRs */
10246
- function PullRequest_with__listPartitionedPRs_1547($0, $1, $2, $3, $4) {
10387
+ function PullRequest_with__listPartitionedPRs_1554($0, $1, $2, $3, $4) {
10247
10388
  switch($2.a1.h) {
10248
- case 1: /* No */ return $7 => $8 => Data_Promise_pure_Applicative_Promise(PullRequest_empty(), $7, $8);
10389
+ case 1: /* No */ return $7 => $8 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(PullRequest_empty(), $7, $8);
10249
10390
  default: {
10250
10391
  switch($2.a2.h) {
10251
- case 1: /* No */ return $f => $10 => Data_Promise_map_Functor_Promise($13 => PullRequest_partition($13), FFI_GitHub_listPullRequests($3, $4.a2, $4.a3, {h: 0}, $0, 0n), $f, $10);
10252
- default: return PullRequest_with__withx20blockx20inx20listPartitionedPRs_1609($0, $1, Data_Nat_isLTE(($1+1n), $0), $3, $2.a1.a1, $2.a2.a1, $4);
10392
+ case 1: /* No */ return $f => $10 => Data_Promise_map_Functor_x28Promisex20x24ex29($13 => PullRequest_partition($13), FFI_GitHub_listPullRequests($3, $4.a2, $4.a3, {h: 0}, $0, 0n), $f, $10);
10393
+ default: return PullRequest_with__withx20blockx20inx20listPartitionedPRs_1618($0, $1, Data_Nat_isLTE(($1+1n), $0), $3, $2.a1.a1, $2.a2.a1, $4);
10253
10394
  }
10254
10395
  }
10255
10396
  }
10256
10397
  }
10257
10398
 
10258
10399
  /* PullRequest.with block in with block in listOpenPRs */
10259
- function PullRequest_with__withx20blockx20inx20listOpenPRs_1436($0, $1, $2, $3, $4, $5, $6) {
10400
+ function PullRequest_with__withx20blockx20inx20listOpenPRs_1442($0, $1, $2, $3, $4, $5, $6) {
10260
10401
  return $7 => {
10261
10402
  switch($2.h) {
10262
10403
  case 1: /* No */ return $9 => PullRequest_listx27({a1: 0}, Data_Pagination_metaPages($0, 1n, $4, 1n, $4), $7, $9);
@@ -10266,75 +10407,75 @@ function PullRequest_with__withx20blockx20inx20listOpenPRs_1436($0, $1, $2, $3,
10266
10407
  }
10267
10408
 
10268
10409
  /* PullRequest.with block in listOpenPRs */
10269
- function PullRequest_with__listOpenPRs_1375($0, $1, $2, $3, $4) {
10410
+ function PullRequest_with__listOpenPRs_1380($0, $1, $2, $3, $4) {
10270
10411
  switch($2.a1.h) {
10271
- case 1: /* No */ return $7 => $8 => Data_Promise_pure_Applicative_Promise({h: 0}, $7, $8);
10412
+ case 1: /* No */ return $7 => $8 => Data_Promise_pure_Applicative_x28Promisex20x24ex29({h: 0}, $7, $8);
10272
10413
  default: {
10273
10414
  switch($2.a2.h) {
10274
10415
  case 1: /* No */ return FFI_GitHub_listPullRequests($3, $4.a2, $4.a3, {a1: 0}, $0, 0n);
10275
- default: return PullRequest_with__withx20blockx20inx20listOpenPRs_1436($0, $1, Data_Nat_isLTE(($1+1n), $0), $3, $2.a1.a1, $2.a2.a1, $4);
10416
+ default: return PullRequest_with__withx20blockx20inx20listOpenPRs_1442($0, $1, Data_Nat_isLTE(($1+1n), $0), $3, $2.a1.a1, $2.a2.a1, $4);
10276
10417
  }
10277
10418
  }
10278
10419
  }
10279
10420
  }
10280
10421
 
10281
10422
  /* PullRequest.case block in case block in case block in identifyOrCreatePR,createPR */
10282
- function PullRequest_case__casex20blockx20inx20casex20blockx20inx20identifyOrCreatePRx2ccreatePR_3187($0, $1, $2, $3, $4, $5, $6, $7, $8) {
10423
+ function PullRequest_case__casex20blockx20inx20casex20blockx20inx20identifyOrCreatePRx2ccreatePR_3256($0, $1, $2, $3, $4, $5, $6, $7, $8) {
10283
10424
  switch($8.h) {
10284
10425
  case undefined: /* cons */ return ($8.a1+$8.a2);
10285
10426
  default: return $4.a5;
10286
10427
  }
10287
10428
  }
10288
10429
 
10289
- /* PullRequest.9720:1965:userNotice */
10290
- function PullRequest_n__9720_1965_userNotice($0, $1, $2, $3, $4, $5, $6) {
10430
+ /* PullRequest.9870:1986:userNotice */
10431
+ function PullRequest_n__9870_1986_userNotice($0, $1, $2, $3, $4, $5, $6) {
10291
10432
  switch($6.h) {
10292
10433
  case 0: /* nothing */ {
10293
10434
  switch($2.h) {
10294
10435
  case 0: /* nil */ return 'no users';
10295
- default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, $2), a2: {h: 0}});
10436
+ default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, $2), a2: {h: 0}});
10296
10437
  }
10297
10438
  }
10298
- case undefined: /* just */ return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $1f => $1f, {a1: PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, {a1: $6.a1, a2: $2}), a2: {h: 0}});
10439
+ case undefined: /* just */ return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $1f => $1f, {a1: PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, {a1: $6.a1, a2: $2}), a2: {h: 0}});
10299
10440
  }
10300
10441
  }
10301
10442
 
10302
- /* PullRequest.9720:1964:teamNotice */
10303
- function PullRequest_n__9720_1964_teamNotice($0, $1, $2, $3, $4, $5, $6) {
10443
+ /* PullRequest.9870:1985:teamNotice */
10444
+ function PullRequest_n__9870_1985_teamNotice($0, $1, $2, $3, $4, $5, $6) {
10304
10445
  switch($6.h) {
10305
10446
  case 0: /* nil */ return '';
10306
10447
  case undefined: /* cons */ {
10307
10448
  switch($6.a2.h) {
10308
- case 0: /* nil */ return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: ' and team ', a2: {a1: PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, {a1: $6.a1, a2: {h: 0}}), a2: {h: 0}}});
10309
- default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $23 => $23, {a1: ' and teams ', a2: {a1: PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, $6), a2: {h: 0}}});
10449
+ case 0: /* nil */ return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e => $e, {a1: ' and team ', a2: {a1: PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, {a1: $6.a1, a2: {h: 0}}), a2: {h: 0}}});
10450
+ default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $23 => $23, {a1: ' and teams ', a2: {a1: PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, $6), a2: {h: 0}}});
10310
10451
  }
10311
10452
  }
10312
- default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $36 => $36, {a1: ' and teams ', a2: {a1: PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, $6), a2: {h: 0}}});
10453
+ default: return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $36 => $36, {a1: ' and teams ', a2: {a1: PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, $6), a2: {h: 0}}});
10313
10454
  }
10314
10455
  }
10315
10456
 
10316
- /* PullRequest.10410:2629:prepareDescriptionFile */
10317
- function PullRequest_n__10410_2629_prepareDescriptionFile($0, $1, $2, $3, $4, $5, $6) {
10457
+ /* PullRequest.10575:2665:prepareDescriptionFile */
10458
+ function PullRequest_n__10575_2665_prepareDescriptionFile($0, $1, $2, $3, $4, $5, $6) {
10318
10459
  return $5.a1.a2(undefined)(undefined)(System_File_Meta_exists($5, $6))($14 => Prelude_Interfaces_when($5.a1.a1, $14, () => $5.a1.a1.a1(undefined)(undefined)($25 => (undefined))(System_File_copyFile($5, $6, 'pr_description.tmp.md'))));
10319
10460
  }
10320
10461
 
10321
- /* PullRequest.9720:1963:prComment */
10322
- function PullRequest_n__9720_1963_prComment($0, $1, $2, $3, $4, $5, $6) {
10462
+ /* PullRequest.9870:1984:prComment */
10463
+ function PullRequest_n__9870_1984_prComment($0, $1, $2, $3, $4, $5, $6) {
10323
10464
  return Prelude_Types_foldMap_Foldable_List(csegen_50()(), $c => $c, {a1: ':musical_note: Harmoniously requested review from @', a2: {a1: $6, a2: {a1: '.', a2: {h: 0}}}});
10324
10465
  }
10325
10466
 
10326
- /* PullRequest.10410:2628:inlineDescription */
10327
- function PullRequest_n__10410_2628_inlineDescription($0, $1, $2, $3, $4, $5) {
10467
+ /* PullRequest.10575:2664:inlineDescription */
10468
+ function PullRequest_n__10575_2664_inlineDescription($0, $1, $2, $3, $4, $5) {
10328
10469
  return $5.a1.a2(undefined)(undefined)($5.a2(undefined)($14 => Prelude_IO_prim__putStr('What would you like the description to be (two blank lines to finish)?\n', $14)))($19 => $5.a1.a1.a1(undefined)(undefined)($24 => Data_String_fastUnlines($24))(Util_getManyLines($5, Data_Fuel_limit(100n))));
10329
10470
  }
10330
10471
 
10331
- /* PullRequest.9493:1704:forkedReviews */
10332
- function PullRequest_n__9493_1704_forkedReviews($0, $1, $2, $3) {
10472
+ /* PullRequest.9632:1714:forkedReviews */
10473
+ function PullRequest_n__9632_1714_forkedReviews($0, $1, $2, $3) {
10333
10474
  return FFI_Concurrency_fork(csegen_73()(), ('reviews --json '+Prelude_Show_show_Show_Integer($3.a1)));
10334
10475
  }
10335
10476
 
10336
- /* PullRequest.8926:1169:filterString */
10337
- function PullRequest_n__8926_1169_filterString($0, $1, $2, $3, $4) {
10477
+ /* PullRequest.9055:1169:filterString */
10478
+ function PullRequest_n__9055_1169_filterString($0, $1, $2, $3, $4) {
10338
10479
  switch($4.h) {
10339
10480
  case 0: /* nothing */ return 'none';
10340
10481
  case undefined: /* just */ {
@@ -10346,8 +10487,8 @@ function PullRequest_n__8926_1169_filterString($0, $1, $2, $3, $4) {
10346
10487
  }
10347
10488
  }
10348
10489
 
10349
- /* PullRequest.10410:2627:editorDescription */
10350
- function PullRequest_n__10410_2627_editorDescription($0, $1, $2, $3, $4, $5, $6, $7) {
10490
+ /* PullRequest.10575:2663:editorDescription */
10491
+ function PullRequest_n__10575_2663_editorDescription($0, $1, $2, $3, $4, $5, $6, $7) {
10351
10492
  const $19 = $1a => {
10352
10493
  const $32 = $33 => {
10353
10494
  switch($33) {
@@ -10357,16 +10498,16 @@ function PullRequest_n__10410_2627_editorDescription($0, $1, $2, $3, $4, $5, $6,
10357
10498
  };
10358
10499
  return $5.a1.a2(undefined)(undefined)(System_system($5, Prelude_Types_foldMap_Foldable_List(csegen_50()(), $2c => $2c, {a1: $6, a2: {a1: ' pr_description.tmp.md', a2: {h: 0}}})))($32);
10359
10500
  };
10360
- return $5.a1.a2(undefined)(undefined)(PullRequest_n__10410_2629_prepareDescriptionFile($0, $1, $2, $3, $4, $5, $7))($19);
10501
+ return $5.a1.a2(undefined)(undefined)(PullRequest_n__10575_2665_prepareDescriptionFile($0, $1, $2, $3, $4, $5, $7))($19);
10361
10502
  }
10362
10503
 
10363
- /* PullRequest.9720:1962:csv */
10364
- function PullRequest_n__9720_1962_csv($0, $1, $2, $3, $4, $5, $6) {
10504
+ /* PullRequest.9870:1983:csv */
10505
+ function PullRequest_n__9870_1983_csv($0, $1, $2, $3, $4, $5, $6) {
10365
10506
  return Util_renderString($5, Text_PrettyPrint_Prettyprinter_Doc_encloseSep(Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(', '), Prelude_Types_List_mapAppend({h: 0}, $16 => Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(2), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String($16)), $6)));
10366
10507
  }
10367
10508
 
10368
- /* PullRequest.10410:2626:createPR */
10369
- function PullRequest_n__10410_2626_createPR($0, $1, $2, $3, $4, $5, $6) {
10509
+ /* PullRequest.10575:2662:createPR */
10510
+ function PullRequest_n__10575_2662_createPR($0, $1, $2, $3, $4, $5, $6) {
10370
10511
  const $3a = $3b => $3c => $3d => {
10371
10512
  const $4a = $4b => $4c => $4d => {
10372
10513
  switch($4b) {
@@ -10377,17 +10518,17 @@ function PullRequest_n__10410_2626_createPR($0, $1, $2, $3, $4, $5, $6) {
10377
10518
  const $61 = $62 => $63 => {
10378
10519
  const $6c = $6d => $6e => $6f => {
10379
10520
  switch($6d.h) {
10380
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($73 => $74 => $75 => Data_Promise_liftIO_HasIO_Promise($78 => Prelude_IO_prim__putStr('The following commits have not been pushed:\n\n', $78), $73, $74, $75), $80 => $81 => $82 => Data_Promise_x3ex3ex3d_Monad_Promise($85 => $86 => $87 => Data_Promise_liftIO_HasIO_Promise($8a => Prelude_IO_prim__putStr(($6d.a1+'\n'), $8a), $85, $86, $87), $94 => $95 => $96 => Data_Promise_x3ex3ex3d_Monad_Promise($99 => $9a => $9b => Data_Promise_liftIO_HasIO_Promise($9e => Prelude_IO_prim__putStr('\n\n', $9e), $99, $9a, $9b), $a6 => $a7 => $a8 => Data_Promise_x3ex3ex3d_Monad_Promise(Util_yesNoPrompt(csegen_73()(), 'Would you like to push these changes before creating a PR?'), pushUnpushedChanges => Prelude_Interfaces_when(csegen_65()(), pushUnpushedChanges, () => $b7 => $b8 => FFI_Git_push($0, $b7, $b8)), $a7, $a8), $95, $96), $81, $82), $6e, $6f);
10381
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(undefined, $6e, $6f);
10521
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($73 => $74 => $75 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($78 => Prelude_IO_prim__putStr('The following commits have not been pushed:\n\n', $78), $73, $74, $75), $80 => $81 => $82 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($85 => $86 => $87 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($8a => Prelude_IO_prim__putStr(($6d.a1+'\n'), $8a), $85, $86, $87), $94 => $95 => $96 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($99 => $9a => $9b => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($9e => Prelude_IO_prim__putStr('\n\n', $9e), $99, $9a, $9b), $a6 => $a7 => $a8 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Util_yesNoPrompt(csegen_73()(), 'Would you like to push these changes before creating a PR?'), pushUnpushedChanges => Prelude_Interfaces_when(csegen_65()(), pushUnpushedChanges, () => $b7 => $b8 => FFI_Git_push($0, $b7, $b8)), $a7, $a8), $95, $96), $81, $82), $6e, $6f);
10522
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $6e, $6f);
10382
10523
  }
10383
10524
  };
10384
- return Data_Promise_x3ex3ex3d_Monad_Promise($66 => $67 => FFI_Git_unpushedCommits($0, $66, $67), $6c, $62, $63);
10525
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($66 => $67 => FFI_Git_unpushedCommits($0, $66, $67), $6c, $62, $63);
10385
10526
  };
10386
10527
  const $cb = $cc => $cd => $ce => {
10387
10528
  const $ec = $ed => $ee => $ef => {
10388
10529
  const $10e = $10f => $110 => $111 => {
10389
10530
  const $120 = baseBranchInput => {
10390
- const $121 = PullRequest_case__casex20blockx20inx20casex20blockx20inx20identifyOrCreatePRx2ccreatePR_3187($0, $1, $2, $3, $4, 1, 1, baseBranchInput, Data_String_strM(baseBranchInput));
10531
+ const $121 = PullRequest_case__casex20blockx20inx20casex20blockx20inx20identifyOrCreatePRx2ccreatePR_3256($0, $1, $2, $3, $4, 1, 1, baseBranchInput, Data_String_strM(baseBranchInput));
10391
10532
  return $12e => $12f => {
10392
10533
  const $13e = $13f => {
10393
10534
  const $141 = Data_Maybe_fromMaybe(() => '', Prelude_Types_map_Functor_Maybe($147 => ($147+' - '), Util_parseJiraPrefix($2)));
@@ -10399,68 +10540,68 @@ function PullRequest_n__10410_2626_createPR($0, $1, $2, $3, $4, $5, $6) {
10399
10540
  let $181;
10400
10541
  switch($182.h) {
10401
10542
  case 0: /* nothing */ {
10402
- $181 = PullRequest_n__10410_2628_inlineDescription($0, $1, $2, $3, $4, csegen_73()());
10543
+ $181 = PullRequest_n__10575_2664_inlineDescription($0, $1, $2, $3, $4, csegen_73()());
10403
10544
  break;
10404
10545
  }
10405
10546
  case undefined: /* just */ {
10406
- $181 = $18e => $18f => Data_Promise_map_Functor_Promise($192 => Prelude_Types_either(() => $195 => '', () => $197 => $197, $192), PullRequest_n__10410_2627_editorDescription($0, $1, $2, $3, $4, csegen_73()(), $182.a1, templateFilePath), $18e, $18f);
10547
+ $181 = $18e => $18f => Data_Promise_map_Functor_x28Promisex20x24ex29($192 => Prelude_Types_either(() => $195 => '', () => $197 => $197, $192), PullRequest_n__10575_2663_editorDescription($0, $1, $2, $3, $4, csegen_73()(), $182.a1, templateFilePath), $18e, $18f);
10407
10548
  break;
10408
10549
  }
10409
10550
  }
10410
- return Data_Promise_x3ex3ex3d_Monad_Promise($181, description => $1a8 => $1a9 => Data_Promise_x3ex3ex3d_Monad_Promise($1ac => $1ad => $1ae => Data_Promise_liftIO_HasIO_Promise($1b1 => Prelude_IO_prim__putStr('Creating PR...\n', $1b1), $1ac, $1ad, $1ae), $1b9 => $1ba => $1bb => Data_Promise_x3ex3ex3d_Monad_Promise($1be => $1bf => $1c0 => Data_Promise_liftIO_HasIO_Promise($1c3 => Prelude_IO_prim__putStr(($2+'\n'), $1c3), $1be, $1bf, $1c0), $1cd => FFI_GitHub_createPR($1, $3, $4.a2, $4.a3, $2, $121, title, description), $1ba, $1bb), $1a8, $1a9), $17e, $17f);
10551
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($181, description => $1a8 => $1a9 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1ac => $1ad => $1ae => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($1b1 => Prelude_IO_prim__putStr('Creating PR...\n', $1b1), $1ac, $1ad, $1ae), $1b9 => $1ba => $1bb => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1be => $1bf => $1c0 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($1c3 => Prelude_IO_prim__putStr(($2+'\n'), $1c3), $1be, $1bf, $1c0), $1cd => FFI_GitHub_createPR($1, $3, $4.a2, $4.a3, $2, $121, title, description), $1ba, $1bb), $1a8, $1a9), $17e, $17f);
10411
10552
  };
10412
- return Data_Promise_x3ex3ex3d_Monad_Promise($176 => $177 => Util_relativeToRoot($0, '.github/PULL_REQUEST_TEMPLATE.md', $176, $177), $17d, $172, $173);
10553
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($176 => $177 => Util_relativeToRoot($0, '.github/PULL_REQUEST_TEMPLATE.md', $176, $177), $17d, $172, $173);
10413
10554
  };
10414
- return Data_Promise_x3ex3ex3d_Monad_Promise($163 => $164 => Data_Promise_map_Functor_Promise($167 => ($141+Data_String_trim($167)), csegen_470()(), $163, $164), $171, $15f, $160);
10555
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($163 => $164 => Data_Promise_map_Functor_x28Promisex20x24ex29($167 => ($141+Data_String_trim($167)), csegen_475()(), $163, $164), $171, $15f, $160);
10415
10556
  };
10416
- return Data_Promise_x3ex3ex3d_Monad_Promise($151 => $152 => $153 => Data_Promise_liftIO_HasIO_Promise($156 => Prelude_IO_prim__putStr($141, $156), $151, $152, $153), $15d, $14d, $14e);
10557
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($151 => $152 => $153 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($156 => Prelude_IO_prim__putStr($141, $156), $151, $152, $153), $15d, $14d, $14e);
10417
10558
  };
10418
10559
  return $140();
10419
10560
  };
10420
- return Data_Promise_x3ex3ex3d_Monad_Promise($132 => $133 => $134 => Data_Promise_liftIO_HasIO_Promise($137 => Prelude_IO_prim__putStr('What would you like the title to be?\n', $137), $132, $133, $134), $13e, $12e, $12f);
10561
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($132 => $133 => $134 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($137 => Prelude_IO_prim__putStr('What would you like the title to be?\n', $137), $132, $133, $134), $13e, $12e, $12f);
10421
10562
  };
10422
10563
  };
10423
- return Data_Promise_x3ex3ex3d_Monad_Promise($114 => $115 => Data_Promise_map_Functor_Promise($118 => Data_String_trim($118), csegen_470()(), $114, $115), $120, $110, $111);
10564
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($114 => $115 => Data_Promise_map_Functor_x28Promisex20x24ex29($118 => Data_String_trim($118), csegen_475()(), $114, $115), $120, $110, $111);
10424
10565
  };
10425
- return Data_Promise_x3ex3ex3d_Monad_Promise($f2 => $f3 => $f4 => Data_Promise_liftIO_HasIO_Promise($f7 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $100 => $100, {a1: 'What branch are you merging into (ENTER for default: ', a2: {a1: $4.a5, a2: {a1: ')?', a2: {h: 0}}}})+'\n'), $f7), $f2, $f3, $f4), $10e, $ee, $ef);
10566
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($f2 => $f3 => $f4 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($f7 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $100 => $100, {a1: 'What branch are you merging into (ENTER for default: ', a2: {a1: $4.a5, a2: {a1: ')?', a2: {h: 0}}}})+'\n'), $f7), $f2, $f3, $f4), $10e, $ee, $ef);
10426
10567
  };
10427
- return Data_Promise_x3ex3ex3d_Monad_Promise($d1 => $d2 => $d3 => Data_Promise_liftIO_HasIO_Promise($d6 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $df => $df, {a1: 'Creating a new PR for the current branch (', a2: {a1: $2, a2: {a1: ').', a2: {h: 0}}}})+'\n'), $d6), $d1, $d2, $d3), $ec, $cd, $ce);
10568
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($d1 => $d2 => $d3 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($d6 => Prelude_IO_prim__putStr((Prelude_Types_foldMap_Foldable_List(csegen_50()(), $df => $df, {a1: 'Creating a new PR for the current branch (', a2: {a1: $2, a2: {a1: ').', a2: {h: 0}}}})+'\n'), $d6), $d1, $d2, $d3), $ec, $cd, $ce);
10428
10569
  };
10429
- return Data_Promise_x3ex3ex3d_Monad_Promise($61, $cb, $5d, $5e);
10570
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($61, $cb, $5d, $5e);
10430
10571
  }
10431
10572
  case 0: return Data_Promise_reject('Not creating a PR (for now)...', $5d, $5e);
10432
10573
  }
10433
10574
  };
10434
- return Data_Promise_x3ex3ex3d_Monad_Promise($51 => $52 => PullRequest_n__10410_2624_continueGivenStagedChanges($0, $1, $2, $3, $4, $51, $52), $5b, $4c, $4d);
10575
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($51 => $52 => PullRequest_n__10575_2660_continueGivenStagedChanges($0, $1, $2, $3, $4, $51, $52), $5b, $4c, $4d);
10435
10576
  }
10436
10577
  case 0: return Data_Promise_reject('Not creating a PR (for now)...', $4c, $4d);
10437
10578
  }
10438
10579
  };
10439
- return Data_Promise_x3ex3ex3d_Monad_Promise($40 => $41 => PullRequest_n__10410_2625_continueGivenUncommittedChanges($0, $1, $2, $3, $4, $40, $41), $4a, $3c, $3d);
10580
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($40 => $41 => PullRequest_n__10575_2661_continueGivenUncommittedChanges($0, $1, $2, $3, $4, $40, $41), $4a, $3c, $3d);
10440
10581
  };
10441
- return Data_Promise_x3ex3ex3d_Monad_Promise($9 => $a => Data_Promise_x3ex3ex3d_Monad_Promise($d => $e => FFI_Git_remoteTrackingBranch($0, $d, $e), $14 => Util_whenNothing(csegen_65()(), $14, $1b => $1c => Data_Promise_x3ex3ex3d_Monad_Promise($1f => $20 => $21 => Data_Promise_liftIO_HasIO_Promise($24 => Prelude_IO_prim__putStr('Creating a new remote branch...\n', $24), $1f, $20, $21), $2c => $2d => $2e => FFI_Git_pushNewBranch($0, $4.a4, $2, $2d, $2e), $1b, $1c)), $9, $a), $3a, $5, $6);
10582
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($9 => $a => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($d => $e => FFI_Git_remoteTrackingBranch($0, $d, $e), $14 => Util_whenNothing(csegen_65()(), $14, $1b => $1c => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1f => $20 => $21 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($24 => Prelude_IO_prim__putStr('Creating a new remote branch...\n', $24), $1f, $20, $21), $2c => $2d => $2e => FFI_Git_pushNewBranch($0, $4.a4, $2, $2d, $2e), $1b, $1c)), $9, $a), $3a, $5, $6);
10442
10583
  }
10443
10584
 
10444
- /* PullRequest.10410:2625:continueGivenUncommittedChanges */
10445
- function PullRequest_n__10410_2625_continueGivenUncommittedChanges($0, $1, $2, $3, $4, $5, $6) {
10585
+ /* PullRequest.10575:2661:continueGivenUncommittedChanges */
10586
+ function PullRequest_n__10575_2661_continueGivenUncommittedChanges($0, $1, $2, $3, $4, $5, $6) {
10446
10587
  const $f = $10 => $11 => $12 => {
10447
10588
  switch($10.h) {
10448
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($16 => $17 => $18 => Data_Promise_liftIO_HasIO_Promise($1b => Prelude_IO_prim__putStr('The following files have uncommitted changes:\n', $1b), $16, $17, $18), $23 => $24 => $25 => Data_Promise_x3ex3ex3d_Monad_Promise($28 => $29 => $2a => Data_Promise_liftIO_HasIO_Promise($2d => Prelude_IO_prim__putStr(($10.a1+'\n'), $2d), $28, $29, $2a), csegen_571(), $24, $25), $11, $12);
10449
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(1, $11, $12);
10589
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($16 => $17 => $18 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($1b => Prelude_IO_prim__putStr('The following files have uncommitted changes:\n', $1b), $16, $17, $18), $23 => $24 => $25 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($28 => $29 => $2a => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($2d => Prelude_IO_prim__putStr(($10.a1+'\n'), $2d), $28, $29, $2a), csegen_577(), $24, $25), $11, $12);
10590
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(1, $11, $12);
10450
10591
  }
10451
10592
  };
10452
- return Data_Promise_x3ex3ex3d_Monad_Promise($9 => $a => FFI_Git_uncommittedChanges($0, $9, $a), $f, $5, $6);
10593
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($9 => $a => FFI_Git_uncommittedChanges($0, $9, $a), $f, $5, $6);
10453
10594
  }
10454
10595
 
10455
- /* PullRequest.10410:2624:continueGivenStagedChanges */
10456
- function PullRequest_n__10410_2624_continueGivenStagedChanges($0, $1, $2, $3, $4, $5, $6) {
10596
+ /* PullRequest.10575:2660:continueGivenStagedChanges */
10597
+ function PullRequest_n__10575_2660_continueGivenStagedChanges($0, $1, $2, $3, $4, $5, $6) {
10457
10598
  const $f = $10 => $11 => $12 => {
10458
10599
  switch($10.h) {
10459
- case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_Promise($16 => $17 => $18 => Data_Promise_liftIO_HasIO_Promise($1b => Prelude_IO_prim__putStr('The following files have staged but uncommitted changes:\n', $1b), $16, $17, $18), $23 => $24 => $25 => Data_Promise_x3ex3ex3d_Monad_Promise($28 => $29 => $2a => Data_Promise_liftIO_HasIO_Promise($2d => Prelude_IO_prim__putStr(($10.a1+'\n'), $2d), $28, $29, $2a), csegen_571(), $24, $25), $11, $12);
10460
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(1, $11, $12);
10600
+ case undefined: /* just */ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($16 => $17 => $18 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($1b => Prelude_IO_prim__putStr('The following files have staged but uncommitted changes:\n', $1b), $16, $17, $18), $23 => $24 => $25 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($28 => $29 => $2a => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($2d => Prelude_IO_prim__putStr(($10.a1+'\n'), $2d), $28, $29, $2a), csegen_577(), $24, $25), $11, $12);
10601
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(1, $11, $12);
10461
10602
  }
10462
10603
  };
10463
- return Data_Promise_x3ex3ex3d_Monad_Promise($9 => $a => FFI_Git_stagedChanges($0, $9, $a), $f, $5, $6);
10604
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($9 => $a => FFI_Git_stagedChanges($0, $9, $a), $f, $5, $6);
10464
10605
  }
10465
10606
 
10466
10607
  /* PullRequest.(.allReviewers) : PRHistory -> (List String, List String) */
@@ -10473,37 +10614,37 @@ function PullRequest_tuple($0) {
10473
10614
  return {a1: $0.a1, a2: $0.a2};
10474
10615
  }
10475
10616
 
10476
- /* PullRequest.reviewsForPrs : Config => Octokit => List PullRequest -> Promise (List Review) */
10617
+ /* PullRequest.reviewsForPrs : Config => Octokit => List PullRequest -> Promise' (List Review) */
10477
10618
  function PullRequest_reviewsForPrs($0, $1, $2, $3, $4) {
10478
10619
  const $19 = reviewsJson => $1a => $1b => {
10479
10620
  const $1d = $1e => {
10480
- const $25 = b => a => func => $26 => {
10481
- switch($26.h) {
10482
- case 0: /* Left */ return {h: 0 /* Left */, a1: $26.a1};
10483
- case 1: /* Right */ return {h: 1 /* Right */, a1: func($26.a1)};
10621
+ const $23 = b => a => func => $24 => {
10622
+ switch($24.h) {
10623
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $24.a1};
10624
+ case 1: /* Right */ return {h: 1 /* Right */, a1: func($24.a1)};
10484
10625
  }
10485
10626
  };
10486
- const $2f = b => a => $30 => $31 => {
10487
- switch($30.h) {
10488
- case 0: /* Left */ return {h: 0 /* Left */, a1: $30.a1};
10627
+ const $2d = b => a => $2e => $2f => {
10628
+ switch($2e.h) {
10629
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $2e.a1};
10489
10630
  case 1: /* Right */ {
10490
- switch($31.h) {
10491
- case 1: /* Right */ return {h: 1 /* Right */, a1: $30.a1($31.a1)};
10492
- case 0: /* Left */ return {h: 0 /* Left */, a1: $31.a1};
10631
+ switch($2f.h) {
10632
+ case 1: /* Right */ return {h: 1 /* Right */, a1: $2e.a1($2f.a1)};
10633
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $2f.a1};
10493
10634
  }
10494
10635
  }
10495
10636
  }
10496
10637
  };
10497
- const $24 = {a1: $25, a2: a => $2d => ({h: 1 /* Right */, a1: $2d}), a3: $2f};
10498
- const $22 = Prelude_Types_traverse_Traversable_List($24, $3a => Language_JSON_Accessors_array($3d => Data_Review_parseReview($3d), $3a), reviewsJson);
10499
- return Data_Promise_either(csegen_52(), $22, $1e);
10638
+ const $22 = {a1: $23, a2: a => $2b => ({h: 1 /* Right */, a1: $2b}), a3: $2d};
10639
+ const $20 = Prelude_Types_traverse_Traversable_List($22, $38 => Language_JSON_Accessors_array($3b => Data_Review_parseReview($3b), $38), reviewsJson);
10640
+ return Data_Promise_either($20, $1e);
10500
10641
  };
10501
- return Data_Promise_x3ex3ex3d_Monad_Promise($1d, reviews => $44 => $45 => Data_Promise_pure_Applicative_Promise(Prelude_Types_join_Monad_List(reviews), $44, $45), $1a, $1b);
10642
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1d, reviews => $42 => $43 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_join_Monad_List(reviews), $42, $43), $1a, $1b);
10502
10643
  };
10503
- return Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Basics_flip(csegen_407(), csegen_502(), Prelude_Types_traverse_Traversable_List(csegen_65()(), $12 => PullRequest_n__9493_1704_forkedReviews($0, $1, $2, $12), $2)), $19, $3, $4);
10644
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Basics_flip(csegen_411(), csegen_508(), Prelude_Types_traverse_Traversable_List(csegen_65()(), $12 => PullRequest_n__9632_1714_forkedReviews($0, $1, $2, $12), $2)), $19, $3, $4);
10504
10645
  }
10505
10646
 
10506
- /* PullRequest.reviewsByUser : Config => Octokit => String -> List PullRequest -> Promise (List Review) */
10647
+ /* PullRequest.reviewsByUser : Config => Octokit => String -> List PullRequest -> Promise' (List Review) */
10507
10648
  function PullRequest_reviewsByUser($0, $1, $2, $3) {
10508
10649
  const $7 = pr => {
10509
10650
  let $8;
@@ -10523,23 +10664,23 @@ function PullRequest_reviewsByUser($0, $1, $2, $3) {
10523
10664
  }
10524
10665
  };
10525
10666
  const $4 = Prelude_Types_List_filterAppend({h: 0}, $7, $3);
10526
- return $11 => $12 => Data_Promise_x3ex3ex3d_Monad_Promise($15 => $16 => PullRequest_reviewsForPrs($0, $1, $4, $15, $16), reviews => $1e => $1f => Data_Promise_pure_Applicative_Promise(Prelude_Types_List_filterAppend({h: 0}, $25 => Data_Review_isAuthor($2, $25), reviews), $1e, $1f), $11, $12);
10667
+ return $11 => $12 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($15 => $16 => PullRequest_reviewsForPrs($0, $1, $4, $15, $16), reviews => $1e => $1f => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_List_filterAppend({h: 0}, $25 => Data_Review_isAuthor($2, $25), reviews), $1e, $1f), $11, $12);
10527
10668
  }
10528
10669
 
10529
10670
  /* PullRequest.reviewsByEachUser : Config => Octokit =>
10530
- List PullRequest -> Promise (SortedMap String (List Review)) */
10671
+ List PullRequest -> Promise' (SortedMap String (List Review)) */
10531
10672
  function PullRequest_reviewsByEachUser($0, $1, $2, $3, $4) {
10532
10673
  const $f = reviews => {
10533
10674
  const $10 = Data_List_groupAllWith(csegen_224(), $15 => $15.a2, reviews);
10534
10675
  const $18 = Prelude_Types_List_mapAppend({h: 0}, rs => ({a1: rs.a1.a2, a2: Data_List1_forget(rs)}), $10);
10535
- return $23 => $24 => Data_Promise_pure_Applicative_Promise(Data_SortedMap_fromList(csegen_224(), $18), $23, $24);
10676
+ return $23 => $24 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Data_SortedMap_fromList(csegen_224(), $18), $23, $24);
10536
10677
  };
10537
- return Data_Promise_x3ex3ex3d_Monad_Promise($7 => $8 => PullRequest_reviewsForPrs($0, $1, $2, $7, $8), $f, $3, $4);
10678
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($7 => $8 => PullRequest_reviewsForPrs($0, $1, $2, $7, $8), $f, $3, $4);
10538
10679
  }
10539
10680
 
10540
10681
  /* PullRequest.requestReviewers : Config => Octokit =>
10541
10682
  PullRequest -> List String -> List String -> {default False _ : Bool} ->
10542
- Promise () */
10683
+ Promise' () */
10543
10684
  function PullRequest_requestReviewers($0, $1, $2, $3, $4, $5, $6, $7) {
10544
10685
  const $13 = $14 => $15 => $16 => {
10545
10686
  const $34 = teamMembers => $35 => $36 => {
@@ -10551,7 +10692,7 @@ function PullRequest_requestReviewers($0, $1, $2, $3, $4, $5, $6, $7) {
10551
10692
  break;
10552
10693
  }
10553
10694
  case 0: {
10554
- $38 = csegen_472()();
10695
+ $38 = csegen_477()();
10555
10696
  break;
10556
10697
  }
10557
10698
  }
@@ -10580,10 +10721,10 @@ function PullRequest_requestReviewers($0, $1, $2, $3, $4, $5, $6, $7) {
10580
10721
  break;
10581
10722
  }
10582
10723
  }
10583
- const $59 = Prelude_Interfaces_when(csegen_65()(), $5e, () => $61 => $62 => Data_Promise_x3ex3ex3d_Monad_Promise($65 => $66 => Data_Promise_map_Functor_Promise($69 => (undefined), $6b => $6c => FFI_GitHub_addPullReviewers($1, $0.a2, $0.a3, $2.a1, $4d, $53, $6b, $6c), $65, $66), $7c => Prelude_Interfaces_when(csegen_65()(), $0.a8, () => $84 => $85 => {
10724
+ const $59 = Prelude_Interfaces_when(csegen_65()(), $5e, () => $61 => $62 => Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($65 => $66 => Data_Promise_map_Functor_x28Promisex20x24ex29($69 => (undefined), $6b => $6c => FFI_GitHub_addPullReviewers($1, $0.a2, $0.a3, $2.a1, $4d, $53, $6b, $6c), $65, $66), $7c => Prelude_Interfaces_when(csegen_65()(), $0.a8, () => $84 => $85 => {
10584
10725
  switch(chosenUser.h) {
10585
- case undefined: /* just */ return FFI_GitHub_createComment($1, $0.a2, $0.a3, $2.a1, PullRequest_n__9720_1963_prComment($1, $5, $4, $3, $2, $0, chosenUser.a1), $84, $85);
10586
- case 0: /* nothing */ return Data_Promise_pure_Applicative_Promise(undefined, $84, $85);
10726
+ case undefined: /* just */ return FFI_GitHub_createComment($1, $0.a2, $0.a3, $2.a1, PullRequest_n__9870_1984_prComment($1, $5, $4, $3, $2, $0, chosenUser.a1), $84, $85);
10727
+ case 0: /* nothing */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29(undefined, $84, $85);
10587
10728
  }
10588
10729
  }), $61, $62));
10589
10730
  const $a0 = $a1 => {
@@ -10601,29 +10742,29 @@ function PullRequest_requestReviewers($0, $1, $2, $3, $4, $5, $6, $7) {
10601
10742
  let $a2;
10602
10743
  switch($a3) {
10603
10744
  case 1: {
10604
- $a2 = () => $a8 => $a9 => $aa => Data_Promise_liftIO_HasIO_Promise($ad => Prelude_IO_prim__putStr((Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Could not pick a user from the given Team ')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('(perhaps the only option was the author of the pull request?).'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $cb => $cb, {a1: 'Requested review from ', a2: {a1: PullRequest_n__9720_1964_teamNotice($1, $5, $4, $3, $2, $0, $53), a2: {a1: ' for the open PR ', a2: {h: 0}}}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e4 => $e4, {a1: 'for the current branch (', a2: {a1: Data_PullRequest_rf__webURI($0, $2), a2: {a1: ').', a2: {h: 0}}}})), a2: {h: 0}}}}}))+'\n'), $ad), $a8, $a9, $aa);
10745
+ $a2 = () => $a8 => $a9 => $aa => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($ad => Prelude_IO_prim__putStr((Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_annotate(Text_PrettyPrint_Prettyprinter_Render_Terminal_color(3), Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Could not pick a user from the given Team ')), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('(perhaps the only option was the author of the pull request?).'), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $cb => $cb, {a1: 'Requested review from ', a2: {a1: PullRequest_n__9870_1985_teamNotice($1, $5, $4, $3, $2, $0, $53), a2: {a1: ' for the open PR ', a2: {h: 0}}}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $e4 => $e4, {a1: 'for the current branch (', a2: {a1: Data_PullRequest_rf__webURI($0, $2), a2: {a1: ').', a2: {h: 0}}}})), a2: {h: 0}}}}}))+'\n'), $ad), $a8, $a9, $aa);
10605
10746
  break;
10606
10747
  }
10607
10748
  case 0: {
10608
- $a2 = () => $f5 => $f6 => $f7 => Data_Promise_liftIO_HasIO_Promise($fa => Prelude_IO_prim__putStr((Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $10b => $10b, {a1: 'Requested review from ', a2: {a1: PullRequest_n__9720_1965_userNotice($1, $5, $4, $3, $2, $0, chosenUser), a2: {a1: PullRequest_n__9720_1964_teamNotice($1, $5, $4, $3, $2, $0, $53), a2: {a1: ' for the open PR ', a2: {h: 0}}}}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $12e => $12e, {a1: 'for the current branch (', a2: {a1: Data_PullRequest_rf__webURI($0, $2), a2: {a1: ').', a2: {h: 0}}}})), a2: {h: 0}}}))+'\n'), $fa), $f5, $f6, $f7);
10749
+ $a2 = () => $f5 => $f6 => $f7 => Data_Promise_liftIO_HasIO_x28Promisex20x24ex29($fa => Prelude_IO_prim__putStr((Util_renderString($0, Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $10b => $10b, {a1: 'Requested review from ', a2: {a1: PullRequest_n__9870_1986_userNotice($1, $5, $4, $3, $2, $0, chosenUser), a2: {a1: PullRequest_n__9870_1985_teamNotice($1, $5, $4, $3, $2, $0, $53), a2: {a1: ' for the open PR ', a2: {h: 0}}}}})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $12e => $12e, {a1: 'for the current branch (', a2: {a1: Data_PullRequest_rf__webURI($0, $2), a2: {a1: ').', a2: {h: 0}}}})), a2: {h: 0}}}))+'\n'), $fa), $f5, $f6, $f7);
10609
10750
  break;
10610
10751
  }
10611
10752
  }
10612
10753
  return $a2();
10613
10754
  };
10614
- return Data_Promise_x3ex3ex3d_Monad_Promise($59, $a0, $56, $57);
10755
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($59, $a0, $56, $57);
10615
10756
  };
10616
10757
  };
10617
- return Data_Promise_x3ex3ex3d_Monad_Promise($38, $4c, $35, $36);
10758
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($38, $4c, $35, $36);
10618
10759
  };
10619
- return Data_Promise_x3ex3ex3d_Monad_Promise($1a => $1b => Data_Promise_map_Functor_Promise($1e => Prelude_Types_join_Monad_List($1e), Prelude_Types_traverse_Traversable_List(csegen_65()(), $27 => $28 => $29 => FFI_GitHub_listTeamMembers($1, $0.a2, $27, $28, $29), $3), $1a, $1b), $34, $15, $16);
10760
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($1a => $1b => Data_Promise_map_Functor_x28Promisex20x24ex29($1e => Prelude_Types_join_Monad_List($1e), Prelude_Types_traverse_Traversable_List(csegen_65()(), $27 => $28 => $29 => FFI_GitHub_forceListTeamMembers($1, $0.a2, $27, $28, $29), $3), $1a, $1b), $34, $15, $16);
10620
10761
  };
10621
- return Data_Promise_x3ex3ex3d_Monad_Promise($a => $b => PullRequest_listReviewers($0, $1, 4n, 100n, $a, $b), $13, $6, $7);
10762
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($a => $b => PullRequest_listReviewers($0, $1, 4n, 100n, $a, $b), $13, $6, $7);
10622
10763
  }
10623
10764
 
10624
- /* PullRequest.partition' : Pagination _ _ _ () -> Promise PRHistory */
10765
+ /* PullRequest.partition' : Pagination _ _ _ () -> Promise' PRHistory */
10625
10766
  function PullRequest_partitionx27($0, $1, $2) {
10626
- return Data_Promise_map_Functor_Promise($5 => PullRequest_partition($5), $9 => $a => PullRequest_listx27({h: 0}, $0, $9, $a), $1, $2);
10767
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($5 => PullRequest_partition($5), $9 => $a => PullRequest_listx27({h: 0}, $0, $9, $a), $1, $2);
10627
10768
  }
10628
10769
 
10629
10770
  /* PullRequest.partition : List PullRequest -> PRHistory */
@@ -10631,55 +10772,55 @@ function PullRequest_partition($0) {
10631
10772
  return Prelude_Basics_uncurry($3 => $4 => ({a1: $3, a2: $4}), Data_List_partition($a => Data_PullRequest_x3dx3d_Eq_PRState($a.a5, 0), $0));
10632
10773
  }
10633
10774
 
10634
- /* PullRequest.listReviewers : Config => Octokit => {default 0 _ : Nat} -> Fin 101 -> Promise (List String,
10775
+ /* PullRequest.listReviewers : Config => Octokit => {default 0 _ : Nat} -> Fin 101 -> Promise' (List String,
10635
10776
  List String) */
10636
10777
  function PullRequest_listReviewers($0, $1, $2, $3, $4, $5) {
10637
- return Data_Promise_map_Functor_Promise($8 => PullRequest_rf__allReviewers($8), PullRequest_listPartitionedPRs($0, $1, $2, $3), $4, $5);
10778
+ return Data_Promise_map_Functor_x28Promisex20x24ex29($8 => PullRequest_rf__allReviewers($8), PullRequest_listPartitionedPRs($0, $1, $2, $3), $4, $5);
10638
10779
  }
10639
10780
 
10640
- /* PullRequest.listPartitionedPRs : Config => Octokit => {default 0 _ : Nat} -> Fin 101 -> Promise PRHistory */
10781
+ /* PullRequest.listPartitionedPRs : Config => Octokit => {default 0 _ : Nat} -> Fin 101 -> Promise' PRHistory */
10641
10782
  function PullRequest_listPartitionedPRs($0, $1, $2, $3) {
10642
- return PullRequest_with__listPartitionedPRs_1547($3, $2, {a1: Data_Nat_isLT(0n, $3), a2: Data_Nat_isLT(0n, $2)}, $1, $0);
10783
+ return PullRequest_with__listPartitionedPRs_1554($3, $2, {a1: Data_Nat_isLT(0n, $3), a2: Data_Nat_isLT(0n, $2)}, $1, $0);
10643
10784
  }
10644
10785
 
10645
10786
  /* PullRequest.listOpenPRs : Config => Octokit => {default 0 _ : Nat} ->
10646
- Fin 101 -> Promise (List PullRequest) */
10787
+ Fin 101 -> Promise' (List PullRequest) */
10647
10788
  function PullRequest_listOpenPRs($0, $1, $2, $3) {
10648
- return PullRequest_with__listOpenPRs_1375($3, $2, {a1: Data_Nat_isLT(0n, $3), a2: Data_Nat_isLT(0n, $2)}, $1, $0);
10789
+ return PullRequest_with__listOpenPRs_1380($3, $2, {a1: Data_Nat_isLT(0n, $3), a2: Data_Nat_isLT(0n, $2)}, $1, $0);
10649
10790
  }
10650
10791
 
10651
- /* PullRequest.list' : Maybe GitHubPRState -> Pagination _ _ _ () -> Promise (List PullRequest) */
10792
+ /* PullRequest.list' : Maybe GitHubPRState -> Pagination _ _ _ () -> Promise' (List PullRequest) */
10652
10793
  function PullRequest_listx27($0, $1, $2, $3) {
10653
10794
  const $43 = prJsons => $44 => $45 => {
10654
10795
  const $47 = $48 => {
10655
- const $4f = b => a => func => $50 => {
10656
- switch($50.h) {
10657
- case 0: /* Left */ return {h: 0 /* Left */, a1: $50.a1};
10658
- case 1: /* Right */ return {h: 1 /* Right */, a1: func($50.a1)};
10796
+ const $4d = b => a => func => $4e => {
10797
+ switch($4e.h) {
10798
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $4e.a1};
10799
+ case 1: /* Right */ return {h: 1 /* Right */, a1: func($4e.a1)};
10659
10800
  }
10660
10801
  };
10661
- const $59 = b => a => $5a => $5b => {
10662
- switch($5a.h) {
10663
- case 0: /* Left */ return {h: 0 /* Left */, a1: $5a.a1};
10802
+ const $57 = b => a => $58 => $59 => {
10803
+ switch($58.h) {
10804
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $58.a1};
10664
10805
  case 1: /* Right */ {
10665
- switch($5b.h) {
10666
- case 1: /* Right */ return {h: 1 /* Right */, a1: $5a.a1($5b.a1)};
10667
- case 0: /* Left */ return {h: 0 /* Left */, a1: $5b.a1};
10806
+ switch($59.h) {
10807
+ case 1: /* Right */ return {h: 1 /* Right */, a1: $58.a1($59.a1)};
10808
+ case 0: /* Left */ return {h: 0 /* Left */, a1: $59.a1};
10668
10809
  }
10669
10810
  }
10670
10811
  }
10671
10812
  };
10672
- const $4e = {a1: $4f, a2: a => $57 => ({h: 1 /* Right */, a1: $57}), a3: $59};
10673
- const $4c = Prelude_Types_traverse_Traversable_List($4e, csegen_427(), prJsons);
10674
- return Data_Promise_either(csegen_52(), $4c, $48);
10813
+ const $4c = {a1: $4d, a2: a => $55 => ({h: 1 /* Right */, a1: $55}), a3: $57};
10814
+ const $4a = Prelude_Types_traverse_Traversable_List($4c, csegen_432(), prJsons);
10815
+ return Data_Promise_either($4a, $48);
10675
10816
  };
10676
- return Data_Promise_x3ex3ex3d_Monad_Promise($47, pulls => $68 => $69 => Data_Promise_pure_Applicative_Promise(Prelude_Types_join_Monad_List(pulls), $68, $69), $44, $45);
10817
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($47, pulls => $66 => $67 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Prelude_Types_join_Monad_List(pulls), $66, $67), $44, $45);
10677
10818
  };
10678
- return Data_Promise_x3ex3ex3d_Monad_Promise(Prelude_Basics_flip(csegen_407(), $a => $b => $c => FFI_Concurrency_promiseAll({a1: acc => elem => func => init => input => Data_Pagination_foldr_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29(func, init, input), a2: elem => acc => func => init => input => Data_Pagination_foldl_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29(func, init, input), a3: elem => $1a => Data_Pagination_null_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($1a), a4: elem => acc => m => $1e => funcM => init => input => Data_Pagination_foldlM_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($1e, funcM, init, input), a5: elem => $25 => Data_Pagination_toList_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($25), a6: a => m => $29 => f => $2a => Data_Pagination_foldMap_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($29, f, $2a)}, $a, $b, $c), Data_Pagination_traversex27(csegen_65()(), $38 => $39 => $3a => $3b => PullRequest_forkedPRs($0, $38, $39, $3a, $3b), $1)), $43, $2, $3);
10819
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(Prelude_Basics_flip(csegen_411(), $a => $b => $c => FFI_Concurrency_promiseAll({a1: acc => elem => func => init => input => Data_Pagination_foldr_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29(func, init, input), a2: elem => acc => func => init => input => Data_Pagination_foldl_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29(func, init, input), a3: elem => $1a => Data_Pagination_null_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($1a), a4: elem => acc => m => $1e => funcM => init => input => Data_Pagination_foldlM_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($1e, funcM, init, input), a5: elem => $25 => Data_Pagination_toList_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($25), a6: a => m => $29 => f => $2a => Data_Pagination_foldMap_Foldable_x28x28x28Paginationx20x24itemsx29x20x24perPagex29x20x24pagex29($29, f, $2a)}, $a, $b, $c), Data_Pagination_traversex27(csegen_65()(), $38 => $39 => $3a => $3b => PullRequest_forkedPRs($0, $38, $39, $3a, $3b), $1)), $43, $2, $3);
10679
10820
  }
10680
10821
 
10681
10822
  /* PullRequest.identifyOrCreatePR : Config => Git => Octokit => {default False _ : Bool} ->
10682
- String -> Promise (IdentifiedOrCreated, PullRequest) */
10823
+ String -> Promise' (IdentifiedOrCreated, PullRequest) */
10683
10824
  function PullRequest_identifyOrCreatePR($0, $1, $2, $3, $4, $5, $6) {
10684
10825
  const $10 = $11 => $12 => {
10685
10826
  switch($11.h) {
@@ -10708,22 +10849,22 @@ function PullRequest_identifyOrCreatePR($0, $1, $2, $3, $4, $5, $6) {
10708
10849
  }
10709
10850
  }
10710
10851
  const $17 = Prelude_Interfaces_when(csegen_65()(), $1c, () => $21 => $22 => Data_Promise_reject('There is already a PR for the current branch and Harmony does not currently support converting existing PRs to drafts.', $21, $22));
10711
- return Data_Promise_x3ex3ex3d_Monad_Promise($17, $28 => $29 => $2a => Data_Promise_pure_Applicative_Promise({a1: 0, a2: $11.a1}, $29, $2a), $12, $14);
10852
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($17, $28 => $29 => $2a => Data_Promise_pure_Applicative_x28Promisex20x24ex29({a1: 0, a2: $11.a1}, $29, $2a), $12, $14);
10712
10853
  }
10713
10854
  default: return Data_Promise_reject('Multiple PRs for the current brach. Harmony only handles 1 PR per branch currently.', $12, $14);
10714
10855
  }
10715
10856
  };
10716
10857
  }
10717
- case 0: /* nil */ return $37 => Data_Promise_map_Functor_Promise($3a => ({a1: 1, a2: $3a}), $3e => $3f => PullRequest_n__10410_2626_createPR($1, $2, $4, $3, $0, $3e, $3f), $12, $37);
10858
+ case 0: /* nil */ return $37 => Data_Promise_map_Functor_x28Promisex20x24ex29($3a => ({a1: 1, a2: $3a}), $3e => $3f => PullRequest_n__10575_2662_createPR($1, $2, $4, $3, $0, $3e, $3f), $12, $37);
10718
10859
  default: return $4a => Data_Promise_reject('Multiple PRs for the current brach. Harmony only handles 1 PR per branch currently.', $12, $4a);
10719
10860
  }
10720
10861
  };
10721
- return Data_Promise_x3ex3ex3d_Monad_Promise(FFI_GitHub_listPRsForBranch($2, $0.a2, $0.a3, $4), $10, $5, $6);
10862
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_GitHub_listPRsForBranch($2, $0.a2, $0.a3, $4), $10, $5, $6);
10722
10863
  }
10723
10864
 
10724
- /* PullRequest.forkedPRs : Maybe GitHubPRState -> Nat -> Nat -> Nat -> () -> Promise Future */
10865
+ /* PullRequest.forkedPRs : Maybe GitHubPRState -> Nat -> Nat -> Nat -> () -> Promise' Future */
10725
10866
  function PullRequest_forkedPRs($0, $1, $2, $3, $4) {
10726
- return FFI_Concurrency_fork(csegen_73()(), Prelude_Types_foldMap_Foldable_List(csegen_50()(), $f => $f, {a1: 'pulls --json ', a2: {a1: PullRequest_n__8926_1169_filterString($3, $4, $2, $1, $0), a2: {a1: ' ', a2: {a1: Prelude_Show_show_Show_Nat($1), a2: {a1: ' ', a2: {a1: Prelude_Show_show_Show_Nat($2), a2: {h: 0}}}}}}}));
10867
+ return FFI_Concurrency_fork(csegen_73()(), Prelude_Types_foldMap_Foldable_List(csegen_50()(), $f => $f, {a1: 'pulls --json ', a2: {a1: PullRequest_n__9055_1169_filterString($3, $4, $2, $1, $0), a2: {a1: ' ', a2: {a1: Prelude_Show_show_Show_Nat($1), a2: {a1: ' ', a2: {a1: Prelude_Show_show_Show_Nat($2), a2: {h: 0}}}}}}}));
10727
10868
  }
10728
10869
 
10729
10870
  /* PullRequest.empty : PRHistory */
@@ -10731,9 +10872,9 @@ const PullRequest_empty = __lazy(function () {
10731
10872
  return {a1: {h: 0}, a2: {h: 0}};
10732
10873
  });
10733
10874
 
10734
- /* PullRequest.countReviewsByEachUser : Config => Octokit => List PullRequest -> Promise (SortedMap String Nat) */
10875
+ /* PullRequest.countReviewsByEachUser : Config => Octokit => List PullRequest -> Promise' (SortedMap String Nat) */
10735
10876
  function PullRequest_countReviewsByEachUser($0, $1) {
10736
- return Prelude_Interfaces_x3cx3dx3c(csegen_70()(), $7 => $8 => $9 => Data_Promise_pure_Applicative_Promise(Data_SortedMap_map_Functor_x28SortedMapx20x24kx29($e => Prelude_Types_List_lengthTR($e), $7), $8, $9), $15 => $16 => $17 => PullRequest_reviewsByEachUser($0, $1, $15, $16, $17));
10877
+ return Prelude_Interfaces_x3cx3dx3c(csegen_70()(), $7 => $8 => $9 => Data_Promise_pure_Applicative_x28Promisex20x24ex29(Data_SortedMap_map_Functor_x28SortedMapx20x24kx29($e => Prelude_Types_List_lengthTR($e), $7), $8, $9), $15 => $16 => $17 => PullRequest_reviewsByEachUser($0, $1, $15, $16, $17));
10737
10878
  }
10738
10879
 
10739
10880
  /* PullRequest.combined : PRHistory -> List PullRequest */
@@ -10855,41 +10996,41 @@ function Data_List_DeleteBy_deleteByx27($0, $1, $2) {
10855
10996
  }
10856
10997
  }
10857
10998
 
10858
- /* FFI.Concurrency.5687:4169:both */
10859
- function FFI_Concurrency_n__5687_4169_both($0, $1, $2, $3, $4) {
10999
+ /* FFI.Concurrency.5709:4169:both */
11000
+ function FFI_Concurrency_n__5709_4169_both($0, $1, $2, $3, $4) {
10860
11001
  return $0.a1.a2(undefined)(undefined)($0.a2(undefined)($13 => FFI_Concurrency_prim__singleton($3, $13)))(xx27 => $0.a1.a2(undefined)(undefined)($0.a1.a2(undefined)(undefined)($4)($2b => $0.a2(undefined)($31 => FFI_Concurrency_prim__both(xx27, $2b, $31))))(nested => $0.a2(undefined)($3c => FFI_Concurrency_prim__flatten(nested, $3c))));
10861
11002
  }
10862
11003
 
10863
- /* FFI.Concurrency.promiseAll : Foldable t => t Future -> Promise (List JSON) */
11004
+ /* FFI.Concurrency.promiseAll : Foldable t => t Future -> Promise' (List JSON) */
10864
11005
  function FFI_Concurrency_promiseAll($0, $1, $2, $3) {
10865
11006
  const $c = f => $d => $e => {
10866
11007
  const $21 = str => $22 => $23 => {
10867
11008
  const $25 = $26 => {
10868
- const $2b = JSON_Parser_parseJSON({h: 0}, str);
10869
- let $2a;
10870
- switch($2b.h) {
11009
+ const $29 = JSON_Parser_parseJSON({h: 0}, str);
11010
+ let $28;
11011
+ switch($29.h) {
10871
11012
  case 0: /* Left */ {
10872
- $2a = {h: 0 /* Left */, a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $35 => $35, {a1: 'Failed to parse JSON from ', a2: {a1: str, a2: {h: 0}}})};
11013
+ $28 = {h: 0 /* Left */, a1: Prelude_Types_foldMap_Foldable_List(csegen_50()(), $33 => $33, {a1: 'Failed to parse JSON from ', a2: {a1: str, a2: {h: 0}}})};
10873
11014
  break;
10874
11015
  }
10875
11016
  case 1: /* Right */ {
10876
- $2a = {h: 1 /* Right */, a1: $2b.a1};
11017
+ $28 = {h: 1 /* Right */, a1: $29.a1};
10877
11018
  break;
10878
11019
  }
10879
11020
  }
10880
- return Data_Promise_either(csegen_52(), $2a, $26);
11021
+ return Data_Promise_either($28, $26);
10881
11022
  };
10882
- const $3d = $3e => $3f => $40 => {
10883
- switch($3e.h) {
10884
- case 5: /* JArray */ return Data_Promise_pure_Applicative_Promise($3e.a1, $3f, $40);
10885
- default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $4d => $4d, {a1: 'Expected a JSON array from futures but got ', a2: {a1: JSON_Parser_showImpl($3e), a2: {a1: '.', a2: {h: 0}}}}), $3f, $40);
11023
+ const $3b = $3c => $3d => $3e => {
11024
+ switch($3c.h) {
11025
+ case 5: /* JArray */ return Data_Promise_pure_Applicative_x28Promisex20x24ex29($3c.a1, $3d, $3e);
11026
+ default: return Data_Promise_reject(Prelude_Types_foldMap_Foldable_List(csegen_50()(), $4b => $4b, {a1: 'Expected a JSON array from futures but got ', a2: {a1: JSON_Parser_showImpl($3c), a2: {a1: '.', a2: {h: 0}}}}), $3d, $3e);
10886
11027
  }
10887
11028
  };
10888
- return Data_Promise_x3ex3ex3d_Monad_Promise($25, $3d, $22, $23);
11029
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($25, $3b, $22, $23);
10889
11030
  };
10890
- return Data_Promise_x3ex3ex3d_Monad_Promise($11 => $12 => Data_Promise_promisify(ok => err => $15 => FFI_Concurrency_prim__awaitStringify(f, x => ok(x), y => err(y), $15), $11, $12), $21, $d, $e);
11031
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29($11 => $12 => Data_Promise_promisify(ok => err => $15 => FFI_Concurrency_prim__awaitStringify(f, x => ok(x), y => err(y), $15), $11, $12), $21, $d, $e);
10891
11032
  };
10892
- return Data_Promise_x3ex3ex3d_Monad_Promise(FFI_Concurrency_all(csegen_73()(), $0, $1), $c, $2, $3);
11033
+ return Data_Promise_x3ex3ex3d_Monad_x28Promisex20x24ex29(FFI_Concurrency_all(csegen_73()(), $0, $1), $c, $2, $3);
10893
11034
  }
10894
11035
 
10895
11036
  /* FFI.Concurrency.fork : HasIO io => String -> io Future */
@@ -10899,7 +11040,7 @@ function FFI_Concurrency_fork($0, $1) {
10899
11040
 
10900
11041
  /* FFI.Concurrency.all : HasIO io => Foldable t => t Future -> io Future */
10901
11042
  function FFI_Concurrency_all($0, $1, $2) {
10902
- return $1.a1(undefined)(undefined)($c => $d => FFI_Concurrency_n__5687_4169_both($0, $1, $2, $c, $d))($0.a2(undefined)($1a => FFI_Concurrency_prim__neutral($1a)))($2);
11043
+ return $1.a1(undefined)(undefined)($c => $d => FFI_Concurrency_n__5709_4169_both($0, $1, $2, $c, $d))($0.a2(undefined)($1a => FFI_Concurrency_prim__neutral($1a)))($2);
10903
11044
  }
10904
11045
 
10905
11046
  /* Data.SortedMap.map */
@@ -11222,14 +11363,14 @@ function Data_Pagination_divNatNZLemma($0, $1, $2) {
11222
11363
  }
11223
11364
  }
11224
11365
 
11225
- /* Label.addLabels : Config => Octokit => PullRequest -> List String -> Promise (List String) */
11366
+ /* Label.addLabels : Config => Octokit => PullRequest -> List String -> Promise' (List String) */
11226
11367
  function Label_addLabels($0, $1, $2, $3, $4, $5) {
11227
11368
  return FFI_GitHub_addPullLabels($1, $0.a2, $0.a3, $2.a1, $3, $4, $5);
11228
11369
  }
11229
11370
 
11230
11371
  /* Graph.6873:6647:pendingDot */
11231
11372
  function Graph_n__6873_6647_pendingDot($0, $1, $2, $3, $4, $5, $6) {
11232
- return Theme_theme($6, csegen_550(), csegen_548(), 6)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{b7}'));
11373
+ return Theme_theme($6, csegen_556(), csegen_554(), 6)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{b7}'));
11233
11374
  }
11234
11375
 
11235
11376
  /* Graph.6873:6646:note */
@@ -11239,7 +11380,7 @@ function Graph_n__6873_6646_note($0, $1, $2, $3, $4, $5, $6, $7) {
11239
11380
 
11240
11381
  /* Graph.6873:6645:missedDot */
11241
11382
  function Graph_n__6873_6645_missedDot($0, $1, $2, $3, $4, $5, $6) {
11242
- return Theme_theme($6, csegen_549(), csegen_549(), 7)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{25e6}'));
11383
+ return Theme_theme($6, csegen_555(), csegen_555(), 7)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{25e6}'));
11243
11384
  }
11244
11385
 
11245
11386
  /* Graph.6873:6644:maxValue */
@@ -11268,7 +11409,7 @@ function Graph_n__6873_6643_header($0, $1, $2, $3, $4, $5, $6) {
11268
11409
  break;
11269
11410
  }
11270
11411
  }
11271
- const $37 = {a1: $38, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Symbols_parens(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Graph_n__6873_6645_missedDot($0, $1, $2, $3, $4, $5, $6), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('overlayed on'), Graph_n__6873_6647_pendingDot($0, $1, $2, $3, $4, $5, $6))))}, a2: csegen_616()}};
11412
+ const $37 = {a1: $38, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Symbols_parens(Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Graph_n__6873_6645_missedDot($0, $1, $2, $3, $4, $5, $6), Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('overlayed on'), Graph_n__6873_6647_pendingDot($0, $1, $2, $3, $4, $5, $6))))}, a2: csegen_622()}};
11272
11413
  const $25 = {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('1x the number of closed PRs with unanswered review requests'), Text_PrettyPrint_Prettyprinter_Symbols_parens(Graph_n__6873_6645_missedDot($0, $1, $2, $3, $4, $5, $6)))}, a2: $37};
11273
11414
  const $13 = {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_x3cx2bx2bx3e(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('4x the number of open review requests'), Text_PrettyPrint_Prettyprinter_Symbols_parens(Graph_n__6873_6647_pendingDot($0, $1, $2, $3, $4, $5, $6)))}, a2: $25};
11274
11415
  const $e = {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Weighted review workload.')}, a2: $13};
@@ -11279,7 +11420,7 @@ function Graph_n__6873_6643_header($0, $1, $2, $3, $4, $5, $6) {
11279
11420
 
11280
11421
  /* Graph.6476:6247:header */
11281
11422
  function Graph_n__6476_6247_header($0, $1, $2, $3) {
11282
- return Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc()}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Open Pull Requests grouped by month created.')}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc()}, a2: csegen_616()}}}));
11423
+ return Text_PrettyPrint_Prettyprinter_Doc_vsep(Data_List_catMaybes({a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc()}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('Open Pull Requests grouped by month created.')}, a2: {a1: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc()}, a2: csegen_622()}}}));
11283
11424
  }
11284
11425
 
11285
11426
  /* Graph.6476:6246:graphable */
@@ -11302,20 +11443,20 @@ function Graph_n__6026_5865_countInParens($0, $1, $2) {
11302
11443
 
11303
11444
  /* Graph.6873:6641:completedBox */
11304
11445
  function Graph_n__6873_6641_completedBox($0, $1, $2, $3, $4, $5, $6) {
11305
- return Theme_theme($6, csegen_529(), csegen_529(), 3)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{25aa}'));
11446
+ return Theme_theme($6, csegen_535(), csegen_535(), 3)(Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String('\u{25aa}'));
11306
11447
  }
11307
11448
 
11308
11449
  /* Graph.6026:5864:coloredLabel */
11309
11450
  function Graph_n__6026_5864_coloredLabel($0, $1, $2) {
11310
11451
  switch((($2.a2===0n)?1:0)) {
11311
- case 1: return Theme_theme($0, csegen_529(), csegen_529(), 0)($1.a1(undefined)($2.a1));
11452
+ case 1: return Theme_theme($0, csegen_535(), csegen_535(), 0)($1.a1(undefined)($2.a1));
11312
11453
  case 0: {
11313
11454
  switch(Prelude_Types_x3c_Ord_Nat($2.a2, 2n)) {
11314
11455
  case 1: return $1.a1(undefined)($2.a1);
11315
11456
  case 0: {
11316
11457
  switch(Prelude_Types_x3c_Ord_Nat($2.a2, 6n)) {
11317
- case 1: return Theme_theme($0, csegen_550(), csegen_548(), 1)($1.a1(undefined)($2.a1));
11318
- case 0: return Theme_theme($0, csegen_549(), csegen_549(), 2)($1.a1(undefined)($2.a1));
11458
+ case 1: return Theme_theme($0, csegen_556(), csegen_554(), 1)($1.a1(undefined)($2.a1));
11459
+ case 0: return Theme_theme($0, csegen_555(), csegen_555(), 2)($1.a1(undefined)($2.a1));
11319
11460
  }
11320
11461
  }
11321
11462
  }
@@ -11429,9 +11570,9 @@ function Graph_reviewsGraph($0, $1, $2, $3, $4, $5, $6) {
11429
11570
 
11430
11571
  /* Graph.healthGraph : Config => List PullRequest -> String -> String -> Doc AnsiStyle */
11431
11572
  function Graph_healthGraph($0, $1, $2, $3) {
11432
- const $4 = Data_List_groupBy($7 => $8 => Prelude_Basics_on($b => $c => Prelude_Basics_on($f => $10 => (($f===$10)?1:0), $14 => $14.a2, $b, $c), csegen_513(), $7, $8), Data_List_sortBy(csegen_514(), $1));
11573
+ const $4 = Data_List_groupBy($7 => $8 => Prelude_Basics_on($b => $c => Prelude_Basics_on($f => $10 => (($f===$10)?1:0), $14 => $14.a2, $b, $c), csegen_519(), $7, $8), Data_List_sortBy(csegen_520(), $1));
11433
11574
  const $21 = Prelude_Types_foldr_Foldable_List(xs => m => Prelude_Types_max_Ord_Nat(Data_List1_length(xs), m), 1n, $4);
11434
- return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Graph_n__6476_6247_header($3, $2, $1, $0), a2: {a1: Graph_graph($0, {a1: $39 => Graph_totalWidth_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_634(), $39), a2: $40 => Graph_label_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_634(), $40), a3: $47 => Graph_score_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_634(), $47), a4: $4e => Graph_detractor_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_634(), $4e), a5: $55 => Graph_bonus_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_634(), $55)}, $21, Graph_n__6476_6249_unfoldGraph($3, $2, $1, $0, Data_Fuel_limit(48n), $4, {h: 0})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Graph_n__6476_6248_link($3, $2, $1, $0)), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {h: 0}}}}}});
11575
+ return Text_PrettyPrint_Prettyprinter_Doc_vsep({a1: Graph_n__6476_6247_header($3, $2, $1, $0), a2: {a1: Graph_graph($0, {a1: $39 => Graph_totalWidth_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_640(), $39), a2: $40 => Graph_label_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_640(), $40), a3: $47 => Graph_score_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_640(), $47), a4: $4e => Graph_detractor_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_640(), $4e), a5: $55 => Graph_bonus_Graphable_x28PRsOnDatex20x24dateTyx29($0, csegen_640(), $55)}, $21, Graph_n__6476_6249_unfoldGraph($3, $2, $1, $0, Data_Fuel_limit(48n), $4, {h: 0})), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_String(Graph_n__6476_6248_link($3, $2, $1, $0)), a2: {a1: Text_PrettyPrint_Prettyprinter_Doc_emptyDoc(), a2: {h: 0}}}}}});
11435
11576
  }
11436
11577
 
11437
11578
  /* Graph.graphOne : Config -> Graphable g => Nat -> g -> Doc AnsiStyle */
@@ -11448,7 +11589,7 @@ function Graph_graph($0, $1, $2, $3) {
11448
11589
 
11449
11590
  /* Graph.bar : Config -> Nat -> Nat -> Nat -> Nat -> Doc AnsiStyle */
11450
11591
  function Graph_bar($0, $1, $2, $3, $4) {
11451
- return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($1)), Text_PrettyPrint_Prettyprinter_Doc_hcat({a1: Theme_theme($0, csegen_549(), csegen_549(), 7)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $3, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{25e6}')))), a2: {a1: Theme_theme($0, csegen_550(), csegen_548(), 6)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $2, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{b7}')))), a2: {a1: Theme_theme($0, csegen_529(), csegen_529(), 3)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $4, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{25aa}')))), a2: {h: 0}}}}));
11592
+ return Text_PrettyPrint_Prettyprinter_Doc_indent(Number(_truncBigInt32($1)), Text_PrettyPrint_Prettyprinter_Doc_hcat({a1: Theme_theme($0, csegen_555(), csegen_555(), 7)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $3, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{25e6}')))), a2: {a1: Theme_theme($0, csegen_556(), csegen_554(), 6)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $2, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{b7}')))), a2: {a1: Theme_theme($0, csegen_535(), csegen_535(), 3)(Text_PrettyPrint_Prettyprinter_Doc_hcat(Data_List_replicateTR({h: 0}, $4, Text_PrettyPrint_Prettyprinter_Doc_pretty_Pretty_Char('\u{25aa}')))), a2: {h: 0}}}}));
11452
11593
  }
11453
11594
 
11454
11595
  /* AppVersion.printVersion : HasIO io => io () */
@@ -11458,7 +11599,7 @@ function AppVersion_printVersion($0) {
11458
11599
 
11459
11600
  /* AppVersion.appVersion : String */
11460
11601
  const AppVersion_appVersion = __lazy(function () {
11461
- return '4.3.0';
11602
+ return '4.4.0';
11462
11603
  });
11463
11604
 
11464
11605