This file is indexed.

/usr/share/doc/agda-stdlib-doc/html/Data.String.html is in agda-stdlib-doc 0.12-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
><head
  ><title
    >Data.String</title
    ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
     /><meta http-equiv="Content-Style-Type" content="text/css"
     /><link href="Agda.css" rel="stylesheet" type="text/css"
     /></head
  ><body
  ><pre
    ><a name="1" class="Comment"
      >------------------------------------------------------------------------</a
      ><a name="73"
      >
</a
      ><a name="74" class="Comment"
      >-- The Agda standard library</a
      ><a name="102"
      >
</a
      ><a name="103" class="Comment"
      >--</a
      ><a name="105"
      >
</a
      ><a name="106" class="Comment"
      >-- Strings</a
      ><a name="116"
      >
</a
      ><a name="117" class="Comment"
      >------------------------------------------------------------------------</a
      ><a name="189"
      >

</a
      ><a name="191" class="Keyword"
      >module</a
      ><a name="197"
      > </a
      ><a name="198" href="Data.String.html#1" class="Module"
      >Data.String</a
      ><a name="209"
      > </a
      ><a name="210" class="Keyword"
      >where</a
      ><a name="215"
      >

</a
      ><a name="217" class="Keyword"
      >open</a
      ><a name="221"
      > </a
      ><a name="222" class="Keyword"
      >import</a
      ><a name="228"
      > </a
      ><a name="229" href="Data.List.Base.html#1" class="Module"
      >Data.List.Base</a
      ><a name="243"
      > </a
      ><a name="244" class="Symbol"
      >as</a
      ><a name="246"
      > </a
      ><a name="247" class="Module"
      >List</a
      ><a name="251"
      > </a
      ><a name="252" class="Keyword"
      >using</a
      ><a name="257"
      > </a
      ><a name="258" class="Symbol"
      >(</a
      ><a name="259" href="Agda.Builtin.List.html#104" class="InductiveConstructor Operator"
      >_&#8759;_</a
      ><a name="262" class="Symbol"
      >;</a
      ><a name="263"
      > </a
      ><a name="264" href="Data.List.Base.html#5519" class="InductiveConstructor"
      >[]</a
      ><a name="266" class="Symbol"
      >;</a
      ><a name="267"
      > </a
      ><a name="268" href="Agda.Builtin.List.html#52" class="Datatype"
      >List</a
      ><a name="272" class="Symbol"
      >)</a
      ><a name="273"
      >
</a
      ><a name="274" class="Keyword"
      >open</a
      ><a name="278"
      > </a
      ><a name="279" class="Keyword"
      >import</a
      ><a name="285"
      > </a
      ><a name="286" href="Data.Vec.html#1" class="Module"
      >Data.Vec</a
      ><a name="294"
      > </a
      ><a name="295" class="Symbol"
      >as</a
      ><a name="297"
      > </a
      ><a name="298" class="Module"
      >Vec</a
      ><a name="301"
      > </a
      ><a name="302" class="Keyword"
      >using</a
      ><a name="307"
      > </a
      ><a name="308" class="Symbol"
      >(</a
      ><a name="309" href="Data.Vec.html#609" class="Datatype"
      >Vec</a
      ><a name="312" class="Symbol"
      >)</a
      ><a name="313"
      >
</a
      ><a name="314" class="Keyword"
      >open</a
      ><a name="318"
      > </a
      ><a name="319" class="Keyword"
      >import</a
      ><a name="325"
      > </a
      ><a name="326" href="Data.Colist.html#1" class="Module"
      >Data.Colist</a
      ><a name="337"
      > </a
      ><a name="338" class="Symbol"
      >as</a
      ><a name="340"
      > </a
      ><a name="341" class="Module"
      >Colist</a
      ><a name="347"
      > </a
      ><a name="348" class="Keyword"
      >using</a
      ><a name="353"
      > </a
      ><a name="354" class="Symbol"
      >(</a
      ><a name="355" href="Data.Colist.html#1494" class="Datatype"
      >Colist</a
      ><a name="361" class="Symbol"
      >)</a
      ><a name="362"
      >
