-
Notifications
You must be signed in to change notification settings - Fork 23
/
help.json
2901 lines (2901 loc) · 114 KB
/
help.json
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
{
"sigils": {
"$": {
"description": "See get-env",
"kind": "sigil",
"module": "global",
"name": "$"
},
"'": {
"description": "See quotesym",
"kind": "sigil",
"module": "global",
"name": "'"
},
":": {
"description": "See define",
"kind": "sigil",
"module": "global",
"name": ":"
},
"?": {
"description": "See help",
"kind": "sigil",
"module": "global",
"name": "?"
},
"@": {
"description": "See bind",
"kind": "sigil",
"module": "global",
"name": "@"
},
"^": {
"description": "See lambda",
"kind": "sigil",
"module": "global",
"name": "^"
},
"~": {
"description": "See lambda-bind",
"kind": "sigil",
"module": "global",
"name": "~"
}
},
"symbols": {
"!=": {
"description": "Returns true if a1 is not equal to a2, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "!=",
"signature": "a1 a2 ==> bool"
},
"$": {
"description": "See get-env",
"kind": "symbol",
"module": "global",
"name": "$"
},
"%": {
"description": "See interpolate",
"kind": "symbol",
"module": "global",
"name": "%"
},
"&&": {
"description": "See expect-all",
"kind": "symbol",
"module": "global",
"name": "&&"
},
"||": {
"description": "See expect-any",
"kind": "symbol",
"module": "global",
"name": "||"
},
"'": {
"description": "See quotesym",
"kind": "symbol",
"module": "global",
"name": "'"
},
"*": {
"description": "Multiplies num1 by num2.",
"kind": "symbol",
"module": "global",
"name": "*",
"signature": "num1 num2 ==> num3"
},
"+": {
"description": "Sums num1 and num2.",
"kind": "symbol",
"module": "global",
"name": "+",
"signature": "num1 num2 ==> num3"
},
"-": {
"description": "See dequote",
"kind": "symbol",
"module": "global",
"name": "-"
},
"-inf": {
"description": "Returns negative infinity.",
"kind": "symbol",
"module": "global",
"name": "-inf",
"signature": " ==> num"
},
"/": {
"description": "Divides num1 by num2.",
"kind": "symbol",
"module": "global",
"name": "/",
"signature": "num1 num2 ==> num3"
},
":": {
"description": "See define",
"kind": "symbol",
"module": "global",
"name": ":"
},
"::": {
"description": "See operator",
"kind": "symbol",
"module": "global",
"name": "::"
},
"<": {
"description": "Returns true if a1 is smaller than a2, false otherwise. \r\n \r\n Note\r\n \r\n Only comparisons among two numbers or two strings are supported.",
"kind": "symbol",
"module": "global",
"name": "<",
"signature": "a1 a2 ==> bool"
},
"<=": {
"description": "Returns true if a1 is smaller than or equal to a2, false otherwise.\r\n \r\n Note\r\n \r\n Only comparisons among two numbers or two strings are supported.",
"kind": "symbol",
"module": "global",
"name": "<=",
"signature": "a1 a2 ==> bool"
},
"=%": {
"description": "See apply-interpolate",
"kind": "symbol",
"module": "global",
"name": "=%"
},
"=-=": {
"description": "See expect-empty-stack",
"kind": "symbol",
"module": "global",
"name": "=-="
},
"==": {
"description": "Returns true if a1 is equal to a2, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "==",
"signature": "a1 a2 ==> bool"
},
"==>": {
"description": "Symbol used to separate input and output values in operator signatures.",
"kind": "symbol",
"module": "global",
"name": "==>",
"signature": " ==> "
},
"=>": {
"description": "See apply",
"kind": "symbol",
"module": "global",
"name": "=>"
},
">": {
"description": "Returns true if a1 is greater than a2, false otherwise. \r\n \r\n Note\r\n \r\n Only comparisons among two numbers or two strings are supported.",
"kind": "symbol",
"module": "global",
"name": ">",
"signature": "a1 a2 ==> bool"
},
"><": {
"description": "See infix-dequote",
"kind": "symbol",
"module": "global",
"name": "><"
},
">=": {
"description": "Returns true if a1 is greater than or equal to a2, false otherwise.\r\n \r\n Note\r\n \r\n Only comparisons among two numbers or two strings are supported.",
"kind": "symbol",
"module": "global",
"name": ">=",
"signature": "a1 a2 ==> bool"
},
">>": {
"description": "See prefix-dequote",
"kind": "symbol",
"module": "global",
"name": ">>"
},
"?": {
"description": "See help",
"kind": "symbol",
"module": "global",
"name": "?"
},
"@": {
"description": "See bind",
"kind": "symbol",
"module": "global",
"name": "@"
},
"^": {
"description": "See lambda",
"kind": "symbol",
"module": "global",
"name": "^"
},
"all?": {
"description": "Applies predicate quot2 to each element of quot1 and returns true if all elements of quot1 satisfy predicate quot2, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "all?",
"signature": "quot1 quot2 ==> bool"
},
"and": {
"description": "Returns true if bool1 is equal to bool2, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "and",
"signature": "bool1 bool2 ==> bool3"
},
"any?": {
"description": "Applies predicate quot2 to each element of quot1 and returns true if at least one element of quot1 satisfies predicate quot2, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "any?",
"signature": "quot1 quot2 ==> bool"
},
"append": {
"description": "Returns a new quotation containing the contents of quot with a appended.",
"kind": "symbol",
"module": "global",
"name": "append",
"signature": "a quot ==> (a* a)"
},
"apply": {
"description": "Returns a new quotation obtained by evaluating each element of quot in a separate stack.",
"kind": "symbol",
"module": "global",
"name": "apply",
"signature": "quot ==> (a*)"
},
"apply-interpolate": {
"description": "The same as pushing apply and then interpolate on the stack.",
"kind": "symbol",
"module": "global",
"name": "apply-interpolate",
"signature": "str quot ==> str"
},
"args": {
"description": "Returns a list of all arguments passed to the current program.",
"kind": "symbol",
"module": "global",
"name": "args",
"signature": " ==> quot"
},
"avg": {
"description": "Returns the average of the items of quot.",
"kind": "symbol",
"module": "global",
"name": "avg",
"signature": "quot ==> num"
},
"base": {
"description": "Sets the numeric base used to represent integers.",
"kind": "symbol",
"module": "global",
"name": "base",
"signature": "\"dec\"|\"hex\"|\"oct\"|\"bin\" ==> "
},
"base?": {
"description": "Returns the numeric base currently used to represent integers (default: ["dec"](class:kwd)).",
"kind": "symbol",
"module": "global",
"name": "base?",
"signature": " ==> \"dec\"|\"hex\"|\"oct\"|\"bin\""
},
"bind": {
"description": "Binds the specified value (auto-quoted) to an existing symbol 'sym.",
"kind": "symbol",
"module": "global",
"name": "bind",
"signature": "a 'sym ==> "
},
"bitand": {
"description": "Computes the bitwise *and* of integer int1 and int2.",
"kind": "symbol",
"module": "global",
"name": "bitand",
"signature": "int1 int2 ==> int3"
},
"bitclear": {
"description": "Sets the bytes specified via their position in int1 through quot to 0.",
"kind": "symbol",
"module": "global",
"name": "bitclear",
"signature": "int1 quot ==> int2"
},
"bitflip": {
"description": "Flips the bytes specified via their position in int1 through quot.",
"kind": "symbol",
"module": "global",
"name": "bitflip",
"signature": "int1 quot ==> int2"
},
"bitnot": {
"description": "Computes the bitwise *complement* of int1.",
"kind": "symbol",
"module": "global",
"name": "bitnot",
"signature": "int1 ==> int2"
},
"bitor": {
"description": "Computes the bitwise *or* of integers int1 and int2.",
"kind": "symbol",
"module": "global",
"name": "bitor",
"signature": "int1 int2 ==> int3"
},
"bitparity": {
"description": "Calculate the bit parity in int1. If the number of 1-bits is odd, the parity is 1, otherwise 0.",
"kind": "symbol",
"module": "global",
"name": "bitparity",
"signature": "int1 ==> int2"
},
"bitset": {
"description": "Sets the bytes specified via their position in int1 through quot to 0.",
"kind": "symbol",
"module": "global",
"name": "bitset",
"signature": "int1 quot ==> int2"
},
"bitxor": {
"description": "Computes the bitwise *xor* of integers int1 and int2.",
"kind": "symbol",
"module": "global",
"name": "bitxor",
"signature": "int1 int2 ==> int3"
},
"boolean": {
"description": "Converts a to a boolean value based on the following rules:\r\n \r\n * If a is a boolean value, no conversion is performed.\r\n * If a is null, it is converted to false .\r\n * If a is a numeric value, zero is converted to false , otherwise it is converted to true.\r\n * If a is a quotation or a dictionary, the empty quotation or dictionary is converted to false , otherwise it is converted to true.\r\n * If a is a string, the empty string, and \"false\" are converted to false , otherwise it is converted to true.",
"kind": "symbol",
"module": "global",
"name": "boolean",
"signature": "a ==> bool"
},
"boolean?": {
"description": "Returns true if a is a boolean, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "boolean?",
"signature": "a ==> bool"
},
"capitalize": {
"description": "Returns a copy of 'sym with the first character capitalized.",
"kind": "symbol",
"module": "global",
"name": "capitalize",
"signature": "'sym ==> str"
},
"case": {
"description": "This operator takes a quotation containing _n_ different conditional branches. \r\n \r\n Each branch must be a quotation containing two quotations, and it is processed as follows:\r\n \r\n * if quot1 evaluates to true, then the quot2 is executed.\r\n * if quot1 evaluates to false , then the following branch is processed (if any).\r\n \r\n \r\n Example\r\n \r\n The following program prints \"Smaller than 3\":\r\n \r\n (\r\n ((2 3) (\"Greater than 3\" put!))\r\n ((2 < 3) (\"Smaller than 3\" put!))\r\n ((true) (\"Exactly 3\" put!))\r\n ) case",
"kind": "symbol",
"module": "global",
"name": "case",
"signature": "((quot1 quot2)*) ==> a*"
},
"chr": {
"description": "Returns the single character str obtained by interpreting int as an ASCII code.",
"kind": "symbol",
"module": "global",
"name": "chr",
"signature": "int ==> str"
},
"compiled?": {
"description": "Returns true if the current program has been compiled.",
"kind": "symbol",
"module": "global",
"name": "compiled?",
"signature": " ==> bool"
},
"concat": {
"description": "Concatenates quot1 with quot2.",
"kind": "symbol",
"module": "global",
"name": "concat",
"signature": "quot1 quot2 ==> quot3"
},
"constructor": {
"description": "Symbol used to define a constructor when using the operator symbol.",
"kind": "symbol",
"module": "global",
"name": "constructor",
"signature": " ==> "
},
"crypto.aes": {
"description": "Encrypts or decrypts 'sym1 using the Advanced Encryption Standard (AES) in CTR mode, using 'sym2 as password.",
"kind": "symbol",
"module": "crypto",
"name": "aes",
"signature": "'sym1 'sym2 ==> str"
},
"crypto.decode": {
"description": "Decodes the Base64-encoded string 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "decode",
"signature": "'sym ==> str"
},
"crypto.encode": {
"description": "Base64-encodes 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "encode",
"signature": "'sym ==> str"
},
"crypto.md4": {
"description": "Returns the MD4 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "md4",
"signature": "'sym ==> str"
},
"crypto.md5": {
"description": "Returns the MD5 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "md5",
"signature": "'sym ==> str"
},
"crypto.sha1": {
"description": "Returns the SHA1 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "sha1",
"signature": "'sym ==> str"
},
"crypto.sha224": {
"description": "Returns the SHA224 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "sha224",
"signature": "'sym ==> str"
},
"crypto.sha256": {
"description": "Returns the SHA256 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "sha256",
"signature": "'sym ==> str"
},
"crypto.sha384": {
"description": "Returns the SHA384 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "sha384",
"signature": "'sym ==> str"
},
"crypto.sha512": {
"description": "Returns the SHA512 hash of 'sym.",
"kind": "symbol",
"module": "crypto",
"name": "sha512",
"signature": "'sym ==> str"
},
"decode-url": {
"description": "URL-decodes 'sym, deconding all URL-encoded characters.",
"kind": "symbol",
"module": "global",
"name": "decode-url",
"signature": "'sym ==> str"
},
"define": {
"description": "Defines a new symbol 'sym, containing the specified value.",
"kind": "symbol",
"module": "global",
"name": "define",
"signature": "a 'sym ==> "
},
"define-sigil": {
"description": "Defines a new sigil 'sym, containing the specified value (auto-quoted if not already a quotation).",
"kind": "symbol",
"module": "global",
"name": "define-sigil",
"signature": "a 'sym ==> "
},
"defined-sigil?": {
"description": "Returns true if the symbol 'sym is defined, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "defined-sigil?",
"signature": "'sym ==> bool"
},
"defined-symbol?": {
"description": "Returns true if the symbol 'sym is defined, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "defined-symbol?",
"signature": "'sym ==> bool"
},
"delete-sigil": {
"description": "Deletes the specified user-defined sigil 'sym.",
"kind": "symbol",
"module": "global",
"name": "delete-sigil",
"signature": "'sym ==> "
},
"delete-symbol": {
"description": "Deletes the specified symbol 'sym.",
"kind": "symbol",
"module": "global",
"name": "delete-symbol",
"signature": "'sym ==> "
},
"dequote": {
"description": "Pushes the contents of quotation quot on the stack.\r\n\r\n Each element is pushed on the stack one by one. If any error occurs, quot is restored on the stack.",
"kind": "symbol",
"module": "global",
"name": "dequote",
"signature": "quot ==> a*"
},
"dev": {
"description": "Toggles development mode.",
"kind": "symbol",
"module": "global",
"name": "dev",
"signature": " ==> "
},
"dev?": {
"description": "Returns true if the current program is being executed in development mode.",
"kind": "symbol",
"module": "global",
"name": "dev?",
"signature": " ==> bool"
},
"dict.del": {
"description": "Removes 'sym from dict1 and returns dict1.",
"kind": "symbol",
"module": "dict",
"name": "del",
"signature": "dict 'sym ==> dict"
},
"dict.dup": {
"description": "Returns a copy of dict1.",
"kind": "symbol",
"module": "dict",
"name": "dup",
"signature": "dict1 ==> dict2"
},
"dict.get": {
"description": "Returns the value of key 'sym from dictionary dict.",
"kind": "symbol",
"module": "dict",
"name": "get",
"signature": "dict 'sym ==> a"
},
"dict.get-raw": {
"description": "Returns the value of key 'sym from dictionary dict, wrapped in a dict:rawval.",
"kind": "symbol",
"module": "dict",
"name": "get-raw",
"signature": "dict 'sym ==> dict:rawval"
},
"dict.has?": {
"description": "Returns true if dictionary dict contains the key 'sym, false otherwise.\r\n \r\n \r\n Example\r\n \r\n The following program returns true:\r\n \r\n {true :a1 \"aaa\" :a2 false :a3} 'a2 dict.has?",
"kind": "symbol",
"module": "dict",
"name": "has?",
"signature": "dict 'sym ==> bool"
},
"dict.keys": {
"description": "Returns a quotation containing all the keys of dictionary dict.",
"kind": "symbol",
"module": "dict",
"name": "keys",
"signature": "dict ==> (str*)"
},
"dict.pairs": {
"description": "Returns a quotation containing a quotation for each value/key pair (value first, key second) of dictionary dict. \r\n \r\n \r\n Example\r\n\r\n A The following program returns ((1 \"a\") (2 \"b\")):\r\n {1 :a 2 :b} dict.pairs",
"kind": "symbol",
"module": "dict",
"name": "pairs",
"signature": "dict ==> (a*)"
},
"dict.pick": {
"description": "Returns a new dictionary dict2 containing the elements of dict1 whose keys are included in quot.\r\n \r\n \r\n Example\r\n \r\n The following program returns {4 :a 7 :d}:\r\n \r\n {5 :q 4 :a 6 :c 7 :d \"d\" :a} (\"a\" \"d\") dict.pick",
"kind": "symbol",
"module": "dict",
"name": "pick",
"signature": "dict1 quot ==> dict2"
},
"dict.set": {
"description": "Sets the value of the 'sym of dict1 to a, and returns the modified dictionary dict.",
"kind": "symbol",
"module": "dict",
"name": "set",
"signature": "dict a 'sym ==> dict"
},
"dict.set-sym": {
"description": "Sets the value of the 'sym of dict1 to 'sym (treating it as a symbol), and returns the modified dictionary dict.",
"kind": "symbol",
"module": "dict",
"name": "set-sym",
"signature": "dict 'sym 'sym ==> dict"
},
"dict.type": {
"description": "Returns a string set to the type of dict (empty if the dictionary has no type).",
"kind": "symbol",
"module": "dict",
"name": "type",
"signature": "dict ==> str"
},
"dict.values": {
"description": "Returns a quotation containing all the values of dictionary dict.",
"kind": "symbol",
"module": "dict",
"name": "values",
"signature": "dict ==> (a*)"
},
"dictionary?": {
"description": "Returns true if a is a dictionary, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "dictionary?",
"signature": "a ==> bool"
},
"difference": {
"description": "Calculates the difference quot3 of quot1 and quot2.\r\n\r\n \r\n Example\r\n \r\n The following program leaves (2) on the stack:\r\n \r\n (1 2 \"test\") (\"test\" \"a\" true 1) difference",
"kind": "symbol",
"module": "global",
"name": "difference",
"signature": "quot1 quot2 ==> quot3"
},
"div": {
"description": "Divides int1 by int2 (integer division).",
"kind": "symbol",
"module": "global",
"name": "div",
"signature": "int1 int2 ==> int3"
},
"drop": {
"description": "Returns a quotation quot2 containing the remaining elements after the first _n_ values of the input quotation quot1, or an empty quotation if int is greater than the length of quot1.",
"kind": "symbol",
"module": "global",
"name": "drop",
"signature": "quot1 int ==> quot2"
},
"encode-url": {
"description": "URL-encodes 'sym, encoding all special characters into URL-encoded characters.",
"kind": "symbol",
"module": "global",
"name": "encode-url",
"signature": "'sym ==> str"
},
"escape": {
"description": "Returns a copy of 'sym with quotes and backslashes escaped with a backslash.",
"kind": "symbol",
"module": "global",
"name": "escape",
"signature": "'sym ==> str"
},
"eval": {
"description": "Parses and interprets str.",
"kind": "symbol",
"module": "global",
"name": "eval",
"signature": "str ==> a*"
},
"even?": {
"description": "Returns true if int is even, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "even?",
"signature": "int ==> bool"
},
"exit": {
"description": "Exits the program or shell with int as return code.",
"kind": "symbol",
"module": "global",
"name": "exit",
"signature": "int ==> "
},
"expect": {
"description": "If the -d (--dev) flag is specified when running the program, validates the first _n_ elements of the stack against the type descriptions specified in quot1 (_n_ is quot1's length) and if all the elements are valid returns them wrapped in quot2 (in reverse order). If the -d (--dev) flag is not specified when running the program, no validation is performed and all elements are just returned in a quotation in reverse order. \r\n\r\n \r\n Tips\r\n \r\n * You can specify a typed dictionary by prepending the type name with dict:. Example: dict:socket\r\n * You can specify two or more matching types by separating combined together in a logical type expression, e.g.: string|quot\r\n\r\n \r\n Example\r\n \r\n Assuming that the following elements are on the stack (from top to bottom): \r\n \r\n 1 \"test\" 3.4\r\n \r\n the following program evaluates to true:\r\n \r\n (int string num) expect (3.4 \"test\" 1) ==",
"kind": "symbol",
"module": "global",
"name": "expect",
"signature": "quot1 ==> quot2"
},
"expect-all": {
"description": "Assuming that quot is a quotation of quotations each evaluating to a boolean value, it pushes true on the stack if they all evaluate to true, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "expect-all",
"signature": "quot ==> bool"
},
"expect-any": {
"description": "Assuming that quot is a quotation of quotations each evaluating to a boolean value, it pushes true on the stack if any evaluates to true, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "expect-any",
"signature": "quot ==> bool"
},
"expect-empty-stack": {
"description": "Raises an error if the stack is not empty.",
"kind": "symbol",
"module": "global",
"name": "expect-empty-stack",
"signature": " ==> "
},
"filter": {
"description": "Returns a new quotation quot3 containing all elements of quot1 that satisfy predicate quot2.\r\n \r\n \r\n Example\r\n \r\n The following program leaves (2 6 8 12) on the stack:\r\n \r\n (1 37 34 2 6 8 12 21) \r\n (stackdup 20 < stack.swap even? and) filter",
"kind": "symbol",
"module": "global",
"name": "filter",
"signature": "quot1 quot2 ==> quot3"
},
"find": {
"description": "Returns the index of the first element within quot1 that satisfies predicate quot2, or -1 if no element satisfies it.\r\n \r\n \r\n Example\r\n \r\n The following program leaves 3 on the stack:\r\n \r\n (1 2 4 8 16) \r\n (5 ) find",
"kind": "symbol",
"module": "global",
"name": "find",
"signature": "quot1 quot2 ==> int"
},
"first": {
"description": "Returns the first element of quot.",
"kind": "symbol",
"module": "global",
"name": "first",
"signature": "quot ==> a"
},
"flatten": {
"description": "Flattens all quotations within quot1 and returns the resulting sequence quot2.\r\n \r\n \r\n Example\r\n \r\n The following program leaves (1 2 3 4 5 6 7 8) on the stack:\r\n \r\n (1 (2 3 4) 5 (6 7) 8) \r\n flatten",
"kind": "symbol",
"module": "global",
"name": "flatten",
"signature": "quot1 ==> quot2"
},
"float": {
"description": "Converts a to a float value based on the following rules:\r\n \r\n * If a is true, it is converted to 1.0.\r\n * If a is false , it is converted to 0.0.\r\n * If a is null, it is converted to 0.0.\r\n * If a is a integer, it is converted to float value.\r\n * If a is a float, no conversion is performed.\r\n * If a is a string, it is parsed as a float value.",
"kind": "symbol",
"module": "global",
"name": "float",
"signature": "a ==> flt"
},
"float?": {
"description": "Returns true if a is a float, false otherwise.",
"kind": "symbol",
"module": "global",
"name": "float?",
"signature": "a ==> bool"
},
"foreach": {
"description": "Applies the quotation quot2 to each element of quot1.",
"kind": "symbol",
"module": "global",
"name": "foreach",
"signature": "quot1 quot2 ==> a*"
},
"format-error": {
"description": "Formats the error dict:error as a string. \r\n \r\n Example\r\n \r\n The following code: \r\n \r\n (\r\n (\r\n {\"MyError\" :error \"This is a test error\" :message} raise\r\n ) \r\n (format-error)\r\n ) try\r\n \r\n produces: \"This is a test error\"",
"kind": "symbol",
"module": "global",
"name": "format-error",
"signature": "dict:error ==> str"
},
"from-bin": {
"description": "Parses 'sym as a binary number.",
"kind": "symbol",
"module": "global",
"name": "from-bin",
"signature": "'sym ==> int"
},
"from-dec": {
"description": "Parses 'sym as a decimal number.",
"kind": "symbol",
"module": "global",
"name": "from-dec",
"signature": "'sym ==> int"
},
"from-hex": {
"description": "Parses 'sym as a hexadecimal number.",
"kind": "symbol",
"module": "global",
"name": "from-hex",
"signature": "'sym ==> int"
},
"from-json": {
"description": "Converts a JSON string into min data.",
"kind": "symbol",
"module": "global",
"name": "from-json",
"signature": "str ==> a"
},
"from-oct": {
"description": "Parses 'sym as a octal number.",
"kind": "symbol",
"module": "global",
"name": "from-oct",
"signature": "'sym ==> int"
},
"from-semver": {
"description": "Given a basic [SemVer](https://semver.org)-compliant string (with no additional labels) str, \r\nit pushes a dictionary dict on the stack containing a **major**, **minor**, and **patch** key/value pairs.",
"kind": "symbol",
"module": "global",
"name": "from-semver",
"signature": "str ==> dict"
},
"from-yaml": {
"description": "Converts a YAML string into min data.\r\n \r\n Note\r\n \r\n At present, only YAML objects containing string values are supported.",
"kind": "symbol",
"module": "global",
"name": "from-yaml",
"signature": "str ==> a"
},
"fs.absolute-path": {
"description": "Returns the absolute path to 'sym.",
"kind": "symbol",
"module": "fs",
"name": "absolute-path",
"signature": "'sym ==> str"
},
"fs.absolute-path?": {
"description": "Returns true if 'sym is an absolute path.",
"kind": "symbol",
"module": "fs",
"name": "absolute-path?",
"signature": "'sym ==> bool"
},
"fs.append": {
"description": "Appends str1 to the end of file str2.",
"kind": "symbol",
"module": "fs",
"name": "append",
"signature": "str1 str2 ==> "
},
"fs.atime": {
"description": "Returns a timestamp corresponding to the time that file/directory 'sym was last accessed.",
"kind": "symbol",
"module": "fs",
"name": "atime",
"signature": "'sym ==> flt"
},
"fs.ctime": {
"description": "Returns a timestamp corresponding to the time that file/directory 'sym was created.",
"kind": "symbol",
"module": "fs",
"name": "ctime",
"signature": "'sym ==> flt"
},
"fs.dir?": {
"description": "Returns true if the specified path 'sym exists and is a directory.",
"kind": "symbol",
"module": "fs",
"name": "dir?",
"signature": "'sym ==> bool"
},
"fs.dirname": {
"description": "Returns the path of the directory containing path 'sym.",
"kind": "symbol",
"module": "fs",
"name": "dirname",
"signature": "'sym ==> str"
},
"fs.exists?": {
"description": "Returns true if the specified file or directory 'sym exists.",
"kind": "symbol",
"module": "fs",
"name": "exists?",
"signature": "'sym ==> bool"
},
"fs.expand-filename": {
"description": "Returns the absolute path to the file name 'sym.",
"kind": "symbol",
"module": "fs",
"name": "expand-filename",
"signature": "'sym ==> str"
},
"fs.expand-symlink": {
"description": "Returns the absolute path to the symlink 'sym (an error is raised if 'sym is not a symlink).",
"kind": "symbol",
"module": "fs",
"name": "expand-symlink",
"signature": "'sym ==> str"
},
"fs.file?": {
"description": "Returns true if the specified path 'sym exists and is a file.",
"kind": "symbol",
"module": "fs",
"name": "file?",
"signature": "'sym ==> bool"
},
"fs.filename": {
"description": "Returns the file name of path 'sym.",
"kind": "symbol",
"module": "fs",
"name": "filename",
"signature": "'sym ==> str"
},
"fs.hidden?": {
"description": "Returns true if file/directory 'sym is hidden, false otherwise.",
"kind": "symbol",
"module": "fs",
"name": "hidden?",
"signature": "'sym ==> bool"
},
"fs.join-path": {
"description": "Joins the strings contained in quot with /.",
"kind": "symbol",
"module": "fs",
"name": "join-path",
"signature": "quot ==> str"
},
"fs.mtime": {
"description": "Returns a timestamp corresponding to the time that file/directory 'sym was last modified.",
"kind": "symbol",
"module": "fs",
"name": "mtime",
"signature": "'sym ==> flt"
},
"fs.normalized-path": {
"description": "Returns the normalized path to 'sym.",
"kind": "symbol",
"module": "fs",
"name": "normalized-path",
"signature": "'sym ==> str"
},
"fs.permissions": {
"description": "Returns the Unix permissions (expressed as a three-digit number) of file/directory 'sym.",
"kind": "symbol",
"module": "fs",
"name": "permissions",
"signature": "'sym ==> int"
},
"fs.read": {
"description": "Reads the file str and puts its contents on the top of the stack as a string.",
"kind": "symbol",
"module": "fs",
"name": "read",
"signature": "str ==> str"
},
"fs.relative-path": {
"description": "Returns the path of 'sym1 relative to 'sym2.",
"kind": "symbol",
"module": "fs",
"name": "relative-path",
"signature": "'sym1 'sym2 ==> str"
},
"fs.size": {
"description": "Returns the size in bytes of file/directory 'sym.",
"kind": "symbol",
"module": "fs",
"name": "size",
"signature": "'sym ==> int"
},
"fs.stats": {
"description": "Returns a dictionary dict containing information on file/directory 'sym.\r\n \r\n Example\r\n \r\n Assuming that min is a file, the following:\r\n \r\n \"min\" fs.stats\r\n \r\n produces:\r\n \r\n {\r\n \"min\" :name\r\n 16777220 :device\r\n 50112479 :file\r\n \"file\" :type\r\n 617068 :size\r\n 755 :permissions\r\n 1 :nlinks\r\n 1496583112.0 :ctime\r\n 1496584370.0 :atime\r\n 1496583112.0 :mtime\r\n }",
"kind": "symbol",
"module": "fs",
"name": "stats",
"signature": "'sym ==> dict"
},
"fs.symlink?": {
"description": "Returns true if the specified path 'sym exists and is a symbolic link.",
"kind": "symbol",
"module": "fs",
"name": "symlink?",
"signature": "'sym ==> bool"
},
"fs.type": {
"description": "Returns the type of file/directory 'sym (\"file\" or \"dir\").",
"kind": "symbol",
"module": "fs",
"name": "type",
"signature": "'sym ==> str"
},
"fs.unix-path": {
"description": "Converts all backslashes in 'sym to slashes.",
"kind": "symbol",
"module": "fs",
"name": "unix-path",
"signature": "'sym ==> str"
},
"fs.windows-path": {
"description": "Converts all slashes in 'sym to backslashes.",
"kind": "symbol",
"module": "fs",