chunk_id
large_stringlengths
7
11
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
5
chunk_text
large_stringlengths
148
2.58k
sparse_text
large_stringlengths
96
3.09k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
249
sparse_values
listlengths
9
249
export_source
large_stringclasses
1 value
8874615_c0
8874615
lisp
0
Title: How to replace a running function in Common Lisp? Problem title: How to replace a running function in Common Lisp? Tags: common-lisp, sbcl, lisp Problem: How to replace a running function in Common Lisp? Suppose we use SBCL's #'save-lisp-and-die to create an server applicatioon App1, which works very well. Now w...
How to replace a running function in Common Lisp? How to replace a running function in Common Lisp? common-lisp sbcl lisp How Common Lisp How to replace a running function in Common Lisp? Suppose we use SBCL's #'save-lisp-and-die to create an server applicatioon App1, which works very well. Now we want to replace a fun...
[ 0.0020904541015625, 0.0257568359375, 0.0047607421875, 0.0003223419189453125, -0.0137939453125, -0.007232666015625, -0.010986328125, 0.0201416015625, 0.00311279296875, -0.03857421875, 0.01239013671875, 0.0177001953125, -0.0024261474609375, -0.00909423828125, 0.046630859375, 0.0075378417...
[ 11249, 47, 91995, 51042, 32354, 23, 151301, 1261, 7008, 10, 39210, 4086, 254, 275, 34937, 400, 4527, 90944, 37486, 108999, 2940, 7814, 28282, 10723, 41816, 5659, 418, 43240, 4552, 5299, 3444, 16498, 238, 678, 3525, 11389, 15490, 7279, 10366...
[ 0.0927734375, 0.06976318359375, 0.1953125, 0.225341796875, 0.255615234375, 0.07763671875, 0.1920166015625, 0.172119140625, 0.2174072265625, 0.0166473388671875, 0.1087646484375, 0.1102294921875, 0.176025390625, 0.033599853515625, 0.1162109375, 0.09625244140625, 0.042266845703125, 0....
embed
7369307_c0
7369307
lisp
0
Title: How can I compare strings the user has entered in? Problem title: How can I compare strings the user has entered in? Tags: lisp, common-lisp Problem: How can I compare strings the user has entered in? I want to compare user input from READ with a string, like so: CL-USER 36 > (equalp (read) "same") same NIL Howe...
How can I compare strings the user has entered in? How can I compare strings the user has entered in? lisp common-lisp How READ CL-USER NIL EQUALP How can I compare strings the user has entered in? I want to compare user input from READ with a string, like so: However, as you can see, even though I type in "same," EQUA...
[ -0.006195068359375, 0.0028533935546875, -0.0017852783203125, 0.01416015625, -0.010009765625, 0.01470947265625, 0.0179443359375, -0.000762939453125, 0.00188446044921875, -0.013427734375, 0.006378173828125, -0.00030517578125, 0.004058837890625, 0.002410888671875, -0.017822265625, -0.0114...
[ 11249, 831, 87, 69101, 79315, 7, 38937, 1556, 30957, 297, 23, 400, 7008, 39210, 4086, 254, 188300, 46323, 1062, 50184, 541, 16444, 120572, 37352, 3444, 107730, 678, 1957, 10644, 40175, 17378, 136, 12921, 6626 ]
[ 0.0831298828125, 0.07537841796875, 0.044036865234375, 0.2242431640625, 0.2357177734375, 0.071044921875, 0.1348876953125, 0.0377197265625, 0.1309814453125, 0.027008056640625, 0.103759765625, 0.0711669921875, 0.16015625, 0.11334228515625, 0.060699462890625, 0.1517333984375, 0.214721679...
embed
34550003_c0
34550003
lisp
0
Title: What do the asterisks in Lisp documentation templates mean? Problem title: What do the asterisks in Lisp documentation templates mean? Tags: ebnf, common-lisp, lisp Problem: What do the asterisks in Lisp documentation templates mean? For example: * (describe 'do) ... Documentation: DO ({(Var [Init] [Step])}*) (T...
What do the asterisks in Lisp documentation templates mean? What do the asterisks in Lisp documentation templates mean? ebnf common-lisp lisp What Lisp Documentation Init Step Test Exit-Form Declaration Form What do the asterisks in Lisp documentation templates mean? For example: ... What do the stars in this documenta...
[ 0.02587890625, -0.004241943359375, -0.017333984375, -0.01007080078125, -0.0189208984375, 0.033935546875, -0.0020751953125, -0.006072998046875, 0.00689697265625, 0.01202392578125, 0.01556396484375, -0.0201416015625, -0.0267333984375, 0.00124359130859375, 0.00115203857421875, 0.002853393...
[ 10, 1515, 6581, 7, 1261, 7008, 209806, 110934, 29459, 4865, 61320, 420, 39210, 4086, 254, 400, 43101, 217, 50478, 8647, 5443, 102973, 98501, 15236, 23, 6057, 903 ]
[ 0.055450439453125, 0.1456298828125, 0.2081298828125, 0.10565185546875, 0.14794921875, 0.219970703125, 0.2135009765625, 0.238525390625, 0.09661865234375, 0.0025463104248046875, 0.0085296630859375, 0.06298828125, 0.054779052734375, 0.09124755859375, 0.13427734375, 0.08819580078125, 0.1...
embed
2036244_c0
2036244
lisp
0
Title: What's so great about Lisp? Problem title: What's so great about Lisp? Tags: lisp Problem: What's so great about Lisp? I don't know enough Lisp to say whether it's good or bad. It seems like everyone who has used Lisp loves it, yet the most popular languages these days are descended from C. So what is ...
What's so great about Lisp? What's so great about Lisp? lisp What Lisp What's so great about Lisp? I don't know enough Lisp to say whether it's good or bad. It seems like everyone who has used Lisp loves it, yet the most popular languages these days are descended from C. So what is it about Lisp that is so gr...
[ 0.00677490234375, 0.0185546875, 0.00830078125, -0.000453948974609375, -0.004302978515625, 0.02099609375, 0.005859375, 0.006072998046875, 0.015625, -0.0118408203125, 0.0022735595703125, -0.015869140625, -0.007659912109375, 0.0125732421875, -0.0084228515625, 0.003814697265625, -0.01019...
[ 4865, 3768, 7, 221, 6782, 1672, 1261, 7008, 32, 400, 3714, 20174, 5154, 4127, 707, 6494, 37202, 30309, 1556, 11814, 5161, 442, 14373, 2684, 5700, 46876, 6097, 13312, 60887, 1295, 313, 2367, 450, 83, 15400, 56112, 18, 1286, 23937, 111719, ...
[ 0.101806640625, 0.1007080078125, 0.0216064453125, 0.100830078125, 0.1578369140625, 0.101806640625, 0.2298583984375, 0.278564453125, 0.00726318359375, 0.1695556640625, 0.06634521484375, 0.006103515625, 0.01336669921875, 0.14208984375, 0.00604248046875, 0.1551513671875, 0.0279388427734...
embed
20930251_c0
20930251
lisp
0
Title: Why the function name that starts with "do-" gets highlighted in emacs? Problem title: Why the function name that starts with "do-" gets highlighted in emacs? Tags: syntax-highlighting, lisp, emacs23 Problem: Why the function name that starts with "do-" gets highlighted in emacs? I am using z...
Why the function name that starts with "do-" gets highlighted in emacs? Why the function name that starts with "do-" gets highlighted in emacs? syntax-highlighting lisp emacs23 Why emacs23 Why the function name that starts with "do-" gets highlighted in emacs? I am using zenburn.el color-scheme in e...
[ 0.005401611328125, 0.000324249267578125, -0.0284423828125, 0.00439453125, -0.0380859375, 0.01129150390625, -0.008056640625, 0.0189208984375, 0.005859375, 0.030517578125, 0.00823974609375, 0.016845703125, -0.02734375, -0.02685546875, -0.00994873046875, -0.02490234375, -0.027587890625,...
[ 44084, 32354, 9351, 4034, 246, 9, 41502, 62163, 127308, 297, 352, 2263, 7, 23, 6002, 86531, 84396, 177476, 400, 7008, 3742, 678, 17368, 4752, 105236, 583, 10576, 7560, 282, 9559, 26366, 11249, 30022, 6528 ]
[ 0.1126708984375, 0.1904296875, 0.1251220703125, 0.0936279296875, 0.176513671875, 0.1380615234375, 0.05462646484375, 0.031768798828125, 0.1962890625, 0.07763671875, 0.09039306640625, 0.1231689453125, 0.1075439453125, 0.0177764892578125, 0.021728515625, 0.125, 0.09033203125, 0.121459...
embed
4029464_c0
4029464
lisp
0
Title: What is the simplist way to ensure that 2 lists in lisp are the same length? Problem title: What is the simplist way to ensure that 2 lists in lisp are the same length? Tags: lisp Problem: What is the simplist way to ensure that 2 lists in lisp are the same length? Given 2 lists, I want to ensure that they are t...
What is the simplist way to ensure that 2 lists in lisp are the same length? What is the simplist way to ensure that 2 lists in lisp are the same length? lisp What list1 list2 What is the simplist way to ensure that 2 lists in lisp are the same length? Given 2 lists, I want to ensure that they are the same size, I'm ha...
[ 0.0020599365234375, 0.0291748046875, 0.000946044921875, 0.006591796875, -0.01025390625, 0.00634765625, -0.0023040771484375, 0.01263427734375, 0.0059814453125, 0.009033203125, 0.01318359375, -0.0029296875, 0.00201416015625, -0.007080078125, -0.009033203125, 0.000133514404296875, 0.008...
[ 112892, 271, 3917, 63284, 116, 5303, 7, 400, 7008, 621, 5701, 140909, 23, 418, 304, 13267, 143033, 1733, 18151, 77336 ]
[ 0.1722412109375, 0.1068115234375, 0.039764404296875, 0.1927490234375, 0.1666259765625, 0.2568359375, 0.1156005859375, 0.1510009765625, 0.2222900390625, 0.07958984375, 0.17529296875, 0.174560546875, 0.0650634765625, 0.005126953125, 0.12164306640625, 0.09722900390625, 0.034271240234375...
embed
31659489_c0
31659489
lisp
0
Title: CL-WHO HTML generator to file Problem title: CL-WHO HTML generator to file Tags: generator, cl-who, html, lisp Problem: CL-WHO HTML generator to file I'm trying to generate an html file to a file. I'm using with-html-output-to-string, but I can't seem to figure out how to get the functionality to work. I'm not s...
CL-WHO HTML generator to file CL-WHO HTML generator to file generator cl-who html lisp CL-WHO HTML CL-WHO HTML generator to file I'm trying to generate an html file to a file. I'm using with-html-output-to-string, but I can't seem to figure out how to get the functionality to work. I'm not sure if I should use a file s...
[ 0.00909423828125, 0.01348876953125, 0.0018310546875, -0.0235595703125, -0.0081787109375, 0.0002689361572265625, -0.00139617919921875, -0.01043701171875, 0.0078125, -0.016845703125, -0.0206298828125, 0.00543212890625, -0.0050048828125, -0.0012054443359375, 0.026611328125, -0.03002929687...
[ 46323, 9, 207612, 19097, 145823, 47, 11435, 33139, 434, 497, 7693, 400, 7008, 31577, 139392, 17368, 678, 6056, 7077, 188, 91693, 48903, 26366, 123309, 4488, 75973, 59636, 29822, 6002, 86531, 163, 18151, 22027, 18, 11675 ]
[ 0.12841796875, 0.008514404296875, 0.18359375, 0.273681640625, 0.245849609375, 0.1065673828125, 0.2208251953125, 0.1304931640625, 0.009674072265625, 0.128173828125, 0.246826171875, 0.036773681640625, 0.1441650390625, 0.0565185546875, 0.1678466796875, 0.027923583984375, 0.13232421875, ...
embed
43845971_c0
43845971
lisp
0
Title: common lisp - replace same values in list Problem title: common lisp - replace same values in list Tags: lisp Problem: common lisp - replace same values in list I am quite new in lisp programing, so maybe this a stupid question, but anyway I have a list of numbers like ( 6000 6100 6200 6200 7200 etc.) and I want...
common lisp - replace same values in list common lisp - replace same values in list lisp common lisp - replace same values in list I am quite new in lisp programing, so maybe this a stupid question, but anyway I have a list of numbers like ( 6000 6100 6200 6200 7200 etc.) and I want to find and replace the second same ...
[ -0.010498046875, 0.0206298828125, -0.003265380859375, -0.001190185546875, 0.00445556640625, 0.005767822265625, -0.0147705078125, -0.001922607421875, 0.0279541015625, -0.017333984375, 0.003387451171875, 0.02197265625, 0.00096893310546875, -0.0220947265625, -0.007415771484375, 0.01940917...
[ 39210, 400, 7008, 20, 91995, 5701, 142424, 23, 5303, 32233, 3525, 1528, 110833, 109954, 101935, 1884, 43877, 305, 3559, 5955, 361, 3444, 7413, 17932, 34292, 15190, 28797, 47, 16750, 5608, 186, 78263, 10700, 4358 ]
[ 0.190185546875, 0.1558837890625, 0.2022705078125, 0.03155517578125, 0.2073974609375, 0.2110595703125, 0.2353515625, 0.1075439453125, 0.21533203125, 0.009979248046875, 0.01043701171875, 0.0931396484375, 0.068603515625, 0.01898193359375, 0.138916015625, 0.02191162109375, 0.1826171875, ...
embed
51317078_c0
51317078
lisp
0
Title: The best way to change array values at lisp Problem title: The best way to change array values at lisp Tags: common-lisp, lisp Problem: The best way to change array values at lisp I have a bi-dimensional array and I want to change the value at the i , j entry. Naturally, I would go with (setf (aref foo i j) 3) ....
The best way to change array values at lisp The best way to change array values at lisp common-lisp lisp The best way to change array values at lisp I have a bi-dimensional array and I want to change the value at the i , j entry. Naturally, I would go with (setf (aref foo i j) 3) . But my spider sense tells me that I u...
[ -0.01055908203125, 0.00518798828125, -0.00518798828125, -0.003814697265625, -0.001312255859375, -0.0267333984375, -0.016357421875, 0.0146484375, 0.01373291015625, -0.003814697265625, 0.00823974609375, 0.0294189453125, -0.01177978515625, -0.0068359375, 0.01904296875, 0.00177764892578125...
[ 2965, 3917, 47, 15549, 10298, 53, 142424, 99, 400, 7008, 39210, 4086, 254, 333, 157955, 3444, 34292, 17, 1647, 42805, 24955, 2806, 738, 678, 3509, 420, 29087, 5775, 31, 8439, 16195, 820, 10422, 14192, 4527, 31236, 1755, 98323, 136, 9433, ...
[ 0.1353759765625, 0.10699462890625, 0.0726318359375, 0.23681640625, 0.21826171875, 0.1815185546875, 0.2376708984375, 0.1151123046875, 0.1402587890625, 0.218505859375, 0.0992431640625, 0.10076904296875, 0.1534423828125, 0.10760498046875, 0.1182861328125, 0.0753173828125, 0.18408203125,...
embed
6486597_c0
6486597
lisp
0
Title: Are there any non-Lisp dialects that allow for syntactic abstraction? Problem title: Are there any non-Lisp dialects that allow for syntactic abstraction? Tags: abstract-syntax-tree, functional-programming, language-features, lisp Problem: Are there any non-Lisp dialects that allow for syntactic abstraction? As ...
Are there any non-Lisp dialects that allow for syntactic abstraction? Are there any non-Lisp dialects that allow for syntactic abstraction? abstract-syntax-tree functional-programming language-features lisp Are there any non-Lisp dialects that allow for syntactic abstraction? As Rich Hickey says, the secret sauce of Li...
[ 0.006622314453125, 0.0091552734375, 0.01397705078125, -0.00421142578125, -0.014404296875, 0.005279541015625, -0.0025634765625, 0.020263671875, -0.00665283203125, -0.015625, 0.005157470703125, -0.02978515625, -0.0167236328125, -0.0155029296875, 0.005828857421875, 0.00390625, -0.010192...
[ 351, 9506, 7008, 220734, 63769, 6002, 102, 49086, 164789, 1830, 12654, 86531, 62600, 123309, 28966, 46876, 88981, 400, 7, 100, 52774, 19770, 23410, 139910, 1261, 81273, 105237, 45258, 233973, 19010, 101344, 111789, 69307 ]
[ 0.1312255859375, 0.14013671875, 0.172119140625, 0.2181396484375, 0.141357421875, 0.1036376953125, 0.160400390625, 0.09832763671875, 0.23046875, 0.082763671875, 0.04571533203125, 0.10791015625, 0.1397705078125, 0.07861328125, 0.06744384765625, 0.1512451171875, 0.01551055908203125, 0...
embed
15710108_c0
15710108
lisp
0
Title: Merging symbols in common lisp Problem title: Merging symbols in common lisp Tags: symbols, common-lisp, lisp, merge Problem: Merging symbols in common lisp I want to insert a char into a list. However, I want to merge this char with the last symbol in the list. With appends and cons the result is always two dif...
Merging symbols in common lisp Merging symbols in common lisp symbols common-lisp lisp merge Merging XXXX Merging symbols in common lisp I want to insert a char into a list. However, I want to merge this char with the last symbol in the list. With appends and cons the result is always two different symbols. Well, I wan...
[ -0.0081787109375, 0.0174560546875, 0.0181884765625, 0.00032806396484375, -0.01239013671875, 0.0162353515625, -0.0262451171875, 0.01214599609375, 0.000255584716796875, -0.0135498046875, -0.000461578369140625, -0.0101318359375, -0.00836181640625, 0.001800537109375, -0.01123046875, -0.007...
[ 6035, 9966, 26582, 7, 23, 39210, 400, 7008, 4086, 254, 42564, 205378, 3444, 183540, 21441, 3934, 5303, 678, 4568, 17106, 114689, 6468, 136, 158, 16750, 11343, 6626, 12921, 1632, 71, 89536, 2806, 1884, 765, 64457 ]
[ 0.1927490234375, 0.103759765625, 0.2296142578125, 0.00009000301361083984, 0.09442138671875, 0.1929931640625, 0.145751953125, 0.1943359375, 0.08984375, 0.1240234375, 0.235107421875, 0.2142333984375, 0.07794189453125, 0.1553955078125, 0.1617431640625, 0.0731201171875, 0.16748046875, ...
embed
63721294_c0
63721294
lisp
0
Title: What are the operations to allocate memory in Common Lisp? (in the minimal version of the language implementation) Problem title: What are the operations to allocate memory in Common Lisp? (in the minimal version of the language implementation) Tags: lisp, common-lisp Problem: What are the operations to allocate...
What are the operations to allocate memory in Common Lisp? (in the minimal version of the language implementation) What are the operations to allocate memory in Common Lisp? (in the minimal version of the language implementation) lisp common-lisp What Common Lisp What are the operations to allocate memory in Common Lis...
[ 0.01129150390625, 0.01556396484375, 0.01287841796875, 0.02490234375, -0.0025482177734375, 0.009033203125, 0.0014801025390625, 0.0245361328125, -0.003997802734375, -0.02001953125, 0.02685546875, -0.00653076171875, 0.01361083984375, 0.01458740234375, 0.00537109375, 0.0076904296875, 0.0...
[ 4865, 41018, 7, 24286, 33478, 98323, 151301, 1261, 7008, 20187, 11389, 46876, 208124, 23, 400, 39210, 4086, 254, 70, 17569, 4734, 158, 27060 ]
[ 0.0117950439453125, 0.213623046875, 0.10467529296875, 0.1907958984375, 0.1314697265625, 0.240234375, 0.1943359375, 0.1676025390625, 0.2047119140625, 0.1376953125, 0.07733154296875, 0.09259033203125, 0.084716796875, 0.0238494873046875, 0.1275634765625, 0.150146484375, 0.135498046875, ...
embed
7278843_c0
7278843
lisp
0
Title: Define n functions at once in Lisp Problem title: Define n functions at once in Lisp Tags: common-lisp, lisp Problem: Define n functions at once in Lisp Suppose I want to do the following: (loop for i from 1 to n do (defun ith(lst) (nth i lst))) Apparently what I really want to do is the following: (defun 1th(ls...
Define n functions at once in Lisp Define n functions at once in Lisp common-lisp lisp 1 Define Lisp Define n functions at once in Lisp Suppose I want to do the following: Apparently what I really want to do is the following: How can I make that?
[ -0.0040283203125, 0.0035247802734375, -0.01458740234375, -0.0023040771484375, 0.003875732421875, 0.00225830078125, 0.00616455078125, -0.00799560546875, 0.00482177734375, -0.034912109375, -0.004852294921875, -0.00946044921875, -0.006988525390625, 0.0037689208984375, 0.004150390625, 0.00...
[ 262, 64552, 653, 32354, 7, 99, 24145, 23, 1261, 7008, 39210, 4086, 254, 400, 106, 121691, 3444, 54, 25632, 99547, 2367, 6183, 831, 3249, 450 ]
[ 0.035186767578125, 0.199462890625, 0.173828125, 0.255126953125, 0.103271484375, 0.055938720703125, 0.1575927734375, 0.0760498046875, 0.1695556640625, 0.2335205078125, 0.10064697265625, 0.0859375, 0.1363525390625, 0.079833984375, 0.025726318359375, 0.006717681884765625, 0.091247558593...
embed
71011967_c0
71011967
lisp
0
Title: Lisp: How to set element in list of lists? Problem title: Lisp: How to set element in list of lists? Tags: clisp, lisp Problem: Lisp: How to set element in list of lists? I am familiar with how to set elements in a 2D array, which can be done using the following statement. (setf (aref array2D 0 0) 3) However, I ...
Lisp: How to set element in list of lists? Lisp: How to set element in list of lists? clisp lisp Lisp How array2D Lisp: How to set element in list of lists? I am familiar with how to set elements in a 2D array, which can be done using the following statement. However, I am not familiar how to set elements in a list of ...
[ -0.00433349609375, 0.0240478515625, 0.001678466796875, -0.0003509521484375, 0.0001468658447265625, 0.01385498046875, -0.000797271728515625, 0.003662109375, 0.01324462890625, 0.0211181640625, 0.0115966796875, 0.005218505859375, 0.0087890625, -0.0140380859375, -0.0107421875, -0.005462646...
[ 1261, 7008, 11249, 47, 5423, 12830, 23, 5303, 111, 7, 95701, 400, 10298, 53, 304, 397, 16031, 3642, 80854, 116, 25632, 63805, 107730, 27750, 1737, 798, 4527, 621, 420, 43240, 4778 ]
[ 0.1436767578125, 0.21533203125, 0.0811767578125, 0.03997802734375, 0.1920166015625, 0.2113037109375, 0.1119384765625, 0.210693359375, 0.1041259765625, 0.0919189453125, 0.04864501953125, 0.09521484375, 0.1295166015625, 0.0753173828125, 0.06365966796875, 0.098388671875, 0.0567626953125...
embed
20020152_c0
20020152
lisp
0
Title: Applying sqrt function to multiple lists in clisp Problem title: Applying sqrt function to multiple lists in clisp Tags: clisp, common-lisp, lisp Problem: Applying sqrt function to multiple lists in clisp Newbie trying to learn Lisp. I want to apply sqrt (or any function) to several lists in Clisp. For eg. using...
Applying sqrt function to multiple lists in clisp Applying sqrt function to multiple lists in clisp clisp common-lisp lisp Applying Applying sqrt function to multiple lists in clisp Newbie trying to learn Lisp. I want to apply sqrt (or any function) to several lists in Clisp. For eg. using mapcar we can apply to one li...
[ 0.00007104873657226562, 0.00115203857421875, 0.00262451171875, -0.00002682209014892578, -0.00811767578125, 0.00531005859375, 0.026611328125, 0.0079345703125, 0.0108642578125, -0.00872802734375, 0.0028228759765625, -0.004638671875, -0.0037994384765625, 0.0042724609375, -0.0242919921875, ...
[ 5659, 538, 214, 91, 864, 3198, 32354, 47, 48716, 5303, 7, 23, 95701, 7008, 39210, 4086, 254, 400, 9014, 30698, 1261, 3444, 59911, 40368, 313, 17368, 22288, 3284, 831, 1632, 62346, 468, 209, 387, 496, 50218, 90980, 38774, 1112, 154764, 4...
[ 0.1182861328125, 0.092529296875, 0.010345458984375, 0.0859375, 0.1737060546875, 0.2529296875, 0.1806640625, 0.1038818359375, 0.2044677734375, 0.2415771484375, 0.0816650390625, 0.039398193359375, 0.12744140625, 0.2098388671875, 0.059112548828125, 0.158935546875, 0.2003173828125, 0.0...
embed
43412212_c0
43412212
lisp
0
Title: changing a specific index bit in a binary number in Scheme(Racket) Problem title: changing a specific index bit in a binary number in Scheme(Racket) Tags: scheme, racket, binary, lisp Problem: changing a specific index bit in a binary number in Scheme(Racket) I need to implement in Scheme the possibility to chan...
changing a specific index bit in a binary number in Scheme(Racket) changing a specific index bit in a binary number in Scheme(Racket) scheme racket binary lisp Scheme Racket changing a specific index bit in a binary number in Scheme(Racket) I need to implement in Scheme the possibility to change a specific bit in a bin...
[ -0.0126953125, 0.01177978515625, 0.00102996826171875, 0.01129150390625, 0.004791259765625, 0.0035247802734375, -0.034423828125, -0.01214599609375, 0.00015354156494140625, 0.0205078125, -0.01171875, -0.0201416015625, -0.01611328125, 0.0126953125, 0.018798828125, -0.01214599609375, 0.0...
[ 151134, 29458, 63262, 4785, 23, 2394, 6635, 14012, 34702, 282, 12248, 27853, 150370, 673, 400, 7008, 2552, 3871, 29479, 207116, 47, 15549, 107730, 19155, 4711, 1031, 27494, 5423, 831 ]
[ 0.1905517578125, 0.1864013671875, 0.1856689453125, 0.204345703125, 0.0635986328125, 0.1707763671875, 0.136474609375, 0.185546875, 0.1693115234375, 0.1832275390625, 0.09100341796875, 0.1910400390625, 0.1787109375, 0.08941650390625, 0.0147247314453125, 0.093505859375, 0.1043701171875, ...
embed
41314273_c0
41314273
lisp
0
Title: Lisp merging pattern Problem title: Lisp merging pattern Tags: lisp, list, merge Problem: Lisp merging pattern I am quite new in lisp, so maybe it is a stupid question. But I would like to merge two lists (s1, s2) according to a given pattern - list S3 of boolean (t nil....). If true use the element from S2, if ...
Lisp merging pattern Lisp merging pattern lisp list merge Lisp Lisp merging pattern I am quite new in lisp, so maybe it is a stupid question. But I would like to merge two lists (s1, s2) according to a given pattern - list S3 of boolean (t nil....). If true use the element from S2, if false use the element as it is. So...
[ -0.006378173828125, 0.049560546875, -0.007781982421875, -0.003143310546875, -0.005706787109375, 0.017578125, -0.0306396484375, 0.0216064453125, 0.005218505859375, 0.011962890625, 0.02587890625, 0.006988525390625, 0.006134033203125, -0.0002593994140625, -0.00147247314453125, 0.022949218...
[ 1261, 7008, 1143, 9966, 103510, 400, 5303, 42564, 32233, 3525, 110833, 9655, 1884, 6626, 7, 418, 91, 10461, 59499, 34475, 159, 363, 337, 31, 34677, 18, 17324, 29568, 4527, 12830, 304, 98320, 237, 2704, 5608, 6713, 116, 138, 13956, 17966, ...
[ 0.165771484375, 0.2088623046875, 0.197021484375, 0.0762939453125, 0.2318115234375, 0.139892578125, 0.222412109375, 0.26806640625, 0.006988525390625, 0.03009033203125, 0.08111572265625, 0.0015869140625, 0.080078125, 0.115966796875, 0.05517578125, 0.07464599609375, 0.0855712890625, 0...
embed
23648167_c0
23648167
lisp
0
Title: What is the main difference between SRFI 40 (deprecated) and 41? Problem title: What is the main difference between SRFI 40 (deprecated) and 41? Tags: lisp, scheme, sisc, srfi Problem: What is the main difference between SRFI 40 (deprecated) and 41? In SRFI 40 we can see it is deprecated and superseded by SRFI 4...
What is the main difference between SRFI 40 (deprecated) and 41? What is the main difference between SRFI 40 (deprecated) and 41? lisp scheme sisc srfi What SRFI What is the main difference between SRFI 40 (deprecated) and 41? In SRFI 40 we can see it is deprecated and superseded by SRFI 41 . I'm using SISC where SRFI ...
[ -0.003326416015625, 0.01239013671875, -0.0166015625, 0.006103515625, -0.004364013671875, -0.00003528594970703125, -0.003265380859375, 0.0028076171875, 0.002044677734375, 0.006988525390625, 0.01336669921875, -0.01190185546875, -0.01953125, 0.014404296875, 0.0235595703125, -0.01214599609...
[ 5201, 60212, 17721, 26098, 22724, 1112, 112, 4692, 4460, 297, 136, 6478, 400, 7008, 150370, 78, 10382, 25191, 1029, 4865, 83, 70, 360, 1957, 442, 8, 1601, 390, 17368, 10000, 14495, 13379, 1284, 56112, 18, 2856, 4527, 3638, 30783 ]
[ 0.1385498046875, 0.230712890625, 0.138427734375, 0.1412353515625, 0.277587890625, 0.271484375, 0.119384765625, 0.1702880859375, 0.1378173828125, 0.03826904296875, 0.120849609375, 0.262451171875, 0.03778076171875, 0.1456298828125, 0.142822265625, 0.068115234375, 0.10235595703125, 0....
embed
9028696_c0
9028696
lisp
0
Title: Mapping a function over two lists in elisp Problem title: Mapping a function over two lists in elisp Tags: lisp, elisp Problem: Mapping a function over two lists in elisp In common lisp I can do this: (mapcar #'cons '(1 2 3) '(a b c)) => ((1 . A) (2 . B) (3 . C)) How do I do the same thing in elisp? When I try, ...
Mapping a function over two lists in elisp Mapping a function over two lists in elisp lisp elisp Mapping Mapping a function over two lists in elisp In common lisp I can do this: How do I do the same thing in elisp? When I try, I get an error: If elisp's mapcar can only work on one list at a time, what is the idomatic w...
[ 0.01129150390625, 0.0208740234375, -0.00013065338134765625, -0.0003452301025390625, 0.0052490234375, 0.032958984375, -0.004119873046875, 0.00909423828125, 0.0076904296875, -0.0299072265625, -0.00110626220703125, 0.0045166015625, 0.007171630859375, 0.03173828125, -0.01068115234375, -0.0...
[ 911, 26783, 32354, 645, 6626, 5303, 7, 15296, 7008, 10, 23, 400, 39210, 831, 5701, 9790, 18499, 22288, 3284, 4734, 4488, 1632, 1733, 246, 47148, 3917, 70163, 3934, 142, 6562 ]
[ 0.20068359375, 0.1385498046875, 0.1826171875, 0.1578369140625, 0.1676025390625, 0.208740234375, 0.060028076171875, 0.1104736328125, 0.1964111328125, 0.06829833984375, 0.0291290283203125, 0.0963134765625, 0.06610107421875, 0.041961669921875, 0.00811767578125, 0.05902099609375, 0.14733...
embed
10445433_c0
10445433
lisp
0
Title: lisp way of looping over bits of an integer Problem title: lisp way of looping over bits of an integer Tags: for-loop, lisp, sbcl, common-lisp, bit-manipulation Problem: lisp way of looping over bits of an integer Suppose I have an integer such as 109, 1101101 in binary. How do I iterate over bits of this number...
lisp way of looping over bits of an integer lisp way of looping over bits of an integer for-loop lisp sbcl common-lisp bit-manipulation lisp way of looping over bits of an integer Suppose I have an integer such as 109, 1101101 in binary. How do I iterate over bits of this number, eg: [64, 32, 8, 4, 1]? What would be a ...
[ -0.01708984375, 0.001434326171875, -0.005859375, 0.012451171875, -0.005157470703125, 0.021484375, 0.000591278076171875, -0.0115966796875, -0.00201416015625, -0.049072265625, -0.0045166015625, 0.01239013671875, -0.004241943359375, -0.0022125244140625, 0.01092529296875, -0.00408935546875...
[ 400, 7008, 3917, 111, 40956, 214, 645, 4785, 892, 1505, 7, 100, 28354, 34937, 39210, 4086, 254, 9051, 72403, 121691, 41184, 534, 6746, 35046, 23, 2394, 6635, 11249, 54, 87, 17, 8560, 67, 903, 14012, 13307, 2789, 382, 201, 106, 4127, 2...
[ 0.166748046875, 0.2369384765625, 0.147705078125, 0.04534912109375, 0.1837158203125, 0.0506591796875, 0.17626953125, 0.1788330078125, 0.1466064453125, 0.1436767578125, 0.005615234375, 0.135498046875, 0.203125, 0.10595703125, 0.06103515625, 0.1163330078125, 0.1805419921875, 0.0412292...
embed
79180377_c0
79180377
lisp
0
Title: What is the Lisp's symbol equivalent of JavaScript? Problem title: What is the Lisp's symbol equivalent of JavaScript? Tags: symbols, javascript, lisp, scheme Problem: What is the Lisp's symbol equivalent of JavaScript? So in Lisp/Scheme, there are these 'symbols', which are basically, if I understand ...
What is the Lisp's symbol equivalent of JavaScript? What is the Lisp's symbol equivalent of JavaScript? symbols javascript lisp scheme What Lisp JavaScript What is the Lisp's symbol equivalent of JavaScript? So in Lisp/Scheme, there are these 'symbols', which are basically, if I understand correctly, and corr...
[ 0.00141143798828125, 0.0198974609375, -0.020263671875, 0.00775146484375, -0.0263671875, 0.006256103515625, -0.008544921875, 0.03125, -0.00933837890625, -0.01483154296875, 0.0004596710205078125, -0.01434326171875, -0.0027008056640625, 0.02734375, -0.00164794921875, 0.01239013671875, -...
[ 4865, 1261, 7008, 3768, 26582, 183234, 111, 17925, 83, 136951, 400, 150370, 70, 7, 23, 64, 25452, 12549, 6097, 176726, 198343, 28219, 91067, 47, 77336, 10869, 142424, 450 ]
[ 0.054840087890625, 0.1607666015625, 0.211669921875, 0.10791015625, 0.237060546875, 0.1959228515625, 0.03582763671875, 0.25439453125, 0.0218505859375, 0.212890625, 0.12548828125, 0.1810302734375, 0.007781982421875, 0.001190185546875, 0.02880859375, 0.0246429443359375, 0.09722900390625...
embed
49845918_c0
49845918
lisp
0
Title: Lisp: atom and string Problem title: Lisp: atom and string Tags: tokenize, lisp Problem: Lisp: atom and string I am working on a simple Lisp interpreter. And now I am trying to write a parser for it. LISP - Basic Syntax . I've read that in Lisp there are only three types of block: atom , list , string . Also, I'...
Lisp: atom and string Lisp: atom and string tokenize lisp Lisp Some Lisp: atom and string I am working on a simple Lisp interpreter. And now I am trying to write a parser for it. LISP - Basic Syntax . I've read that in Lisp there are only three types of block: atom , list , string . Also, I've noticed that string block...
[ 0.007476806640625, 0.029296875, -0.0147705078125, 0.0234375, -0.0157470703125, 0.0216064453125, 0.023681640625, 0.0034942626953125, -0.01385498046875, -0.0115966796875, 0.011474609375, -0.007080078125, 0.004119873046875, -0.01116943359375, -0.00139617919921875, 0.016845703125, -0.005...
[ 1261, 7008, 34627, 136, 79315, 12, 47, 1098, 20650, 400, 20697, 8781, 29481, 56, 33022, 366, 2189, 16970, 9434, 91692, 19010, 86531, 12301, 23, 2685, 4734, 17262, 52895, 46389, 5303, 156672, 831, 8512, 3934, 51727, 808, 282, 3949, 10644, ...
[ 0.1531982421875, 0.2279052734375, 0.2215576171875, 0.1268310546875, 0.24560546875, 0.003509521484375, 0.038421630859375, 0.111328125, 0.067626953125, 0.1192626953125, 0.03631591796875, 0.03045654296875, 0.130615234375, 0.08062744140625, 0.007781982421875, 0.0888671875, 0.1337890625, ...
embed
48940382_c0
48940382
lisp
0
Title: How to create (d . nil) in lisp Problem title: How to create (d . nil) in lisp Tags: clisp, common-lisp, lisp Problem: How to create (d . nil) in lisp I am beginner in Lisp. There is a question that I cannot solve. Show the simplest expression that Lisp will print out when you type the following expression: ’(a ...
How to create (d . nil) in lisp How to create (d . nil) in lisp clisp common-lisp lisp How How to create (d . nil) in lisp I am beginner in Lisp. There is a question that I cannot solve. Show the simplest expression that Lisp will print out when you type the following expression: I tried (cons 'a (cons 'b (cons (cons '...
[ 0.01495361328125, 0.01611328125, -0.00689697265625, -0.00799560546875, -0.008056640625, 0.0137939453125, -0.01287841796875, -0.00543212890625, -0.0035858154296875, -0.033447265625, 0.00445556640625, -0.00341796875, 0.00665283203125, -0.01409912109375, -0.01458740234375, -0.011962890625...
[ 11249, 47, 28282, 71, 5, 17324, 23, 400, 7008, 95701, 39210, 4086, 254, 1261, 53418, 86869, 17367, 30362, 18, 125195, 28412, 1810, 10644, 25632, 37842, 25553, 11, 275, 238, 68746, 6044, 20633, 80836 ]
[ 0.0643310546875, 0.0167236328125, 0.20068359375, 0.1815185546875, 0.044891357421875, 0.24658203125, 0.0787353515625, 0.142578125, 0.2109375, 0.0736083984375, 0.0977783203125, 0.091064453125, 0.1197509765625, 0.1444091796875, 0.004364013671875, 0.0382080078125, 0.06231689453125, 0.0...
embed
18878832_c0
18878832
lisp
0
Title: Why can't CASE be used on string values and only symbol values? Problem title: Why can't CASE be used on string values and only symbol values? Tags: lisp, land-of-lisp, common-lisp Problem: Why can't CASE be used on string values and only symbol values? In book 'land of lisp' I read Because the case co...
Why can't CASE be used on string values and only symbol values? Why can't CASE be used on string values and only symbol values? lisp land-of-lisp common-lisp Why CASE Why can't CASE be used on string values and only symbol values? In book 'land of lisp' I read Please explain why?
[ -0.0015716552734375, 0.0020751953125, -0.00096893310546875, 0.0098876953125, -0.00109100341796875, -0.006561279296875, 0.01165771484375, -0.000659942626953125, 0.0189208984375, 0.00004100799560546875, -0.00095367431640625, -0.01129150390625, 0.01361083984375, -0.02001953125, 0.0005302429...
[ 44084, 831, 3768, 18, 313, 76783, 11814, 98, 79315, 142424, 4734, 26582, 400, 7008, 3551, 4390, 4086, 254, 39210, 12877, 1760, 111, 12301, 73342, 15400 ]
[ 0.1251220703125, 0.09039306640625, 0.022247314453125, 0.08013916015625, 0.1884765625, 0.3046875, 0.1611328125, 0.0645751953125, 0.230224609375, 0.198974609375, 0.044647216796875, 0.2181396484375, 0.0858154296875, 0.1497802734375, 0.09429931640625, 0.11285400390625, 0.062103271484375,...
embed
3237405_c0
3237405
lisp
0
Title: idiomatic way to replace (null x) function from common lisp in clojure Problem title: idiomatic way to replace (null x) function from common lisp in clojure Tags: lisp, idioms, common-lisp, clojure Problem: idiomatic way to replace (null x) function from common lisp in clojure In Common Lisp you use the (null x)...
idiomatic way to replace (null x) function from common lisp in clojure idiomatic way to replace (null x) function from common lisp in clojure lisp idioms common-lisp clojure common idiomatic way to replace (null x) function from common lisp in clojure In Common Lisp you use the (null x) function to check for empty list...
[ -0.01324462890625, -0.004852294921875, 0.00927734375, -0.005950927734375, -0.01092529296875, 0.00885009765625, 0.0238037109375, -0.0130615234375, -0.000614166259765625, -0.01031494140625, 0.00335693359375, 0.0081787109375, -0.004058837890625, -0.00909423828125, 0.012451171875, -0.00370...
[ 49666, 9523, 3917, 91995, 139550, 1022, 32354, 39210, 400, 7008, 20450, 461, 107, 13373, 4086, 254, 47, 1295, 151301, 1261, 4527, 12765, 201505, 5303, 136, 17324, 142424, 12684, 22288, 360, 42459, 1286, 54, 23, 51053 ]
[ 0.1922607421875, 0.0887451171875, 0.09375, 0.140869140625, 0.2078857421875, 0.1788330078125, 0.1754150390625, 0.10247802734375, 0.10638427734375, 0.1722412109375, 0.127685546875, 0.166748046875, 0.10986328125, 0.10498046875, 0.0675048828125, 0.113525390625, 0.0189208984375, 0.00286...
embed
9755882_c0
9755882
lisp
0
Title: Are functional programming languages suitable for graphics programming? Problem title: Are functional programming languages suitable for graphics programming? Tags: clojure, functional-programming, lisp Problem: Are functional programming languages suitable for graphics programming? Just very curious about this,...
Are functional programming languages suitable for graphics programming? Are functional programming languages suitable for graphics programming? clojure functional-programming lisp Are functional programming languages suitable for graphics programming? Just very curious about this, from my own experience , all the graph...
[ -0.01483154296875, -0.005279541015625, 0.0035247802734375, -0.0108642578125, -0.01904296875, -0.006561279296875, -0.014404296875, -0.0174560546875, -0.01611328125, -0.006622314453125, 0, -0.018310546875, 0.0032501220703125, -0.0203857421875, -0.0032806396484375, -0.0093994140625, -0....
[ 15901, 123309, 56037, 449, 46876, 7, 202319, 100, 48461, 20450, 461, 107, 28966, 214, 400, 7008, 193844, 10002, 16981, 756, 37202, 47, 313, 707, 37223, 62548, 70, 42666, 963, 1542, 22691, 35773, 1294, 85493, 1202, 6712 ]
[ 0.045989990234375, 0.23046875, 0.1820068359375, 0.09735107421875, 0.187255859375, 0.1217041015625, 0.1640625, 0.08477783203125, 0.2022705078125, 0.0914306640625, 0.1048583984375, 0.10272216796875, 0.1629638671875, 0.0447998046875, 0.05841064453125, 0.1214599609375, 0.034210205078125,...
embed
1412981_c0
1412981
lisp
0
Title: Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? Problem title: Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? Tags: scheme, lisp, clojure Problem: Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? If I want to learn Clojure, s...
Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? scheme lisp clojure a Clojure Scheme Common Lisp Is Clojure closer to Scheme or Common Lisp from a beginner's perspective? If I want to learn Clojure, should I st...
[ 0.00201416015625, 0.0223388671875, -0.005706787109375, 0.0228271484375, -0.0177001953125, -0.018310546875, 0.018798828125, -0.01904296875, 0.01708984375, -0.01116943359375, -0.0174560546875, -0.017822265625, -0.0091552734375, -0.000835418701171875, -0.005859375, -0.0257568359375, -0....
[ 51053, 461, 107, 20903, 42, 34702, 282, 151301, 1261, 7008, 9842, 80280, 150370, 400, 20450, 10, 47, 1679, 30698, 4034, 52080, 12921, 68034 ]
[ 0.1644287109375, 0.2154541015625, 0.1619873046875, 0.10107421875, 0.045654296875, 0.20166015625, 0.1766357421875, 0.125244140625, 0.1339111328125, 0.1431884765625, 0.0447998046875, 0.0833740234375, 0.183349609375, 0.0924072265625, 0.1343994140625, 0.009552001953125, 0.015640258789062...
embed
11272632_c0
11272632
lisp
0
Title: How to create a column view in Emacs Lisp? Problem title: How to create a column view in Emacs Lisp? Tags: emacs, lisp, elisp Problem: How to create a column view in Emacs Lisp? I'm writing my own mode in Elisp. It's basically a simple crud application showing rows of data which can be manipulated via the minibu...
How to create a column view in Emacs Lisp? How to create a column view in Emacs Lisp? emacs lisp elisp How Emacs Lisp How to create a column view in Emacs Lisp? I'm writing my own mode in Elisp. It's basically a simple crud application showing rows of data which can be manipulated via the minibuffer. I'd like to create...
[ 0.004608154296875, -0.00323486328125, -0.00616455078125, 0.00567626953125, 0.0030059814453125, 0.0203857421875, -0.015380859375, -0.0033111572265625, 0.00421142578125, 0.0111083984375, 0.000659942626953125, 0.00078582763671875, -0.010498046875, 0.0074462890625, -0.0167236328125, -0.019...
[ 11249, 47, 28282, 10, 3365, 316, 19, 21455, 85269, 4439, 1261, 7008, 23, 352, 2263, 7, 400, 15296, 32562, 10002, 13736, 25318, 198343, 8781, 22684, 71, 38415, 141377, 15555, 2053, 831, 45258, 7665, 123759, 56, 1884, 33342, 98169, 31095, 2...
[ 0.0677490234375, 0.026702880859375, 0.16845703125, 0.032806396484375, 0.1575927734375, 0.1884765625, 0.124755859375, 0.291748046875, 0.1630859375, 0.1663818359375, 0.1431884765625, 0.22900390625, 0.039764404296875, 0.0677490234375, 0.1185302734375, 0.031890869140625, 0.10284423828125...
embed
28248277_c0
28248277
lisp
0
Title: Recursion through nested lists in LISP Problem title: Recursion through nested lists in LISP Tags: lisp, recursion Problem: Recursion through nested lists in LISP I am trying to find the other element in the nested list when querying the first one. Something like this. (findOther 'a '((a b) (b c) (a d)))--> b an...
Recursion through nested lists in LISP Recursion through nested lists in LISP lisp recursion Recursion LISP NIL Recursion through nested lists in LISP I am trying to find the other element in the nested list when querying the first one. Something like this. (findOther 'a '((a b) (b c) (a d)))--> b and d. I have done th...
[ -0.0164794921875, 0.040283203125, 0.007171630859375, -0.0096435546875, 0.0015411376953125, 0.012939453125, 0.0107421875, -0.00830078125, 0.0003147125244140625, -0.03564453125, -0.00640869140625, -0.0157470703125, -0.002716064453125, -0.01318359375, 0.01165771484375, 0.001983642578125, ...
[ 165428, 42, 6889, 8305, 8512, 71, 5303, 23, 16970, 9434, 400, 7008, 195625, 541, 16444, 7, 31577, 47, 7413, 3789, 12830, 41, 1294, 5117, 1884, 111607, 9319, 11, 876, 501, 104, 152745, 2060, 2967, 4734, 2046 ]
[ 0.141845703125, 0.1585693359375, 0.11846923828125, 0.1331787109375, 0.220458984375, 0.15185546875, 0.2032470703125, 0.039703369140625, 0.1251220703125, 0.220947265625, 0.09552001953125, 0.175537109375, 0.2252197265625, 0.081787109375, 0.1287841796875, 0.01073455810546875, 0.090270996...
embed
9088974_c0
9088974
lisp
0
Title: Lisp Code Unexpected Results Problem title: Lisp Code Unexpected Results Tags: lisp Problem: Lisp Code Unexpected Results I am trying to solve a homework problem where I have to return a selected users' grades in order by course number (not allowed to use built-in sort function). I don't understand the results: ...
Lisp Code Unexpected Results Lisp Code Unexpected Results lisp Lisp Unexpected Results Lisp Code Unexpected Results I am trying to solve a homework problem where I have to return a selected users' grades in order by course number (not allowed to use built-in sort function). I don't understand the results: the first ent...
[ 0.0166015625, 0.01226806640625, 0.00140380859375, -0.017333984375, -0.033203125, 0.004730224609375, -0.01263427734375, -0.017578125, 0.000576019287109375, 0.001007080078125, 0.0035247802734375, -0.010986328125, -0.004852294921875, 0.0142822265625, -0.0220947265625, -0.0089111328125, ...
[ 1261, 7008, 28864, 992, 83613, 13, 89829, 146104, 400, 31577, 86869, 5368, 18244, 2967, 30646, 133291, 72095, 44000, 12989, 15411, 14012, 10869, 107003, 88303, 73, 12096, 32354, 18, 28219, 50339, 5117, 42805, 56112, 17497, 3060, 4173, 25921, ...
[ 0.1434326171875, 0.172119140625, 0.1729736328125, 0.046234130859375, 0.09375, 0.08148193359375, 0.042083740234375, 0.1707763671875, 0.1014404296875, 0.036102294921875, 0.0987548828125, 0.03570556640625, 0.1402587890625, 0.09423828125, 0.1143798828125, 0.0897216796875, 0.1478271484375...
embed
13476571_c0
13476571
lisp
0
Title: perltidy-mode autorun in Emacs Problem title: perltidy-mode autorun in Emacs Tags: perl-tidy, lisp, emacs, elisp Problem: perltidy-mode autorun in Emacs I have a perltidy-mode.el lisp file, which is being loaded - I can call it manually by M-x perltidy-mode . What would be the proper way to run it automatically ...
perltidy-mode autorun in Emacs perltidy-mode autorun in Emacs perl-tidy lisp emacs elisp Emacs M-x perltidy-mode autorun in Emacs I have a perltidy-mode.el lisp file, which is being loaded - I can call it manually by M-x perltidy-mode . What would be the proper way to run it automatically after a file is opened (or ema...
[ 0.0093994140625, -0.0037384033203125, 0.0191650390625, -0.0172119140625, -0.0107421875, 0.040771484375, -0.0184326171875, 0.0096435546875, -0.00408935546875, -0.04296875, 0.015625, 0.037841796875, -0.02001953125, 0.002227783203125, -0.00811767578125, -0.0233154296875, -0.005706787109...
[ 117, 51648, 1459, 61170, 3857, 309, 23, 85269, 4439, 141, 118, 400, 7008, 352, 2263, 15296, 276, 9, 425, 583, 11435, 8035, 72367, 831, 11782, 23009, 70, 27798, 3917, 11675, 442, 191082, 7103, 142096, 4488, 240764, 5915, 11883 ]
[ 0.17578125, 0.158203125, 0.1868896484375, 0.1881103515625, 0.1275634765625, 0.1634521484375, 0.0239715576171875, 0.17333984375, 0.1671142578125, 0.02069091796875, 0.0806884765625, 0.1085205078125, 0.1763916015625, 0.07110595703125, 0.0823974609375, 0.039093017578125, 0.06597900390625...
embed
25434538_c0
25434538
lisp
0
Title: Define function for evaluating infix expressions in Lisp Problem title: Define function for evaluating infix expressions in Lisp Tags: lisp, infix-notation, common-lisp Problem: Define function for evaluating infix expressions in Lisp I am not very good in Lisp and I need to do a function which allows evaluating...
Define function for evaluating infix expressions in Lisp Define function for evaluating infix expressions in Lisp lisp infix-notation common-lisp Define Lisp Define function for evaluating infix expressions in Lisp I am not very good in Lisp and I need to do a function which allows evaluating of infix expressions. For ...
[ 0.007171630859375, -0.007293701171875, 0.00982666015625, 0.01470947265625, -0.000820159912109375, -0.00494384765625, 0.01495361328125, -0.0019378662109375, 0.00494384765625, -0.0194091796875, 0.010009765625, -0.003997802734375, -0.00147247314453125, -0.0040283203125, 0.021728515625, 0....
[ 262, 64552, 32354, 151575, 214, 23, 55923, 125195, 1261, 7008, 100, 400, 157, 39210, 4086, 254, 959, 4552, 4127, 3871, 114864, 22183, 116, 8439, 33079, 73, 97249, 997, 37842, 20117, 351, 65771 ]
[ 0.02178955078125, 0.1419677734375, 0.1904296875, 0.17822265625, 0.0335693359375, 0.115966796875, 0.236083984375, 0.2135009765625, 0.141357421875, 0.19677734375, 0.001922607421875, 0.1138916015625, 0.100830078125, 0.074462890625, 0.096923828125, 0.131591796875, 0.03765869140625, 0.0...
embed
60142337_c0
60142337
lisp
0
Title: How to connect to SQlite using cl-dbi Problem title: How to connect to SQlite using cl-dbi Tags: cl-dbi, common-lisp, lisp, sqlite Problem: How to connect to SQlite using cl-dbi Tried: (defvar connection (dbi:connect :mysql :database-name "test" :username "nobody" :password "1234")) Result: System "dbd-sqlite" n...
How to connect to SQlite using cl-dbi How to connect to SQlite using cl-dbi cl-dbi common-lisp lisp sqlite cl-dbi How SQlite System Condition QUICKLISP-CLIENT:SYSTEM-NOT-FOUND How to connect to SQlite using cl-dbi Tried: Result: Can anyone point to an example of use of cl-dbi with Sqlite3?
[ 0.00775146484375, 0.0247802734375, -0.00168609619140625, 0.00189208984375, -0.0181884765625, 0.0216064453125, -0.0233154296875, -0.004608154296875, 0.0016937255859375, -0.033203125, 0.0034637451171875, -0.04736328125, -0.0167236328125, -0.03125, -0.0213623046875, -0.00830078125, -0.0...
[ 11249, 37067, 47, 159, 2737, 27287, 17368, 33139, 9, 71, 964, 39210, 4086, 254, 400, 7008, 91, 95255, 67, 12353, 46347, 9434, 10927, 20157, 62428, 90420, 8575, 618, 51980, 27781, 4527, 678, 363 ]
[ 0.039154052734375, 0.1990966796875, 0.15576171875, 0.0926513671875, 0.1610107421875, 0.29150390625, 0.06842041015625, 0.156982421875, 0.032073974609375, 0.09295654296875, 0.224609375, 0.07489013671875, 0.0310821533203125, 0.1259765625, 0.003414154052734375, 0.1279296875, 0.0318298339...
embed
4753630_c0
4753630
lisp
0
Title: How to loop using recursion in ACL2? Problem title: How to loop using recursion in ACL2? Tags: common-lisp, acl2, lisp Problem: How to loop using recursion in ACL2? I need to make something like this but in ACL2: for (i=1; i<10; i++) { print i; } It uses COMMON LISP, but I haven't any idea how to do this task......
How to loop using recursion in ACL2? How to loop using recursion in ACL2? common-lisp acl2 lisp recursion How ACL2 How to loop using recursion in ACL2? I need to make something like this but in ACL2: It uses COMMON LISP, but I haven't any idea how to do this task... We can't use standard Common Lisp constructions such ...
[ -0.0087890625, 0.017578125, -0.002716064453125, 0.0179443359375, 0.01385498046875, 0.01031494140625, 0.01495361328125, 0.0208740234375, -0.01031494140625, -0.04052734375, 0.00057220458984375, -0.0081787109375, -0.0125732421875, -0.005645751953125, 0.03173828125, -0.0260009765625, -0....
[ 11249, 47, 40956, 17368, 195625, 1830, 23, 62, 37486, 304, 39210, 4086, 254, 1030, 141, 400, 7008, 3871, 3249, 1884, 4527, 31436, 82707, 16970, 9434, 6528, 3642, 54, 66211, 831, 5570, 151301, 1261, 50961, 22215, 20880, 6197, 34844, 28219, ...
[ 0.07867431640625, 0.03863525390625, 0.2568359375, 0.125732421875, 0.2391357421875, 0.1854248046875, 0.086181640625, 0.06927490234375, 0.192138671875, 0.216796875, 0.0745849609375, 0.031494140625, 0.10400390625, 0.03570556640625, 0.05255126953125, 0.056640625, 0.1512451171875, 0.038...
embed
28128620_c0
28128620
lisp
0
Title: Memory representation of values in Lisp Problem title: Memory representation of values in Lisp Tags: lisp Problem: Memory representation of values in Lisp I read that in original lisp, CONS represented in memory in 36 bits, 18 first bits are for CAR (15 bits are address and 3 bits tells if it is address of ATOM ...
Memory representation of values in Lisp Memory representation of values in Lisp lisp Memory Lisp Memory representation of values in Lisp I read that in original lisp, CONS represented in memory in 36 bits, 18 first bits are for CAR (15 bits are address and 3 bits tells if it is address of ATOM or another CONS), and the...
[ 0.0087890625, 0.0218505859375, -0.00152587890625, 0.048095703125, -0.0234375, 0.0223388671875, -0.003326416015625, 0.0081787109375, -0.01141357421875, -0.0245361328125, 0.0030364990234375, 0.01239013671875, -0.005218505859375, 0.0234375, 0.00994873046875, 0.01202392578125, 0.00628662...
[ 172681, 18811, 111, 142424, 23, 1261, 7008, 1363, 400, 12301, 7311, 109022, 33636, 297, 98323, 4039, 4785, 543, 5117, 621, 100, 42476, 20808, 29823, 136, 138, 14192, 62, 117032, 21, 3055, 313, 23498, 2174, 3871, 1286, 7068, 1632, 390, 67,...
[ 0.24755859375, 0.26513671875, 0.014923095703125, 0.228515625, 0.0904541015625, 0.1951904296875, 0.2391357421875, 0.0899658203125, 0.171142578125, 0.004852294921875, 0.1138916015625, 0.236572265625, 0.2451171875, 0.0838623046875, 0.22802734375, 0.20654296875, 0.1865234375, 0.1835937...
embed
64490030_c0
64490030
lisp
0
Title: Sublist in Lisp Problem title: Sublist in Lisp Tags: loops, lisp, sublist, recursion, indexing Problem: Sublist in Lisp Im having trouble creating a sublist in lisp. My task is to write a function that takes a list and two indexes from and to, and returns "sublist" whose elements are the elements within from and...
Sublist in Lisp Sublist in Lisp loops lisp sublist recursion indexing Sublist Lisp Sublist in Lisp Im having trouble creating a sublist in lisp. My task is to write a function that takes a list and two indexes from and to, and returns "sublist" whose elements are the elements within from and to indexes. I am only allow...
[ -0.00147247314453125, 0.0191650390625, 0.00933837890625, 0.00634765625, -0.01806640625, 0.021484375, -0.022216796875, 0.0247802734375, 0.00543212890625, -0.0218505859375, -0.00909423828125, -0.01904296875, -0.01324462890625, 0.0211181640625, -0.0096435546875, -0.0035400390625, 0.0230...
[ 8273, 6562, 23, 1261, 7008, 40956, 400, 1614, 195625, 1830, 63262, 63134, 105233, 66211, 33022, 32354, 51776, 5303, 6626, 1295, 47, 30646, 22144, 80854, 28032, 136, 4734, 107003, 4527, 42, 2258, 158, 114689, 71, 27781, 140992, 18151, 6713, ...
[ 0.19921875, 0.25927734375, 0.03472900390625, 0.1387939453125, 0.2364501953125, 0.1558837890625, 0.1102294921875, 0.2052001953125, 0.1539306640625, 0.037109375, 0.1187744140625, 0.079833984375, 0.074462890625, 0.0826416015625, 0.047821044921875, 0.147705078125, 0.047760009765625, 0....
embed
25714347_c0
25714347
lisp
0
Title: Lisp, do something for every element in a list Problem title: Lisp, do something for every element in a list Tags: foreach, lisp Problem: Lisp, do something for every element in a list How do I perform a function on every element in a list? For example say I have a list: (1 x q) and I was to use my-function on 1...
Lisp, do something for every element in a list Lisp, do something for every element in a list foreach lisp Lisp Lisp, do something for every element in a list How do I perform a function on every element in a list? For example say I have a list: and I was to use my-function on 1 , x , q . Is there a predefined function...
[ -0.0022735595703125, 0.015625, -0.0164794921875, 0.0019683837890625, -0.0086669921875, 0.021484375, 0.0157470703125, -0.00494384765625, 0.00127410888671875, -0.052001953125, 0.0224609375, -0.00750732421875, -0.01220703125, 0.002227783203125, -0.020263671875, 0.007171630859375, -0.004...
[ 1261, 7008, 4, 54, 9844, 100, 11907, 12830, 23, 10, 5303, 41581, 400, 11249, 87, 51339, 32354, 98, 1326, 765, 509, 4527, 759, 9, 137175, 106, 1022, 8096, 1653, 13, 5983, 903, 209683, 17366, 46876, 23009, 29954, 8305, 442, 2258, 42, 43...
[ 0.177490234375, 0.234130859375, 0.007720947265625, 0.1591796875, 0.150634765625, 0.1734619140625, 0.1845703125, 0.200927734375, 0.0904541015625, 0.0885009765625, 0.2379150390625, 0.2154541015625, 0.1126708984375, 0.0323486328125, 0.04803466796875, 0.20947265625, 0.234619140625, 0.1...
embed
27232796_c0
27232796
lisp
0
Title: Lisp evaluation using cond in a defun Problem title: Lisp evaluation using cond in a defun Tags: common-lisp, lisp Problem: Lisp evaluation using cond in a defun Lisp noob here. CL-USER> (defun my-if (a b c) (cond (a b) (t c))) CL-USER> (my-if t (print 1) (print 2)) 1 2 1 I didn't expect to get the 2, because th...
Lisp evaluation using cond in a defun Lisp evaluation using cond in a defun common-lisp lisp cond Lisp CL-USER Lisp evaluation using cond in a defun Lisp noob here. I didn't expect to get the 2, because the second clause in the cond shouldn't get evaluated if the first is true: Is this why we need macros, or am I makin...
[ -0.004180908203125, 0.018310546875, 0.00885009765625, 0.015625, -0.0032501220703125, 0.0172119140625, 0.0177001953125, 0.01129150390625, -0.0146484375, -0.0167236328125, -0.012939453125, 0.00006866455078125, -0.01336669921875, -0.01055908203125, 0.00872802734375, 0.00634765625, -0.00...
[ 1261, 7008, 219836, 17368, 158, 71, 8, 16498, 39210, 4086, 254, 400, 46323, 1062, 50184, 23, 110, 3522, 41206, 2046, 116, 17932, 70731, 13, 18, 151575, 2174, 5117, 29568, 3871, 111789, 7, 121742 ]
[ 0.15966796875, 0.2103271484375, 0.208740234375, 0.039642333984375, 0.1591796875, 0.163818359375, 0.1309814453125, 0.17578125, 0.09051513671875, 0.10687255859375, 0.133056640625, 0.09649658203125, 0.08905029296875, 0.149658203125, 0.0506591796875, 0.0163116455078125, 0.048675537109375...
embed
48777608_c0
48777608
lisp
0
Title: Is there an alternative for &quot;set!&quot; on Scheme Problem title: Is there an alternative for &quot;set!&quot; on Scheme Tags: functional-programming, counting, lisp, racket, scheme Problem: Is there an alternative for "set!" on Scheme Was wondering if there's an alternative for using set! in scheme/racket. ...
Is there an alternative for &quot;set!&quot; on Scheme Is there an alternative for &quot;set!&quot; on Scheme functional-programming counting lisp racket scheme Scheme Is there an alternative for "set!" on Scheme Was wondering if there's an alternative for using set! in scheme/racket. Working on assignments and we're n...
[ 0.0157470703125, 0.036376953125, 0.00946044921875, 0.005584716796875, 0.027587890625, -0.013427734375, -0.018310546875, -0.01507568359375, 0.01202392578125, -0.027099609375, -0.00445556640625, 0.0203857421875, 0.006195068359375, 0.00113677978515625, 0.021728515625, -0.01025390625, -0...
[ 2071, 2685, 142, 30700, 100, 41502, 3509, 38, 98, 34702, 282, 123309, 28966, 54529, 400, 7008, 673, 27853, 150370, 44, 3890, 5282, 149016, 2174, 17368, 5423, 23, 64, 219, 27985, 95486, 959, 107003, 47, 4527, 32354, 765, 158661, 56, 15549,...
[ 0.049560546875, 0.0791015625, 0.0960693359375, 0.2498779296875, 0.0933837890625, 0.07958984375, 0.31396484375, 0.17333984375, 0.11865234375, 0.2076416015625, 0.1937255859375, 0.14453125, 0.129150390625, 0.1959228515625, 0.0809326171875, 0.1541748046875, 0.0849609375, 0.213500976562...
embed
78714381_c1
78714381
lisp
1
does it work? Update : I now understand that the ODDP function is applied to the first sequence in the call to SEARCH. But it is not the same behavior as the other sequence functions like ASSOC for example : CL-USER> (assoc 1 '((2 . A) (4 . B) (5 . C)) :key #'oddp) NIL CL-USER> (assoc t '((2 . A) (4 . B) (5 . C)) :key...
does it work? Update : I now understand that the ODDP function is applied to the first sequence in the call to SEARCH. But it is not the same behavior as the other sequence functions like ASSOC for example : CL-USER> (assoc 1 '((2 . A) (4 . B) (5 . C)) :key #'oddp) NIL CL-USER> (assoc t '((2 . A) (4 . B) (5 . C)) :key...
[ -0.0069580078125, 0.014892578125, 0.0040283203125, -0.01458740234375, -0.015869140625, 0.0216064453125, 0.029541015625, 0.007659912109375, 0.0201416015625, -0.004608154296875, 0.0050048828125, -0.005889892578125, 0.00128936767578125, 0.01507568359375, 0.01416015625, -0.00909423828125, ...
[ 14602, 442, 4488, 28641, 28219, 34687, 28399, 32354, 83, 190659, 47, 5117, 40, 944, 3956, 11782, 6755, 169243, 959, 5701, 123166, 70877, 29065, 46323, 1062, 50184, 2740, 73395, 238, 106, 62, 9451, 335, 11516, 19770, 13606, 254, 541, 16444, ...
[ 0.11474609375, 0.1402587890625, 0.1744384765625, 0.001495361328125, 0.037811279296875, 0.178466796875, 0.259521484375, 0.2017822265625, 0.008819580078125, 0.119873046875, 0.108154296875, 0.1031494140625, 0.060943603515625, 0.14111328125, 0.09759521484375, 0.1629638671875, 0.132080078...
embed
19805933_c0
19805933
lisp
0
Title: How to count the number of true element in a bool list? Problem title: How to count the number of true element in a bool list? Tags: scheme, racket, lisp Problem: How to count the number of true element in a bool list? I can write a function like this (define (bool-num x) (if x 1 0)) (define (cnt-true lst) (fold...
How to count the number of true element in a bool list? How to count the number of true element in a bool list? scheme racket lisp How How to count the number of true element in a bool list? I can write a function like this But I found is not elegant, because racket has a count function and false? , but there's no true...
[ -0.01904296875, 0.0125732421875, 0.01092529296875, -0.004913330078125, 0.01361083984375, 0.0157470703125, -0.00396728515625, 0.005523681640625, -0.0036468505859375, -0.03173828125, -0.030029296875, -0.039794921875, -0.00159454345703125, 0.01324462890625, -0.0040283203125, -0.0144653320...
[ 11249, 47, 54529, 70, 14012, 111, 29568, 12830, 23, 142484, 5303, 10, 150370, 673, 27853, 400, 7008, 33022, 32354, 14037, 27650, 98320, 110, 831, 18025 ]
[ 0.068115234375, 0.0694580078125, 0.2000732421875, 0.04925537109375, 0.140869140625, 0.07586669921875, 0.22216796875, 0.197998046875, 0.06121826171875, 0.2017822265625, 0.1904296875, 0.0044097900390625, 0.147216796875, 0.07391357421875, 0.18603515625, 0.0335693359375, 0.1182861328125,...
embed
47233054_c0
47233054
lisp
0
Title: lisp member function on string list Problem title: lisp member function on string list Tags: lisp Problem: lisp member function on string list I am using LISP and was wondering how I can access a member in a list of strings. I have tried the member function but keep getting NIL. Thanks (setq phrase-list '( "What...
lisp member function on string list lisp member function on string list lisp What Blue NIL lisp member function on string list I am using LISP and was wondering how I can access a member in a list of strings. I have tried the member function but keep getting NIL. Thanks
[ -0.013671875, -0.006256103515625, -0.001007080078125, 0.015869140625, -0.01611328125, 0.0107421875, 0.030029296875, 0.0128173828125, -0.002288818359375, -0.009521484375, 0.0115966796875, -0.002960205078125, 0.012451171875, -0.014404296875, -0.00150299072265625, 0.003753662109375, -0....
[ 400, 7008, 32786, 32354, 98, 79315, 5303, 4865, 22928, 541, 16444, 17368, 16970, 9434, 149016, 831, 17203, 23, 37842, 13695, 20949 ]
[ 0.1326904296875, 0.2076416015625, 0.27001953125, 0.1934814453125, 0.068603515625, 0.2015380859375, 0.1890869140625, 0.010498046875, 0.1766357421875, 0.09539794921875, 0.182861328125, 0.0016107559204101562, 0.10040283203125, 0.208984375, 0.01293182373046875, 0.0038471221923828125, 0.1...
embed
6497816_c0
6497816
lisp
0
Title: python delayed execution Problem title: python delayed execution Tags: perl, python, sicp, lisp Problem: python delayed execution To implement streams as delayed lists in Lisp it's recommended to use Lisp macros. (defmacro cons-stream (a b) (cons ,a (delay ,b))) (defmacro delay (expr) `(memo-proc (lambda () ,exp...
python delayed execution python delayed execution perl python sicp lisp 2 python delayed execution To implement streams as delayed lists in Lisp it's recommended to use Lisp macros. What would by Python and Perl way to do the same thing? EDIT. Is it possible to use such a cool construct as streams in languages like Pyt...
[ 0.00518798828125, 0.01544189453125, 0.00848388671875, -0.00933837890625, 0.01708984375, 0.01025390625, 0.00701904296875, -0.002349853515625, -0.00140380859375, -0.023681640625, 0.00750732421875, 0.0022735595703125, 0.01153564453125, 0.005584716796875, -0.00811767578125, 0.0050354003906...
[ 17198, 50828, 8, 5259, 297, 71924, 1830, 117, 141, 26536, 254, 400, 7008, 116, 29479, 75973, 7, 237, 5303, 23, 1261, 170198, 4527, 111789, 2806, 145581, 136, 908, 3917, 54, 5701, 172864, 7722, 6044, 21185, 64549, 46876 ]
[ 0.10418701171875, 0.156494140625, 0.14208984375, 0.226806640625, 0.1290283203125, 0.15087890625, 0.013458251953125, 0.09771728515625, 0.149658203125, 0.041778564453125, 0.1561279296875, 0.1171875, 0.25048828125, 0.0538330078125, 0.1976318359375, 0.2420654296875, 0.06634521484375, 0...
embed
52674209_c0
52674209
lisp
0
Title: Hash-table type in Lisp Problem title: Hash-table type in Lisp Tags: lisp, hashtable, common-lisp, types Problem: Hash-table type in Lisp I found out, that in CL hash table has a type HASH-TABLE (surprisingly). However, a vector can be just VECTOR, but it also can be specified further as (vector number 12), for ...
Hash-table type in Lisp Hash-table type in Lisp lisp hashtable common-lisp types Hash-table Lisp Hash-table type in Lisp I found out, that in CL hash table has a type HASH-TABLE (surprisingly). However, a vector can be just VECTOR, but it also can be specified further as (vector number 12), for example. It seems only n...
[ -0.01007080078125, 0.0216064453125, -0.0069580078125, 0.017578125, -0.030517578125, 0.006561279296875, -0.014404296875, 0.0004138946533203125, -0.0189208984375, -0.0096435546875, -0.01300048828125, 0.0027008056640625, -0.011962890625, 0.01068115234375, -0.002197265625, 0.0230712890625,...
[ 162087, 22819, 10644, 23, 1261, 7008, 9, 400, 1556, 127, 39210, 4086, 254, 52895, 46323, 23180, 11666, 12927, 618, 183057, 22876, 173, 18770, 831, 186, 1660, 310, 16546, 27010, 58735, 53333, 272, 14012, 427, 27781, 6083, 765, 5303, 126234, ...
[ 0.2237548828125, 0.2249755859375, 0.2098388671875, 0.0780029296875, 0.1383056640625, 0.2127685546875, 0.051361083984375, 0.1087646484375, 0.1629638671875, 0.1024169921875, 0.07550048828125, 0.0982666015625, 0.17041015625, 0.1685791015625, 0.1446533203125, 0.20556640625, 0.17468261718...
embed
40960580_c0
40960580
lisp
0
Title: clisp positive number founder Problem title: clisp positive number founder Tags: lisp, common-lisp Problem: clisp positive number founder I am trying to return a list which contains non-negative numbers from function parameter list using clisp. (defun recursive (L) (setq ret (list)) (setq first (car L)) (setq re...
clisp positive number founder clisp positive number founder lisp common-lisp clisp positive number founder I am trying to return a list which contains non-negative numbers from function parameter list using clisp. I wrote this and expecting an output as (1 2 3 0) What is wrong in that code?
[ -0.0247802734375, 0.0020294189453125, 0.01214599609375, -0.01104736328125, -0.00653076171875, 0.0264892578125, 0.0250244140625, 0.0162353515625, 0.005340576171875, -0.035400390625, 0.010009765625, -0.0133056640625, 0.006561279296875, -0.005035400390625, 0.01409912109375, 0.007995605468...
[ 95701, 7008, 24491, 14012, 14037, 56, 400, 39210, 4086, 254, 31577, 30646, 5303, 70541, 351, 3331, 101935, 1295, 32354, 171859, 17368, 54397, 41206, 214, 140992, 237, 2858, 116, 138, 757, 83, 44691, 18151 ]
[ 0.134033203125, 0.2252197265625, 0.182373046875, 0.12939453125, 0.1334228515625, 0.041046142578125, 0.060821533203125, 0.10858154296875, 0.07867431640625, 0.1693115234375, 0.08099365234375, 0.1768798828125, 0.1962890625, 0.09619140625, 0.1363525390625, 0.16455078125, 0.1748046875, ...
embed
17932928_c0
17932928
lisp
0
Title: Is it possible to build Lisp-like macros into an imperative language? Problem title: Is it possible to build Lisp-like macros into an imperative language? Tags: macros, lisp, language-design, compiler-construction, c Problem: Is it possible to build Lisp-like macros into an imperative language? What is preventin...
Is it possible to build Lisp-like macros into an imperative language? Is it possible to build Lisp-like macros into an imperative language? macros lisp language-design compiler-construction c Lisp-like Is it possible to build Lisp-like macros into an imperative language? What is preventing a language like C from having...
[ 0.004791259765625, 0.031982421875, 0.01513671875, 0.006317138671875, -0.006988525390625, 0.0284423828125, -0.012451171875, 0.010498046875, 0.0037078857421875, -0.02734375, -0.005035400390625, -0.006683349609375, -0.005401611328125, -0.01220703125, 0.00927734375, -0.019287109375, -0.0...
[ 7722, 45367, 1261, 7008, 5062, 111789, 3934, 222530, 13, 46876, 400, 34198, 9969, 34759, 238478, 501, 442, 7, 56282, 214, 1884, 313, 1295, 19441, 98352, 9433, 100, 3081, 81273, 45258, 18151, 53201, 29481, 20209, 375, 5974, 31089 ]
[ 0.1651611328125, 0.1845703125, 0.16650390625, 0.2303466796875, 0.166748046875, 0.232177734375, 0.10546875, 0.2191162109375, 0.1156005859375, 0.1832275390625, 0.10186767578125, 0.11669921875, 0.1026611328125, 0.0933837890625, 0.06719970703125, 0.07220458984375, 0.02490234375, 0.0449...
embed
6272587_c0
6272587
lisp
0
Title: Why isn&#x27;t this Do Form valid? Problem title: Why isn&#x27;t this Do Form valid? Tags: common-lisp, functional-programming, lisp Problem: Why isn't this Do Form valid? I'm new to Common Lisp. I tried out the following do form: (do ((n 0 (+ n 1))) (< n 10) (print n)) Clisp responds with: *** - IF: variable < ...
Why isn&#x27;t this Do Form valid? Why isn&#x27;t this Do Form valid? common-lisp functional-programming lisp Why Form Why isn't this Do Form valid? I'm new to Common Lisp. I tried out the following do form: Clisp responds with: From my understanding, the do form is as follows: Where's the error in my understanding of ...
[ 0.005615234375, 0.0081787109375, -0.01116943359375, -0.00836181640625, -0.02099609375, 0.006805419921875, 0.0022430419921875, 0.0135498046875, -0.0020599365234375, -0.01220703125, 0.0201416015625, -0.025146484375, 0.016357421875, 0.007110595703125, -0.009765625, 0.0079345703125, 0.00...
[ 44084, 56112, 3768, 18, 903, 984, 15236, 35604, 39210, 4086, 254, 123309, 28966, 400, 7008, 3525, 151301, 1261, 37842, 25632, 54, 3173, 35644, 100094, 28960, 18499 ]
[ 0.149658203125, 0.133056640625, 0.048004150390625, 0.1446533203125, 0.099853515625, 0.175048828125, 0.2607421875, 0.1881103515625, 0.07806396484375, 0.10546875, 0.1563720703125, 0.1212158203125, 0.10797119140625, 0.06829833984375, 0.183349609375, 0.0117950439453125, 0.1387939453125, ...
embed
13664639_c0
13664639
lisp
0
Title: Tail recursive functions in Scheme Problem title: Tail recursive functions in Scheme Tags: tail-recursion, recursion, lisp, scheme Problem: Tail recursive functions in Scheme I'm studying for a Christmas test and doing some sample exam questions, I've come across this one that has me a bit stumped I can do regul...
Tail recursive functions in Scheme Tail recursive functions in Scheme tail-recursion recursion lisp scheme Tail Scheme Tail recursive functions in Scheme I'm studying for a Christmas test and doing some sample exam questions, I've come across this one that has me a bit stumped I can do regular recursion fine, but I can...
[ 0.010498046875, 0.03173828125, 0.0025634765625, 0.006927490234375, 0.00799560546875, -0.006378173828125, -0.006134033203125, -0.0216064453125, 0.00225830078125, -0.034912109375, 0.0089111328125, -0.0184326171875, -0.0115966796875, -0.00628662109375, 0.01202392578125, 0.0155029296875, ...
[ 1218, 379, 195625, 5844, 32354, 23, 34702, 282, 46741, 107, 48650, 1830, 400, 7008, 150370, 35187, 40111, 3034, 121413, 42276, 17582, 36880, 4785, 48708, 831, 20324, 5885, 137565, 10336, 33022, 5701, 13580, 17368, 47881, 11389 ]
[ 0.1943359375, 0.1597900390625, 0.2037353515625, 0.10833740234375, 0.1854248046875, 0.0226287841796875, 0.16748046875, 0.1541748046875, 0.26611328125, 0.025665283203125, 0.1556396484375, 0.072998046875, 0.04925537109375, 0.112548828125, 0.189453125, 0.00399017333984375, 0.120666503906...
embed
6168089_c0
6168089
lisp
0
Title: Does Lisp have something like Haskell&#x27;s takeWhile function? Problem title: Does Lisp have something like Haskell&#x27;s takeWhile function? Tags: common-lisp, functional-programming, haskell, lisp Problem: Does Lisp have something like Haskell's takeWhile function? I'm new to Common Lisp. In Haskell, you ca...
Does Lisp have something like Haskell&#x27;s takeWhile function? Does Lisp have something like Haskell&#x27;s takeWhile function? common-lisp functional-programming haskell lisp Does Lisp Haskell Prelude Does Lisp have something like Haskell's takeWhile function? I'm new to Common Lisp. In Haskell, you can do a little ...
[ 0.01806640625, 0.0081787109375, 0.01007080078125, 0.000293731689453125, -0.0035247802734375, 0.01226806640625, -0.01263427734375, -0.00628662109375, -0.01226806640625, -0.05224609375, 0.005615234375, 0.016845703125, -0.015625, -0.00032806396484375, 0.005462646484375, -0.000432968139648...
[ 101790, 1261, 7008, 765, 9844, 1884, 20625, 142508, 3768, 5646, 1456, 979, 133, 32354, 39210, 4086, 254, 123309, 28966, 1556, 400, 1914, 822, 112, 7, 151301, 831, 54, 10176, 903, 7722, 23, 54241, 5303, 678 ]
[ 0.039642333984375, 0.176025390625, 0.2490234375, 0.039154052734375, 0.06878662109375, 0.09033203125, 0.10955810546875, 0.2313232421875, 0.05914306640625, 0.20263671875, 0.06793212890625, 0.212158203125, 0.19775390625, 0.1888427734375, 0.0540771484375, 0.07928466796875, 0.145874023437...
embed
12912831_c0
12912831
lisp
0
Title: Is there a production ready Lisp-like language on the .NET platform? Problem title: Is there a production ready Lisp-like language on the .NET platform? Tags: clojure, .net, lisp Problem: Is there a production ready Lisp-like language on the .NET platform? I'm looking for a .NET analog to Java's Clojure. I know ...
Is there a production ready Lisp-like language on the .NET platform? Is there a production ready Lisp-like language on the .NET platform? clojure .net lisp Lisp-like NET Is there a production ready Lisp-like language on the .NET platform? I'm looking for a .NET analog to Java's Clojure. I know Clojure has a .NET port, ...
[ -0.005157470703125, 0.034912109375, 0.0021209716796875, 0.0091552734375, -0.0267333984375, -0.004150390625, 0.0032196044921875, 0.003875732421875, -0.00151824951171875, -0.0036163330078125, 0.0031585693359375, 0.0035247802734375, -0.01275634765625, -0.00567626953125, 0.006561279296875, ...
[ 2685, 36049, 43542, 1261, 7008, 5062, 46876, 5, 17777, 13651, 10, 20450, 461, 107, 1179, 400, 2071, 16487, 100, 60223, 47, 41925, 51053, 11469, 33342, 4989, 105556, 11389, 17368, 563, 4904, 6032, 12319, 209, 20028, 40715, 12996, 27798, 3203...
[ 0.04205322265625, 0.1810302734375, 0.1424560546875, 0.1746826171875, 0.2337646484375, 0.14990234375, 0.21533203125, 0.046966552734375, 0.1929931640625, 0.1240234375, 0.04449462890625, 0.115966796875, 0.177734375, 0.150390625, 0.150146484375, 0.12060546875, 0.009765625, 0.0485229492...
embed
9354965_c0
9354965
lisp
0
Title: Lisp recursion returns NIL Problem title: Lisp recursion returns NIL Tags: lisp, recursion Problem: Lisp recursion returns NIL Say, that I have a pre-defined function 'sum' elsewhere. I want to sum two lists after I do (setq a '(4 3 4)) and (setq b '(6 10 9)) And I do (recurse a b) . However, I keep getting 'nil...
Lisp recursion returns NIL Lisp recursion returns NIL lisp recursion Lisp NIL Lisp recursion returns NIL Say, that I have a pre-defined function 'sum' elsewhere. I want to sum two lists after I do (setq a '(4 3 4)) and (setq b '(6 10 9)) And I do (recurse a b) . However, I keep getting 'nil' as the return value. What a...
[ -0.00732421875, 0.0137939453125, 0.01904296875, 0.013916015625, -0.01495361328125, 0.0198974609375, 0.00555419921875, -0.003387451171875, 0.0003185272216796875, 0.00946044921875, 0.01416015625, 0.00616455078125, -0.0244140625, -0.02490234375, 0.0186767578125, -0.00787353515625, 0.013...
[ 1261, 7008, 195625, 1830, 30646, 541, 16444, 400, 479, 112, 5983, 32354, 11832, 234311, 3444, 47, 10554, 6626, 5303, 7103, 54, 3509, 864, 105801, 138, 13956, 876, 139303, 209, 77816, 107, 48650, 33306, 13695, 20949, 17324, 237, 34292, 20594...
[ 0.1383056640625, 0.1968994140625, 0.2236328125, 0.104736328125, 0.236083984375, 0.1297607421875, 0.2078857421875, 0.1085205078125, 0.0826416015625, 0.05322265625, 0.1417236328125, 0.138427734375, 0.183837890625, 0.05780029296875, 0.08233642578125, 0.03863525390625, 0.2095947265625, ...
embed
37379161_c0
37379161
lisp
0
Title: Lisp, calculating odd numbers Problem title: Lisp, calculating odd numbers Tags: lisp, common-lisp Problem: Lisp, calculating odd numbers Given a list of atoms consist of numbers and atoms of other types, how can I sum up the odd numbers in it? (sum-odds '(3 6 c 5 82 29 e g) ) => 37 First, I think I need to some...
Lisp, calculating odd numbers Lisp, calculating odd numbers lisp common-lisp Lisp Lisp, calculating odd numbers Given a list of atoms consist of numbers and atoms of other types, how can I sum up the odd numbers in it? First, I think I need to somehow filter the list to get a list of numbers in it. Later I can sum the ...
[ -0.0001468658447265625, 0.03369140625, 0.00537109375, -0.005828857421875, -0.00421142578125, 0.0235595703125, -0.0155029296875, 0.022216796875, 0.009033203125, -0.0281982421875, 0.004791259765625, -0.0238037109375, 0.0133056640625, 0.0033111572265625, -0.0035858154296875, 0.02587890625...
[ 1261, 7008, 74481, 1916, 70270, 101935, 400, 39210, 4086, 254, 5303, 34627, 58055, 136, 3789, 52895, 3642, 831, 10554, 1257, 70, 23, 442, 5351, 3871, 209303, 46312, 2046, 147466, 3525, 959, 3714, 128489, 4527, 3917, 64549, 234873, 69307, 10...
[ 0.1611328125, 0.24609375, 0.17138671875, 0.0567626953125, 0.27197265625, 0.237060546875, 0.1087646484375, 0.1014404296875, 0.1002197265625, 0.1624755859375, 0.1829833984375, 0.1962890625, 0.0914306640625, 0.0321044921875, 0.0218963623046875, 0.1212158203125, 0.06365966796875, 0.050...
embed
56617673_c0
56617673
lisp
0
Title: what is quote? (quote aaa)and aaa are different form each other Problem title: what is quote? (quote aaa)and aaa are different form each other Tags: common-lisp, lisp, racket, scheme Problem: what is quote? (quote aaa)and aaa are different form each other (define (delete-list my-list element) (if (null? my-list)...
what is quote? (quote aaa)and aaa are different form each other what is quote? (quote aaa)and aaa are different form each other common-lisp lisp racket scheme what is quote? (quote aaa)and aaa are different form each other Why doesn't this code output ('bbb) ? How to solve this problem?
[ -0.00653076171875, 0.029052734375, 0.006622314453125, 0.00665283203125, -0.01177978515625, 0.004180908203125, 0.013916015625, 0.004425048828125, 0.0106201171875, -0.00017833709716796875, 0.006195068359375, -0.018310546875, -0.00115966796875, 0.0106201171875, -0.0106201171875, 0.0111083...
[ 2367, 83, 66747, 68726, 10, 11, 2940, 621, 12921, 3173, 12638, 3789, 39210, 4086, 254, 400, 7008, 673, 27853, 150370, 32, 44084, 22027, 18, 903, 18151, 140992, 275, 5125, 86869, 2967 ]
[ 0.0931396484375, 0.14208984375, 0.308349609375, 0.25537109375, 0.098876953125, 0.1470947265625, 0.12078857421875, 0.09234619140625, 0.2000732421875, 0.1759033203125, 0.0919189453125, 0.146728515625, 0.11395263671875, 0.085693359375, 0.153076171875, 0.10357666015625, 0.192138671875, ...
embed
35408574_c0
35408574
lisp
0
Title: Convert fractions from decimal to binary Problem title: Convert fractions from decimal to binary Tags: binary, lisp Problem: Convert fractions from decimal to binary I want to convert the number 8.7 to binary. I know the commands (format nil "~b" (rationalize 8.7)) ===> 1010111/1010 or (format nil "~b" (/ 87 10)...
Convert fractions from decimal to binary Convert fractions from decimal to binary binary lisp decimal Convert Convert fractions from decimal to binary I want to convert the number 8.7 to binary. I know the commands or We observe if we do the quotient binary 1010111/1010 we obtain 1000.1011001100110011001100110011. Is p...
[ -0.0020294189453125, 0.0194091796875, 0.0035400390625, -0.0033416748046875, -0.006256103515625, 0.0230712890625, -0.005950927734375, -0.0081787109375, -0.001495361328125, 0.00170135498046875, -0.0257568359375, 0.0118408203125, 0.01397705078125, 0.03173828125, 0.00579833984375, 0.017700...
[ 1657, 11549, 175921, 7, 1295, 32380, 2749, 47, 2394, 6635, 400, 7008, 3444, 96760, 14012, 210257, 3714, 75101, 139999, 41502, 18750, 21027, 136485, 160685, 963, 113054, 4382, 5, 35046, 3559, 34479, 36053, 7722, 1261, 72272, 3642 ]
[ 0.06024169921875, 0.1678466796875, 0.225830078125, 0.04534912109375, 0.091064453125, 0.1824951171875, 0.154541015625, 0.1292724609375, 0.1805419921875, 0.1739501953125, 0.0806884765625, 0.2027587890625, 0.09613037109375, 0.1619873046875, 0.1435546875, 0.299560546875, 0.03457641601562...
embed
65145524_c0
65145524
lisp
0
Title: Quoting numerical constants in Chez Scheme Problem title: Quoting numerical constants in Chez Scheme Tags: scheme, chez-scheme, lisp Problem: Quoting numerical constants in Chez Scheme I am curious as to why Chez Scheme does not treat numbers as symbols. Whether they are in a list or are quoted alone, number? re...
Quoting numerical constants in Chez Scheme Quoting numerical constants in Chez Scheme scheme chez-scheme lisp Quoting Chez Scheme Version Copyright Cisco Systems Inc Quoting numerical constants in Chez Scheme I am curious as to why Chez Scheme does not treat numbers as symbols. Whether they are in a list or are quoted ...
[ -0.006805419921875, 0.01055908203125, 0.00469970703125, 0.006256103515625, -0.005950927734375, 0.0027923583984375, -0.0166015625, 0.001251220703125, -0.010498046875, -0.0086669921875, -0.0458984375, -0.034912109375, -0.00982666015625, 0.024658203125, -0.01397705078125, 0.0152587890625,...
[ 43851, 1916, 54744, 6827, 53697, 7, 23, 5024, 169, 34702, 282, 150370, 19998, 7560, 400, 7008, 40647, 4189, 148368, 84837, 8942, 193844, 15400, 14602, 959, 85689, 101935, 237, 26582, 1836, 621, 5303, 66747, 75447, 14012, 32, 30646, 29568, 9...
[ 0.2066650390625, 0.1251220703125, 0.167724609375, 0.1259765625, 0.20068359375, 0.049163818359375, 0.056884765625, 0.205322265625, 0.2158203125, 0.213134765625, 0.2093505859375, 0.2020263671875, 0.18798828125, 0.165283203125, 0.071044921875, 0.1678466796875, 0.1273193359375, 0.11120...
embed
53127101_c0
53127101
lisp
0
Title: How would you make a set B a subset of A Problem title: How would you make a set B a subset of A Tags: scheme, set, lisp Problem: How would you make a set B a subset of A I have seen plenty of examples stating how to find the subsets of a given set but how would you make a set sub to another? So Set B is a subse...
How would you make a set B a subset of A How would you make a set B a subset of A scheme set lisp How How would you make a set B a subset of A I have seen plenty of examples stating how to find the subsets of a given set but how would you make a set sub to another? So Set B is a subset of set A, how would this be imple...
[ 0.004730224609375, 0.017578125, 0.025634765625, 0.0252685546875, -0.01104736328125, 0.01165771484375, -0.022216796875, -0.0022125244140625, 0.0091552734375, -0.00154876708984375, -0.0034027099609375, 0.00799560546875, 0.0093994140625, 0.002288818359375, -0.0159912109375, -0.00939941406...
[ 11249, 2806, 3249, 5423, 335, 10, 1614, 3509, 111, 62, 398, 150370, 400, 7008, 87794, 27781, 3642, 47, 7413, 15700, 19943, 83, 29479, 20697, 195625, 31425, 12877, 5303, 27432, 17368, 10176, 42 ]
[ 0.07879638671875, 0.0916748046875, 0.114013671875, 0.2213134765625, 0.203857421875, 0.08404541015625, 0.2379150390625, 0.237060546875, 0.0692138671875, 0.101806640625, 0.003875732421875, 0.159423828125, 0.04522705078125, 0.1307373046875, 0.012481689453125, 0.0648193359375, 0.06982421...
embed
1766215_c0
1766215
lisp
0
Title: Lisp code explanation Problem title: Lisp code explanation Tags: lisp, scheme Problem: Lisp code explanation I'm porting some code from lisp, but I got stuck at this part (apparently that's for mit-scheme) (define (end-of-sentence? word) (and (or (char-exist-last? word '#\.) (char-exist-last? word '#\!) (char-ex...
Lisp code explanation Lisp code explanation lisp scheme Lisp Space EOF Lisp code explanation I'm porting some code from lisp, but I got stuck at this part (apparently that's for mit-scheme) Of course I could just skip that and implement what the comments say it does, but just wanted to be sure there's no magic happenin...
[ -0.006805419921875, 0.01080322265625, -0.00665283203125, 0.01300048828125, -0.0228271484375, 0.001861572265625, 0.0196533203125, 0.00006103515625, -0.00092315673828125, 0.0380859375, 0.01434326171875, 0.00921630859375, -0.0034332275390625, -0.0059814453125, -0.0155029296875, -0.0074157...
[ 1261, 7008, 18151, 187136, 400, 150370, 43045, 241, 82341, 196, 179933, 2831, 491, 7560, 282, 21658, 29479, 24626, 442, 14602, 9077, 110, 49846, 123087, 76615, 3642, 903, 32354, 4488, 7440, 20653, 16454, 124850, 110608, 5351, 18588, 5609, 171...
[ 0.1414794921875, 0.203125, 0.18701171875, 0.1910400390625, 0.111083984375, 0.145751953125, 0.1964111328125, 0.0848388671875, 0.274658203125, 0.0667724609375, 0.04205322265625, 0.00341796875, 0.1640625, 0.103271484375, 0.0577392578125, 0.03973388671875, 0.08489990234375, 0.026702880...
embed
10641057_c0
10641057
lisp
0
Title: Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Problem title: Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Tags: lisp, f%23, programming-languages, metaprogramming, macros Problem: Is there a relationship between untyped/typed code...
Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Is there a relationship between untyped/typed code quotations in F# and macro hygiene? lisp f%23 programming-languages metaprogramming macros Is there a relationship between untyped/typed code quotations in F# and macro hygiene? I wo...
[ 0.007232666015625, 0.004791259765625, 0.018310546875, 0.004791259765625, -0.00787353515625, 0.004150390625, -0.00201416015625, -0.01348876953125, 0.004486083984375, -0.00213623046875, -0.0106201171875, -0.0159912109375, 0.00738525390625, -0.0186767578125, 0.006500244140625, 0.004425048...
[ 76755, 17721, 51, 50986, 71, 64, 18151, 81732, 5256, 563, 4904, 136, 111789, 99824, 13, 2685, 23, 400, 7008, 1238, 3742, 56037, 196651, 23550, 28966, 2071, 10, 76519, 86869, 5701, 37348, 46876, 50509 ]
[ 0.1695556640625, 0.05255126953125, 0.123779296875, 0.188720703125, 0.0418701171875, 0.0280303955078125, 0.173095703125, 0.2022705078125, 0.1099853515625, 0.1585693359375, 0.2027587890625, 0.046844482421875, 0.1595458984375, 0.257568359375, 0.128662109375, 0.007568359375, 0.0269927978...
embed
58246348_c0
58246348
lisp
0
Title: How to display first N natural numbers, knowing the divisors in Lisp Problem title: How to display first N natural numbers, knowing the divisors in Lisp Tags: common-lisp, hamming-numbers, lisp, smooth-numbers Problem: How to display first N natural numbers, knowing the divisors in Lisp Display first N natural n...
How to display first N natural numbers, knowing the divisors in Lisp How to display first N natural numbers, knowing the divisors in Lisp common-lisp hamming-numbers lisp smooth-numbers 1 How Lisp How to display first N natural numbers, knowing the divisors in Lisp Display first N natural numbers, the divisors of which...
[ -0.006072998046875, 0.003173828125, 0.0078125, 0.00616455078125, 0.031005859375, 0.0262451171875, 0.017333984375, 0.01068115234375, -0.0042724609375, -0.037841796875, -0.00142669677734375, -0.0125732421875, -0.019287109375, 0.0220947265625, 0.0146484375, 0.00121307373046875, 0.008300...
[ 11249, 44116, 5117, 541, 6083, 101935, 141956, 45, 51858, 1261, 7008, 23, 39210, 4086, 254, 256, 58838, 2606, 1297, 400, 156100, 47, 7, 90045, 4734, 116, 138, 136, 2861, 9842, 1679 ]
[ 0.04327392578125, 0.1986083984375, 0.13671875, 0.179931640625, 0.1968994140625, 0.2060546875, 0.12890625, 0.132080078125, 0.2415771484375, 0.1541748046875, 0.2176513671875, 0.01277923583984375, 0.05084228515625, 0.1072998046875, 0.14453125, 0.048065185546875, 0.12445068359375, 0.11...
embed
20771344_c0
20771344
lisp
0
Title: delete sublist by element occurrence (Scheme) Problem title: delete sublist by element occurrence (Scheme) Tags: algorithm, lisp, list, scheme Problem: delete sublist by element occurrence (Scheme) How I could remove a sublist by searching only one elem from it. For example, let's have the list: ( (pacific (atla...
delete sublist by element occurrence (Scheme) delete sublist by element occurrence (Scheme) algorithm lisp list scheme Scheme delete sublist by element occurrence (Scheme) How I could remove a sublist by searching only one elem from it. For example, let's have the list: And I want to remove "pacific" from the list and ...
[ 0.002105712890625, 0.0303955078125, -0.00970458984375, 0.005035400390625, -0.01092529296875, 0.007781982421875, 0.006011962890625, -0.003173828125, 0.007720947265625, -0.0189208984375, 0.004913330078125, -0.0225830078125, -0.002410888671875, -0.0091552734375, -0.003143310546875, -0.003...
[ 154109, 1614, 6562, 390, 12830, 74918, 42, 6620, 25452, 12549, 234873, 400, 7008, 5303, 150370, 34702, 282, 11249, 5809, 87388, 10, 157318, 4734, 1632, 88, 195, 1295, 27781, 3444, 47, 62268, 14486, 2046, 25647, 6782, 77947 ]
[ 0.210693359375, 0.209228515625, 0.26123046875, 0.06475830078125, 0.1837158203125, 0.130859375, 0.09552001953125, 0.04937744140625, 0.1298828125, 0.1234130859375, 0.1923828125, 0.048675537109375, 0.1395263671875, 0.202392578125, 0.177978515625, 0.1484375, 0.053619384765625, 0.019256...
embed
38010042_c0
38010042
lisp
0
Title: What is the scheme syntax to import modules (guile especially)? Problem title: What is the scheme syntax to import modules (guile especially)? Tags: guile, lisp, scheme Problem: What is the scheme syntax to import modules (guile especially)? How to import modules in Scheme (guile especially)? How to create a mod...
What is the scheme syntax to import modules (guile especially)? What is the scheme syntax to import modules (guile especially)? guile lisp scheme modules What What is the scheme syntax to import modules (guile especially)? How to import modules in Scheme (guile especially)? How to create a module and import it in anoth...
[ -0.01507568359375, -0.005828857421875, -0.005340576171875, 0.032958984375, -0.01483154296875, 0.00101470947265625, 0.0169677734375, -0.020263671875, -0.0106201171875, -0.0267333984375, -0.0155029296875, -0.0272216796875, -0.0184326171875, -0.0203857421875, -0.0162353515625, -0.02246093...
[ 150370, 6002, 86531, 24927, 88996, 7, 1234, 1340, 41866, 47, 2497, 400, 7008, 83, 70, 11249, 23, 34702, 282, 28282, 26499, 9969, 75101, 2256, 10750, 115081, 14364 ]
[ 0.278564453125, 0.1514892578125, 0.250732421875, 0.2783203125, 0.2626953125, 0.03448486328125, 0.1287841796875, 0.2393798828125, 0.07257080078125, 0.052276611328125, 0.1134033203125, 0.061553955078125, 0.1815185546875, 0.02752685546875, 0.035247802734375, 0.06158447265625, 0.06591796...
embed
17455505_c0
17455505
lisp
0
Title: how to create deep copies of structures Problem title: how to create deep copies of structures Tags: structure, shallow-copy, lisp, common-lisp Problem: how to create deep copies of structures How do I copy a structure in Common Lisp? I created a structure like: (defstruct state board player previous-move depth)...
how to create deep copies of structures how to create deep copies of structures structure shallow-copy lisp common-lisp how to create deep copies of structures How do I copy a structure in Common Lisp? I created a structure like: Board is a 2 dimension array. I tried doing: When I change something in new-state , the ch...
[ 0.020263671875, -0.0005950927734375, -0.00787353515625, 0.0223388671875, 0.00994873046875, 0.0033111572265625, 0.0103759765625, -0.0029754638671875, 0.01409912109375, -0.013427734375, 0.01361083984375, 0.0164794921875, 0.032470703125, 0.0155029296875, 0.001220703125, -0.00933837890625,...
[ 3642, 47, 28282, 53894, 71200, 7, 111, 45646, 35299, 8770, 137366, 400, 7008, 39210, 4086, 254, 11249, 54, 87, 43658, 10, 23, 151301, 1261, 75935, 62554, 83, 116, 91403, 10298, 53, 37842, 15549, 3525, 61340, 65572, 74918, 11341, 831, 1884...
[ 0.0828857421875, 0.05108642578125, 0.1796875, 0.191650390625, 0.2432861328125, 0.08526611328125, 0.02960205078125, 0.25244140625, 0.0845947265625, 0.1295166015625, 0.1971435546875, 0.0665283203125, 0.2178955078125, 0.11236572265625, 0.07305908203125, 0.1436767578125, 0.05123901367187...
embed
50539161_c0
50539161
lisp
0
Title: Common Lisp: Function returns function name Problem title: Common Lisp: Function returns function name Tags: common-lisp, lisp Problem: Common Lisp: Function returns function name I am currently trying to solve problem 1 from projecteuler.net. Evaluation of this function only returns the name of the function. Wh...
Common Lisp: Function returns function name Common Lisp: Function returns function name common-lisp lisp Common Lisp Common Lisp: Function returns function name I am currently trying to solve problem 1 from projecteuler.net. Evaluation of this function only returns the name of the function. What am I doing wrong?
[ -0.009521484375, 0.0130615234375, 0.015869140625, 0.0166015625, -0.01177978515625, 0.019775390625, -0.003509521484375, 0.009033203125, -0.0021209716796875, -0.00390625, 0.0135498046875, -0.010986328125, -0.025146484375, -0.01129150390625, 0.00592041015625, 0.0201416015625, -0.0016708...
[ 151301, 1261, 7008, 28670, 10763, 30646, 32354, 9351, 12, 7, 39210, 4086, 254, 400, 86869, 2967, 106, 30378, 56, 1179, 151228, 903, 4734, 111, 20594, 44691 ]
[ 0.1719970703125, 0.1685791015625, 0.182861328125, 0.2017822265625, 0.10101318359375, 0.2012939453125, 0.213623046875, 0.1739501953125, 0.0204925537109375, 0.028472900390625, 0.15283203125, 0.10003662109375, 0.08758544921875, 0.09356689453125, 0.08441162109375, 0.09808349609375, 0.011...
embed
25322367_c0
25322367
lisp
0
Title: No value returned by Common Lisp function Problem title: No value returned by Common Lisp function Tags: common-lisp, function, lisp, return-value Problem: No value returned by Common Lisp function I've read that every form in Common Lisp returns something when evaluated. However, recently I've been playing with...
No value returned by Common Lisp function No value returned by Common Lisp function common-lisp function lisp return-value Common Lisp CL-USER asdf:clear-output-translations NIL No value returned by Common Lisp function I've read that every form in Common Lisp returns something when evaluated. However, recently I've be...
[ 0.017333984375, 0.0123291015625, 0.0064697265625, -0.007232666015625, -0.003814697265625, 0.0177001953125, 0.020751953125, -0.031982421875, -0.010986328125, 0.02734375, -0.0089111328125, 0.006500244140625, -0.022705078125, -0.0216064453125, 0.02099609375, -0.010986328125, 0.009460449...
[ 438, 34292, 176377, 151301, 1261, 7008, 32354, 390, 39210, 4086, 254, 400, 30646, 27494, 46323, 1062, 237, 420, 119488, 6056, 30145, 57860, 541, 16444, 11907, 3173, 9844, 151575, 75169, 6483, 38997, 61687, 7, 33720, 7722, 15400, 22027, 18, ...
[ 0.1146240234375, 0.2222900390625, 0.1832275390625, 0.175048828125, 0.1695556640625, 0.20654296875, 0.1859130859375, 0.012908935546875, 0.1275634765625, 0.1025390625, 0.1427001953125, 0.1016845703125, 0.1729736328125, 0.146484375, 0.0120849609375, 0.01751708984375, 0.003173828125, 0...
embed
27757670_c0
27757670
lisp
0
Title: finding duplicate elemntes in a list with LISP language Problem title: finding duplicate elemntes in a list with LISP language Tags: lisp Problem: finding duplicate elemntes in a list with LISP language I'm new Lisp programmer and need some help I want to write a function that find duplicate elements in a list b...
finding duplicate elemntes in a list with LISP language finding duplicate elemntes in a list with LISP language lisp LISP myList.length finding duplicate elemntes in a list with LISP language I'm new Lisp programmer and need some help I want to write a function that find duplicate elements in a list but i cant write it...
[ -0.0098876953125, 0.01171875, 0.000324249267578125, 0.005157470703125, 0.00162506103515625, 0.0037078857421875, 0.01177978515625, 0.0062255859375, 0, -0.049560546875, 0.007171630859375, -0.004669189453125, 0.025634765625, -0.004150390625, 0, 0.027099609375, -0.000743865966796875, 0...
[ 90791, 171763, 67, 88, 195, 5286, 23, 5303, 678, 16970, 9434, 46876, 400, 7008, 759, 154663, 23986, 927, 3525, 1261, 77848, 3871, 4358, 3444, 33022, 32354, 7413, 80854, 1284, 45767, 1884, 903 ]
[ 0.10968017578125, 0.2445068359375, 0.1612548828125, 0.07037353515625, 0.0697021484375, 0.15185546875, 0.045501708984375, 0.1766357421875, 0.0290374755859375, 0.1217041015625, 0.190185546875, 0.11480712890625, 0.107177734375, 0.1602783203125, 0.0958251953125, 0.208740234375, 0.1137084...
embed
27927571_c1
27927571
lisp
1
, I will call the second function (check). However, after I call the 2nd function (check) from the 1st function (retrieve) and successfully performed the operations, I want to exit the dotimes loop from the 1st function but I can't do it. If I try to add (return) to it, the program will just exit the loop, without perf...
, I will call the second function (check). However, after I call the 2nd function (check) from the 1st function (retrieve) and successfully performed the operations, I want to exit the dotimes loop from the 1st function but I can't do it. If I try to add (return) to it, the program will just exit the loop, without perf...
[ -0.0023651123046875, -0.006072998046875, -0.01202392578125, -0.003143310546875, 0.00125885009765625, 0.005706787109375, -0.017822265625, 0.01177978515625, 0.0164794921875, -0.037841796875, -0.0023193359375, 0.000553131103515625, -0.000698089599609375, -0.0172119140625, 0.0125732421875, ...
[ 11782, 17932, 32354, 78292, 7103, 116, 2208, 3996, 3134, 65771, 51339, 41018, 3444, 47, 82230, 54, 70141, 40956, 1295, 271, 831, 18, 9790, 15190, 65395, 19, 1528, 63805, 206, 38472, 27494, 176726, 20805, 927, 54529, 155738, 199015, 159029, ...
[ 0.1258544921875, 0.1759033203125, 0.18896484375, 0.215576171875, 0.057891845703125, 0.09130859375, 0.08404541015625, 0.06756591796875, 0.1241455078125, 0.0762939453125, 0.0531005859375, 0.10406494140625, 0.04681396484375, 0.033111572265625, 0.201904296875, 0.09857177734375, 0.2565917...
embed
55088296_c0
55088296
lisp
0
Title: Embeddable common lisp only builds .fasc not .o Problem title: Embeddable common lisp only builds .fasc not .o Tags: compiler-errors, ecl, lisp, common-lisp, c Problem: Embeddable common lisp only builds .fasc not .o The documentation for ECL suggests that (compile-file "hello.lisp" :system-p t) should produce a...
Embeddable common lisp only builds .fasc not .o Embeddable common lisp only builds .fasc not .o compiler-errors ecl lisp common-lisp c Embeddable hello.lisp Compiling hello.fasc NIL Embeddable common lisp only builds .fasc not .o The documentation for ECL suggests that should produce a .o file however I instead get a ....
[ 0.0064697265625, -0.01092529296875, -0.0123291015625, 0.00543212890625, -0.0081787109375, 0.0167236328125, -0.0250244140625, 0.0030364990234375, -0.0020294189453125, -0.010498046875, 0.0118408203125, -0.0201416015625, 0.005645751953125, -0.0084228515625, 0.0084228515625, -0.01062011718...
[ 2775, 13482, 71, 2886, 39210, 400, 7008, 4734, 45367, 5, 31773, 238, 959, 31, 9969, 34759, 188800, 28, 34937, 4086, 254, 501, 33600, 15612, 49725, 541, 16444, 209806, 241, 37486, 42459, 27489, 11435, 49903, 64457, 2046, 6, 628, 7077 ]
[ 0.0430908203125, 0.21923828125, 0.055511474609375, 0.1029052734375, 0.1536865234375, 0.1334228515625, 0.2169189453125, 0.055572509765625, 0.1883544921875, 0.043975830078125, 0.1739501953125, 0.1483154296875, 0.06292724609375, 0.1907958984375, 0.0950927734375, 0.1048583984375, 0.13903...
embed
24125047_c0
24125047
lisp
0
Title: Explanation on passed procedure execution Problem title: Explanation on passed procedure execution Tags: scheme, lisp, sicp, lambda Problem: Explanation on passed procedure execution In SICP lecture 2a, I'm confused on (average (f x) x) . Can it not just be (average f x) . Doesn't f mean the lambda of (/ x y) al...
Explanation on passed procedure execution Explanation on passed procedure execution scheme lisp sicp lambda Explanation Explanation on passed procedure execution In SICP lecture 2a, I'm confused on (average (f x) x) . Can it not just be (average f x) . Doesn't f mean the lambda of (/ x y) already? Why do I need (averag...
[ 0.0125732421875, 0.016357421875, -0.006591796875, 0.0067138671875, -0.0054931640625, 0.0034027099609375, 0.0011749267578125, 0.004058837890625, 0.003875732421875, -0.02490234375, 0.007080078125, -0.0218505859375, -0.03369140625, 0.00921630859375, 0.004608154296875, -0.00897216796875, ...
[ 5868, 115081, 50491, 71924, 150370, 7008, 26536, 254, 21, 6492, 85, 159, 198993, 59619, 116, 11, 55681, 5281, 98, 8216, 29838, 420, 1022, 4171, 959, 186, 1238, 29459, 111, 64, 113, 21771, 44084, 3871, 4358, 161740, 1830, 55300 ]
[ 0.1195068359375, 0.1573486328125, 0.20361328125, 0.1783447265625, 0.09588623046875, 0.09698486328125, 0.051300048828125, 0.0982666015625, 0.052276611328125, 0.1820068359375, 0.152099609375, 0.02587890625, 0.18310546875, 0.090576171875, 0.0248260498046875, 0.0263519287109375, 0.073181...
embed
14768575_c0
14768575
lisp
0
Title: LTK: removing character echo in Entry widget Problem title: LTK: removing character echo in Entry widget Tags: lisp, common-lisp, ltk, user-interface, sbcl Problem: LTK: removing character echo in Entry widget Is there anyway to have remove echoing of characters being typed in the Entry widget of LTK? For the CL...
LTK: removing character echo in Entry widget LTK: removing character echo in Entry widget lisp common-lisp ltk user-interface sbcl LTK Entry sb-alien:define-alien-routine sb-alien:c-string LTK: removing character echo in Entry widget Is there anyway to have remove echoing of characters being typed in the Entry widget o...
[ 0.018310546875, 0.01031494140625, -0.00024127960205078125, 0.0081787109375, 0.000039577484130859375, -0.005340576171875, 0.0189208984375, 0.0164794921875, 0.006378173828125, -0.0220947265625, 0.00787353515625, -0.030029296875, -0.01324462890625, 0.0081787109375, 0.000308990478515625, 0...
[ 339, 29735, 49146, 6496, 62816, 28, 3089, 357, 15123, 148631, 23, 400, 7008, 39210, 4086, 254, 96, 31472, 38937, 10433, 40404, 34937, 275, 1799, 33, 64552, 14179, 10325, 238, 9, 91693, 109954, 765, 87388, 214, 111, 124850, 8035, 10644, 10...
[ 0.08935546875, 0.239990234375, 0.1148681640625, 0.07373046875, 0.208251953125, 0.1102294921875, 0.27294921875, 0.1212158203125, 0.215087890625, 0.261474609375, 0.006134033203125, 0.03326416015625, 0.118896484375, 0.06512451171875, 0.01348876953125, 0.0982666015625, 0.030487060546875,...
embed
12040141_c0
12040141
lisp
0
Title: How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? Problem title: How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? Tags: emacs, lisp, slime, common-lisp Problem: How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? I'd very...
How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? emacs lisp slime common-lisp How SLIME Steel Bank Common Lisp Windows x64 How to start programming with SLIME and Steel Bank Common Lisp on Windows 7 x64? I'd...
[ 0.01092529296875, 0.00011920928955078125, -0.0157470703125, 0.007568359375, -0.032470703125, 0.032470703125, 0.0079345703125, -0.0024261474609375, -0.00823974609375, -0.003387451171875, 0.0045166015625, 0.013916015625, -0.0098876953125, 0.0096435546875, 0.01470947265625, -0.01080322265...
[ 11249, 47, 4034, 56037, 449, 678, 42135, 66820, 136, 109028, 4932, 151301, 1261, 7008, 3773, 361, 13307, 98, 1022, 352, 2263, 7, 400, 34264, 13, 39210, 4086, 254, 4552, 5045, 1884, 17368, 6097, 72977, 37202, 39, 959, 18775, 20174, 173633,...
[ 0.08673095703125, 0.0433349609375, 0.1756591796875, 0.192626953125, 0.1304931640625, 0.07977294921875, 0.169921875, 0.2451171875, 0.0789794921875, 0.191162109375, 0.181884765625, 0.15234375, 0.1590576171875, 0.177490234375, 0.1165771484375, 0.153564453125, 0.2305908203125, 0.055847...
embed
10693531_c0
10693531
lisp
0
Title: Where can I get a &quot;Light Table&quot; theme for Emacs 24? Problem title: Where can I get a &quot;Light Table&quot; theme for Emacs 24? Tags: emacs24, themes, lisp, emacs Problem: Where can I get a "Light Table" theme for Emacs 24? I really like the Light Table color scheme but despite lots of Googling I can'...
Where can I get a &quot;Light Table&quot; theme for Emacs 24? Where can I get a &quot;Light Table&quot; theme for Emacs 24? emacs24 themes lisp emacs Where Light Table Emacs emacs24 Where can I get a "Light Table" theme for Emacs 24? I really like the Light Table color scheme but despite lots of Googling I can't seem t...
[ 0.01129150390625, 0.019775390625, -0.018310546875, -0.01239013671875, -0.0169677734375, 0.0004405975341796875, 0.02099609375, 0.0220947265625, -0.000972747802734375, -0.004669189453125, 0.0111083984375, 0.0026092529296875, -0.02490234375, 0.0045166015625, -0.00439453125, 0.013061523437...
[ 78662, 831, 2046, 10, 187459, 112997, 73986, 100, 85269, 4439, 744, 87, 352, 2263, 7, 2357, 2856, 400, 7008, 30948, 6183, 1884, 10576, 150370, 1284, 71358, 230596, 18, 48903, 7413, 81887, 89011, 16940, 903, 21771, 1650, 43334, 450, 33342, ...
[ 0.0782470703125, 0.0902099609375, 0.0972900390625, 0.03363037109375, 0.2384033203125, 0.268310546875, 0.232421875, 0.04364013671875, 0.162841796875, 0.1710205078125, 0.222412109375, 0.013763427734375, 0.06109619140625, 0.096923828125, 0.036346435546875, 0.1839599609375, 0.12292480468...
embed
2966765_c0
2966765
lisp
0
Title: What is the difference between 1 and &#x27;1 in Lisp? Problem title: What is the difference between 1 and &#x27;1 in Lisp? Tags: clojure, common-lisp, lisp, quote, scheme Problem: What is the difference between 1 and '1 in Lisp? I had never really thought about whether a symbol could be a number in Lisp, so I pl...
What is the difference between 1 and &#x27;1 in Lisp? What is the difference between 1 and &#x27;1 in Lisp? clojure common-lisp lisp quote scheme What Lisp What is the difference between 1 and '1 in Lisp? I had never really thought about whether a symbol could be a number in Lisp, so I played around with it today: The ...
[ -0.0033416748046875, 0.0177001953125, 0.0079345703125, 0.003021240234375, -0.01904296875, 0.003814697265625, 0.007476806640625, 0.00604248046875, 0.00714111328125, -0.0057373046875, -0.018798828125, -0.000018835067749023438, -0.006378173828125, 0.011474609375, -0.019775390625, 0.023925...
[ 4865, 70, 60212, 17721, 106, 136, 54764, 3768, 74, 418, 23, 1261, 7008, 20450, 461, 107, 39210, 4086, 254, 400, 66747, 150370, 83, 242, 26582, 5809, 186, 14012, 112730, 36917, 18151, 5701, 151301, 51053, 71 ]
[ 0.039947509765625, 0.071533203125, 0.21240234375, 0.1270751953125, 0.1644287109375, 0.12890625, 0.05194091796875, 0.11376953125, 0.0584716796875, 0.1781005859375, 0.08837890625, 0.1668701171875, 0.240234375, 0.0264434814453125, 0.11376953125, 0.1029052734375, 0.051666259765625, 0.0...
embed
28765947_c0
28765947
lisp
0
Title: Deep nested lists in LISP return # for a part of my list Problem title: Deep nested lists in LISP return # for a part of my list Tags: nested-lists, lisp Problem: Deep nested lists in LISP return # for a part of my list I'm new in LISP and trying to work with deep nested lists. All the basic functions with lists...
Deep nested lists in LISP return # for a part of my list Deep nested lists in LISP return # for a part of my list nested-lists lisp Deep LISP Deep nested lists in LISP return # for a part of my list I'm new in LISP and trying to work with deep nested lists. All the basic functions with lists such as CONS or LIST do not...
[ 0.005889892578125, 0.018798828125, -0.00299072265625, 0.00628662109375, 0.004974365234375, 0.0218505859375, -0.0245361328125, 0.00775146484375, 0.020263671875, 0.0009002685546875, 0.01495361328125, -0.018798828125, 0.0233154296875, 0.038330078125, 0.014404296875, 0.0025787353515625, ...
[ 62723, 8512, 71, 5303, 16970, 9434, 30646, 468, 2831, 759, 23, 100, 6562, 400, 7008, 111, 3525, 4488, 53894, 3164, 62822, 32354, 678, 109022, 195977, 959, 8337, 26785, 50339, 91995, 390, 26582, 41600, 4700, 6896, 5211, 80126, 139303, 17966,...
[ 0.171875, 0.241943359375, 0.10382080078125, 0.23095703125, 0.123779296875, 0.2125244140625, 0.18359375, 0.1754150390625, 0.137451171875, 0.02703857421875, 0.0384521484375, 0.044097900390625, 0.196044921875, 0.0621337890625, 0.111328125, 0.0213775634765625, 0.0341796875, 0.034698486...
embed
1037545_c0
1037545
lisp
0
Title: How to replace forward slashes with backslashes in a string in Emacs Lisp? Problem title: How to replace forward slashes with backslashes in a string in Emacs Lisp? Tags: string, regex, lisp, emacs Problem: How to replace forward slashes with backslashes in a string in Emacs Lisp? I would like to replace forward...
How to replace forward slashes with backslashes in a string in Emacs Lisp? How to replace forward slashes with backslashes in a string in Emacs Lisp? string regex lisp emacs How Emacs Lisp Invalid How to replace forward slashes with backslashes in a string in Emacs Lisp? I would like to replace forward slashes with bac...
[ 0.0004558563232421875, 0.0322265625, -0.01251220703125, -0.006561279296875, -0.022216796875, 0.038818359375, -0.00830078125, 0.0145263671875, -0.00823974609375, 0.0034637451171875, 0.005645751953125, 0.01507568359375, 0.00007486343383789062, -0.0016937255859375, -0.004119873046875, -0....
[ 11249, 47, 91995, 40225, 14865, 114942, 678, 4420, 7, 5544, 90, 79315, 85269, 4439, 1261, 7008, 23, 6835, 3355, 400, 352, 2263, 7013, 71, 4527, 18499, 33636, 17932, 83613 ]
[ 0.043304443359375, 0.01953125, 0.1607666015625, 0.1934814453125, 0.171630859375, 0.1258544921875, 0.060791015625, 0.1744384765625, 0.0372314453125, 0.193359375, 0.07763671875, 0.1978759765625, 0.13427734375, 0.1617431640625, 0.130126953125, 0.2064208984375, 0.04217529296875, 0.1141...
embed
39930869_c0
39930869
lisp
0
Title: How to make deep-reverse function in Lisp Problem title: How to make deep-reverse function in Lisp Tags: common-lisp, reverse, lisp, recursion Problem: How to make deep-reverse function in Lisp I am trying to make deep-reverse function in lisp. For example: (a (b c d) e) -> (e (d c b) a) Here is my code. (defun ...
How to make deep-reverse function in Lisp How to make deep-reverse function in Lisp common-lisp reverse lisp recursion How Lisp How to make deep-reverse function in Lisp I am trying to make deep-reverse function in lisp. For example: Here is my code. Whenever I compile and load, I have an error:
[ 0.00179290771484375, 0.033203125, 0.01495361328125, 0.005401611328125, 0.002532958984375, 0.0030517578125, -0.0030670166015625, 0.007415771484375, 0.01220703125, -0.0235595703125, 0.005523681640625, -0.00072479248046875, 0.01171875, 0.0118408203125, 0.024658203125, 0.001007080078125, ...
[ 11249, 47, 3249, 53894, 9, 107, 37676, 32354, 23, 1261, 7008, 39210, 4086, 254, 39531, 184, 400, 195625, 1830, 31577, 18151, 30441, 9969, 1340, 72367, 18499 ]
[ 0.05120849609375, 0.045501708984375, 0.0936279296875, 0.180908203125, 0.03302001953125, 0.11669921875, 0.237548828125, 0.178466796875, 0.07708740234375, 0.1588134765625, 0.2291259765625, 0.09173583984375, 0.10675048828125, 0.152099609375, 0.194091796875, 0.1099853515625, 0.1273193359...
embed
18004620_c1
18004620
lisp
1
r")) (prompt (igrep-prefix prompt-prefix (if igrep-verbose-prompts (format "File(s): [Type `%s' when done] " (key-description key)) "File(s): ")))) (while (and (setq file (igrep-read-file-name prompt nil "" nil nil 'igrep-files-history)) (not (equal file ""))) (setq files (cons file files))))) (mapcar (lambda (file) (i...
r")) (prompt (igrep-prefix prompt-prefix (if igrep-verbose-prompts (format "File(s): [Type `%s' when done] " (key-description key)) "File(s): ")))) (while (and (setq file (igrep-read-file-name prompt nil "" nil nil 'igrep-files-history)) (not (equal file ""))) (setq files (cons file files))))) (mapcar (lambda (file) (i...
[ 0.01544189453125, -0.00341796875, -0.013671875, 0.00994873046875, -0.018798828125, 0.02587890625, 0.01318359375, -0.017822265625, 0.00909423828125, 0.007476806640625, 0.0033721923828125, 0.00885009765625, -0.0084228515625, 0.020751953125, -0.0030517578125, 0.031982421875, -0.00817871...
[ 1690, 18939, 16, 3454, 2676, 18, 872, 33581, 4692, 55923, 105876, 3190, 32644, 254, 81465, 8364, 933, 51727, 174350, 196707, 3949, 3229, 16940, 19770, 59478, 22799, 80126, 204610, 3509, 864, 11435, 39116, 29822, 11627, 17324, 979, 86385, 7172...
[ 0.12109375, 0.091064453125, 0.001434326171875, 0.06732177734375, 0.1617431640625, 0.0787353515625, 0.1248779296875, 0.235107421875, 0.0775146484375, 0.1986083984375, 0.2802734375, 0.08306884765625, 0.15966796875, 0.1956787109375, 0.0863037109375, 0.1253662109375, 0.043975830078125, ...
embed
15647345_c0
15647345
lisp
0
Title: Iterate over 2 lists in parallel in CLISP Problem title: Iterate over 2 lists in parallel in CLISP Tags: common-lisp, lisp Problem: Iterate over 2 lists in parallel in CLISP I'm newbie trying to iterate over 2 lists in parallel, like this: (defun test-do* (l1 l2) (do* ((temp1 l1 (cdr l1)) (var1 (car temp1) (car ...
Iterate over 2 lists in parallel in CLISP Iterate over 2 lists in parallel in CLISP common-lisp lisp Iterate CLISP temp1 var1 temp2 var2 end-of-l1 Iterate over 2 lists in parallel in CLISP I'm newbie trying to iterate over 2 lists in parallel, like this: The problem is that I got an infinite loop in my code and I don't...
[ 0.01226806640625, 0.01385498046875, -0.009521484375, 0.0024261474609375, -0.00811767578125, 0.02490234375, 0.006256103515625, 0.00384521484375, 0.0032806396484375, -0.039306640625, 0.0269775390625, 0.030029296875, 0.00958251953125, -0.00750732421875, 0.00250244140625, -0.00717163085937...
[ 87, 8560, 67, 645, 116, 5303, 95103, 313, 67616, 683, 23, 39210, 4086, 254, 400, 7008, 20805, 418, 285, 304, 3564, 4390, 9014, 31577, 17, 2967, 4163, 54241, 13, 40956, 18151, 3714, 15400, 4358, 77947 ]
[ 0.003387451171875, 0.2373046875, 0.0692138671875, 0.1400146484375, 0.1356201171875, 0.2135009765625, 0.2210693359375, 0.03826904296875, 0.1441650390625, 0.190185546875, 0.0130615234375, 0.087890625, 0.09466552734375, 0.1539306640625, 0.064453125, 0.165771484375, 0.1129150390625, 0....
embed
41879822_c1
41879822
lisp
1
diferent like sucessors-aux1 because sucessors receive a list of operators like (sucessors (no-test) (operators) 'bfs nil) or (sucessors (no-test) (operators) 'dfs 2) and should return all sucessors-aux1 but return nil see the test in Ideone.com ;; the function sucessors (defun sucessors (no operator algoritm depth) (...
diferent like sucessors-aux1 because sucessors receive a list of operators like (sucessors (no-test) (operators) 'bfs nil) or (sucessors (no-test) (operators) 'dfs 2) and should return all sucessors-aux1 but return nil see the test in Ideone.com ;; the function sucessors (defun sucessors (no operator algoritm depth) (...
[ 0.018798828125, -0.000911712646484375, 0.0084228515625, 0.026611328125, -0.01300048828125, 0.0169677734375, -0.004364013671875, 0.0059814453125, 0.0032806396484375, -0.0205078125, 0.00640869140625, -0.0164794921875, 0.006500244140625, 0.002655029296875, 0.007293701171875, -0.0069580078...
[ 92606, 1884, 49231, 4295, 9, 10442, 418, 6637, 53299, 5303, 39933, 1159, 26531, 25251, 157, 6954, 206469, 150598, 7, 17324, 707, 17447, 4958, 5608, 30646, 756, 1284, 3034, 24037, 3630, 32354, 112, 16498, 83898, 168867, 2271, 71723, 28354, 1...
[ 0.218994140625, 0.0794677734375, 0.2724609375, 0.2271728515625, 0.0784912109375, 0.236328125, 0.169677734375, 0.04473876953125, 0.0936279296875, 0.106689453125, 0.224365234375, 0.1240234375, 0.2186279296875, 0.1905517578125, 0.0906982421875, 0.14013671875, 0.1707763671875, 0.107788...
embed
35760350_c0
35760350
lisp
0
Title: LISP: Illegal argument in functor position Problem title: LISP: Illegal argument in functor position Tags: list, macros, common-lisp, lisp Problem: LISP: Illegal argument in functor position My code looks like this: (defmacro createList (a b c) (let ((lst (list a b c))) (write lst))) (createList 1 2 3 ) I get: I...
LISP: Illegal argument in functor position LISP: Illegal argument in functor position list macros common-lisp lisp LISP Illegal LISP: Illegal argument in functor position My code looks like this: I get: I know there is a simillar question here: Lisp Illegal argument in functor position But I can't adjust the answer to ...
[ 0.004791259765625, 0.01348876953125, -0.005462646484375, 0.0186767578125, 0.00165557861328125, 0.0361328125, 0.00872802734375, 0.0045166015625, -0.02392578125, -0.015869140625, 0.01080322265625, -0.033935546875, 0.0096435546875, -0.01043701171875, -0.00921630859375, -0.01708984375, -...
[ 16970, 9434, 891, 86966, 10750, 7477, 18770, 19069, 5303, 111789, 39210, 4086, 254, 400, 7008, 23, 18151, 33342, 3714, 78, 61716, 42, 9655, 1261, 831, 126596, 35166, 2967, 78662, 49129, 35412, 90, 20594, 44691 ]
[ 0.125244140625, 0.2335205078125, 0.0733642578125, 0.1939697265625, 0.2225341796875, 0.1356201171875, 0.142333984375, 0.1864013671875, 0.1143798828125, 0.13623046875, 0.058319091796875, 0.07977294921875, 0.1329345703125, 0.08917236328125, 0.2041015625, 0.055694580078125, 0.12353515625...
embed
66944931_c0
66944931
lisp
0
Title: What would the following display in scheme? Problem title: What would the following display in scheme? Tags: lisp, scheme Problem: What would the following display in scheme? I have tried this expression on a few (online) scheme interpreters/parsers and sometimes get different answers. For the following expressi...
What would the following display in scheme? What would the following display in scheme? lisp scheme What What would the following display in scheme? I have tried this expression on a few (online) scheme interpreters/parsers and sometimes get different answers. For the following expression: What would it display and/or ...
[ 0.0133056640625, 0.0206298828125, -0.007659912109375, 0.0228271484375, -0.01611328125, 0.00811767578125, 0.007080078125, -0.0017852783203125, -0.004364013671875, 0.0306396484375, -0.0042724609375, -0.0228271484375, -0.0162353515625, 0.01177978515625, -0.017822265625, 0.00811767578125, ...
[ 4865, 2806, 25632, 44116, 23, 150370, 400, 7008, 37842, 125195, 29481, 2500, 35166, 30646, 44084, 41872, 213850, 50782, 91, 204629, 144281, 11737, 62816, 79315, 56649 ]
[ 0.06915283203125, 0.11370849609375, 0.161376953125, 0.1934814453125, 0.0997314453125, 0.27685546875, 0.13330078125, 0.24365234375, 0.038848876953125, 0.1971435546875, 0.1044921875, 0.012847900390625, 0.007434844970703125, 0.207763671875, 0.035980224609375, 0.1378173828125, 0.19555664...
embed
170931_c0
170931
lisp
0
Title: Replace an item in a list in Common Lisp? Problem title: Replace an item in a list in Common Lisp? Tags: common-lisp, lisp, replace, list Problem: Replace an item in a list in Common Lisp? I have a list of things (I'll call it L), an index(N) and a new thing(NEW). If I want to replace the thing in L at N with NE...
Replace an item in a list in Common Lisp? Replace an item in a list in Common Lisp? common-lisp lisp replace list Replace Common Lisp Replace an item in a list in Common Lisp? I have a list of things (I'll call it L), an index(N) and a new thing(NEW). If I want to replace the thing in L at N with NEW, what is the best ...
[ -0.0238037109375, 0.013427734375, 0.0101318359375, -0.002471923828125, -0.0023193359375, 0.0030975341796875, -0.0223388671875, 0.002838134765625, 0.0081787109375, -0.0018463134765625, 0.015625, 0.00714111328125, -0.0113525390625, -0.0089111328125, -0.00848388671875, 0.0031585693359375,...
[ 853, 23935, 35735, 23, 5303, 151301, 1261, 7008, 32, 39210, 4086, 254, 400, 91995, 142, 10, 765, 8966, 11782, 339, 63262, 839, 3525, 13580, 8015, 1456, 3444, 47, 99, 541, 678, 80111, 2965, 3917, 54, 903, 1614, 6562, 3564, 18743, 25842, ...
[ 0.096923828125, 0.21728515625, 0.1949462890625, 0.08990478515625, 0.2440185546875, 0.1890869140625, 0.17431640625, 0.20849609375, 0.0052490234375, 0.11328125, 0.1007080078125, 0.1065673828125, 0.109130859375, 0.214599609375, 0.031158447265625, 0.0245513916015625, 0.037139892578125, ...
embed
6591043_c0
6591043
lisp
0
Title: how to answer yes or no automatically in emacs Problem title: how to answer yes or no automatically in emacs Tags: lisp, lambda, emacs, elisp Problem: how to answer yes or no automatically in emacs I binded function semantic-symref to key C-c C-r like this: (global-set-key (kbd "C-c C-r") 'semantic-symref) every...
how to answer yes or no automatically in emacs how to answer yes or no automatically in emacs lisp lambda emacs elisp C-c C-r how to answer yes or no automatically in emacs I binded function semantic-symref to key C-c C-r like this: (global-set-key (kbd "C-c C-r") 'semantic-symref) everytime I pressed C-c C-r , it prom...
[ -0.0235595703125, 0.03271484375, 0.03125, -0.0120849609375, -0.016845703125, 0.022216796875, 0.0023956298828125, 0.01458740234375, -0.00970458984375, -0.013671875, 0.0021820068359375, 0.01287841796875, -0.0291748046875, 0.0234375, 0.00787353515625, -0.0068359375, -0.00836181640625, ...
[ 3642, 47, 35166, 72272, 707, 110, 191082, 23, 352, 2263, 7, 400, 7008, 6492, 85, 15296, 313, 9, 238, 42, 68557, 32354, 484, 109109, 4650, 29087, 22799, 156566, 3509, 19770, 34145, 5765, 30501, 6, 105876, 165523, 10433, 71232, 63736 ]
[ 0.03753662109375, 0.0279693603515625, 0.2105712890625, 0.16357421875, 0.1143798828125, 0.1751708984375, 0.27392578125, 0.0823974609375, 0.1092529296875, 0.1883544921875, 0.1158447265625, 0.045562744140625, 0.140380859375, 0.1168212890625, 0.05584716796875, 0.0203094482421875, 0.03146...
embed
487209_c0
487209
lisp
0
Title: Loop over variables in Lisp Problem title: Loop over variables in Lisp Tags: lisp, elisp Problem: Loop over variables in Lisp I wrote the function (defun test () (let ((str1 "foo") (str2 "bar")) (loop for s in '(str1 str2) do (message s)))) but it does not work. The Elisp Backtrace message is: Debugger entered--...
Loop over variables in Lisp Loop over variables in Lisp lisp elisp Loop Lisp str1 str2 test1 Loop over variables in Lisp I wrote the function but it does not work. The Elisp Backtrace message is: How can I make it work? P.S.: the following modified version works perfectly, but I need the original version
[ 0.019775390625, 0.0052490234375, -0.0279541015625, 0.0286865234375, -0.0003910064697265625, 0.01434326171875, -0.0045166015625, 0.0177001953125, 0.014892578125, -0.010986328125, 0.01422119140625, 0.003265380859375, -0.00433349609375, -0.00390625, -0.00244140625, 0.009033203125, -0.00...
[ 199694, 645, 77336, 1261, 7008, 23, 400, 15296, 7704, 418, 304, 3034, 7, 54397, 32354, 14602, 959, 4488, 25318, 26828, 39989, 13, 26008, 11249, 831, 3249, 73197, 11389, 43240, 169123, 3871, 7311 ]
[ 0.19580078125, 0.2047119140625, 0.2425537109375, 0.153076171875, 0.2144775390625, 0.0016803741455078125, 0.11322021484375, 0.0831298828125, 0.07958984375, 0.0176239013671875, 0.043060302734375, 0.1475830078125, 0.00582122802734375, 0.06292724609375, 0.1636962890625, 0.0247344970703125,...
embed
20340415_c0
20340415
lisp
0
Title: What inputs would cause this function to not terminate? Problem title: What inputs would cause this function to not terminate? Tags: termination, stack-overflow, scheme, lisp Problem: What inputs would cause this function to not terminate? I am trying to prove this function in ACL2s/Lisp, but it is returning a s...
What inputs would cause this function to not terminate? What inputs would cause this function to not terminate? termination stack-overflow scheme lisp What What inputs would cause this function to not terminate? I am trying to prove this function in ACL2s/Lisp, but it is returning a stack overflow error, though I can't...
[ -0.0000762939453125, 0.022705078125, -0.00738525390625, 0.006256103515625, -0.0009918212890625, -0.00830078125, 0.0125732421875, 0.021484375, -0.014404296875, -0.0035247802734375, 0.0089111328125, -0.01165771484375, -0.011474609375, 0.0185546875, 0.0185546875, 0.00836181640625, 0.020...
[ 4865, 107730, 7, 2806, 22304, 903, 32354, 47, 959, 121011, 13, 29527, 1363, 177261, 5465, 118664, 150370, 400, 7008, 23534, 37486, 304, 9506, 30646, 645, 18499, 1957, 19729, 18151 ]
[ 0.051025390625, 0.2110595703125, 0.08282470703125, 0.11785888671875, 0.17822265625, 0.0880126953125, 0.2225341796875, 0.10546875, 0.18408203125, 0.1905517578125, 0.12115478515625, 0.2247314453125, 0.061004638671875, 0.140380859375, 0.11199951171875, 0.2222900390625, 0.1705322265625, ...
embed
58078153_c0
58078153
lisp
0
Title: How can I get the part of a list in front of a special element? Problem title: How can I get the part of a list in front of a special element? Tags: lisp, common-lisp Problem: How can I get the part of a list in front of a special element? With the MEMBER I get the searched element and the rest of the LIST. But ...
How can I get the part of a list in front of a special element? How can I get the part of a list in front of a special element? lisp common-lisp How CDR MEMBER DURCH ZEIT MAL LAENGE MASSE But How can I get the part of a list in front of a special element? With the MEMBER I get the searched element and the rest of the L...
[ -0.00396728515625, 0.0159912109375, 0.0031585693359375, 0.0045166015625, -0.020263671875, 0.006561279296875, 0.010986328125, 0.0023040771484375, 0.0059814453125, -0.0264892578125, -0.00154876708984375, 0.0036468505859375, -0.00836181640625, 0.00115203857421875, -0.005157470703125, -0.0...
[ 11249, 831, 87, 2046, 70, 2831, 111, 5303, 12912, 5361, 12830, 400, 7008, 39210, 4086, 254, 313, 23498, 276, 108582, 113172, 16999, 567, 152385, 88385, 48262, 647, 34994, 9127, 17106, 33938, 136, 10588, 195977, 3642, 80854, 186, 2472, 297, ...
[ 0.09259033203125, 0.08770751953125, 0.03265380859375, 0.15283203125, 0.0175933837890625, 0.202880859375, 0.06768798828125, 0.225830078125, 0.183837890625, 0.187255859375, 0.1982421875, 0.04864501953125, 0.1351318359375, 0.1318359375, 0.032806396484375, 0.10687255859375, 0.02055358886...
embed
56322221_c0
56322221
lisp
0
Title: the most-positive-fixnum in emacs Problem title: the most-positive-fixnum in emacs Tags: types, numbers, lisp, emacs Problem: the most-positive-fixnum in emacs Upon checking the variable in 'most-positive-fixnum' in emacs, it output: most-positive-fixnum is a variable defined in ‘data.c’. Its value is 2305843009...
the most-positive-fixnum in emacs the most-positive-fixnum in emacs types numbers lisp emacs data.c Its Documentation Lisp math.log2 Out the most-positive-fixnum in emacs Upon checking the variable in 'most-positive-fixnum' in emacs, it output: It's log2 value: why set is as 2 **61 rather than 2**62 , or 2**63 ?
[ 0.0106201171875, 0.0035247802734375, -0.0135498046875, -0.023193359375, 0.00537109375, 0.040283203125, 0.011474609375, 0.0159912109375, 0.006927490234375, -0.000362396240234375, 0.0244140625, -0.03173828125, -0.01092529296875, -0.0084228515625, 0.0238037109375, -0.006561279296875, -0...
[ 2684, 67890, 4935, 55923, 2606, 352, 2263, 7, 52895, 101935, 400, 7008, 2053, 43101, 1261, 48909, 4867, 304, 23, 175199, 77336, 840, 18, 140992, 12684, 34292, 15400, 5423, 83, 237, 116, 16459, 11540, 43257, 3501, 10837, 25442, 15748 ]
[ 0.1650390625, 0.188720703125, 0.11859130859375, 0.1796875, 0.18310546875, 0.1080322265625, 0.1650390625, 0.09356689453125, 0.131103515625, 0.0726318359375, 0.042938232421875, 0.11383056640625, 0.03424072265625, 0.0190277099609375, 0.0634765625, 0.031280517578125, 0.0716552734375, 0...
embed
1403717_c0
1403717
lisp
0
Title: How do I iterate through a directory in Common Lisp? Problem title: How do I iterate through a directory in Common Lisp? Tags: common-lisp, directory, filesystems, lisp Problem: How do I iterate through a directory in Common Lisp? I'm using OpenMCL on Darwin, and I'd like to do something like: (loop for f in (di...
How do I iterate through a directory in Common Lisp? How do I iterate through a directory in Common Lisp? common-lisp directory filesystems lisp How Common Lisp NIL How do I iterate through a directory in Common Lisp? I'm using OpenMCL on Darwin, and I'd like to do something like: But I can't get directory to return an...
[ 0.0291748046875, -0.0296630859375, 0.013671875, 0.01239013671875, -0.0172119140625, 0.007476806640625, 0.0152587890625, -0.00213623046875, -0.006561279296875, -0.034912109375, 0.00022792816162109375, 0.0194091796875, -0.0137939453125, -0.0172119140625, 0.0126953125, 0.00665283203125, ...
[ 11249, 54, 87, 17, 8560, 67, 8305, 14364, 53, 23, 151301, 1261, 7008, 39210, 4086, 254, 11435, 16751, 400, 541, 16444, 17368, 13527, 594, 37486, 131455, 1884, 30646, 23937, 3789, 3501, 187136, 12921, 12638, 5426, 6275 ]
[ 0.1063232421875, 0.0400390625, 0.038055419921875, 0.080322265625, 0.2442626953125, 0.1187744140625, 0.1923828125, 0.2041015625, 0.150390625, 0.08056640625, 0.2073974609375, 0.176025390625, 0.21875, 0.1429443359375, 0.1025390625, 0.15625, 0.03802490234375, 0.0909423828125, 0.08105...
embed
21102372_c0
21102372
lisp
0
Title: I don&#x27;t know what this function should do Problem title: I don&#x27;t know what this function should do Tags: common-lisp, lisp Problem: I don't know what this function should do I have here a function that I need to modify so that I would avoid the double recursive call of (f (car l)) . First of all I can'...
I don&#x27;t know what this function should do I don&#x27;t know what this function should do common-lisp lisp CAR DEFUN COND I don't know what this function should do I have here a function that I need to modify so that I would avoid the double recursive call of (f (car l)) . First of all I can't figure it out what it...
[ -0.005126953125, 0.00262451171875, 0.00634765625, -0.0113525390625, 0.006134033203125, 0.0189208984375, -0.0025634765625, 0.0101318359375, 0.00439453125, -0.01324462890625, 0.005767822265625, -0.01904296875, -0.0269775390625, 0.009521484375, 0.0155029296875, -0.0032501220703125, 0.00...
[ 87, 2301, 3768, 18, 3714, 2367, 903, 32354, 5608, 54, 39210, 4086, 254, 400, 7008, 42476, 202001, 14006, 14452, 397, 3688, 3871, 2811, 40383, 71864, 41929, 195625, 5844, 11782, 420, 3284, 96, 26366, 1810, 442, 45831, 27875, 242, 86827, 13...
[ 0.001922607421875, 0.0227203369140625, 0.058441162109375, 0.04876708984375, 0.1123046875, 0.0810546875, 0.1219482421875, 0.25341796875, 0.144287109375, 0.09759521484375, 0.150146484375, 0.0780029296875, 0.13037109375, 0.0882568359375, 0.1492919921875, 0.243408203125, 0.2091064453125,...
embed
8597157_c0
8597157
lisp
0
Title: Longest decreasing sequence in Lisp Problem title: Longest decreasing sequence in Lisp Tags: sequence, algorithm, lisp, list Problem: Longest decreasing sequence in Lisp I'm working on some problems for my upcoming exam and I need some help with this Lisp function. I'm working in CLISP. I have to find the longes...
Longest decreasing sequence in Lisp Longest decreasing sequence in Lisp sequence algorithm lisp list Longest Lisp Longest decreasing sequence in Lisp I'm working on some problems for my upcoming exam and I need some help with this Lisp function. I'm working in CLISP. I have to find the longest decreasing sequence compr...
[ 0.0213623046875, 0.047119140625, -0.0079345703125, 0.015380859375, 0.00124359130859375, 0.017578125, -0.017822265625, 0.0029754638671875, 0.00122833251953125, -0.0201416015625, -0.0081787109375, 0.00167083740234375, -0.00799560546875, 0.032470703125, 0.00469970703125, 0.013427734375, ...
[ 14407, 525, 8, 7612, 162, 40, 944, 3956, 23, 1261, 7008, 214, 234873, 400, 5303, 20697, 277, 42276, 4358, 32354, 67616, 683, 7413, 70, 4989, 48402, 4734, 70270, 101935, 89536, 151117, 30646, 81678, 64209, 29479, 195625, 5844 ]
[ 0.148681640625, 0.1287841796875, 0.16162109375, 0.2022705078125, 0.1484375, 0.0860595703125, 0.150146484375, 0.08148193359375, 0.05767822265625, 0.179443359375, 0.202392578125, 0.07733154296875, 0.159423828125, 0.1217041015625, 0.17431640625, 0.035614013671875, 0.007293701171875, 0...
embed
2395428_c0
2395428
lisp
0
Title: What are circular lists good for (in Lisp or Scheme)? Problem title: What are circular lists good for (in Lisp or Scheme)? Tags: scheme, lisp, circular-list Problem: What are circular lists good for (in Lisp or Scheme)? I note that Scheme and Lisp (I guess) support circular lists, and I have used circular lists ...
What are circular lists good for (in Lisp or Scheme)? What are circular lists good for (in Lisp or Scheme)? scheme lisp circular-list What Lisp Scheme What are circular lists good for (in Lisp or Scheme)? I note that Scheme and Lisp (I guess) support circular lists, and I have used circular lists in C/C++ to 'simplify'...
[ 0.01318359375, 0.0135498046875, 0.0115966796875, 0.018798828125, -0.003448486328125, 0.00482177734375, 0.0089111328125, -0.00238037109375, 0.00482177734375, -0.0033416748046875, -0.0130615234375, -0.0172119140625, -0.020751953125, 0.007354736328125, -0.010009765625, 0.0050048828125, ...
[ 4865, 621, 115339, 5303, 7, 4127, 100, 1261, 7008, 707, 34702, 282, 73, 150370, 400, 6562, 136, 8060, 11814, 313, 64, 441, 37223, 116120, 40383, 241860, 24674, 80854, 2367, 1836, 63284, 831, 88303, 9433, 92, 33150, 2053, 45646, 27117, 467...
[ 0.0821533203125, 0.028076171875, 0.306396484375, 0.2724609375, 0.1038818359375, 0.1707763671875, 0.136474609375, 0.14599609375, 0.226318359375, 0.026611328125, 0.2156982421875, 0.1964111328125, 0.035614013671875, 0.2030029296875, 0.122802734375, 0.211181640625, 0.050689697265625, 0...
embed
35110201_c0
35110201
lisp
0
Title: Predicate that checks whether a list contains duplicates Problem title: Predicate that checks whether a list contains duplicates Tags: clisp, common-lisp, lisp, list Problem: Predicate that checks whether a list contains duplicates I'm trying to write a function that takes a list and returns true if it contains ...
Predicate that checks whether a list contains duplicates Predicate that checks whether a list contains duplicates clisp common-lisp lisp list Predicate Predicate that checks whether a list contains duplicates I'm trying to write a function that takes a list and returns true if it contains a duplicate entry and false ot...
[ -0.009033203125, 0.01025390625, 0.0203857421875, -0.01806640625, -0.0087890625, 0.0223388671875, 0.00927734375, -0.006927490234375, -0.011474609375, -0.025390625, -0.0218505859375, 0.0152587890625, 0.0135498046875, 0.0027313232421875, 0.003570556640625, 0.035888671875, -0.00094604492...
[ 7145, 2063, 67, 450, 12765, 36766, 5303, 70541, 7, 171763, 1636, 95701, 7008, 39210, 4086, 254, 400, 31577, 33022, 32354, 51776, 30646, 29568, 2174, 442, 42805, 98320, 120262, 3714, 134598, 4527, 32786, 81887, 2060, 35782 ]
[ 0.150146484375, 0.1844482421875, 0.16845703125, 0.0276336669921875, 0.20166015625, 0.12384033203125, 0.21044921875, 0.15283203125, 0.0523681640625, 0.266845703125, 0.17724609375, 0.073974609375, 0.1348876953125, 0.10113525390625, 0.057403564453125, 0.09881591796875, 0.06378173828125,...
embed
35330714_c0
35330714
lisp
0
Title: Lisp scope issue with setq? Problem title: Lisp scope issue with setq? Tags: lisp, scope Problem: Lisp scope issue with setq? I'm a noob at lisp, have only been using it for two weeks or so... I have some global variable declared with setq: (setq myvar '(WHATEVER)) and a function that is supposed to modify whate...
Lisp scope issue with setq? Lisp scope issue with setq? lisp scope Lisp WHATEVER MYFUN POOP Lisp scope issue with setq? I'm a noob at lisp, have only been using it for two weeks or so... I have some global variable declared with setq: (setq myvar '(WHATEVER)) and a function that is supposed to modify whatever variable ...
[ 0.0234375, 0.0169677734375, 0.013427734375, 0.006072998046875, -0.016845703125, 0.0155029296875, -0.02734375, 0.0223388671875, 0.00970458984375, 0.0133056640625, 0.0093994140625, 0.02587890625, -0.016845703125, -0.01312255859375, 0.004425048828125, 0.0120849609375, -0.021484375, -0...
[ 1261, 7008, 70820, 31089, 678, 5423, 864, 32, 400, 43329, 98660, 54133, 919, 14006, 8574, 20880, 110, 3522, 4734, 17368, 6626, 40859, 7964, 77336, 159978, 71, 3509, 759, 1961, 1456, 32354, 134598, 2811, 40383, 89778, 14192, 3249, 11782, 735...
[ 0.175537109375, 0.2225341796875, 0.2406005859375, 0.1622314453125, 0.108642578125, 0.1878662109375, 0.200439453125, 0.0141143798828125, 0.127685546875, 0.09893798828125, 0.17626953125, 0.1478271484375, 0.079833984375, 0.19384765625, 0.118896484375, 0.2015380859375, 0.00738525390625, ...
embed
14071991_c0
14071991
lisp
0
Title: How to create an empty file by elisp? Problem title: How to create an empty file by elisp? Tags: elisp, lisp, emacs Problem: How to create an empty file by elisp? I set an explicit file to customization created via the UI. It's named custom.el . Currently, I use the followed snippets to create this file if not e...
How to create an empty file by elisp? How to create an empty file by elisp? elisp lisp emacs How custom.el How to create an empty file by elisp? I set an explicit file to customization created via the UI. It's named custom.el . Currently, I use the followed snippets to create this file if not exist. There is an ugly sh...
[ 0.033447265625, 0.0014801025390625, -0.0022125244140625, 0.0031585693359375, -0.003448486328125, 0.010009765625, 0.0189208984375, -0.004852294921875, 0.006195068359375, 0.01171875, 0.0037689208984375, 0.00958251953125, -0.02490234375, -0.0089111328125, 0.005767822265625, -0.00674438476...
[ 11249, 47, 28282, 201505, 11435, 390, 15296, 7008, 142, 400, 352, 2263, 114122, 583, 5423, 143726, 178036, 75935, 111481, 5, 114063, 4527, 134629, 58134, 2174, 959, 32316, 110608, 128019, 277, 12018, 23996, 32354 ]
[ 0.044586181640625, 0.0260467529296875, 0.1600341796875, 0.271728515625, 0.2012939453125, 0.10723876953125, 0.1256103515625, 0.2275390625, 0.01293182373046875, 0.08331298828125, 0.0172882080078125, 0.05633544921875, 0.214599609375, 0.1793212890625, 0.0699462890625, 0.11883544921875, 0...
embed
43148119_c0
43148119
lisp
0
Title: Lisp: How to obtain the final loop value? Problem title: Lisp: How to obtain the final loop value? Tags: common-lisp, clisp, lisp Problem: Lisp: How to obtain the final loop value? (defun index-iteration (n) (let ((x 0)) (loop for j from 0 to n while (< x n) do (setf x (max-index-for-iteration j))))) I have the ...
Lisp: How to obtain the final loop value? Lisp: How to obtain the final loop value? common-lisp clisp lisp 0 Lisp How Lisp: How to obtain the final loop value? I have the following lisp code, at the end of the loop I want to return the value j . I have investigated: collect but that returns a list of values with the va...
[ 0.00125885009765625, 0.014404296875, -0.0072021484375, -0.006256103515625, -0.025390625, 0.01226806640625, 0.014892578125, 0.00016021728515625, 0.000682830810546875, -0.0162353515625, 0.01031494140625, 0.004364013671875, -0.013427734375, 0.0014801025390625, 0.01519775390625, -0.0088500...
[ 1261, 7008, 11249, 47, 113054, 70, 2704, 40956, 34292, 39210, 4086, 254, 95701, 400, 25632, 18151, 3564, 111, 3444, 30646, 1647, 32603, 43799, 5303, 142424, 4568, 77681, 18, 4488, 1284, 39395 ]
[ 0.1365966796875, 0.2100830078125, 0.09661865234375, 0.041412353515625, 0.175537109375, 0.07635498046875, 0.204833984375, 0.2186279296875, 0.2191162109375, 0.08587646484375, 0.0804443359375, 0.1060791015625, 0.01092529296875, 0.10296630859375, 0.0004413127899169922, 0.1351318359375, 0...
embed
578290_c0
578290
lisp
0
Title: Common Lisp equivalent to C enums Problem title: Common Lisp equivalent to C enums Tags: lisp, enums, common-lisp Problem: Common Lisp equivalent to C enums I'm trying to learn some Lisp (Common Lisp) lately, and I wonder if there is a way to give constant numbers a name just like you can do in C via enums. I do...
Common Lisp equivalent to C enums Common Lisp equivalent to C enums lisp enums common-lisp Common Lisp Common Lisp equivalent to C enums I'm trying to learn some Lisp (Common Lisp) lately, and I wonder if there is a way to give constant numbers a name just like you can do in C via enums. I don't need the full featurese...
[ 0.00555419921875, 0.00543212890625, -0.002899169921875, 0.001617431640625, -0.00141143798828125, 0.00823974609375, -0.0062255859375, 0.0045166015625, -0.00927734375, -0.018310546875, 0.000942230224609375, 0.01312255859375, 0.01239013671875, 0.0191650390625, 0.01129150390625, 0.01733398...
[ 151301, 1261, 7008, 183234, 47, 313, 22, 10321, 400, 39210, 4086, 254, 31577, 30698, 10770, 3796, 37838, 32195, 3917, 8337, 53697, 101935, 9351, 1660, 1884, 831, 23, 1829, 3871, 66139, 126, 3564, 3444, 4271, 12301, 2886, 18151, 37842, 7964,...
[ 0.183349609375, 0.181884765625, 0.208251953125, 0.17626953125, 0.069580078125, 0.172119140625, 0.1522216796875, 0.27099609375, 0.1358642578125, 0.1522216796875, 0.132080078125, 0.1239013671875, 0.021026611328125, 0.0548095703125, 0.0611572265625, 0.16845703125, 0.0145263671875, 0.0...
embed
25576624_c0
25576624
lisp
0
Title: Use variable from outside (lexical) environment in a macro Problem title: Use variable from outside (lexical) environment in a macro Tags: lisp, macros, scheme, common-lisp Problem: Use variable from outside (lexical) environment in a macro How do I get this piece of macro to function as intended? -- I'd like to...
Use variable from outside (lexical) environment in a macro Use variable from outside (lexical) environment in a macro lisp macros scheme common-lisp outside lexical Use Use variable from outside (lexical) environment in a macro How do I get this piece of macro to function as intended? -- I'd like to capture p from the ...
[ 0.0019683837890625, 0.0155029296875, -0.0224609375, 0.00457763671875, 0.01165771484375, 0.0208740234375, 0.0184326171875, 0.00897216796875, -0.0035400390625, -0.037353515625, 0.00011301040649414062, -0.01806640625, -0.002899169921875, -0.00750732421875, 0.036376953125, -0.009765625, ...
[ 36836, 77336, 1295, 50782, 74070, 21533, 65998, 23, 111789, 400, 7008, 150370, 39210, 4086, 254, 75675, 54, 87, 2046, 903, 63847, 111, 47, 32354, 237, 179140, 71, 1884, 141621, 915, 15490, 19441, 25379, 10750, 5701, 46323 ]
[ 0.127685546875, 0.269287109375, 0.1546630859375, 0.2108154296875, 0.10009765625, 0.144287109375, 0.2171630859375, 0.0545654296875, 0.2271728515625, 0.095458984375, 0.166259765625, 0.1510009765625, 0.0869140625, 0.071533203125, 0.15966796875, 0.1361083984375, 0.0178985595703125, 0.0...
embed
66183742_c0
66183742
lisp
0
Title: Common Lisp sort function removing an element from the original list Problem title: Common Lisp sort function removing an element from the original list Tags: lisp, common-lisp, sbcl Problem: Common Lisp sort function removing an element from the original list I am using SBCL and when I use the sort function as ...
Common Lisp sort function removing an element from the original list Common Lisp sort function removing an element from the original list lisp common-lisp sbcl the Common Lisp CL-USER Common Lisp sort function removing an element from the original list I am using SBCL and when I use the sort function as follows, The bi...
[ 0.00885009765625, 0.029052734375, 0.0086669921875, -0.00848388671875, -0.017578125, 0.00909423828125, -0.006927490234375, -0.003997802734375, 0.002838134765625, -0.0037078857421875, -0.00083160400390625, 0.0157470703125, -0.01019287109375, -0.0240478515625, 0.010498046875, -0.012390136...
[ 151301, 1261, 7008, 12096, 32354, 49146, 6496, 12830, 1295, 7311, 5303, 400, 39210, 4086, 254, 91, 275, 34937, 46323, 1062, 50184, 17368, 90944, 37486, 4527, 28960, 129058, 7225, 77816, 83, 184750, 76648, 123087 ]
[ 0.1607666015625, 0.154296875, 0.1788330078125, 0.2196044921875, 0.1766357421875, 0.10400390625, 0.07635498046875, 0.1739501953125, 0.10443115234375, 0.11553955078125, 0.16162109375, 0.08209228515625, 0.12030029296875, 0.0972900390625, 0.11932373046875, 0.004238128662109375, 0.0496520...
embed
12618701_c0
12618701
lisp
0
Title: Function and binary operation Problem title: Function and binary operation Tags: lisp Problem: Function and binary operation I want to create a function : OP from i=n to p = f(i) OP is a binary operator Here is my function (defun sigmaOP (f o n p) (loop for i from n to p do (let (val (o (val (funcall f i)))) ) v...
Function and binary operation Function and binary operation lisp n Function and binary operation I want to create a function : OP from i=n to p = f(i) OP is a binary operator Here is my function f is a function o is the operator n is the begining and p the end And to call I use But it doesn't work The o argument isn't ...
[ 0.004119873046875, -0.0303955078125, 0.01409912109375, 0.0007171630859375, -0.00182342529296875, 0.01165771484375, 0.0166015625, 0.0167236328125, -0.0027923583984375, -0.02587890625, -0.0045166015625, -0.03271484375, -0.00054931640625, -0.015380859375, 0.0120849609375, -0.0105590820312...
[ 28670, 10763, 136, 2394, 6635, 41018, 400, 7008, 653, 3444, 28282, 32354, 28023, 1295, 17, 1369, 19, 47, 915, 2203, 1238, 132, 14, 39933, 83, 36, 70, 9842, 214, 3564, 11782, 4527, 4966, 22027, 18, 4488, 10750, 16916, 237, 87388, 64457, ...
[ 0.176513671875, 0.10125732421875, 0.1644287109375, 0.193603515625, 0.134765625, 0.240234375, 0.10357666015625, 0.17041015625, 0.131103515625, 0.0792236328125, 0.1396484375, 0.2208251953125, 0.173583984375, 0.07763671875, 0.085205078125, 0.0394287109375, 0.09442138671875, 0.12261962...
embed
3780228_c0
3780228
lisp
0
Title: overview, but very over in functional programming Problem title: overview, but very over in functional programming Tags: haskell, lisp Problem: overview, but very over in functional programming What does a very general function look like in functional programming? Somebody said "we don't have objects, but we hav...
overview, but very over in functional programming overview, but very over in functional programming haskell lisp overview, but very over in functional programming What does a very general function look like in functional programming? Somebody said "we don't have objects, but we have higher order functions". Do higher o...
[ 0.0123291015625, -0.0020751953125, -0.010986328125, -0.012451171875, 0.00885009765625, 0.003265380859375, 0.00176239013671875, -0.018798828125, 0.01434326171875, -0.0322265625, 0.00167083740234375, -0.03564453125, -0.012939453125, -0.0208740234375, -0.0037689208984375, -0.0091552734375...
[ 645, 22751, 1284, 4552, 123309, 56037, 23, 1556, 142508, 400, 7008, 14602, 4537, 32354, 6713, 1884, 449, 2804, 1177, 18, 765, 36746, 77546, 12989, 7, 91995, 49133, 49966, 9790, 47, 1286, 185688, 6528, 71358, 20028, 3871 ]
[ 0.2086181640625, 0.23046875, 0.111572265625, 0.1595458984375, 0.2196044921875, 0.15625, 0.0242767333984375, 0.0726318359375, 0.1885986328125, 0.07330322265625, 0.1417236328125, 0.013671875, 0.1937255859375, 0.2130126953125, 0.1624755859375, 0.111328125, 0.0870361328125, 0.018615722...
embed
42707780_c0
42707780
lisp
0
Title: lisp macro multiplication that stops evaluating when sees a 0 Problem title: lisp macro multiplication that stops evaluating when sees a 0 Tags: macros, lisp Problem: lisp macro multiplication that stops evaluating when sees a 0 I'm pretty new to LISP and I have no idea how to make my infinite-argument functions...
lisp macro multiplication that stops evaluating when sees a 0 lisp macro multiplication that stops evaluating when sees a 0 macros lisp smart_multiplication lisp macro multiplication that stops evaluating when sees a 0 I'm pretty new to LISP and I have no idea how to make my infinite-argument functions stop evaluating ...
[ -0.033203125, 0.00628662109375, 0.01318359375, -0.016845703125, -0.010498046875, 0.02099609375, 0.00244140625, 0.00078582763671875, 0.0010528564453125, -0.033203125, 0.00994873046875, -0.0216064453125, 0.0002899169921875, -0.0218505859375, 0.00057220458984375, 0.0031280517578125, -0....
[ 400, 7008, 111789, 127664, 1363, 450, 7279, 7, 151575, 3229, 40, 757, 90, 18775, 144227, 182867, 16970, 9434, 6528, 3249, 54241, 13, 155937, 32354, 10588, 10750, 1632, 120103, 83, 10, 37842, 5351, 18, 1916, 30394, 12765, 756, 77336 ]
[ 0.1177978515625, 0.1767578125, 0.171142578125, 0.160888671875, 0.017425537109375, 0.010986328125, 0.1666259765625, 0.008148193359375, 0.16845703125, 0.0631103515625, 0.1221923828125, 0.181396484375, 0.045501708984375, 0.1239013671875, 0.072998046875, 0.038421630859375, 0.084106445312...
embed