</a
      ><a name="363" class="Keyword"
      >open</a
      ><a name="367"
      > </a
      ><a name="368" class="Keyword"
      >import</a
      ><a name="374"
      > </a
      ><a name="375" href="Data.Char.html#1" class="Module"
      >Data.Char</a
      ><a name="384"
      > </a
      ><a name="385" class="Symbol"
      >as</a
      ><a name="387"
      > </a
      ><a name="388" class="Module"
      >Char</a
      ><a name="392"
      > </a
      ><a name="393" class="Keyword"
      >using</a
      ><a name="398"
      > </a
      ><a name="399" class="Symbol"
      >(</a
      ><a name="400" href="Agda.Builtin.Char.html#104" class="Postulate"
      >Char</a
      ><a name="404" class="Symbol"
      >)</a
      ><a name="405"
      >
</a
      ><a name="406" class="Keyword"
      >open</a
      ><a name="410"
      > </a
      ><a name="411" class="Keyword"
      >import</a
      ><a name="417"
      > </a
      ><a name="418" href="Data.Bool.Base.html#1" class="Module"
      >Data.Bool.Base</a
      ><a name="432"
      > </a
      ><a name="433" class="Keyword"
      >using</a
      ><a name="438"
      > </a
      ><a name="439" class="Symbol"
      >(</a
      ><a name="440" href="Agda.Builtin.Bool.html#39" class="Datatype"
      >Bool</a
      ><a name="444" class="Symbol"
      >;</a
      ><a name="445"
      > </a
      ><a name="446" href="Agda.Builtin.Bool.html#64" class="InductiveConstructor"
      >true</a
      ><a name="450" class="Symbol"
      >;</a
      ><a name="451"
      > </a
      ><a name="452" href="Agda.Builtin.Bool.html#58" class="InductiveConstructor"
      >false</a
      ><a name="457" class="Symbol"
      >)</a
      ><a name="458"
      >
</a
      ><a name="459" class="Keyword"
      >open</a
      ><a name="463"
      > </a
      ><a name="464" class="Keyword"
      >import</a
      ><a name="470"
      > </a
      ><a name="471" href="Function.html#1" class="Module"
      >Function</a
      ><a name="479"
      >
</a
      ><a name="480" class="Keyword"
      >open</a
      ><a name="484"
      > </a
      ><a name="485" class="Keyword"
      >import</a
      ><a name="491"
      > </a
      ><a name="492" href="Relation.Nullary.html#1" class="Module"
      >Relation.Nullary</a
      ><a name="508"
      >
</a
      ><a name="509" class="Keyword"
      >open</a
      ><a name="513"
      > </a
      ><a name="514" class="Keyword"
      >import</a
      ><a name="520"
      > </a
      ><a name="521" href="Relation.Nullary.Decidable.html#1" class="Module"
      >Relation.Nullary.Decidable</a
      ><a name="547"
      >
</a
      ><a name="548" class="Keyword"
      >open</a
      ><a name="552"
      > </a
      ><a name="553" class="Keyword"
      >import</a
      ><a name="559"
      > </a
      ><a name="560" href="Relation.Binary.html#1" class="Module"
      >Relation.Binary</a
      ><a name="575"
      >
</a
      ><a name="576" class="Keyword"
      >open</a
      ><a name="580"
      > </a
      ><a name="581" class="Keyword"
      >import</a
      ><a name="587"
      > </a
      ><a name="588" href="Relation.Binary.List.StrictLex.html#1" class="Module"
      >Relation.Binary.List.StrictLex</a
      ><a name="618"
      > </a
      ><a name="619" class="Symbol"
      >as</a
      ><a name="621"
      > </a
      ><a name="622" class="Module"
      >StrictLex</a
      ><a name="631"
      >
</a
      ><a name="632" class="Keyword"
      >import</a
      ><a name="638"
      > </a
      ><a name="639" href="Relation.Binary.On.html#1" class="Module"
      >Relation.Binary.On</a
      ><a name="657"
      > </a
      ><a name="658" class="Symbol"
      >as</a
      ><a name="660"
      > </a
      ><a name="661" class="Module"
      >On</a
      ><a name="663"
      >
</a
      ><a name="664" class="Keyword"
      >open</a
      ><a name="668"
      > </a
      ><a name="669" class="Keyword"
      >import</a
      ><a name="675"
      > </a
      ><a name="676" href="Relation.Binary.PropositionalEquality.html#1" class="Module"
      >Relation.Binary.PropositionalEquality</a
      ><a name="713"
      > </a
      ><a name="714" class="Symbol"
      >as</a
      ><a name="716"
      > </a
      ><a name="717" class="Module"
      >PropEq</a
      ><a name="723"
      > </a
      ><a name="724" class="Keyword"
      >using</a
      ><a name="729"
      > </a
      ><a name="730" class="Symbol"
      >(</a
      ><a name="731" href="Agda.Builtin.Equality.html#55" class="Datatype Operator"
      >_&#8801;_</a
      ><a name="734" class="Symbol"
      >)</a
      ><a name="735"
      >
</a
      ><a name="736" class="Keyword"
      >open</a
      ><a name="740"
      > </a
      ><a name="741" class="Keyword"
      >import</a
      ><a name="747"
      > </a
      ><a name="748" href="Relation.Binary.PropositionalEquality.TrustMe.html#1" class="Module"
      >Relation.Binary.PropositionalEquality.TrustMe</a
      ><a name="793"
      >

</a
      ><a name="795" class="Keyword"
      >open</a
      ><a name="799"
      > </a
      ><a name="800" class="Keyword"
      >import</a
      ><a name="806"
      > </a
      ><a name="807" href="Data.String.Base.html#1" class="Module"
      >Data.String.Base</a
      ><a name="823"
      > </a
      ><a name="824" class="Keyword"
      >public</a
      ><a name="830"
      >

</a
      ><a name="832" class="Comment"
      >-- Possibly infinite strings.</a
      ><a name="861"
      >

</a
      ><a name="863" href="Data.String.html#863" class="Function"
      >Costring</a
      ><a name="871"
      > </a
      ><a name="872" class="Symbol"
      >:</a
      ><a name="873"
      > </a
      ><a name="874" class="PrimitiveType"
      >Set</a
      ><a name="877"
      >
</a
      ><a name="878" href="Data.String.html#863" class="Function"
      >Costring</a
      ><a name="886"
      > </a
      ><a name="887" class="Symbol"
      >=</a
      ><a name="888"
      > </a
      ><a name="889" href="Data.Colist.html#1494" class="Datatype"
      >Colist</a
      ><a name="895"
      > </a
      ><a name="896" href="Agda.Builtin.Char.html#104" class="Postulate"
      >Char</a
      ><a name="900"
      >

</a
      ><a name="902" class="Comment"
      >------------------------------------------------------------------------</a
      ><a name="974"
      >
</a
      ><a name="975" class="Comment"
      >-- Operations</a
      ><a name="988"
      >

</a
      ><a name="990" href="Data.String.html#990" class="Function"
      >toVec</a
      ><a name="995"
      > </a
      ><a name="996" class="Symbol"
      >:</a
      ><a name="997"
      > </a
      ><a name="998" class="Symbol"
      >(</a
      ><a name="999" href="Data.String.html#999" class="Bound"
      >s</a
      ><a name="1000"
      > </a
      ><a name="1001" class="Symbol"
      >:</a
      ><a name="1002"
      > </a
      ><a name="1003" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1009" class="Symbol"
      >)</a
      ><a name="1010"
      > </a
      ><a name="1011" class="Symbol"
      >&#8594;</a
      ><a name="1012"
      > </a
      ><a name="1013" href="Data.Vec.html#609" class="Datatype"
      >Vec</a
      ><a name="1016"
      > </a
      ><a name="1017" href="Agda.Builtin.Char.html#104" class="Postulate"
      >Char</a
      ><a name="1021"
      > </a
      ><a name="1022" class="Symbol"
      >(</a
      ><a name="1023" href="Data.List.Base.html#2745" class="Function"
      >List.length</a
      ><a name="1034"
      > </a
      ><a name="1035" class="Symbol"
      >(</a
      ><a name="1036" href="Data.String.Base.html#930" class="Function"
      >toList</a
      ><a name="1042"
      > </a
      ><a name="1043" href="Data.String.html#999" class="Bound"
      >s</a
      ><a name="1044" class="Symbol"
      >))</a
      ><a name="1046"
      >
</a
      ><a name="1047" href="Data.String.html#990" class="Function"
      >toVec</a
      ><a name="1052"
      > </a
      ><a name="1053" href="Data.String.html#1053" class="Bound"
      >s</a
      ><a name="1054"
      > </a
      ><a name="1055" class="Symbol"
      >=</a
      ><a name="1056"
      > </a
      ><a name="1057" href="Data.Vec.html#4833" class="Function"
      >Vec.fromList</a
      ><a name="1069"
      > </a
      ><a name="1070" class="Symbol"
      >(</a
      ><a name="1071" href="Data.String.Base.html#930" class="Function"
      >toList</a
      ><a name="1077"
      > </a
      ><a name="1078" href="Data.String.html#1053" class="Bound"
      >s</a
      ><a name="1079" class="Symbol"
      >)</a
      ><a name="1080"
      >

</a
      ><a name="1082" href="Data.String.html#1082" class="Function"
      >toCostring</a
      ><a name="1092"
      > </a
      ><a name="1093" class="Symbol"
      >:</a
      ><a name="1094"
      > </a
      ><a name="1095" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1101"
      > </a
      ><a name="1102" class="Symbol"
      >&#8594;</a
      ><a name="1103"
      > </a
      ><a name="1104" href="Data.String.html#863" class="Function"
      >Costring</a
      ><a name="1112"
      >
</a
      ><a name="1113" href="Data.String.html#1082" class="Function"
      >toCostring</a
      ><a name="1123"
      > </a
      ><a name="1124" class="Symbol"
      >=</a
      ><a name="1125"
      > </a
      ><a name="1126" href="Data.Colist.html#2554" class="Function"
      >Colist.fromList</a
      ><a name="1141"
      > </a
      ><a name="1142" href="Function.html#713" class="Function Operator"
      >&#8728;</a
      ><a name="1143"
      > </a
      ><a name="1144" href="Data.String.Base.html#930" class="Function"
      >toList</a
      ><a name="1150"
      >

</a
      ><a name="1152" class="Comment"
      >-- Informative equality test.</a
      ><a name="1181"
      >

</a
      ><a name="1183" class="Keyword"
      >infix</a
      ><a name="1188"
      > </a
      ><a name="1189" class="Number"
      >4</a
      ><a name="1190"
      > _&#8799;_

</a
      ><a name="1196" href="Data.String.html#1196" class="Function Operator"
      >_&#8799;_</a
      ><a name="1199"
      > </a
      ><a name="1200" class="Symbol"
      >:</a
      ><a name="1201"
      > </a
      ><a name="1202" href="Relation.Binary.Core.html#3490" class="Function"
      >Decidable</a
      ><a name="1211"
      > </a
      ><a name="1212" class="Symbol"
      >{</a
      ><a name="1213" class="Argument"
      >A</a
      ><a name="1214"
      > </a
      ><a name="1215" class="Symbol"
      >=</a
      ><a name="1216"
      > </a
      ><a name="1217" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1223" class="Symbol"
      >}</a
      ><a name="1224"
      > </a
      ><a name="1225" href="Agda.Builtin.Equality.html#55" class="Datatype Operator"
      >_&#8801;_</a
      ><a name="1228"
      >
</a
      ><a name="1229" href="Data.String.html#1229" class="Bound"
      >s&#8321;</a
      ><a name="1231"
      > </a
      ><a name="1232" href="Data.String.html#1196" class="Function Operator"
      >&#8799;</a
      ><a name="1233"
      > </a
      ><a name="1234" href="Data.String.html#1234" class="Bound"
      >s&#8322;</a
      ><a name="1236"
      > </a
      ><a name="1237" class="Keyword"
      >with</a
      ><a name="1241"
      > </a
      ><a name="1242" href="Agda.Builtin.String.html#325" class="Primitive"
      >primStringEquality</a
      ><a name="1260"
      > </a
      ><a name="1261" href="Data.String.html#1229" class="Bound"
      >s&#8321;</a
      ><a name="1263"
      > </a
      ><a name="1264" href="Data.String.html#1234" class="Bound"
      >s&#8322;</a
      ><a name="1266"
      >
</a
      ><a name="1267" class="Symbol"
      >...</a
      ><a name="1270"
      > </a
      ><a name="1271" class="Symbol"
      >|</a
      ><a name="1272"
      > </a
      ><a name="1273" href="Agda.Builtin.Bool.html#64" class="InductiveConstructor"
      >true</a
      ><a name="1277"
      >  </a
      ><a name="1279" class="Symbol"
      >=</a
      ><a name="1280"
      > </a
      ><a name="1281" href="Relation.Nullary.html#520" class="InductiveConstructor"
      >yes</a
      ><a name="1284"
      > </a
      ><a name="1285" href="Relation.Binary.PropositionalEquality.TrustMe.html#512" class="Function"
      >trustMe</a
      ><a name="1292"
      >
</a
      ><a name="1293" class="Symbol"
      >...</a
      ><a name="1296"
      > </a
      ><a name="1297" class="Symbol"
      >|</a
      ><a name="1298"
      > </a
      ><a name="1299" href="Agda.Builtin.Bool.html#58" class="InductiveConstructor"
      >false</a
      ><a name="1304"
      > </a
      ><a name="1305" class="Symbol"
      >=</a
      ><a name="1306"
      > </a
      ><a name="1307" href="Relation.Nullary.html#547" class="InductiveConstructor"
      >no</a
      ><a name="1309"
      > </a
      ><a name="1310" href="Data.String.html#1337" class="Postulate"
      >whatever</a
      ><a name="1318"
      >
  </a
      ><a name="1321" class="Keyword"
      >where</a
      ><a name="1326"
      > </a
      ><a name="1327" class="Keyword"
      >postulate</a
      ><a name="1336"
      > </a
      ><a name="1337" href="Data.String.html#1337" class="Postulate"
      >whatever</a
      ><a name="1345"
      > </a
      ><a name="1346" class="Symbol"
      >:</a
      ><a name="1347"
      > </a
      ><a name="1348" class="Symbol"
      >_</a
      ><a name="1349"
      >

</a
      ><a name="1351" class="Comment"
      >-- Boolean equality test.</a
      ><a name="1376"
      >
</a
      ><a name="1377" class="Comment"
      >--</a
      ><a name="1379"
      >
</a
      ><a name="1380" class="Comment"
      >-- Why is the definition _==_&#160;=&#160;primStringEquality not used? One</a
      ><a name="1444"
      >
</a
      ><a name="1445" class="Comment"
      >-- reason is that the present definition can sometimes improve type</a
      ><a name="1512"
      >
</a
      ><a name="1513" class="Comment"
      >-- inference, at least with the version of Agda that is current at the</a
      ><a name="1583"
      >
</a
      ><a name="1584" class="Comment"
      >-- time of writing: see unit-test below.</a
      ><a name="1624"
      >

</a
      ><a name="1626" class="Keyword"
      >infix</a
      ><a name="1631"
      > </a
      ><a name="1632" class="Number"
      >4</a
      ><a name="1633"
      > _==_

</a
      ><a name="1640" href="Data.String.html#1640" class="Function Operator"
      >_==_</a
      ><a name="1644"
      > </a
      ><a name="1645" class="Symbol"
      >:</a
      ><a name="1646"
      > </a
      ><a name="1647" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1653"
      > </a
      ><a name="1654" class="Symbol"
      >&#8594;</a
      ><a name="1655"
      > </a
      ><a name="1656" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1662"
      > </a
      ><a name="1663" class="Symbol"
      >&#8594;</a
      ><a name="1664"
      > </a
      ><a name="1665" href="Agda.Builtin.Bool.html#39" class="Datatype"
      >Bool</a
      ><a name="1669"
      >
</a
      ><a name="1670" href="Data.String.html#1670" class="Bound"
      >s&#8321;</a
      ><a name="1672"
      > </a
      ><a name="1673" href="Data.String.html#1640" class="Function Operator"
      >==</a
      ><a name="1675"
      > </a
      ><a name="1676" href="Data.String.html#1676" class="Bound"
      >s&#8322;</a
      ><a name="1678"
      > </a
      ><a name="1679" class="Symbol"
      >=</a
      ><a name="1680"
      > </a
      ><a name="1681" href="Relation.Nullary.Decidable.html#822" class="Function Operator"
      >&#8970;</a
      ><a name="1682"
      > </a
      ><a name="1683" href="Data.String.html#1670" class="Bound"
      >s&#8321;</a
      ><a name="1685"
      > </a
      ><a name="1686" href="Data.String.html#1196" class="Function Operator"
      >&#8799;</a
      ><a name="1687"
      > </a
      ><a name="1688" href="Data.String.html#1676" class="Bound"
      >s&#8322;</a
      ><a name="1690"
      > </a
      ><a name="1691" href="Relation.Nullary.Decidable.html#822" class="Function Operator"
      >&#8971;</a
      ><a name="1692"
      >

</a
      ><a name="1694" class="Keyword"
      >private</a
      ><a name="1701"
      >

  </a
      ><a name="1705" class="Comment"
      >-- The following unit test does not type-check (at the time of</a
      ><a name="1767"
      >
  </a
      ><a name="1770" class="Comment"
      >-- writing) if _==_ is replaced by primStringEquality.</a
      ><a name="1824"
      >

  </a
      ><a name="1828" class="Keyword"
      >data</a
      ><a name="1832"
      > </a
      ><a name="1833" href="Data.String.html#1833" class="Datatype"
      >P</a
      ><a name="1834"
      > </a
      ><a name="1835" class="Symbol"
      >:</a
      ><a name="1836"
      > </a
      ><a name="1837" class="Symbol"
      >(</a
      ><a name="1838" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1844"
      > </a
      ><a name="1845" class="Symbol"
      >&#8594;</a
      ><a name="1846"
      > </a
      ><a name="1847" href="Agda.Builtin.Bool.html#39" class="Datatype"
      >Bool</a
      ><a name="1851" class="Symbol"
      >)</a
      ><a name="1852"
      > </a
      ><a name="1853" class="Symbol"
      >&#8594;</a
      ><a name="1854"
      > </a
      ><a name="1855" class="PrimitiveType"
      >Set</a
      ><a name="1858"
      > </a
      ><a name="1859" class="Keyword"
      >where</a
      ><a name="1864"
      >
    </a
      ><a name="1869" href="Data.String.html#1869" class="InductiveConstructor"
      >p</a
      ><a name="1870"
      > </a
      ><a name="1871" class="Symbol"
      >:</a
      ><a name="1872"
      > </a
      ><a name="1873" class="Symbol"
      >(</a
      ><a name="1874" href="Data.String.html#1874" class="Bound"
      >c</a
      ><a name="1875"
      > </a
      ><a name="1876" class="Symbol"
      >:</a
      ><a name="1877"
      > </a
      ><a name="1878" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1884" class="Symbol"
      >)</a
      ><a name="1885"
      > </a
      ><a name="1886" class="Symbol"
      >&#8594;</a
      ><a name="1887"
      > </a
      ><a name="1888" href="Data.String.html#1833" class="Datatype"
      >P</a
      ><a name="1889"
      > </a
      ><a name="1890" class="Symbol"
      >(</a
      ><a name="1891" href="Data.String.html#1640" class="Function Operator"
      >_==_</a
      ><a name="1895"
      > </a
      ><a name="1896" href="Data.String.html#1874" class="Bound"
      >c</a
      ><a name="1897" class="Symbol"
      >)</a
      ><a name="1898"
      >

  </a
      ><a name="1902" href="Data.String.html#1902" class="Function"
      >unit-test</a
      ><a name="1911"
      > </a
      ><a name="1912" class="Symbol"
      >:</a
      ><a name="1913"
      > </a
      ><a name="1914" href="Data.String.html#1833" class="Datatype"
      >P</a
      ><a name="1915"
      > </a
      ><a name="1916" class="Symbol"
      >(</a
      ><a name="1917" href="Data.String.html#1640" class="Function Operator"
      >_==_</a
      ><a name="1921"
      > </a
      ><a name="1922" class="String"
      >&quot;&quot;</a
      ><a name="1924" class="Symbol"
      >)</a
      ><a name="1925"
      >
  </a
      ><a name="1928" href="Data.String.html#1902" class="Function"
      >unit-test</a
      ><a name="1937"
      > </a
      ><a name="1938" class="Symbol"
      >=</a
      ><a name="1939"
      > </a
      ><a name="1940" href="Data.String.html#1869" class="InductiveConstructor"
      >p</a
      ><a name="1941"
      > </a
      ><a name="1942" class="Symbol"
      >_</a
      ><a name="1943"
      >

</a
      ><a name="1945" href="Data.String.html#1945" class="Function"
      >setoid</a
      ><a name="1951"
      > </a
      ><a name="1952" class="Symbol"
      >:</a
      ><a name="1953"
      > </a
      ><a name="1954" href="Relation.Binary.html#1908" class="Record"
      >Setoid</a
      ><a name="1960"
      > </a
      ><a name="1961" class="Symbol"
      >_</a
      ><a name="1962"
      > </a
      ><a name="1963" class="Symbol"
      >_</a
      ><a name="1964"
      >
</a
      ><a name="1965" href="Data.String.html#1945" class="Function"
      >setoid</a
      ><a name="1971"
      > </a
      ><a name="1972" class="Symbol"
      >=</a
      ><a name="1973"
      > </a
      ><a name="1974" href="Relation.Binary.PropositionalEquality.html#1526" class="Function"
      >PropEq.setoid</a
      ><a name="1987"
      > </a
      ><a name="1988" href="Agda.Builtin.String.html#137" class="Postulate"
      >String</a
      ><a name="1994"
      >

</a
      ><a name="1996" href="Data.String.html#1996" class="Function"
      >decSetoid</a
      ><a name="2005"
      > </a
      ><a name="2006" class="Symbol"
      >:</a
      ><a name="2007"
      > </a
      ><a name="2008" href="Relation.Binary.html#2977" class="Record"
      >DecSetoid</a
      ><a name="2017"
      > </a
      ><a name="2018" class="Symbol"
      >_</a
      ><a name="2019"
      > </a
      ><a name="2020" class="Symbol"
      >_</a
      ><a name="2021"
      >
</a
      ><a name="2022" href="Data.String.html#1996" class="Function"
      >decSetoid</a
      ><a name="2031"
      > </a
      ><a name="2032" class="Symbol"
      >=</a
      ><a name="2033"
      > </a
      ><a name="2034" href="Relation.Binary.PropositionalEquality.html#1665" class="Function"
      >PropEq.decSetoid</a
      ><a name="2050"
      > </a
      ><a name="2051" href="Data.String.html#1196" class="Function Operator"
      >_&#8799;_</a
      ><a name="2054"
      >

</a
      ><a name="2056" class="Comment"
      >-- Lexicographic ordering of strings.</a
      ><a name="2093"
      >

</a
      ><a name="2095" href="Data.String.html#2095" class="Function"
      >strictTotalOrder</a
      ><a name="2111"
      > </a
      ><a name="2112" class="Symbol"
      >:</a
      ><a name="2113"
      > </a
      ><a name="2114" href="Relation.Binary.html#10996" class="Record"
      >StrictTotalOrder</a
      ><a name="2130"
      > </a
      ><a name="2131" class="Symbol"
      >_</a
      ><a name="2132"
      > </a
      ><a name="2133" class="Symbol"
      >_</a
      ><a name="2134"
      > </a
      ><a name="2135" class="Symbol"
      >_</a
      ><a name="2136"
      >
</a
      ><a name="2137" href="Data.String.html#2095" class="Function"
      >strictTotalOrder</a
      ><a name="2153"
      > </a
      ><a name="2154" class="Symbol"
      >=</a
      ><a name="2155"
      >
  </a
      ><a name="2158" href="Relation.Binary.On.html#7015" class="Function"
      >On.strictTotalOrder</a
      ><a name="2177"
      >
    </a
      ><a name="2182" class="Symbol"
      >(</a
      ><a name="2183" href="Relation.Binary.List.StrictLex.html#11779" class="Function"
      >StrictLex.&lt;-strictTotalOrder</a
      ><a name="2211"
      > </a
      ><a name="2212" href="Data.Char.html#1670" class="Function"
      >Char.strictTotalOrder</a
      ><a name="2233" class="Symbol"
      >)</a
      ><a name="2234"
      >
    </a
      ><a name="2239" href="Data.String.Base.html#930" class="Function"
      >toList</a
      ><a name="2245"
      >
</a
      ></pre
    ></body
  ></html
>