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
26068869_c1
26068869
lisp
1
its 8) (parse-integer (FORMAT nil "~{~a~}" (replace (list-of-bits byte) '(0 0 0 0 0 0 0 0) :start1 rel-bits :end1 8 :start2 0 :end2 rel-bits)) :radix 2) byte)) But this solution seems bad for two reasons it splits the integer into a list before processing it it prints the list into a string which is again parsed I know...
its 8) (parse-integer (FORMAT nil "~{~a~}" (replace (list-of-bits byte) '(0 0 0 0 0 0 0 0) :start1 rel-bits :end1 8 :start2 0 :end2 rel-bits)) :radix 2) byte)) But this solution seems bad for two reasons it splits the integer into a list before processing it it prints the list into a string which is again parsed I know...
[ -0.02734375, 0.003173828125, 0.0111083984375, 0.0164794921875, -0.0189208984375, 0.047607421875, -0.0174560546875, 0.0037078857421875, -0.00113677978515625, -0.006683349609375, 0.01104736328125, 0.0145263671875, -0.016357421875, 0.00482177734375, -0.0003414154052734375, -0.01904296875,...
[ 6863, 65034, 2500, 184, 6191, 1505, 98533, 14609, 17324, 2306, 11, 107, 23935, 6562, 4390, 3137, 390, 67, 2389, 757, 17137, 418, 7962, 3611, 382, 304, 10541, 425, 4958, 903, 29806, 37202, 6494, 6626, 89397, 65450, 892, 3934, 5303, 8108, ...
[ 0.245361328125, 0.28466796875, 0.121337890625, 0.08245849609375, 0.134765625, 0.1356201171875, 0.16650390625, 0.0521240234375, 0.1710205078125, 0.08447265625, 0.12744140625, 0.052337646484375, 0.12744140625, 0.117431640625, 0.0897216796875, 0.132080078125, 0.0899658203125, 0.076721...
embed
15249921_c0
15249921
lisp
0
Title: How to handle multiple file upload in hunchentoot? Problem title: How to handle multiple file upload in hunchentoot? Tags: web, lisp, common-lisp, hunchentoot Problem: How to handle multiple file upload in hunchentoot? I know how to handle a single file upload in hunchentoot using hunchentoot:post-parameter , bu...
How to handle multiple file upload in hunchentoot? How to handle multiple file upload in hunchentoot? web lisp common-lisp hunchentoot How hunchentoot:post-parameter How to handle multiple file upload in hunchentoot? I know how to handle a single file upload in hunchentoot using hunchentoot:post-parameter , but when I ...
[ 0.00157928466796875, -0.0028076171875, 0.00653076171875, 0.00482177734375, -0.0255126953125, 0.022705078125, 0.03955078125, -0.0120849609375, 0.00872802734375, -0.022216796875, 0.020263671875, -0.0186767578125, 0.0002841949462890625, 0.004058837890625, 0.003936767578125, -0.01123046875...
[ 11249, 47, 34831, 48716, 11435, 70622, 23, 1926, 4834, 188, 818, 1467, 400, 7008, 39210, 4086, 254, 12, 4594, 6276, 29089, 3642, 11001, 15190, 57266, 29822, 144227, 8705, 15288, 4734, 100, 1632, 191619, 217063, 756, 102158, 19667, 38937 ]
[ 0.0848388671875, 0.057373046875, 0.1756591796875, 0.26025390625, 0.198974609375, 0.2335205078125, 0.0511474609375, 0.1517333984375, 0.162353515625, 0.1558837890625, 0.19140625, 0.010406494140625, 0.033416748046875, 0.09130859375, 0.1015625, 0.0290374755859375, 0.108642578125, 0.011...
embed
40665723_c0
40665723
lisp
0
Title: Why this test with Rackunit does not work? Problem title: Why this test with Rackunit does not work? Tags: lisp, racket, unit-testing Problem: Why this test with Rackunit does not work? I am using Racket and Dr. Racket for educational purposes. I am trying to understand the values built-in function. When I call ...
Why this test with Rackunit does not work? Why this test with Rackunit does not work? lisp racket unit-testing rackunit Why Why this test with Rackunit does not work? I am using Racket and Dr. Racket for educational purposes. I am trying to understand the values built-in function. When I call values with the following ...
[ -0.00927734375, -0.0028076171875, -0.01080322265625, 0.0098876953125, -0.00494384765625, -0.0181884765625, 0.0020751953125, -0.0120849609375, 0.009033203125, 0.0216064453125, -0.0029296875, 0.0087890625, -0.0089111328125, -0.0030517578125, 0.000865936279296875, -0.00823974609375, 0.0...
[ 44084, 903, 3034, 678, 81585, 6262, 217, 14602, 959, 4488, 400, 7008, 673, 27853, 25072, 6954, 28779, 2552, 1773, 162807, 142424, 88303, 73, 32354, 11782, 25632, 107730, 140992, 35782 ]
[ 0.08953857421875, 0.083740234375, 0.21044921875, 0.12042236328125, 0.125244140625, 0.11187744140625, 0.2098388671875, 0.0697021484375, 0.12420654296875, 0.115478515625, 0.0477294921875, 0.131591796875, 0.05084228515625, 0.1649169921875, 0.09930419921875, 0.14111328125, 0.072875976562...
embed
19549728_c0
19549728
lisp
0
Title: lisp function that adds x to the nth item of a list Problem title: lisp function that adds x to the nth item of a list Tags: lisp, function Problem: lisp function that adds x to the nth item of a list I need to write a lisp function that adds x to the nth item of a list. For example, (add 5 2 '(3 1 4 6 7)) retur...
lisp function that adds x to the nth item of a list lisp function that adds x to the nth item of a list lisp function lisp function that adds x to the nth item of a list I need to write a lisp function that adds x to the nth item of a list. For example, (add 5 2 '(3 1 4 6 7)) returns (3 6 4 6 7) . choosing nthitem is a...
[ -0.006256103515625, 0.0179443359375, 0.019775390625, -0.01312255859375, -0.0067138671875, 0.0296630859375, 0.0123291015625, 0.00921630859375, 0.00970458984375, -0.040283203125, 0.0283203125, -0.0299072265625, -0.0050048828125, 0.00518798828125, -0.005859375, -0.010986328125, 0.010192...
[ 400, 7008, 32354, 450, 15190, 7, 1022, 47, 653, 927, 35735, 111, 5303, 10, 3871, 33022, 11, 4028, 190, 116, 242, 86827, 201, 305, 49413, 30646, 6896, 218873, 4450, 2982, 83, 154107, 53418, 70163, 25842 ]
[ 0.158935546875, 0.218505859375, 0.2303466796875, 0.049163818359375, 0.1539306640625, 0.047332763671875, 0.1639404296875, 0.161865234375, 0.2115478515625, 0.182861328125, 0.2203369140625, 0.07733154296875, 0.2001953125, 0.008392333984375, 0.052947998046875, 0.0751953125, 0.03948974609...
embed
66487839_c0
66487839
lisp
0
Title: How to read http body in Woo Problem title: How to read http body in Woo Tags: lisp, common-lisp Problem: How to read http body in Woo I am trying to write a server with Woo . I need to handle HTTP body sent by :POST method. However, I don't know how to read the body. In env , there are :RAW-BODY and :CLACK.IO l...
How to read http body in Woo How to read http body in Woo lisp common-lisp How Woo POST RAW-BODY CLACK.IO How to read http body in Woo I am trying to write a server with Woo . I need to handle HTTP body sent by :POST method. However, I don't know how to read the body. In env , there are :RAW-BODY and :CLACK.IO look lik...
[ 0.00469970703125, 0.00112152099609375, 0.01470947265625, 0.0198974609375, -0.0194091796875, 0.0213623046875, 0.006622314453125, -0.00077056884765625, -0.0089111328125, -0.0137939453125, 0.00506591796875, 0.0045166015625, -0.0169677734375, -0.0238037109375, 0.01434326171875, -0.02746582...
[ 11249, 47, 12301, 1621, 14361, 23, 89568, 400, 7008, 39210, 4086, 254, 81903, 118324, 9, 571, 181668, 129636, 20572, 17780, 31577, 33022, 10723, 678, 34831, 135913, 9325, 683, 34274, 55300, 3714, 3642, 70, 334, 136, 8356, 5, 6713, 174653, ...
[ 0.09588623046875, 0.05804443359375, 0.231689453125, 0.2291259765625, 0.27392578125, 0.120849609375, 0.26025390625, 0.09893798828125, 0.1749267578125, 0.1453857421875, 0.0804443359375, 0.14794921875, 0.134033203125, 0.2005615234375, 0.0064697265625, 0.155517578125, 0.1807861328125, ...
embed
4217568_c0
4217568
lisp
0
Title: Resolving symbols in a Common Lisp list Problem title: Resolving symbols in a Common Lisp list Tags: evaluation, common-lisp, symbols, lisp Problem: Resolving symbols in a Common Lisp list Suppose I have a function CL-USER> (defun trimmer (seq) "This trims seq and returns a list" (cdr (butlast seq))) TRIMMER CL-...
Resolving symbols in a Common Lisp list Resolving symbols in a Common Lisp list evaluation common-lisp symbols lisp Resolving Common Lisp CL-USER TRIMMER VAR1 VAR2 Resolving symbols in a Common Lisp list Suppose I have a function Notice how, due to QUOTE, VAR1 and VAR2 are not resolved. Suppose I want to resolve the sy...
[ -0.0081787109375, 0.0166015625, 0.00927734375, 0.0152587890625, -0.0037384033203125, -0.00089263916015625, -0.01165771484375, 0.0211181640625, 0.01068115234375, -0.0189208984375, -0.017822265625, -0.005279541015625, 0.00689697265625, 0.00506591796875, 0.00445556640625, 0.01043701171875...
[ 853, 132944, 214, 26582, 7, 23, 151301, 1261, 7008, 5303, 219836, 39210, 4086, 254, 400, 46323, 1062, 50184, 97967, 31922, 61745, 418, 304, 32354, 24494, 3642, 232856, 136, 959, 103608, 121691, 3444, 47, 2363, 142424, 5570, 54 ]
[ 0.0621337890625, 0.2232666015625, 0.0227813720703125, 0.2286376953125, 0.045135498046875, 0.0135345458984375, 0.1405029296875, 0.1328125, 0.177978515625, 0.1646728515625, 0.1424560546875, 0.07586669921875, 0.0670166015625, 0.09967041015625, 0.0714111328125, 0.0265350341796875, 0.0755...
embed
13201407_c0
13201407
lisp
0
Title: Implementation of cons/pair Problem title: Implementation of cons/pair Tags: lisp, c, scheme Problem: Implementation of cons/pair What are the options of implementing a Lisp's cons/pair in a low-level language such as C? One common implementation is a struct consisting of fields type , car and cdr . I know that ...
Implementation of cons/pair Implementation of cons/pair lisp c scheme Implementation Implementation of cons/pair What are the options of implementing a Lisp's cons/pair in a low-level language such as C? One common implementation is a struct consisting of fields type , car and cdr . I know that linked lists are not ver...
[ 0.005157470703125, 0.03271484375, -0.0010833740234375, 0.01806640625, -0.003936767578125, 0.0084228515625, -0.0185546875, 0.00130462646484375, -0.00115203857421875, -0.04541015625, 0.0194091796875, -0.008544921875, 0.00799560546875, -0.0096435546875, -0.00482177734375, 0.0106201171875,...
[ 153941, 158, 7, 64, 109637, 400, 7008, 501, 150370, 50717, 29479, 1261, 23, 27226, 67919, 46876, 313, 39210, 208124, 36716, 58055, 44457, 10644, 2258, 56329, 42, 3126, 5303, 93766, 132096, 78301, 11435, 30482, 124632, 98, 8162, 116491, 11814,...
[ 0.1787109375, 0.189208984375, 0.1224365234375, 0.07568359375, 0.2386474609375, 0.11572265625, 0.23046875, 0.1256103515625, 0.159912109375, 0.141845703125, 0.18505859375, 0.156005859375, 0.01776123046875, 0.129150390625, 0.1146240234375, 0.1611328125, 0.1444091796875, 0.092834472656...
embed
10138067_c1
10138067
lisp
1
> <h1>Lisp web开发实例</h1> hi, <!-- TMPL_VAR name --> </body> </html> When I visited http://localhost:4444/hello always reported 500 errors, I suspect that the template path, my operating system is windows, do not know how to write this path.web.lisp with index.tmpl below on the same directory Code signals: asdf, Why, Com...
> <h1>Lisp web开发实例</h1> hi, <!-- TMPL_VAR name --> </body> </html> When I visited http://localhost:4444/hello always reported 500 errors, I suspect that the template path, my operating system is windows, do not know how to write this path.web.lisp with index.tmpl below on the same directory Code signals: asdf, Why, Com...
[ -0.00518798828125, 0.00054931640625, -0.0032196044921875, 0.013916015625, -0.0108642578125, 0.003021240234375, 0.00982666015625, -0.000255584716796875, 0.0026092529296875, -0.061279296875, -0.005645751953125, -0.0242919921875, 0.0159912109375, -0.0017852783203125, 0.0211181640625, -0.0...
[ 418, 9506, 7008, 1467, 15160, 12272, 13506, 1274, 50523, 21130, 61784, 9351, 37873, 7693, 36997, 98908, 40294, 32705, 12465, 13817, 11343, 113771, 2101, 18499, 92610, 110934, 60875, 172852, 5426, 83, 54825, 959, 3714, 3642, 33022, 903, 14051, ...
[ 0.004150390625, 0.1861572265625, 0.275390625, 0.1474609375, 0.143798828125, 0.1339111328125, 0.1729736328125, 0.04962158203125, 0.1561279296875, 0.28271484375, 0.242919921875, 0.01202392578125, 0.044189453125, 0.130615234375, 0.140625, 0.118896484375, 0.1546630859375, 0.14001464843...
embed
59342940_c0
59342940
lisp
0
Title: Is there a way to print an error message when you try to print a variable? Problem title: Is there a way to print an error message when you try to print a variable? Tags: common-lisp, lisp Problem: Is there a way to print an error message when you try to print a variable? For example: CL-USER 1 > (setq l1 '(a b ...
Is there a way to print an error message when you try to print a variable? Is there a way to print an error message when you try to print a variable? common-lisp lisp CL-USER Is there a way to print an error message when you try to print a variable? For example: When I type l1 , instead of (A B C) I want to print a dif...
[ -0.0010833740234375, 0.00506591796875, -0.021484375, -0.00433349609375, -0.003875732421875, 0.0220947265625, -0.01361083984375, 0.003753662109375, -0.0089111328125, -0.0205078125, 0.0047607421875, -0.02978515625, 0.0185546875, -0.003662109375, 0.01019287109375, 0.0223388671875, -0.00...
[ 2685, 10, 3917, 28412, 18499, 26008, 3229, 9790, 77336, 47, 142, 39210, 4086, 254, 400, 7008, 46323, 1062, 50184, 14847, 10644, 96, 418, 64457, 335, 313, 3444, 12921, 450, 7722, 959, 45258, 32354, 35431, 5303, 110 ]
[ 0.0447998046875, 0.059539794921875, 0.10595703125, 0.2095947265625, 0.2203369140625, 0.1651611328125, 0.0252532958984375, 0.1495361328125, 0.251708984375, 0.034393310546875, 0.034393310546875, 0.07147216796875, 0.05029296875, 0.09912109375, 0.04541015625, 0.114990234375, 0.0169067382...
embed
24286460_c0
24286460
lisp
0
Title: In Scheme, how can I understand &quot;(define (f x . y) (cons x y))&quot; Problem title: In Scheme, how can I understand &quot;(define (f x . y) (cons x y))&quot; Tags: scheme, lisp, functional-programming Problem: In Scheme, how can I understand "(define (f x . y) (cons x y))" I'm new to Scheme, here I get in t...
In Scheme, how can I understand &quot;(define (f x . y) (cons x y))&quot; In Scheme, how can I understand &quot;(define (f x . y) (cons x y))&quot; scheme lisp functional-programming Scheme In Scheme, how can I understand "(define (f x . y) (cons x y))" I'm new to Scheme, here I get in trouble with dotted list, here is...
[ 0.006072998046875, 0.032470703125, -0.0004367828369140625, -0.0003108978271484375, -0.0047607421875, 0.006561279296875, -0.00677490234375, 0.009521484375, 0.001739501953125, -0.01385498046875, -0.005859375, -0.0194091796875, -0.015869140625, -0.018310546875, -0.004302978515625, -0.0075...
[ 360, 34702, 282, 3642, 831, 87, 28219, 41502, 112, 64552, 420, 1022, 5, 113, 25553, 150370, 400, 7008, 123309, 28966, 132, 15, 3525, 63134, 20633, 3674, 5303, 27781, 30957, 106, 116, 8439, 16750, 41600, 30646, 1733, 44357, 54753, 5809, 29...
[ 0.0240631103515625, 0.207275390625, 0.2037353515625, 0.0421142578125, 0.0338134765625, 0.0242919921875, 0.196533203125, 0.047607421875, 0.126220703125, 0.248291015625, 0.1416015625, 0.1524658203125, 0.0775146484375, 0.19384765625, 0.197021484375, 0.1998291015625, 0.02593994140625, ...
embed
56405270_c0
56405270
lisp
0
Title: Self executing lambda expression in Common Lisp Problem title: Self executing lambda expression in Common Lisp Tags: common-lisp, lambda, lisp Problem: Self executing lambda expression in Common Lisp I thought that this is the only way to write self executing lambda expression in Common LISP: (funcall #'(lambda ...
Self executing lambda expression in Common Lisp Self executing lambda expression in Common Lisp common-lisp lambda lisp Common Lisp Self executing lambda expression in Common Lisp I thought that this is the only way to write self executing lambda expression in Common LISP: but it seems that this also work in CLISP on G...
[ 0.0123291015625, 0.0146484375, 0.00762939453125, 0.0135498046875, -0.010498046875, -0.0036773681640625, 0.0322265625, 0.0098876953125, 0.00909423828125, -0.034912109375, 0.005889892578125, -0.00141143798828125, -0.002197265625, 0.0009613037109375, 0.007476806640625, 0.01220703125, -0...
[ 55347, 71924, 214, 21, 6492, 85, 125195, 151301, 1261, 7008, 23, 39210, 4086, 254, 400, 17569, 4734, 3917, 33022, 15970, 16970, 9434, 4488, 313, 67616, 683, 98, 165132, 150040, 1286, 1884, 34702, 282, 26785, 48502, 46323, 208124 ]
[ 0.1553955078125, 0.22509765625, 0.061553955078125, 0.07354736328125, 0.18017578125, 0.1307373046875, 0.211669921875, 0.152587890625, 0.142578125, 0.1663818359375, 0.007480621337890625, 0.0615234375, 0.076416015625, 0.0860595703125, 0.08013916015625, 0.00890350341796875, 0.01270294189...
embed
43375302_c1
43375302
lisp
1
I re-wrote the code to use lists and to use mapcar. As I said, it works, but I believe the setf to store the list each time is highly inefficient. (The fact that I am doing a lot of unnecessary division because I am using mapping functions notwithstanding). Every mapping function for arrays I could find required that ...
I re-wrote the code to use lists and to use mapcar. As I said, it works, but I believe the setf to store the list each time is highly inefficient. (The fact that I am doing a lot of unnecessary division because I am using mapping functions notwithstanding). Every mapping function for arrays I could find required that ...
[ -0.01202392578125, 0.006866455078125, 0.00823974609375, -0.0103759765625, -0.023681640625, 0.00677490234375, -0.000446319580078125, -0.0068359375, 0.0162353515625, -0.0301513671875, -0.01068115234375, 0.004608154296875, -0.004180908203125, -0.008056640625, -0.01806640625, -0.0019989013...
[ 456, 5429, 22904, 18151, 4527, 5303, 7, 22288, 3284, 87, 2804, 442, 43240, 1284, 18822, 5423, 420, 4343, 12638, 1733, 103210, 24500, 45964, 5915, 91853, 17368, 291, 26783, 32354, 87769, 10298, 4778, 5809, 7413, 56065, 70, 107730, 186, 22834...
[ 0.0386962890625, 0.041534423828125, 0.011383056640625, 0.15673828125, 0.07244873046875, 0.20166015625, 0.03125, 0.242919921875, 0.270263671875, 0.0141754150390625, 0.00189208984375, 0.044219970703125, 0.1494140625, 0.001434326171875, 0.05181884765625, 0.148681640625, 0.19091796875, ...
embed
67974893_c0
67974893
lisp
0
Title: How to correctly import a macro from a user defined package? Problem title: How to correctly import a macro from a user defined package? Tags: lisp, asdf, package, common-lisp Problem: How to correctly import a macro from a user defined package? I'm trying to import a macro defined in a utility package, but when...
How to correctly import a macro from a user defined package? How to correctly import a macro from a user defined package? lisp asdf package common-lisp a How UNDEFINED-FUNCTION my-package:my-macro How to correctly import a macro from a user defined package? I'm trying to import a macro defined in a utility package, but...
[ -0.00469970703125, -0.00909423828125, -0.002197265625, -0.00128173828125, -0.005615234375, 0.01177978515625, 0.00921630859375, -0.009765625, -0.01141357421875, -0.036376953125, -0.01312255859375, -0.01458740234375, 0.0223388671875, -0.00653076171875, 0.01904296875, -0.03271484375, -0...
[ 11249, 26785, 24927, 10, 111789, 1295, 38937, 61924, 98169, 47, 538, 71, 400, 7008, 237, 420, 39210, 4086, 254, 211210, 129525, 17610, 919, 175560, 759, 29102, 4588, 1176, 192, 15322, 31577, 19537, 939, 9790, 4527, 26008, 8, 978, 21407, 2...
[ 0.04693603515625, 0.1566162109375, 0.274658203125, 0.07568359375, 0.281005859375, 0.1295166015625, 0.12646484375, 0.162841796875, 0.21435546875, 0.002105712890625, 0.0126953125, 0.0234375, 0.06793212890625, 0.16162109375, 0.0048828125, 0.11962890625, 0.089599609375, 0.0721435546875...
embed
44067988_c0
44067988
lisp
0
Title: LISP How to remove element at certain index from a list Problem title: LISP How to remove element at certain index from a list Tags: element, lisp, list Problem: LISP How to remove element at certain index from a list I'm trying to learn LISP. I got my way around functions and I wanted to test myself with some. ...
LISP How to remove element at certain index from a list LISP How to remove element at certain index from a list element lisp list a LISP How LISP How to remove element at certain index from a list I'm trying to learn LISP. I got my way around functions and I wanted to test myself with some. I was trying to write a func...
[ -0.00823974609375, 0.030029296875, -0.01190185546875, 0.006988525390625, -0.0341796875, 0.01397705078125, 0.00933837890625, 0.00860595703125, 0.0013885498046875, -0.0267333984375, 0.00201416015625, -0.0184326171875, -0.037841796875, 0.0089111328125, -0.007354736328125, -0.0023956298828...
[ 16970, 9434, 11249, 47, 87388, 12830, 99, 24233, 63262, 1295, 10, 5303, 400, 7008, 31577, 30698, 10932, 32354, 3034, 35978, 678, 33022, 831, 23, 34475, 37202, 80560, 2472, 18, 111240, 89536, 28583, 382, 702, 209, 16, 3444, 14012, 787, 167...
[ 0.135009765625, 0.2213134765625, 0.07330322265625, 0.07501220703125, 0.217529296875, 0.197265625, 0.1405029296875, 0.100341796875, 0.238525390625, 0.1480712890625, 0.0254364013671875, 0.2110595703125, 0.1129150390625, 0.18896484375, 0.04632568359375, 0.0177001953125, 0.03363037109375...
embed
25225131_c0
25225131
lisp
0
Title: What&#x27;s so inferior about inferior-lisp? Problem title: What&#x27;s so inferior about inferior-lisp? Tags: elisp, emacs, ess, lisp Problem: What's so inferior about inferior-lisp? As I've started learning about lisp, emacs, and ess (Emacs Speaks Statistics), I've come across this concept of inferior-this-or-...
What&#x27;s so inferior about inferior-lisp? What&#x27;s so inferior about inferior-lisp? elisp emacs ess lisp What What's so inferior about inferior-lisp? As I've started learning about lisp, emacs, and ess (Emacs Speaks Statistics), I've come across this concept of inferior-this-or-that. For instance, there's an infe...
[ 0.0263671875, -0.00897216796875, -0.00021648406982421875, 0.00244140625, -0.01043701171875, 0.0196533203125, 0.0027618408203125, 0.0018463134765625, 0.004302978515625, 0.023193359375, 0.01507568359375, -0.000751495361328125, -0.0033416748046875, 0.01318359375, -0.00445556640625, -0.008...
[ 4865, 3768, 221, 44157, 1672, 4086, 254, 15296, 7008, 352, 2263, 7, 198, 400, 9, 52080, 647, 35572, 172797, 126124, 23755, 100231, 748, 86673, 90, 61170, 26926, 85269, 4439, 1261, 36024, 29481, 46876, 51042, 28032, 831, 78974, 373, 18234, ...
[ 0.054351806640625, 0.0853271484375, 0.117431640625, 0.299560546875, 0.04595947265625, 0.1409912109375, 0.1832275390625, 0.05255126953125, 0.171875, 0.08258056640625, 0.150146484375, 0.09967041015625, 0.085693359375, 0.10040283203125, 0.031829833984375, 0.015533447265625, 0.0053405761...
embed
5574786_c0
5574786
lisp
0
Title: how to do value assignment issue in lisp Problem title: how to do value assignment issue in lisp Tags: common-lisp, lisp Problem: how to do value assignment issue in lisp I am learning common lisp and tried to implement a swap value function to swap two variables' value. Why the following does not work? (defun s...
how to do value assignment issue in lisp how to do value assignment issue in lisp common-lisp lisp LAMBDA NIL SETF TMP ERROR SB-INT:NAMED-LAMBDA SWAP-VALUE how to do value assignment issue in lisp I am learning common lisp and tried to implement a swap value function to swap two variables' value. Why the following does...
[ 0.00040435791015625, 0.0130615234375, 0.01123046875, 0.003875732421875, -0.016357421875, -0.0108642578125, -0.030517578125, -0.007476806640625, -0.004608154296875, 0.022216796875, 0.02197265625, 0.03955078125, -0.004058837890625, -0.004669189453125, 0.02001953125, -0.01123046875, 0.0...
[ 3642, 47, 54, 34292, 95486, 674, 31089, 23, 400, 7008, 39210, 4086, 254, 12689, 6538, 541, 16444, 159, 183300, 9088, 151206, 90944, 59537, 182512, 94202, 571, 61595, 15383, 61152, 37842, 29479, 202317, 32354, 6626, 77336, 25632, 959, 4488, ...
[ 0.05731201171875, 0.04876708984375, 0.09063720703125, 0.2666015625, 0.2421875, 0.12347412109375, 0.1922607421875, 0.0711669921875, 0.1351318359375, 0.2236328125, 0.11492919921875, 0.0810546875, 0.1312255859375, 0.065185546875, 0.11090087890625, 0.0048065185546875, 0.09356689453125, ...
embed
48412869_c0
48412869
lisp
0
Title: Scheme multiple procedures in cond Problem title: Scheme multiple procedures in cond Tags: lisp, scheme Problem: Scheme multiple procedures in cond In one case of my cond , I need to do multiple procedures then return a value at the end. However, my current implementation gives me an error: application: not a pr...
Scheme multiple procedures in cond Scheme multiple procedures in cond lisp scheme Scheme Scheme multiple procedures in cond In one case of my cond , I need to do multiple procedures then return a value at the end. However, my current implementation gives me an error: application: not a procedure; expected a procedure t...
[ -0.0194091796875, 0.00830078125, -0.0106201171875, 0.02001953125, -0.0184326171875, 0.00958251953125, 0.0159912109375, -0.0111083984375, -0.00152587890625, -0.022705078125, 0.002349853515625, 0.002716064453125, -0.005523681640625, -0.002197265625, 0.00799560546875, 0.01171875, 0.0133...
[ 34702, 282, 48716, 50491, 23, 158, 71, 400, 7008, 150370, 7, 7225, 3871, 54, 30646, 34292, 3564, 43581, 208124, 18499, 38415, 959, 10, 84751, 831, 190659, 47, 10750, 4358, 28219, 3642, 765, 124519 ]
[ 0.1744384765625, 0.10528564453125, 0.2408447265625, 0.256103515625, 0.0595703125, 0.188232421875, 0.177001953125, 0.076171875, 0.1751708984375, 0.227783203125, 0.01372528076171875, 0.0360107421875, 0.0294342041015625, 0.06304931640625, 0.1329345703125, 0.1375732421875, 0.065063476562...
embed
36955659_c0
36955659
lisp
0
Title: How to take input in SEQUENCE lisp? Problem title: How to take input in SEQUENCE lisp? Tags: common-lisp, sequence, lisp Problem: How to take input in SEQUENCE lisp? I am trying to write a sorting code in lisp language. But I am not sure how to do it. I want to use sort function of lisp using sequence. I am tryi...
How to take input in SEQUENCE lisp? How to take input in SEQUENCE lisp? common-lisp sequence lisp How SEQUENCE How to take input in SEQUENCE lisp? I am trying to write a sorting code in lisp language. But I am not sure how to do it. I want to use sort function of lisp using sequence. I am trying to create sequence like...
[ -0.0067138671875, 0.0308837890625, -0.011962890625, 0.0028839111328125, 0.00007390975952148438, 0.0010986328125, 0.006195068359375, 0.0054931640625, 0.00750732421875, -0.03173828125, -0.0029144287109375, 0.01904296875, -0.00628662109375, 0.0087890625, -0.00982666015625, -0.025756835937...
[ 11249, 47, 5646, 107730, 23, 6755, 102361, 139016, 400, 7008, 39210, 4086, 254, 40, 944, 3956, 31577, 33022, 12096, 214, 18151, 46876, 9077, 3642, 54, 3444, 4527, 32354, 17368, 28282, 1884, 903, 5423, 61475, 12830, 38937, 1295, 110, 6528, ...
[ 0.1064453125, 0.05328369140625, 0.1668701171875, 0.259033203125, 0.1004638671875, 0.1346435546875, 0.186279296875, 0.1678466796875, 0.1334228515625, 0.21484375, 0.08441162109375, 0.09820556640625, 0.11865234375, 0.08502197265625, 0.1524658203125, 0.1505126953125, 0.037261962890625, ...
embed
50866351_c0
50866351
lisp
0
Title: elisp how to apply a lambda to a list? Problem title: elisp how to apply a lambda to a list? Tags: lambda, list, lisp, elisp, apply Problem: elisp how to apply a lambda to a list? What I'm trying to do seems simple enough, and whatever's wrong must be a really dumb mistake, since I couldn't find other people get...
elisp how to apply a lambda to a list? elisp how to apply a lambda to a list? lambda list lisp elisp apply elisp how to apply a lambda to a list? What I'm trying to do seems simple enough, and whatever's wrong must be a really dumb mistake, since I couldn't find other people getting the same error. I just want to apply...
[ 0.0027008056640625, 0.0113525390625, 0.0189208984375, -0.006103515625, -0.000957489013671875, 0.02685546875, -0.0038604736328125, 0.01361083984375, 0.00653076171875, -0.040771484375, 0.01434326171875, -0.044921875, -0.006744384765625, 0.0185546875, -0.01611328125, -0.018798828125, 0....
[ 15296, 7008, 3642, 47, 59911, 10, 21, 6492, 85, 5303, 400, 31577, 37202, 8781, 44691, 121742, 18499, 3444, 3688, 5701, 9790, 11675, 452, 56649, 14012, 10750, 67660 ]
[ 0.10546875, 0.2183837890625, 0.08935546875, 0.1265869140625, 0.1856689453125, 0.068115234375, 0.0970458984375, 0.2164306640625, 0.1796875, 0.205078125, 0.04449462890625, 0.0325927734375, 0.00115966796875, 0.044921875, 0.042022705078125, 0.0606689453125, 0.1512451171875, 0.030975341...
embed
11548131_c1
11548131
lisp
1
append '(*) (loop for x from n to (+ n 5) collect (parse-integer 1000digits-str :start x :end (+ x 1)))))) This compiled without warnings and upon running it, appears to operate perfectly. For example, CL_USER> (product-of-5n 1) => 882 Which appears to be correct since the first five digits are 7, 3, 1, 6 and 7. As for...
append '(*) (loop for x from n to (+ n 5) collect (parse-integer 1000digits-str :start x :end (+ x 1)))))) This compiled without warnings and upon running it, appears to operate perfectly. For example, CL_USER> (product-of-5n 1) => 882 Which appears to be correct since the first five digits are 7, 3, 1, 6 and 7. As for...
[ -0.01904296875, 0.0228271484375, -0.0037078857421875, 0.0185546875, -0.015625, 0.021484375, 0.006622314453125, 0.018798828125, 0.005096435546875, -0.0296630859375, -0.001434326171875, 0.0018463134765625, -0.00133514404296875, -0.014404296875, -0.006683349609375, 0.0030059814453125, -...
[ 114689, 71, 242, 88746, 28354, 100, 1022, 1295, 653, 47, 22183, 21162, 43799, 2500, 184, 6191, 1505, 4382, 4803, 14481, 9297, 17137, 3611, 106, 167089, 3293, 375, 5974, 15490, 1631, 51042, 135179, 160404, 169123, 46323, 1062, 50184, 2740, 5...
[ 0.218017578125, 0.12841796875, 0.0921630859375, 0.130615234375, 0.2509765625, 0.055908203125, 0.0867919921875, 0.07574462890625, 0.0692138671875, 0.09130859375, 0.10791015625, 0.1436767578125, 0.267578125, 0.134765625, 0.0849609375, 0.1488037109375, 0.0628662109375, 0.191650390625,...
embed
22975732_c0
22975732
lisp
0
Title: LISP dynamically define functions Problem title: LISP dynamically define functions Tags: function, lisp, definition Problem: LISP dynamically define functions I want to define a function with a parameter that defines another function with that parameter as the name. example that dont work: (DEFUN custom (name op...
LISP dynamically define functions LISP dynamically define functions function lisp definition LISP DEFUN FUNCALL APPLY LISP dynamically define functions I want to define a function with a parameter that defines another function with that parameter as the name. example that dont work: The problem is that name isnt evalua...
[ 0.010986328125, 0.007476806640625, 0.0050048828125, 0.0189208984375, -0.011962890625, 0.0126953125, -0.0035400390625, 0.005615234375, 0.01287841796875, -0.02294921875, -0.01470947265625, -0.0162353515625, -0.023681640625, -0.003875732421875, 0.01446533203125, -0.0037384033203125, -0....
[ 16970, 9434, 84079, 25958, 61924, 32354, 400, 7008, 80934, 202001, 14006, 136258, 441, 66437, 66440, 19917, 3444, 678, 171859, 15700, 9351, 27781, 13319, 4488, 2967, 660, 151575, 71, 11343, 35839, 136, 11782, 26785 ]
[ 0.1622314453125, 0.2291259765625, 0.20947265625, 0.105712890625, 0.2093505859375, 0.2281494140625, 0.148681640625, 0.2130126953125, 0.185546875, 0.157470703125, 0.1649169921875, 0.1356201171875, 0.049591064453125, 0.138427734375, 0.1346435546875, 0.1480712890625, 0.0231781005859375, ...
embed
38033494_c3
38033494
lisp
3
STANDARD-DB-OBJECT, CLSQL-SYS::BUILD-OBJECTS, CLSQL-SYS:SELECT-LIST, CLSQL-SYS::FIND-ALL, IDYOM-DB:MTP-EVENT, RESULT-TYPES, AUTO, REFRESH, INSTANCES, WHERE, CLSQL-SYS:SQL-RELATIONAL-EXP, MTP_EVENT.COMPOSITION_ID, MTP_EVENT.DATASET_ID, FLATP, CLSQL-SYS:SELECT, DATABASE, CLSQL-SQLITE3:SQLITE3-DA, CLSQL-SYS::FAULT-JOIN-SL...
STANDARD-DB-OBJECT, CLSQL-SYS::BUILD-OBJECTS, CLSQL-SYS:SELECT-LIST, CLSQL-SYS::FIND-ALL, IDYOM-DB:MTP-EVENT, RESULT-TYPES, AUTO, REFRESH, INSTANCES, WHERE, CLSQL-SYS:SQL-RELATIONAL-EXP, MTP_EVENT.COMPOSITION_ID, MTP_EVENT.DATASET_ID, FLATP, CLSQL-SYS:SELECT, DATABASE, CLSQL-SQLITE3:SQLITE3-DA, CLSQL-SYS::FAULT-JOIN-SL...
[ -0.01092529296875, 0.005645751953125, 0.0157470703125, 0.01611328125, -0.0034637451171875, -0.009033203125, -0.0184326171875, 0.0244140625, 0.0257568359375, -0.0233154296875, -0.0194091796875, -0.027099609375, -0.0069580078125, -0.002960205078125, -0.0189208984375, 0.00567626953125, ...
[ 16992, 34860, 40756, 9, 39463, 38296, 1375, 114781, 4, 46323, 158897, 294, 26947, 12, 15639, 16444, 397, 9127, 144832, 195977, 129525, 66437, 87, 43098, 31626, 594, 23658, 647, 113114, 218849, 27143, 683, 6706, 85196, 9069, 46290, 129754, 588...
[ 0.1478271484375, 0.212646484375, 0.1728515625, 0.06475830078125, 0.2098388671875, 0.1541748046875, 0.1678466796875, 0.1099853515625, 0.06390380859375, 0.118896484375, 0.2509765625, 0.0222015380859375, 0.1748046875, 0.062255859375, 0.044464111328125, 0.117919921875, 0.1556396484375, ...
embed
39074260_c0
39074260
lisp
0
Title: There is no package named &quot;CLACK.APP.DIRECTORY&quot; Problem title: There is no package named &quot;CLACK.APP.DIRECTORY&quot; Tags: common-lisp, lisp Problem: There is no package named "CLACK.APP.DIRECTORY" I am learning about Common Lisp and the Clack , following the tutorial: http://clacklisp.org/tutorial...
There is no package named &quot;CLACK.APP.DIRECTORY&quot; There is no package named &quot;CLACK.APP.DIRECTORY&quot; common-lisp lisp There CLACK.APP.DIRECTORY There is no package named "CLACK.APP.DIRECTORY" I am learning about Common Lisp and the Clack , following the tutorial: http://clacklisp.org/tutorial/06-using-cl...
[ 0.007537841796875, 0.01336669921875, 0.01708984375, 0.014404296875, -0.0181884765625, 0.02587890625, 0.0244140625, -0.009521484375, 0.00909423828125, -0.0142822265625, -0.005859375, -0.0020751953125, 0.003326416015625, 0.003936767578125, 0.0186767578125, 0.00482177734375, -0.01391601...
[ 8622, 83, 110, 98169, 24, 4806, 441, 8356, 20572, 40680, 123237, 16546, 208230, 39210, 4086, 254, 400, 7008, 129636, 52080, 151301, 1261, 313, 123660, 57143, 77275, 34340, 223, 238, 9007, 80581, 30675, 139539, 39179, 184911, 831, 36272, 42135...
[ 0.034515380859375, 0.020050048828125, 0.1334228515625, 0.270751953125, 0.06280517578125, 0.0921630859375, 0.048065185546875, 0.20361328125, 0.2147216796875, 0.19189453125, 0.152587890625, 0.1285400390625, 0.177978515625, 0.1112060546875, 0.1070556640625, 0.1517333984375, 0.1126708984...
embed
18418679_c1
18418679
lisp
1
40 (GENSYM))) `(LET ((,#:G939 ,FROM) (,#:G940 ,TO)) ,(LET ((FROM #:G939) (TO #:G940)) `(DO ((,VAR ,FROM (NEXT-PRIME (+ ,1 ,VAR)))) ((>= ,VAR ,TO)) ,@BODY)))) Now, my issue is with the second line of the expanded form. Shouldn't it be: `(LET (,(,#:G939 ,FROM) ,(,#:G940 ,TO)) ? See how the evaluation of the ,,@ in the fi...
40 (GENSYM))) `(LET ((,#:G939 ,FROM) (,#:G940 ,TO)) ,(LET ((FROM #:G939) (TO #:G940)) `(DO ((,VAR ,FROM (NEXT-PRIME (+ ,1 ,VAR)))) ((>= ,VAR ,TO)) ,@BODY)))) Now, my issue is with the second line of the expanded form. Shouldn't it be: `(LET (,(,#:G939 ,FROM) ,(,#:G940 ,TO)) ? See how the evaluation of the ,,@ in the fi...
[ 0.0118408203125, 0.025390625, -0.016357421875, 0.026123046875, -0.00186920166015625, 0.036376953125, 0.002960205078125, -0.00994873046875, 0.01385498046875, -0.025146484375, 0.009521484375, -0.000499725341796875, 0.00054931640625, -0.005523681640625, 0.003082275390625, -0.0029602050781...
[ 1112, 39018, 294, 65311, 32149, 27089, 4, 4904, 724, 1126, 9323, 919, 61607, 2839, 8727, 112227, 125136, 13223, 61784, 70981, 17255, 66820, 22183, 981, 571, 181668, 31089, 17932, 13315, 71062, 297, 3173, 151117, 442, 186, 6, 219836, 5117, 2...
[ 0.24951171875, 0.155029296875, 0.0675048828125, 0.2470703125, 0.0220794677734375, 0.25146484375, 0.037109375, 0.04400634765625, 0.07696533203125, 0.140869140625, 0.257568359375, 0.0166168212890625, 0.239990234375, 0.234619140625, 0.26171875, 0.2353515625, 0.2138671875, 0.0685424804...
embed
48239263_c1
48239263
lisp
1
seq list (+ (position #\{ list) 1) 2))))) 0) 0)) EDIT: I tried with something totally different (defun return-c (input open close pos) (if (and (eql open close) (not (and (eql 0 open) (eql 0 close)))) (- pos 1) (cond ((eql (car input) #\{) (return-c (cdr input) (+ 1 open) close (+ 1 pos))) ((eql (car input) #\}) (retur...
seq list (+ (position #\{ list) 1) 2))))) 0) 0)) EDIT: I tried with something totally different (defun return-c (input open close pos) (if (and (eql open close) (not (and (eql 0 open) (eql 0 close)))) (- pos 1) (cond ((eql (car input) #\{) (return-c (cdr input) (+ 1 open) close (+ 1 pos))) ((eql (car input) #\}) (retur...
[ -0.006622314453125, 0.0205078125, -0.0157470703125, 0.0198974609375, 0.0023040771484375, 0.009033203125, -0.01611328125, 0.0220947265625, 0.015625, -0.0189208984375, -0.000762939453125, -0.010498046875, 0.00921630859375, 0.00994873046875, 0.00836181640625, -0.0137939453125, -0.018676...
[ 40, 864, 5303, 22183, 40322, 468, 4879, 4958, 80126, 757, 37842, 112668, 12921, 112, 16498, 30646, 238, 73, 7077, 9803, 20903, 3864, 3190, 99247, 10869, 3284, 107730, 65395, 7569, 106, 18, 54529, 19069, 229, 63262, 18151, 37202, 4488, 46132...
[ 0.115234375, 0.2178955078125, 0.227294921875, 0.16796875, 0.1893310546875, 0.0369873046875, 0.057220458984375, 0.06939697265625, 0.1103515625, 0.1522216796875, 0.0673828125, 0.0240020751953125, 0.069580078125, 0.0911865234375, 0.1741943359375, 0.178466796875, 0.059967041015625, 0.0...
embed
36824708_c0
36824708
lisp
0
Title: Set, not list in Lisp world? Problem title: Set, not list in Lisp world? Tags: lisp, set-theory Problem: Set, not list in Lisp world? In set theory, we have {x, y, z} , which is the same as {z, y, x} which is the same as ... {y, x, z} , {z, x, y} ... Now, in Lisp (Scheme etc.) a list doesn't allow such juxtaposi...
Set, not list in Lisp world? Set, not list in Lisp world? lisp set-theory Set Lisp Set, not list in Lisp world? In set theory, we have {x, y, z} , which is the same as {z, y, x} which is the same as ... {y, x, z} , {z, x, y} ... Now, in Lisp (Scheme etc.) a list doesn't allow such juxtaposition. Order matters. Question...
[ 0.01220703125, 0.0289306640625, 0.015380859375, 0.0024566650390625, -0.01171875, -0.00001823902130126953, 0.00750732421875, -0.01275634765625, 0.00159454345703125, -0.0027618408203125, -0.004852294921875, 0.0260009765625, 0.00616455078125, -0.00128936767578125, -0.01324462890625, 0.013...
[ 19943, 959, 5303, 23, 1261, 7008, 8999, 400, 5423, 2347, 30675, 154453, 765, 425, 113, 97, 5701, 237, 169, 1022, 25452, 12549, 18, 63769, 1129, 29621, 40322, 81206, 26866, 2685, 183234, 12989, 246, 90, 19, 192, 3055, 57767, 13648, 64549, ...
[ 0.267822265625, 0.1651611328125, 0.2266845703125, 0.054229736328125, 0.182861328125, 0.198486328125, 0.1461181640625, 0.116455078125, 0.220458984375, 0.0633544921875, 0.01824951171875, 0.1812744140625, 0.03363037109375, 0.069580078125, 0.0968017578125, 0.1368408203125, 0.1005859375, ...
embed
28164170_c0
28164170
lisp
0
Title: LISP function to return the greater number Problem title: LISP function to return the greater number Tags: common-lisp, parameters, function, lisp Problem: LISP function to return the greater number I feel like an idiot asking for help for this, but I have been stuck for hours now, and I haven't been able to fin...
LISP function to return the greater number LISP function to return the greater number common-lisp parameters function lisp LISP LISP function to return the greater number I feel like an idiot asking for help for this, but I have been stuck for hours now, and I haven't been able to find anything on the internet that can...
[ -0.0059814453125, 0.016845703125, 0.000514984130859375, 0.0005950927734375, 0.0005950927734375, 0.016357421875, -0.00140380859375, 0.00921630859375, -0.011474609375, -0.010498046875, -0.00087738037109375, 0.006072998046875, -0.033447265625, -0.0257568359375, 0.0203857421875, 0.00552368...
[ 16970, 9434, 32354, 47, 30646, 70, 117396, 14012, 39210, 4086, 254, 171859, 400, 7008, 12319, 1884, 68649, 113292, 4358, 903, 4, 765, 2809, 179933, 100, 21974, 5036, 38246, 19048, 1820, 831, 31577, 33022, 23, 51776, 6626, 7, 450, 83, 99, ...
[ 0.1597900390625, 0.2313232421875, 0.2225341796875, 0.093017578125, 0.2264404296875, 0.0670166015625, 0.206298828125, 0.198486328125, 0.12890625, 0.1260986328125, 0.166259765625, 0.2120361328125, 0.121337890625, 0.1541748046875, 0.1136474609375, 0.06231689453125, 0.1026611328125, 0....
embed
20562954_c0
20562954
lisp
0
Title: Sum of two value of two array LISP Problem title: Sum of two value of two array LISP Tags: common-lisp, arrays, lisp, vector Problem: Sum of two value of two array LISP I have two vector array : t1 (vector 1 2 3) t2 (vector 1 2 3 6 4) I just want sum the value of t1 with t2 The result is like this : t2 (2 4 6 6 ...
Sum of two value of two array LISP Sum of two value of two array LISP common-lisp arrays lisp vector Sum LISP addition-v2 Sum of two value of two array LISP I have two vector array : I just want sum the value of t1 with t2 The result is like this : First i try this code : Like you imagine the result is Ok fine, but how...
[ 0.0054931640625, 0.031005859375, -0.010986328125, 0.0230712890625, -0.005126953125, -0.01348876953125, -0.0205078125, 0.0155029296875, 0.00738525390625, -0.031494140625, 0.01177978515625, 0.02197265625, -0.0078125, 0.004669189453125, 0.00872802734375, -0.003936767578125, -0.010437011...
[ 36335, 111, 6626, 34292, 10298, 53, 16970, 9434, 39210, 4086, 254, 4778, 400, 7008, 173, 18770, 66044, 334, 304, 1660, 3444, 10554, 808, 418, 678, 16750, 1884, 903, 23972, 9790, 18151, 28987, 5885, 3642, 831, 54, 2174, 140909, 977 ]
[ 0.2158203125, 0.1429443359375, 0.192626953125, 0.191162109375, 0.155029296875, 0.11962890625, 0.101806640625, 0.2039794921875, 0.07891845703125, 0.04742431640625, 0.117431640625, 0.0018482208251953125, 0.06402587890625, 0.149169921875, 0.1441650390625, 0.1748046875, 0.1492919921875, ...
embed
19284998_c0
19284998
lisp
0
Title: Implementing length recursively for arbitrary sequences, not just lists Problem title: Implementing length recursively for arbitrary sequences, not just lists Tags: common-lisp, lisp Problem: Implementing length recursively for arbitrary sequences, not just lists I am new to Lisp and want to implement the functi...
Implementing length recursively for arbitrary sequences, not just lists Implementing length recursively for arbitrary sequences, not just lists common-lisp lisp Implementing Implementing length recursively for arbitrary sequences, not just lists I am new to Lisp and want to implement the function length with recursion....
[ 0.000530242919921875, 0.038330078125, -0.00994873046875, 0.0235595703125, 0.0050048828125, -0.0012359619140625, 0.0198974609375, 0.01495361328125, 0.00396728515625, -0.04541015625, 0.0020294189453125, -0.0220947265625, 0.013916015625, 0.0277099609375, 0.01007080078125, -0.0024719238281...
[ 153941, 214, 140909, 195625, 5844, 100, 61799, 1294, 40, 26513, 5170, 5303, 538, 959, 39210, 4086, 254, 400, 7008, 3525, 1261, 3444, 29479, 32354, 678, 1830, 59121, 25632, 18151, 7413, 831, 4734, 4488, 79315, 32195, 7722, 33022, 1632, 15044...
[ 0.2076416015625, 0.013885498046875, 0.2457275390625, 0.2388916015625, 0.150146484375, 0.040618896484375, 0.1441650390625, 0.06707763671875, 0.050384521484375, 0.16845703125, 0.035552978515625, 0.1932373046875, 0.005035400390625, 0.030242919921875, 0.07452392578125, 0.064697265625, 0....
embed
60111038_c0
60111038
lisp
0
Title: Retrieving value out of Associative array c# Problem title: Retrieving value out of Associative array c# Tags: c%23, lisp Problem: Retrieving value out of Associative array c# I'm stucked on my next problem. I read a line from a textfile containing like: (("ITEM" "05") ("NUMBER" "1") ("DESCRIPTION" "*RECHTE INST...
Retrieving value out of Associative array c# Retrieving value out of Associative array c# c%23 lisp Retrieving Associative ITEM NUMBER DESCRIPTION RECHTE INSTEEKKOP ARTICLENUMBER S110010000104 Retrieving value out of Associative array c# I'm stucked on my next problem. I read a line from a textfile containing like: In ...
[ 0.00836181640625, -0.00250244140625, -0.0040283203125, 0.0240478515625, 0.00139617919921875, 0.01068115234375, 0.0126953125, 0.024658203125, 0.0196533203125, -0.00787353515625, 0.000553131103515625, 0.0177001953125, -0.0284423828125, -0.016357421875, 0.018798828125, -0.0009651184082031...
[ 853, 97351, 6496, 34292, 1810, 111, 159594, 4935, 10298, 53, 4904, 3742, 400, 7008, 94885, 109020, 24480, 51552, 13937, 683, 165889, 66947, 179933, 2967, 12301, 13315, 7986, 29822, 1261, 903, 32036, 30046, 76199, 4777, 69307, 42856, 313 ]
[ 0.032684326171875, 0.190673828125, 0.08697509765625, 0.2127685546875, 0.154052734375, 0.08563232421875, 0.1932373046875, 0.140625, 0.1785888671875, 0.12744140625, 0.2110595703125, 0.0699462890625, 0.06103515625, 0.172607421875, 0.210693359375, 0.0921630859375, 0.011505126953125, 0....
embed
13940111_c0
13940111
lisp
0
Title: Common Lisp: all or any elements are true in a list Problem title: Common Lisp: all or any elements are true in a list Tags: list, common-lisp, lisp Problem: Common Lisp: all or any elements are true in a list In Python there are functions all and any they return true if all or some elements of a list are true r...
Common Lisp: all or any elements are true in a list Common Lisp: all or any elements are true in a list list common-lisp lisp Common Lisp Common Lisp: all or any elements are true in a list In Python there are functions all and any they return true if all or some elements of a list are true respectively. Are there equi...
[ 0.0123291015625, 0.01422119140625, 0.02099609375, 0.015625, -0.01171875, 0.010986328125, 0.012939453125, 0.003631591796875, 0.01153564453125, -0.00946044921875, 0.0189208984375, 0.0179443359375, 0.01483154296875, 0.02197265625, -0.003021240234375, 0.0177001953125, -0.0002479553222656...
[ 151301, 1261, 7008, 12, 756, 707, 2499, 80854, 621, 29568, 23, 10, 5303, 39210, 4086, 254, 400, 145581, 32354, 136, 1836, 30646, 2174, 3060, 111, 107013, 183234, 7, 2684, 6333, 49666, 3917, 33022, 2856, 114063 ]
[ 0.2049560546875, 0.1744384765625, 0.198974609375, 0.01367950439453125, 0.21923828125, 0.1484375, 0.2220458984375, 0.2095947265625, 0.1190185546875, 0.2445068359375, 0.0992431640625, 0.0235595703125, 0.231689453125, 0.136474609375, 0.10101318359375, 0.11590576171875, 0.10430908203125,...
embed
4226948_c0
4226948
lisp
0
Title: Why does (list &#x27;quote &#x27;x) evaluate to &#x27;x and not (&#x27;x) or (quote &#x27;x)? Problem title: Why does (list &#x27;quote &#x27;x) evaluate to &#x27;x and not (&#x27;x) or (quote &#x27;x)? Tags: quote, lisp, evaluation, common-lisp, clisp Problem: Why does (list 'quote 'x) evaluate to 'x and not ('...
Why does (list &#x27;quote &#x27;x) evaluate to &#x27;x and not (&#x27;x) or (quote &#x27;x)? Why does (list &#x27;quote &#x27;x) evaluate to &#x27;x and not (&#x27;x) or (quote &#x27;x)? quote lisp evaluation common-lisp clisp Why Why does (list 'quote 'x) evaluate to 'x and not ('x) or (quote 'x)? I'm trying to learn...
[ 0.01202392578125, 0.032470703125, 0.01324462890625, -0.0015411376953125, -0.0185546875, 0.004119873046875, 0.0179443359375, -0.003570556640625, 0.0152587890625, 0.0235595703125, -0.005859375, -0.0135498046875, -0.0024871826171875, 0.004852294921875, -0.031494140625, 0.01025390625, 0....
[ 44084, 14602, 6562, 3768, 68726, 425, 151575, 13, 47, 959, 66747, 400, 7008, 219836, 39210, 4086, 254, 95701, 136, 707, 30698, 16970, 9434, 18151, 27781, 21373, 11814, 21162, 758, 9069, 21130, 84751, 43317, 31577, 67616, 683, 4358, 77947 ]
[ 0.16455078125, 0.05499267578125, 0.2135009765625, 0.10345458984375, 0.240966796875, 0.1097412109375, 0.2181396484375, 0.04931640625, 0.109619140625, 0.12060546875, 0.2069091796875, 0.08831787109375, 0.16845703125, 0.18896484375, 0.064208984375, 0.06158447265625, 0.12353515625, 0.07...
embed
1116471_c0
1116471
lisp
0
Title: How do I make a module in PLT Scheme? Problem title: How do I make a module in PLT Scheme? Tags: racket, scheme, lisp, functional-programming Problem: How do I make a module in PLT Scheme? I tried doing this: #lang scheme (module duck scheme/base (provide num-eggs quack) (define num-eggs 2) (define (quack n) (un...
How do I make a module in PLT Scheme? How do I make a module in PLT Scheme? racket scheme lisp functional-programming How PLT Scheme sub1 How do I make a module in PLT Scheme? I tried doing this: But I get this error: what is the correct way?
[ -0.006744384765625, 0.0189208984375, -0.00738525390625, 0.0225830078125, -0.01513671875, 0.0074462890625, -0.002593994140625, -0.0179443359375, 0.00640869140625, -0.038818359375, -0.015380859375, -0.03759765625, 0.00157928466796875, -0.01513671875, 0.009521484375, -0.0167236328125, -...
[ 11249, 54, 87, 3249, 88996, 23, 436, 27026, 34702, 282, 10, 673, 27853, 150370, 400, 7008, 123309, 28966, 1614, 418, 37842, 20594, 903, 18499, 26785, 3917 ]
[ 0.08087158203125, 0.05084228515625, 0.033355712890625, 0.149169921875, 0.290771484375, 0.05047607421875, 0.104736328125, 0.26708984375, 0.1861572265625, 0.1328125, 0.040435791015625, 0.0157012939453125, 0.1444091796875, 0.14501953125, 0.01507568359375, 0.1260986328125, 0.100280761718...
embed
55821970_c1
55821970
lisp
1
start with a single quote no matter what. Next I tried the CL-WHO fmt function: :onclick (fmt "\"alertUser('locos-tacos-order')\"") When I use the fmt function it gets rid of my :onclick expression entirely when it is converted to html!: id='id'"alertUser('id')"> Lastly I tried the str function, and got similarly inva...
start with a single quote no matter what. Next I tried the CL-WHO fmt function: :onclick (fmt "\"alertUser('locos-tacos-order')\"") When I use the fmt function it gets rid of my :onclick expression entirely when it is converted to html!: id='id'"alertUser('id')"> Lastly I tried the str function, and got similarly inva...
[ -0.00091552734375, -0.00872802734375, 0.006256103515625, -0.012451171875, 0.006011962890625, 0.023193359375, 0.004669189453125, 0.0076904296875, 0.0179443359375, -0.03857421875, -0.0191650390625, -0.020263671875, -0.0167236328125, -0.019775390625, 0, 0.005035400390625, -0.01416015625...
[ 4034, 678, 11001, 66747, 26866, 2367, 37842, 46323, 9, 207612, 1238, 39, 18, 32354, 191, 123278, 420, 289, 2529, 1062, 2189, 365, 7840, 102, 80596, 4527, 31351, 125195, 167969, 117176, 47, 7693, 38, 3447, 532, 7704, 56649, 140992, 81887, ...
[ 0.122802734375, 0.0313720703125, 0.1416015625, 0.2734375, 0.0183258056640625, 0.004058837890625, 0.0309600830078125, 0.180419921875, 0.0908203125, 0.251220703125, 0.0880126953125, 0.056488037109375, 0.134521484375, 0.2017822265625, 0.1357421875, 0.290771484375, 0.0675048828125, 0.1...
embed
28551285_c0
28551285
lisp
0
Title: Reverse list in Racket in O(n) Problem title: Reverse list in Racket in O(n) Tags: lisp, racket, scheme Problem: Reverse list in Racket in O(n) I need to write a recursive function in Scheme which takes a list of atoms and reverses it in linear time. I am only allowed to use define, lambda, cons, car, cdr, cond,...
Reverse list in Racket in O(n) Reverse list in Racket in O(n) lisp racket scheme Reverse Racket Reverse list in Racket in O(n) I need to write a recursive function in Scheme which takes a list of atoms and reverses it in linear time. I am only allowed to use define, lambda, cons, car, cdr, cond, let, and null? . Here i...
[ -0.01220703125, 0.046630859375, 0.01611328125, 0.0294189453125, 0.0072021484375, 0.0036773681640625, 0.015380859375, 0.00164031982421875, -0.010986328125, -0.01409912109375, -0.0064697265625, -0.0238037109375, -0.000583648681640625, -0.004852294921875, 0.006317138671875, 0.009643554687...
[ 853, 37676, 5303, 2552, 27853, 180, 19, 400, 7008, 673, 150370, 23, 3871, 33022, 195625, 5844, 32354, 34702, 282, 51776, 34627, 39531, 5908, 192617, 1733, 444, 4734, 107003, 4527, 61924, 6492, 85, 158, 2258, 42, 71, 2633, 56574, 2060, 117...
[ 0.0712890625, 0.251708984375, 0.2056884765625, 0.1170654296875, 0.2034912109375, 0.134521484375, 0.07452392578125, 0.00469970703125, 0.0980224609375, 0.07696533203125, 0.146728515625, 0.00921630859375, 0.043792724609375, 0.0853271484375, 0.15185546875, 0.1070556640625, 0.16259765625,...
embed
4858975_c0
4858975
lisp
0
Title: In Emacs-lisp, what is the correct way to use call-process on an ls command? Problem title: In Emacs-lisp, what is the correct way to use call-process on an ls command? Tags: emacs, lisp Problem: In Emacs-lisp, what is the correct way to use call-process on an ls command? I want to execute the following shell co...
In Emacs-lisp, what is the correct way to use call-process on an ls command? In Emacs-lisp, what is the correct way to use call-process on an ls command? emacs lisp Emacs-lisp In Emacs-lisp, what is the correct way to use call-process on an ls command? I want to execute the following shell command in emacs-lisp: My att...
[ 0.00830078125, 0.025634765625, -0.007293701171875, -0.00244140625, -0.0128173828125, 0.01220703125, -0.0052490234375, -0.00167083740234375, -0.0185546875, -0.01708984375, 0.000377655029296875, 0.033935546875, -0.0208740234375, 0.03662109375, -0.005279541015625, -0.0048828125, 0.00280...
[ 360, 85269, 4439, 4086, 254, 26785, 3917, 4527, 11782, 9, 63923, 98, 96, 7, 75101, 352, 2263, 400, 7008, 47, 3444, 71924, 25632, 128019, 23, 81887, 99, 50339, 4358, 77947 ]
[ 0.0213623046875, 0.1456298828125, 0.1685791015625, 0.1075439453125, 0.1688232421875, 0.1070556640625, 0.063232421875, 0.1251220703125, 0.2159423828125, 0.115966796875, 0.241455078125, 0.06732177734375, 0.11688232421875, 0.1416015625, 0.21826171875, 0.08380126953125, 0.108642578125, ...
embed
5893610_c0
5893610
lisp
0
Title: Why in LISP , there is no limitation for number? Problem title: Why in LISP , there is no limitation for number? Tags: numbers, lisp Problem: Why in LISP , there is no limitation for number? I can even calculate ( expt 32768 32768 ) and I got: 476170470581645852036305042887575891541065808607552399123930385521914...
Why in LISP , there is no limitation for number? Why in LISP , there is no limitation for number? numbers lisp Why LISP Why in LISP , there is no limitation for number? I can even calculate ( expt 32768 32768 ) and I got:
[ -0.005401611328125, 0.009033203125, -0.00872802734375, 0.00640869140625, 0.0014801025390625, -0.007598876953125, 0.007476806640625, 0.0166015625, 0.004302978515625, -0.0184326171875, -0.005859375, -0.01495361328125, -0.0146484375, 0.0012054443359375, 0.007415771484375, -0.0020294189453...
[ 44084, 23, 16970, 9434, 2685, 83, 110, 205969, 100, 14012, 101935, 400, 7008, 831, 74481, 14700, 18, 2789, 84453 ]
[ 0.1434326171875, 0.09722900390625, 0.1573486328125, 0.2435302734375, 0.037567138671875, 0.061920166015625, 0.11151123046875, 0.223388671875, 0.07965087890625, 0.2037353515625, 0.1783447265625, 0.12420654296875, 0.1861572265625, 0.02490234375, 0.13037109375, 0.03753662109375, 0.000936...
embed
27642626_c1
27642626
lisp
1
to stdout (timeit *standard-output* 1000 (+ 1 1)) ; Time over a 1000 iterations. I think this, found from the hyperspec , on defmacro is a similar idea. (defmacro mac2 (&optional (a 2 b) (c 3 d) &rest x) `'(,a ,b ,c ,d ,x)) => MAC2 (mac2 6) => (6 T 3 NIL NIL) (mac2 6 3 8) => (6 T 3 T (8)) EDIT: Keyword arguments The u...
to stdout (timeit *standard-output* 1000 (+ 1 1)) ; Time over a 1000 iterations. I think this, found from the hyperspec , on defmacro is a similar idea. (defmacro mac2 (&optional (a 2 b) (c 3 d) &rest x) `'(,a ,b ,c ,d ,x)) => MAC2 (mac2 6) => (6 T 3 NIL NIL) (mac2 6 3 8) => (6 T 3 T (8)) EDIT: Keyword arguments The u...
[ -0.005035400390625, 0.0191650390625, 0.00848388671875, -0.005218505859375, 0.0166015625, 0.01361083984375, 0.000820159912109375, -0.00021266937255859375, -0.007781982421875, -0.0274658203125, -0.007659912109375, -0.00750732421875, -0.00153350830078125, 0.01324462890625, 0.003189086914062...
[ 47, 6138, 246, 1003, 6032, 217, 66589, 6056, 7077, 4382, 22183, 106, 4879, 19055, 645, 10, 17, 720, 21094, 5351, 59058, 16711, 8, 420, 15322, 21373, 6528, 112, 19138, 304, 109585, 138, 104, 56644, 1022, 71, 425, 78826, 35572, 35914, 161...
[ 0.1353759765625, 0.1751708984375, 0.0899658203125, 0.21533203125, 0.2135009765625, 0.2435302734375, 0.227783203125, 0.126708984375, 0.0762939453125, 0.1893310546875, 0.175537109375, 0.036590576171875, 0.1209716796875, 0.2291259765625, 0.182861328125, 0.06903076171875, 0.0670776367187...
embed
64571464_c0
64571464
lisp
0
Title: Common Lisp: Too few arguments given to function but cant find problem Problem title: Common Lisp: Too few arguments given to function but cant find problem Tags: function, arguments, common-lisp, lisp Problem: Common Lisp: Too few arguments given to function but cant find problem im trying to create a simple c ...
Common Lisp: Too few arguments given to function but cant find problem Common Lisp: Too few arguments given to function but cant find problem function arguments common-lisp lisp Common Lisp Too Common Lisp: Too few arguments given to function but cant find problem im trying to create a simple c lisp program that finds ...
[ 0.004150390625, 0.00726318359375, -0.01953125, 0.0164794921875, -0.01458740234375, 0.025146484375, 0.0030059814453125, 0.015869140625, 0.0101318359375, 0.008056640625, 0.00897216796875, -0.0277099609375, 0.018310546875, -0.00537109375, 0.006622314453125, 0.0157470703125, 0.0145874023...
[ 151301, 1261, 7008, 56374, 10846, 10750, 7, 34475, 32354, 1284, 45767, 7413, 2967, 47, 39210, 4086, 254, 400, 31577, 28282, 8781, 501, 1528, 91995, 26582, 79315, 18499, 68772, 5792 ]
[ 0.1572265625, 0.1590576171875, 0.1844482421875, 0.11572265625, 0.1864013671875, 0.2412109375, 0.05908203125, 0.107177734375, 0.1610107421875, 0.06878662109375, 0.11358642578125, 0.1392822265625, 0.1927490234375, 0.05511474609375, 0.10247802734375, 0.0712890625, 0.0789794921875, 0.1...
embed
40791603_c0
40791603
lisp
0
Title: Is there an equivalent of Common Lisp&#x27;s push in Racket? Problem title: Is there an equivalent of Common Lisp&#x27;s push in Racket? Tags: common-lisp, lisp, racket Problem: Is there an equivalent of Common Lisp's push in Racket? In Commons Lisp there is the command "push": (define (push x a-list) (set-box! ...
Is there an equivalent of Common Lisp&#x27;s push in Racket? Is there an equivalent of Common Lisp&#x27;s push in Racket? common-lisp lisp racket Common Lisp Racket Is there an equivalent of Common Lisp's push in Racket? In Commons Lisp there is the command "push": It allows you to put elements first in a list, for ins...
[ 0.00634765625, 0.032958984375, 0.0048828125, 0.0274658203125, -0.0167236328125, 0.0223388671875, 0.00213623046875, -0.0162353515625, 0.0050048828125, -0.0294189453125, 0.01611328125, -0.0016632080078125, -0.00341796875, -0.02685546875, 0.0002880096435546875, -0.006011962890625, -0.00...
[ 183234, 151301, 1261, 7008, 3768, 25944, 23, 2552, 27853, 39210, 4086, 254, 400, 673, 2685, 142, 360, 8127, 75101, 7332, 127, 114864, 3884, 80854, 5117, 5303, 9844, 1884, 903, 209806, 98169, 1326, 927, 45367, 177261, 77007, 74481 ]
[ 0.162353515625, 0.126220703125, 0.132568359375, 0.184814453125, 0.019195556640625, 0.2237548828125, 0.0293426513671875, 0.1258544921875, 0.2371826171875, 0.06304931640625, 0.054901123046875, 0.10223388671875, 0.064697265625, 0.0955810546875, 0.0198211669921875, 0.020843505859375, 0.0...
embed
42642093_c0
42642093
lisp
0
Title: LISP programming Problem title: LISP programming Tags: common-lisp, lisp Problem: LISP programming (defun bubbleUp (n) (cond ((null n) nil) ((null (cdr n)) n) ((> (car n) (car (cdr n))) (append (list (car (cdr n))) (bubbleUp (cons (car n) (cdr (cdr n)))))) (t (append (list (car n)) (bubbleUp (cdr n)))))) I wante...
LISP programming LISP programming common-lisp lisp LISP LISP programming I wanted to write a sort function that uses this bubbleUp function. A call to sort will output the following: But Ijust want to use LISP functions: defun, cond, car, cdr, list, cons, append, >, <, >=, <=, = and null. I dn't want to use (setq and s...
[ -0.00152587890625, 0.048095703125, 0.01141357421875, -0.00823974609375, -0.0216064453125, 0.0155029296875, -0.003936767578125, -0.00543212890625, 0.00592041015625, -0.0003528594970703125, -0.006744384765625, 0.002410888671875, 0.00014400482177734375, -0.01251220703125, -0.001136779785156...
[ 16970, 9434, 56037, 39210, 4086, 254, 400, 7008, 36663, 33022, 12096, 32354, 4527, 903, 373, 73163, 53234, 11782, 47, 1221, 140992, 25632, 4966, 20314, 3444, 8, 16498, 158, 71, 2258, 42, 5303, 114689, 977, 4426, 2203, 56574, 18, 3509, 864...
[ 0.12548828125, 0.2294921875, 0.135009765625, 0.12335205078125, 0.07989501953125, 0.14501953125, 0.081787109375, 0.149658203125, 0.09307861328125, 0.06890869140625, 0.202880859375, 0.201904296875, 0.092529296875, 0.053466796875, 0.07427978515625, 0.1849365234375, 0.1956787109375, 0....
embed
46997094_c0
46997094
lisp
0
Title: More than one argument for predicate in delete-if Problem title: More than one argument for predicate in delete-if Tags: lisp, sbcl, common-lisp Problem: More than one argument for predicate in delete-if Suppose I want to delete one step (element) from the states list. (defparameter *states* '((:top nil nil) (:s...
More than one argument for predicate in delete-if More than one argument for predicate in delete-if lisp sbcl common-lisp More More than one argument for predicate in delete-if Suppose I want to delete one step (element) from the states list. If I use (delete-if #'equal-state? *states*) then how the second argument ( s...
[ 0.00183868408203125, 0.00946044921875, -0.005706787109375, -0.004058837890625, -0.005706787109375, 0.013427734375, 0.03515625, 0.00927734375, -0.01043701171875, -0.058837890625, -0.0003452301025390625, 0.0018157958984375, 0.00052642822265625, -0.000640869140625, -0.009521484375, -0.003...
[ 5455, 3501, 1632, 10750, 100, 1653, 2063, 67, 23, 154109, 9, 3190, 400, 7008, 34937, 39210, 4086, 254, 3444, 47, 29954, 62766, 1295, 117249, 5303, 4527, 8520, 71723, 61340, 3642, 17932, 11341, 831, 115081 ]
[ 0.08843994140625, 0.1357421875, 0.126220703125, 0.27099609375, 0.00152587890625, 0.154541015625, 0.226806640625, 0.1361083984375, 0.0175933837890625, 0.248291015625, 0.041412353515625, 0.211181640625, 0.041656494140625, 0.1109619140625, 0.06524658203125, 0.08154296875, 0.035278320312...
embed
25807533_c0
25807533
lisp
0
Title: Common Lisp functions that accept arguments either by position or by keyword? Problem title: Common Lisp functions that accept arguments either by position or by keyword? Tags: lisp, common-lisp Problem: Common Lisp functions that accept arguments either by position or by keyword? Q: is it possible to write a Co...
Common Lisp functions that accept arguments either by position or by keyword? Common Lisp functions that accept arguments either by position or by keyword? lisp common-lisp Common Lisp Common Lisp functions that accept arguments either by position or by keyword? Q: is it possible to write a Common Lisp function that ac...
[ 0.01507568359375, 0.01019287109375, 0.00732421875, -0.0126953125, -0.0120849609375, 0.00494384765625, 0.004669189453125, 0.006011962890625, -0.00714111328125, 0.0078125, 0.004302978515625, 0.008056640625, 0.0079345703125, 0.0107421875, 0.00191497802734375, 0.0140380859375, 0.00202941...
[ 151301, 1261, 7008, 32354, 7, 450, 26946, 10750, 390, 19069, 166117, 400, 39210, 4086, 254, 40101, 7722, 33022, 5701, 707, 3642, 456, 434, 18781, 8437, 11782, 12638, 48322 ]
[ 0.1885986328125, 0.2001953125, 0.22216796875, 0.22314453125, 0.02490234375, 0.023223876953125, 0.17138671875, 0.23388671875, 0.06103515625, 0.2000732421875, 0.2275390625, 0.126708984375, 0.1468505859375, 0.110595703125, 0.1107177734375, 0.015228271484375, 0.1263427734375, 0.1359863...
embed
38208376_c0
38208376
lisp
0
Title: Iteration with lambda in racket? Problem title: Iteration with lambda in racket? Tags: scheme, racket, lisp, lambda Problem: Iteration with lambda in racket? This is probably a simple question, but I cannot seem to figure it out. In the example below, I want to create a function list-of-obj that recursively crea...
Iteration with lambda in racket? Iteration with lambda in racket? scheme racket lisp lambda Iteration Iteration with lambda in racket? This is probably a simple question, but I cannot seem to figure it out. In the example below, I want to create a function list-of-obj that recursively creates a list of items. Example: ...
[ 0.00433349609375, 0.0111083984375, 0.00090789794921875, 0.0002803802490234375, 0.005401611328125, 0.001373291015625, 0.00921630859375, 0.00921630859375, -0.000537872314453125, -0.036376953125, -0.0029754638671875, -0.049560546875, 0.00830078125, -0.00714111328125, 0.0238037109375, -0.0...
[ 87, 720, 2320, 678, 21, 6492, 85, 23, 673, 27853, 32, 150370, 400, 7008, 8781, 9655, 53418, 26366, 27781, 35064, 3444, 28282, 32354, 5303, 4390, 3522, 170, 195625, 5844, 111, 55769, 89536, 18151, 3293, 49903, 50339, 140992, 757, 6275, 352...
[ 0.09820556640625, 0.2440185546875, 0.1099853515625, 0.1116943359375, 0.07598876953125, 0.206298828125, 0.165771484375, 0.08294677734375, 0.1241455078125, 0.2320556640625, 0.00616455078125, 0.179931640625, 0.05157470703125, 0.111328125, 0.03759765625, 0.0190582275390625, 0.02767944335...
embed
4194620_c0
4194620
lisp
0
Title: Current memory usage in Lisp Problem title: Current memory usage in Lisp Tags: common-lisp, lisp, memory-management Problem: Current memory usage in Lisp I need to find out, from within a Common Lisp program, how much memory is currently being used. I'm given to understand there is no portable method (the standa...
Current memory usage in Lisp Current memory usage in Lisp common-lisp lisp memory-management Current Lisp sb-kernel:dynamic-usage Current memory usage in Lisp I need to find out, from within a Common Lisp program, how much memory is currently being used. I'm given to understand there is no portable method (the standard...
[ 0.015625, 0.01361083984375, 0.01153564453125, 0.008056640625, -0.007171630859375, 0.01409912109375, -0.000492095947265625, 0.03076171875, 0.00567626953125, -0.0673828125, 0.003631591796875, 0.00030517578125, -0.0164794921875, 0.0162353515625, 0.017578125, 0.01470947265625, 0.00964355...
[ 114063, 98323, 127689, 23, 1261, 7008, 39210, 4086, 254, 400, 87140, 91, 275, 72083, 141, 242554, 147152, 3871, 47, 7413, 1810, 28032, 151301, 1528, 3642, 5045, 83, 82424, 8035, 11814, 28219, 110, 168627, 55300, 5570, 32354, 17155, 28412, 4...
[ 0.1878662109375, 0.232177734375, 0.1871337890625, 0.0762939453125, 0.1636962890625, 0.2237548828125, 0.10528564453125, 0.1043701171875, 0.164794921875, 0.089599609375, 0.14404296875, 0.027862548828125, 0.119140625, 0.155517578125, 0.0941162109375, 0.1749267578125, 0.1806640625, 0.0...
embed
61619896_c0
61619896
lisp
0
Title: AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? Problem title: AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? Tags: autocad, lisp, autolisp, autocad-plugin Problem: AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? So I'm trying t...
AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? autocad lisp autolisp autocad-plugin AutoLisp LWPolyline BUT ONLY RECTANGLES How RECTANG AutoLisp trying to select LWPolyline BUT ONLY RECTANGLES. How do I do that? So ...
[ -0.0220947265625, 0.0203857421875, 0.01287841796875, 0.0147705078125, -0.034912109375, 0.017578125, 0.01141357421875, 0.0135498046875, 0.0181884765625, 0.004486083984375, 0.00469970703125, -0.0274658203125, -0.00848388671875, -0.013916015625, -0.007598876953125, 0.00017547607421875, ...
[ 4396, 9506, 7008, 31577, 36849, 339, 48381, 2256, 151654, 29197, 19917, 98166, 139851, 47138, 11249, 139873, 1809, 25426, 400, 4086, 254, 145301, 54, 450, 756, 77630, 2449, 621, 148734, 449, 1577, 37842, 3509, 864, 3794, 1542, 2389, 11766, ...
[ 0.1707763671875, 0.1715087890625, 0.210205078125, 0.09674072265625, 0.1573486328125, 0.08160400390625, 0.1517333984375, 0.2080078125, 0.06707763671875, 0.06378173828125, 0.0494384765625, 0.1019287109375, 0.177490234375, 0.1236572265625, 0.03765869140625, 0.031951904296875, 0.06567382...
embed
5020957_c0
5020957
lisp
0
Title: How is Lisp code structured? What are Packages and Systems? Problem title: How is Lisp code structured? What are Packages and Systems? Tags: lisp, sbcl Problem: How is Lisp code structured? What are Packages and Systems? I'm learning Lisp (SBCL) and I'm confused about how lisp code is structured. I believe that ...
How is Lisp code structured? What are Packages and Systems? How is Lisp code structured? What are Packages and Systems? lisp sbcl utilities How Lisp What Packages Systems u.foo How is Lisp code structured? What are Packages and Systems? I'm learning Lisp (SBCL) and I'm confused about how lisp code is structured. I beli...
[ 0.01708984375, 0.0111083984375, -0.008056640625, 0.015380859375, -0.015380859375, 0.0240478515625, 0.0322265625, -0.01416015625, 0.005096435546875, -0.01806640625, 0.000537872314453125, -0.005706787109375, 0.0016937255859375, 0.003204345703125, 0, -0.013671875, -0.0076904296875, 0....
[ 11249, 83, 1261, 7008, 18151, 45646, 71, 4865, 621, 56607, 52467, 136, 84837, 400, 91, 275, 34937, 19537, 2449, 75, 3584, 31, 52080, 36474, 37486, 55681, 3642, 18822, 1884, 145581, 63014, 6493, 5201, 98169, 72367, 237, 420, 76519, 7464, 2...
[ 0.08984375, 0.065185546875, 0.18798828125, 0.25146484375, 0.2288818359375, 0.2059326171875, 0.09228515625, 0.0513916015625, 0.0567626953125, 0.2464599609375, 0.158203125, 0.08013916015625, 0.211669921875, 0.150390625, 0.0159454345703125, 0.034210205078125, 0.1292724609375, 0.135986...
embed
3665132_c0
3665132
lisp
0
Title: What is the difference between an atom in Common Lisp and an atom in Clojure? Problem title: What is the difference between an atom in Common Lisp and an atom in Clojure? Tags: clojure, common-lisp, lisp Problem: What is the difference between an atom in Common Lisp and an atom in Clojure? The following page tal...
What is the difference between an atom in Common Lisp and an atom in Clojure? What is the difference between an atom in Common Lisp and an atom in Clojure? clojure common-lisp lisp What Common Lisp Clojure What is the difference between an atom in Common Lisp and an atom in Clojure? The following page talks about how a...
[ 0.00927734375, 0.01116943359375, 0.008544921875, 0.0216064453125, -0.005950927734375, 0.0225830078125, 0.01263427734375, -0.006927490234375, -0.008544921875, 0.0025177001953125, -0.0029296875, -0.01055908203125, -0.0028533935546875, 0.01361083984375, 0.00799560546875, 0.01556396484375,...
[ 4865, 70, 60212, 17721, 34627, 151301, 1261, 7008, 136, 23, 51053, 461, 107, 20450, 39210, 4086, 254, 400, 142, 25632, 9191, 22120, 3642, 7, 4488, 220734, 158978, 132283, 80934, 32316, 46323 ]
[ 0.0273895263671875, 0.011322021484375, 0.1829833984375, 0.079833984375, 0.2481689453125, 0.15380859375, 0.15771484375, 0.1646728515625, 0.044158935546875, 0.058837890625, 0.145263671875, 0.188232421875, 0.1593017578125, 0.108642578125, 0.08740234375, 0.08740234375, 0.114990234375, ...
embed
44618829_c0
44618829
lisp
0
Title: Lisp: Squaring all values in a list Problem title: Lisp: Squaring all values in a list Tags: list, element, lisp Problem: Lisp: Squaring all values in a list Please bear with me as I am still fairly new to lisp. The goal of my function (in this case called test) is to square all the values in a list and return a...
Lisp: Squaring all values in a list Lisp: Squaring all values in a list list element lisp Lisp Squaring Lisp: Squaring all values in a list Please bear with me as I am still fairly new to lisp. The goal of my function (in this case called test) is to square all the values in a list and return a new list. For example, o...
[ 0.00164794921875, 0.0130615234375, -0.008056640625, -0.000034332275390625, -0.002685546875, 0.01409912109375, 0.0032196044921875, 0.00762939453125, 0.00360107421875, 0.013427734375, 0.002197265625, -0.01153564453125, -0.006256103515625, -0.00604248046875, -0.01171875, -0.00020694732666...
[ 1261, 7008, 12, 159, 94727, 214, 756, 142424, 23, 5303, 12830, 400, 10, 81148, 7464, 180663, 3525, 69236, 32354, 35839, 3034, 83, 47, 108047, 30646, 27781, 7311, 116, 8439, 5608, 186, 2858, 201, 77816, 82424, 221, 2060, 13695, 18499, 3223...
[ 0.1781005859375, 0.2371826171875, 0.027130126953125, 0.0572509765625, 0.257080078125, 0.1143798828125, 0.1783447265625, 0.2257080078125, 0.092529296875, 0.2294921875, 0.1312255859375, 0.1236572265625, 0.01385498046875, 0.0670166015625, 0.0171356201171875, 0.033935546875, 0.1143798828...
embed
50083120_c0
50083120
lisp
0
Title: Why does (list &#x27;quote 1) evaluates to &#x27;1 instead of 1? Problem title: Why does (list &#x27;quote 1) evaluates to &#x27;1 instead of 1? Tags: lisp Problem: Why does (list 'quote 1) evaluates to '1 instead of 1? I need some enlightenment with the combined use of list and quote . Here is what I see: [1]> ...
Why does (list &#x27;quote 1) evaluates to &#x27;1 instead of 1? Why does (list &#x27;quote 1) evaluates to &#x27;1 instead of 1? lisp Why Why does (list 'quote 1) evaluates to '1 instead of 1? I need some enlightenment with the combined use of list and quote . Here is what I see: Fair enough. (list '1) becomes "('1)" ...
[ 0.001739501953125, 0.033935546875, 0.00005745887756347656, 0.0101318359375, -0.00982666015625, -0.006622314453125, 0.018798828125, -0.000782012939453125, 0.0152587890625, 0.0186767578125, -0.01397705078125, -0.0181884765625, -0.0005950927734375, 0.01373291015625, -0.03857421875, 0.0093...
[ 44084, 14602, 6562, 3768, 68726, 4879, 151575, 90, 47, 418, 64457, 106, 400, 7008, 242, 20016, 70163, 4527, 5303, 136, 66747, 1957, 20174, 17727, 24209, 798, 30646, 2367, 60899, 7103, 959, 15400, 23409, 51, 159258, 3674, 44691, 219836, 9433...
[ 0.1429443359375, 0.043701171875, 0.2247314453125, 0.045196533203125, 0.255126953125, 0.14892578125, 0.222900390625, 0.07421875, 0.08624267578125, 0.135498046875, 0.1278076171875, 0.1260986328125, 0.0258941650390625, 0.093994140625, 0.121337890625, 0.0273590087890625, 0.05487060546875...
embed
29131907_c0
29131907
lisp
0
Title: Why is `(a) read as a list while `(a b) isn&#x27;t? Problem title: Why is `(a) read as a list while `(a b) isn&#x27;t? Tags: list, lisp, cons, clojure Problem: Why is `(a) read as a list while `(a b) isn't? While learning clojure, I was very surprised to find out that these two objects are different types: (list...
Why is `(a) read as a list while `(a b) isn&#x27;t? Why is `(a) read as a list while `(a b) isn&#x27;t? list lisp cons clojure Why clojure.lang.Cons Why is `(a) read as a list while `(a b) isn't? While learning clojure, I was very surprised to find out that these two objects are different types: In theory, I understand...
[ 0.0203857421875, 0.0159912109375, 0.004119873046875, 0.0245361328125, 0.0021820068359375, 0.0181884765625, 0.01251220703125, -0.0130615234375, -0.004058837890625, -0.00848388671875, 0.01513671875, -0.020263671875, 0.004669189453125, 0.0026397705078125, 0.004119873046875, -0.01940917968...
[ 44084, 9473, 11, 12301, 237, 5303, 12960, 876, 56112, 3768, 18, 400, 7008, 158, 20450, 461, 107, 3066, 11935, 7, 83, 52080, 144285, 6626, 36746, 12921, 52895, 154453, 28219, 15400, 17932, 3173, 30646, 98320, 41361, 123087, 155255, 38893, 12...
[ 0.125732421875, 0.13916015625, 0.1168212890625, 0.1976318359375, 0.098876953125, 0.19921875, 0.091796875, 0.152099609375, 0.0831298828125, 0.035400390625, 0.11962890625, 0.029144287109375, 0.0906982421875, 0.1162109375, 0.1102294921875, 0.1427001953125, 0.144287109375, 0.1199951171...
embed
70927340_c1
70927340
lisp
1
third lst) (first lst) (first lst) (second lst)))))) (if (= lefthnd rghthnd) lst 'nil)))))) The delivered result ( lst ) is (9 9 9) The expected result ( lst ) is (9 8 1) meaning A=9 , B=8 , C=1 so that the equation CCC + BBB + AAA = CAAB holds i.e. 111 ; CCC + 888 ; BBB + 999 ; AAA = 1998 ; CAAB Which parts of the cod...
third lst) (first lst) (first lst) (second lst)))))) (if (= lefthnd rghthnd) lst 'nil)))))) The delivered result ( lst ) is (9 9 9) The expected result ( lst ) is (9 8 1) meaning A=9 , B=8 , C=1 so that the equation CCC + BBB + AAA = CAAB holds i.e. 111 ; CCC + 888 ; BBB + 999 ; AAA = 1998 ; CAAB Which parts of the cod...
[ -0.01361083984375, -0.0002288818359375, 0.0201416015625, 0.0126953125, 0.0076904296875, 0.0257568359375, -0.01214599609375, -0.0047607421875, 0.00885009765625, -0.020263671875, -0.006683349609375, 0.00238037109375, 0.0023345947265625, 0.0081787109375, 0.004486083984375, -0.003784179687...
[ 50960, 96, 271, 13448, 191633, 167089, 3190, 25737, 127, 2208, 9486, 927, 17324, 75060, 297, 16750, 83, 23817, 483, 77816, 84751, 382, 4879, 91084, 62, 1126, 335, 1019, 313, 33000, 28, 5490, 2320, 134982, 997, 22312, 155616, 23687, 11040, ...
[ 0.269775390625, 0.080810546875, 0.177001953125, 0.0355224609375, 0.0809326171875, 0.1658935546875, 0.148681640625, 0.1148681640625, 0.003326416015625, 0.06488037109375, 0.04248046875, 0.00067138671875, 0.198974609375, 0.1790771484375, 0.0290374755859375, 0.1964111328125, 0.0452880859...
embed
27067676_c0
27067676
lisp
0
Title: unbound identifier in module - DrRacket Problem title: unbound identifier in module - DrRacket Tags: scheme, racket, lisp Problem: unbound identifier in module - DrRacket I am learning scheme and working with the metacircular interpreter for examples and practice, and I am getting the following error: set-car!: ...
unbound identifier in module - DrRacket unbound identifier in module - DrRacket scheme racket lisp DrRacket unbound identifier in module - DrRacket I am learning scheme and working with the metacircular interpreter for examples and practice, and I am getting the following error: And the error is being caused by the fol...
[ 0.021728515625, 0.021728515625, -0.016357421875, 0.0201416015625, -0.000274658203125, 0.0211181640625, 0.022216796875, 0.000774383544921875, -0.017822265625, -0.03662109375, -0.0157470703125, -0.0242919921875, -0.005767822265625, -0.01092529296875, 0.008544921875, -0.00164794921875, ...
[ 51, 99091, 42485, 56, 88996, 1773, 12248, 27853, 150370, 673, 400, 7008, 52080, 20697, 23550, 44778, 25667, 29481, 27781, 20949, 25632, 18499, 143434, 18151, 6626, 17582, 29459, 132283, 2633, 32354 ]
[ 0.096435546875, 0.212646484375, 0.2000732421875, 0.072021484375, 0.1673583984375, 0.1163330078125, 0.1199951171875, 0.1656494140625, 0.117919921875, 0.06292724609375, 0.047088623046875, 0.1153564453125, 0.043609619140625, 0.001495361328125, 0.08056640625, 0.07421875, 0.084228515625, ...
embed
50451442_c0
50451442
lisp
0
Title: Difference between (list 1 2 3 4) and &#x27;(1 2 3 4)? Problem title: Difference between (list 1 2 3 4) and &#x27;(1 2 3 4)? Tags: lisp, common-lisp, list Problem: Difference between (list 1 2 3 4) and '(1 2 3 4)? Here is my code: (format t "~a~%" (list 1 2 3 4)) (format t "~a~%" '(1 2 3 4)) (format t "~a~%" (re...
Difference between (list 1 2 3 4) and &#x27;(1 2 3 4)? Difference between (list 1 2 3 4) and &#x27;(1 2 3 4)? lisp common-lisp list Difference bar.lisp Difference between (list 1 2 3 4) and '(1 2 3 4)? Here is my code: Here is the output: My questions: What is the difference between the two syntaxes: (list 1 2 3 4) and...
[ -0.004486083984375, 0.039306640625, 0.0027008056640625, -0.0003509521484375, -0.00390625, 0.0213623046875, 0.002593994140625, 0.0169677734375, 0.013671875, -0.013916015625, 0.006134033203125, 0.00153350830078125, -0.00823974609375, -0.00848388671875, -0.0194091796875, -0.00118255615234...
[ 803, 18234, 6620, 17721, 6562, 106, 116, 138, 13956, 136, 54764, 3768, 41600, 32, 400, 7008, 39210, 4086, 254, 5303, 1909, 242, 18151, 140992, 17582, 4865, 83, 70, 60212, 6626, 6002, 102, 31195, 92940, 17368, 1632, 86531, 15700 ]
[ 0.1092529296875, 0.2008056640625, 0.1341552734375, 0.14599609375, 0.2447509765625, 0.0958251953125, 0.1805419921875, 0.2188720703125, 0.239990234375, 0.0987548828125, 0.0196075439453125, 0.078857421875, 0.0902099609375, 0.003265380859375, 0.10430908203125, 0.1788330078125, 0.10284423...
embed
1257028_c0
1257028
lisp
0
Title: Why should I use &#x27;apply&#x27; in Clojure? Problem title: Why should I use &#x27;apply&#x27; in Clojure? Tags: clojure, lisp Problem: Why should I use 'apply' in Clojure? This is what Rich Hickey said in one of the blog posts but I don't understand the motivation in using apply. Please help. A big difference...
Why should I use &#x27;apply&#x27; in Clojure? Why should I use &#x27;apply&#x27; in Clojure? clojure lisp Why Clojure Why should I use 'apply' in Clojure? This is what Rich Hickey said in one of the blog posts but I don't understand the motivation in using apply. Please help. Also, what does he mean by "Clojure is Lis...
[ -0.0009918212890625, 0.00982666015625, 0.02685546875, 0.010009765625, 0.0006866455078125, 0.00897216796875, 0.001953125, 0.01434326171875, 0.009033203125, -0.03466796875, 0.00408935546875, -0.0252685546875, -0.0198974609375, -0.01513671875, -0.003265380859375, -0.0196533203125, -0.00...
[ 44084, 5608, 87, 4527, 3768, 9007, 538, 23, 51053, 461, 107, 20450, 400, 7008, 52774, 97409, 19770, 28219, 98365, 17368, 59911, 4358, 29459, 441, 20219, 3408, 83, 1261, 5759, 7477, 85763, 959, 44841, 26693, 46323 ]
[ 0.1683349609375, 0.13623046875, 0.035552978515625, 0.1407470703125, 0.132568359375, 0.231689453125, 0.255615234375, 0.0762939453125, 0.16845703125, 0.196533203125, 0.167236328125, 0.12060546875, 0.07611083984375, 0.1727294921875, 0.06884765625, 0.04510498046875, 0.1453857421875, 0....
embed
25900697_c0
25900697
lisp
0
Title: How to iterate over a sequence in Common Lisp with loop? Problem title: How to iterate over a sequence in Common Lisp with loop? Tags: common-lisp, lisp Problem: How to iterate over a sequence in Common Lisp with loop? Previously I had been using "being the elements of" feature of loop to iterate over a sequence...
How to iterate over a sequence in Common Lisp with loop? How to iterate over a sequence in Common Lisp with loop? common-lisp lisp How Common Lisp How to iterate over a sequence in Common Lisp with loop? Previously I had been using "being the elements of" feature of loop to iterate over a sequence of an unknown type. I...
[ 0, 0.00872802734375, -0.018798828125, 0.0230712890625, -0.00848388671875, 0.00225830078125, 0.00457763671875, 0.0054931640625, 0.00162506103515625, -0.06298828125, 0.0045166015625, 0.0032806396484375, 0.00653076171875, 0.006561279296875, 0.00579833984375, 0.005645751953125, -0.026000...
[ 11249, 47, 17, 8560, 67, 645, 40, 944, 3956, 23, 151301, 1261, 7008, 678, 40956, 39210, 4086, 254, 400, 17368, 372, 214, 80854, 111, 60213, 69723, 10644, 959, 62952, 11907, 208124, 149016, 46622, 3917, 2965, 29806, 552, 56, 329, 5303 ]
[ 0.09869384765625, 0.05340576171875, 0.058258056640625, 0.244140625, 0.11474609375, 0.1878662109375, 0.066162109375, 0.138427734375, 0.10693359375, 0.03460693359375, 0.1888427734375, 0.1568603515625, 0.1864013671875, 0.08837890625, 0.266845703125, 0.1077880859375, 0.0792236328125, 0...
embed
7921835_c0
7921835
lisp
0
Title: Lapack via Scheme Problem title: Lapack via Scheme Tags: blas, lapack, lisp, racket, scheme Problem: Lapack via Scheme I am looking for a Scheme implementation with a reasonable BLAS and LAPACK interface package, i.e. one that supports the API subset decribted in Golub and Van Loan's "Matrix Computations". This ...
Lapack via Scheme Lapack via Scheme blas lapack lisp racket scheme Lapack Scheme Lapack via Scheme I am looking for a Scheme implementation with a reasonable BLAS and LAPACK interface package, i.e. one that supports the API subset decribted in Golub and Van Loan's "Matrix Computations". This would include, at the very ...
[ 0.0130615234375, 0.0191650390625, -0.0030059814453125, 0.002105712890625, -0.00616455078125, 0.00836181640625, -0.00775146484375, -0.00921630859375, -0.0045166015625, -0.024169921875, 0.0084228515625, -0.0224609375, -0.023193359375, -0.0017852783203125, -0.0142822265625, -0.00650024414...
[ 239, 29102, 1829, 34702, 282, 97612, 21, 400, 7008, 673, 27853, 150370, 16487, 100, 208124, 169022, 335, 46705, 136, 3358, 98701, 605, 101758, 98169, 8060, 61687, 1614, 3509, 11049, 2016, 19668, 3000, 137474, 4613, 87427, 159415, 21094, 26698...
[ 0.1844482421875, 0.315673828125, 0.159912109375, 0.2159423828125, 0.1575927734375, 0.211669921875, 0.11474609375, 0.0655517578125, 0.1519775390625, 0.0928955078125, 0.2010498046875, 0.219970703125, 0.07861328125, 0.034149169921875, 0.1873779296875, 0.1153564453125, 0.0780029296875, ...
embed
14707208_c0
14707208
lisp
0
Title: Get a pointer to a list element in Emacs Lisp Problem title: Get a pointer to a list element in Emacs Lisp Tags: lisp, elisp Problem: Get a pointer to a list element in Emacs Lisp For example, I have a list: (setq foo '(1 2 3 4 5)) Then I need to get a pointer to its 3rd index element (which contains 4 in the ex...
Get a pointer to a list element in Emacs Lisp Get a pointer to a list element in Emacs Lisp lisp elisp Get Emacs Lisp SOME_FUNCTION Get a pointer to a list element in Emacs Lisp For example, I have a list: Then I need to get a pointer to its 3rd index element (which contains 4 in the example): The element with p addres...
[ 0.005615234375, 0.00921630859375, 0.004486083984375, -0.0081787109375, -0.01300048828125, 0.0216064453125, -0.01507568359375, 0.003173828125, 0.0174560546875, -0.040283203125, 0.0157470703125, 0.005340576171875, -0.0291748046875, 0.00592041015625, -0.01104736328125, -0.0019683837890625...
[ 20779, 10, 6275, 56, 47, 5303, 12830, 85269, 4439, 1261, 7008, 23, 400, 15296, 91245, 919, 175560, 765, 3871, 2046, 138, 4216, 63262, 70541, 201, 27781, 915, 29823, 831, 109133, 30098, 43581, 5775, 31, 19048, 5154, 14432, 8110, 22085, 116...
[ 0.07879638671875, 0.02337646484375, 0.21240234375, 0.178466796875, 0.14013671875, 0.2080078125, 0.1927490234375, 0.174072265625, 0.164306640625, 0.1453857421875, 0.2308349609375, 0.014923095703125, 0.12158203125, 0.07476806640625, 0.0179443359375, 0.0347900390625, 0.121337890625, 0...
embed
41630483_c0
41630483
lisp
0
Title: CLISP Terminal error: Invalid byte sequence Problem title: CLISP Terminal error: Invalid byte sequence Tags: clisp, lisp, common-lisp Problem: CLISP Terminal error: Invalid byte sequence i have a problem while loading my source file inside terminal using clisp. if i execute the following command to load the file...
CLISP Terminal error: Invalid byte sequence CLISP Terminal error: Invalid byte sequence clisp lisp common-lisp CLISP Terminal Invalid filename.lisp SYSTEM::LINE-COMMENT-READER xE0 xA0 x20 CHARSET:UTF-8 CLISP Terminal error: Invalid byte sequence i have a problem while loading my source file inside terminal using clisp....
[ 0.0272216796875, 0.01458740234375, 0.0018463134765625, 0.0059814453125, -0.015869140625, 0.010986328125, 0.01171875, 0.003173828125, -0.015380859375, -0.01708984375, 0.007568359375, -0.0009307861328125, 0.001373291015625, -0.0087890625, -0.022216796875, 0.00982666015625, -0.004333496...
[ 313, 67616, 683, 124090, 18499, 360, 7013, 71, 390, 67, 40, 944, 3956, 95701, 7008, 400, 39210, 4086, 254, 11435, 11627, 55858, 90420, 57339, 16113, 33827, 41519, 18044, 2389, 1549, 61869, 919, 17376, 2967, 72367, 31344, 46132, 33949, 71924...
[ 0.04656982421875, 0.177734375, 0.207275390625, 0.2587890625, 0.1695556640625, 0.065673828125, 0.1903076171875, 0.08880615234375, 0.1226806640625, 0.1121826171875, 0.081298828125, 0.14453125, 0.0618896484375, 0.143310546875, 0.2109375, 0.10540771484375, 0.09906005859375, 0.116699218...
embed
9152279_c0
9152279
lisp
0
Title: c(a|d)+r macro in Racket Problem title: c(a|d)+r macro in Racket Tags: macros, racket, lisp, cons Problem: c(a|d)+r macro in Racket I wonder if it's possible to write a macro in Racket that would translate every form of shape (c(a|d)+r xs), where c(a|d)+r is a regular expression matching car, cdr, caar, cadr, .....
c(a|d)+r macro in Racket c(a|d)+r macro in Racket macros racket lisp cons Racket c(a|d)+r macro in Racket I wonder if it's possible to write a macro in Racket that would translate every form of shape (c(a|d)+r xs), where c(a|d)+r is a regular expression matching car, cdr, caar, cadr, ... etc, into the corresponding com...
[ -0.010986328125, 0.0206298828125, -0.01129150390625, 0.028564453125, 0.003662109375, 0.0264892578125, -0.0023040771484375, 0.01336669921875, -0.001068115234375, -0.039306640625, -0.01806640625, -0.0242919921875, -0.00153350830078125, -0.0145263671875, 0.0240478515625, -0.01007080078125...
[ 501, 11, 58745, 71, 1328, 42, 111789, 23, 2552, 27853, 673, 400, 7008, 158, 32195, 7722, 33022, 3900, 19309, 11907, 3173, 115700, 238, 1022, 7, 10, 20324, 125195, 14858, 2258, 377, 147, 19630, 3934, 166577, 5117, 136, 10588, 5646, 712, ...
[ 0.1072998046875, 0.06610107421875, 0.1126708984375, 0.144287109375, 0.144287109375, 0.1700439453125, 0.2205810546875, 0.03887939453125, 0.14306640625, 0.239013671875, 0.109130859375, 0.008819580078125, 0.078857421875, 0.110107421875, 0.004241943359375, 0.0909423828125, 0.088989257812...
embed
10394738_c2
10394738
lisp
2
nil))) (BuildRules-AUX VT ACCS PRODS (rest P) newP) ) ) ) (defun BuildRules (VT ACCS PRODS P) (BuildRules-AUX VT ACCS PRODS P nil) ) (trace BuildRules-AUX) (trace BuildRules) (BuildRules *VT* (ACCESS *P* 'S) (PROD *VT* *P*)*P*) (defun SIMPL-AUX (VN VT P S ACCS PRODS) (setq ACCS (ACCESS P S)) (setq PRODS (PROD VT P)) (...
nil))) (BuildRules-AUX VT ACCS PRODS (rest P) newP) ) ) ) (defun BuildRules (VT ACCS PRODS P) (BuildRules-AUX VT ACCS PRODS P nil) ) (trace BuildRules-AUX) (trace BuildRules) (BuildRules *VT* (ACCESS *P* 'S) (PROD *VT* *P*)*P*) (defun SIMPL-AUX (VN VT P S ACCS PRODS) (setq ACCS (ACCESS P S)) (setq PRODS (PROD VT P)) (...
[ -0.00909423828125, 0.01953125, 0.01416015625, 0.04541015625, -0.0091552734375, 0.006500244140625, -0.0079345703125, 0.00665283203125, 0.0230712890625, 0.0125732421875, 0.015380859375, -0.0024566650390625, -0.001373291015625, -0.01507568359375, 0.0019989013671875, 0.02294921875, 0.026...
[ 17324, 32149, 15, 121137, 26951, 1577, 9, 284, 71609, 86920, 12944, 19283, 10514, 13526, 56644, 436, 3525, 683, 112, 16498, 16, 39989, 1639, 294, 47970, 40288, 21130, 40711, 159, 3509, 864, 15012, 194695, 397, 3190, 2940, 139550, 428, 18234...
[ 0.2261962890625, 0.2044677734375, 0.0279541015625, 0.1585693359375, 0.2236328125, 0.1478271484375, 0.0293426513671875, 0.05816650390625, 0.2744140625, 0.2144775390625, 0.1142578125, 0.1922607421875, 0.1973876953125, 0.169677734375, 0.1802978515625, 0.1240234375, 0.1334228515625, 0....
embed
32599193_c0
32599193
lisp
0
Title: How to set a function in Common Lisp Problem title: How to set a function in Common Lisp Tags: lisp, common-lisp Problem: How to set a function in Common Lisp In Common Lisp, I can get a function to pass around with the #' syntax, like this: (let ((x #'+)) (funcall x 1 2)) But suppose I want to set a function so...
How to set a function in Common Lisp How to set a function in Common Lisp lisp common-lisp How Common Lisp How to set a function in Common Lisp In Common Lisp, I can get a function to pass around with the #' syntax, like this: But suppose I want to set a function so I don't have to use funcall for it. Does Common Lisp ...
[ 0.003997802734375, 0.020263671875, 0.01953125, 0.010498046875, -0.0017547607421875, -0.006591796875, -0.0166015625, 0.001556396484375, 0.01483154296875, -0.0167236328125, 0.00640869140625, 0.0283203125, 0.006622314453125, 0.00555419921875, 0.0224609375, 0.000850677490234375, -0.01831...
[ 11249, 47, 5423, 10, 32354, 23, 151301, 1261, 7008, 400, 39210, 4086, 254, 831, 2046, 27875, 10932, 678, 468, 25, 6002, 86531, 139124, 3444, 18, 7477, 85763, 4000, 9351, 23180, 7964, 95486, 8, 16498, 3917, 26582, 174796, 27781 ]
[ 0.0889892578125, 0.07452392578125, 0.2353515625, 0.07623291015625, 0.24609375, 0.0784912109375, 0.172607421875, 0.1585693359375, 0.1888427734375, 0.0849609375, 0.10369873046875, 0.05841064453125, 0.0941162109375, 0.000091552734375, 0.01214599609375, 0.086669921875, 0.08636474609375, ...
embed
1865820_c0
1865820
lisp
0
Title: SBCL standard library documentation? Problem title: SBCL standard library documentation? Tags: common-lisp, lisp, sbcl, standard-library, documentation Problem: SBCL standard library documentation? I want to learn and use SBCL because of its ease of learning and speed. (I've been playing with Lisp 3 years ago, a...
SBCL standard library documentation? SBCL standard library documentation? common-lisp lisp sbcl standard-library documentation SBCL SBCL standard library documentation? I want to learn and use SBCL because of its ease of learning and speed. (I've been playing with Lisp 3 years ago, and now am refreshing it.) But how ca...
[ 0.0164794921875, -0.00286865234375, 0.005035400390625, -0.003936767578125, -0.0203857421875, 0.0302734375, 0.01397705078125, 0.005462646484375, -0.006103515625, -0.0034027099609375, 0.00274658203125, 0.0005340576171875, 0.002716064453125, -0.000675201416015625, 0.0223388671875, -0.0166...
[ 90944, 37486, 5570, 35773, 1294, 209806, 32, 39210, 4086, 254, 400, 7008, 91, 275, 34937, 150, 2844, 3444, 30698, 4527, 6991, 52080, 38352, 75169, 1261, 138, 5369, 6650, 210651, 2367, 99201, 197648, 24372, 145581, 1884, 17431, 45296, 4165, ...
[ 0.1634521484375, 0.2447509765625, 0.2056884765625, 0.2073974609375, 0.11474609375, 0.249267578125, 0.0164642333984375, 0.13134765625, 0.107177734375, 0.161376953125, 0.1090087890625, 0.2042236328125, 0.027435302734375, 0.087646484375, 0.202880859375, 0.06219482421875, 0.146484375, ...
embed
27161910_c0
27161910
lisp
0
Title: Rolling a Parser for the Build Your Own Lisp Book? Problem title: Rolling a Parser for the Build Your Own Lisp Book? Tags: parsing, lisp, language-design, c Problem: Rolling a Parser for the Build Your Own Lisp Book? Hello I am currently reading the Build Your Own Lisp book online and have reached the parsing ch...
Rolling a Parser for the Build Your Own Lisp Book? Rolling a Parser for the Build Your Own Lisp Book? parsing lisp language-design c Rolling Parser Build Your Own Lisp Book Rolling a Parser for the Build Your Own Lisp Book? Hello I am currently reading the Build Your Own Lisp book online and have reached the parsing ch...
[ 0.007568359375, 0.034423828125, 0.00457763671875, -0.001953125, -0.021728515625, 0.025146484375, -0.00023746490478515625, 0.0026397705078125, -0.0111083984375, -0.023681640625, 0.0174560546875, -0.021728515625, -0.00177764892578125, -0.001434326171875, 0.0093994140625, -0.0020751953125...
[ 166693, 10, 2392, 2189, 100, 121137, 14804, 180, 7710, 1261, 7008, 27432, 32, 366, 6953, 400, 46876, 34198, 501, 35378, 82424, 16454, 12877, 1118, 157578, 139539, 25225, 64457, 17368, 42179, 2806, 1884, 47, 21972, 759, 10002, 12319, 30698, ...
[ 0.2178955078125, 0.061248779296875, 0.201171875, 0.2401123046875, 0.072265625, 0.16162109375, 0.06011962890625, 0.0987548828125, 0.1409912109375, 0.1832275390625, 0.1796875, 0.158935546875, 0.0149383544921875, 0.19482421875, 0.09503173828125, 0.1346435546875, 0.170654296875, 0.2073...
embed
40619551_c0
40619551
lisp
0
Title: select from logical list. Common Lisp Problem title: select from logical list. Common Lisp Tags: lisp Problem: select from logical list. Common Lisp How to achieve this in Common lisp? (logselect (t nil t) (list1 list2 list3)) ---> (list1 list2) I have coded the below function but I think there is a better way (...
select from logical list. Common Lisp select from logical list. Common Lisp lisp logical Common Lisp list1 list2 list3 select from logical list. Common Lisp How to achieve this in Common lisp? I have coded the below function but I think there is a better way (maybe a built-in function?). Thank you in advance.
[ 0.0026702880859375, 0.0216064453125, 0.0225830078125, 0.019287109375, -0.0087890625, -0.006805419921875, -0.0034637451171875, 0.0263671875, 0.006103515625, -0.00189971923828125, -0.00005888938903808594, 0.010986328125, -0.000232696533203125, 0.00159454345703125, -0.004302978515625, 0.0...
[ 36849, 1295, 62775, 289, 5303, 151301, 1261, 7008, 400, 418, 304, 363, 11249, 47, 69307, 903, 23, 18151, 35064, 32354, 5351, 11522, 3917, 88303, 73, 129745 ]
[ 0.235107421875, 0.153564453125, 0.1871337890625, 0.107666015625, 0.2247314453125, 0.1873779296875, 0.1632080078125, 0.17236328125, 0.160400390625, 0.01274871826171875, 0.059173583984375, 0.1341552734375, 0.00688934326171875, 0.0026836395263671875, 0.12213134765625, 0.040618896484375, ...
embed
10095264_c0
10095264
lisp
0
Title: Managing number of brackets in clojure Problem title: Managing number of brackets in clojure Tags: code-readability, clojure, readability, lisp Problem: Managing number of brackets in clojure I am new to clojure and the main thing I am struggling with is writing readable code. I often end up with functions like ...
Managing number of brackets in clojure Managing number of brackets in clojure code-readability clojure readability lisp Managing Managing number of brackets in clojure I am new to clojure and the main thing I am struggling with is writing readable code. I often end up with functions like the one below. with lots of bui...
[ -0.00506591796875, 0.013916015625, -0.01556396484375, 0.000789642333984375, 0.0067138671875, -0.0128173828125, 0.01953125, -0.005706787109375, 0.015625, -0.00909423828125, -0.0111083984375, -0.04443359375, 0.00653076171875, 0.00799560546875, 0.0189208984375, -0.029052734375, -0.01342...
[ 1572, 66398, 14012, 1620, 27853, 7, 20450, 461, 107, 18151, 39116, 41159, 12301, 400, 7008, 3525, 237875, 32562, 2886, 27983, 3564, 32354, 1884, 35064, 71358, 45367, 1257, 2965, 48322, 241866, 9384, 99156, 13162, 132283 ]
[ 0.1207275390625, 0.0870361328125, 0.1295166015625, 0.2015380859375, 0.2362060546875, 0.036285400390625, 0.125732421875, 0.159912109375, 0.1021728515625, 0.1390380859375, 0.1160888671875, 0.054534912109375, 0.124267578125, 0.0225677490234375, 0.0877685546875, 0.0272064208984375, 0.082...
embed
23872701_c0
23872701
lisp
0
Title: Decompose a list of numbers into digits Problem title: Decompose a list of numbers into digits Tags: common-lisp, lisp Problem: Decompose a list of numbers into digits I am trying to create a list of digits starting from a list of numbers. For example I want to break (11 4 6) into (1 5 6) by dividing the head of...
Decompose a list of numbers into digits Decompose a list of numbers into digits common-lisp lisp Decompose Decompose a list of numbers into digits I am trying to create a list of digits starting from a list of numbers. For example I want to break (11 4 6) into (1 5 6) by dividing the head of the list to 10 if the head ...
[ -0.01422119140625, 0.00921630859375, -0.004241943359375, 0.01007080078125, -0.007781982421875, 0.0140380859375, -0.01104736328125, 0.0029144287109375, 0.0106201171875, -0.008056640625, -0.0118408203125, -0.007171630859375, 0.00244140625, 0.01385498046875, -0.0228271484375, -0.016235351...
[ 262, 277, 78381, 5303, 111, 101935, 3934, 153939, 10, 39210, 4086, 254, 400, 7008, 7, 87, 31577, 28282, 72134, 1295, 27781, 3444, 47, 36356, 27252, 201, 35914, 2858, 190, 61998, 10336, 209, 2174, 977, 154107, 106, 11737, 12830, 18151, 333...
[ 0.1939697265625, 0.2003173828125, 0.1207275390625, 0.205078125, 0.039703369140625, 0.1883544921875, 0.1910400390625, 0.2388916015625, 0.0101318359375, 0.138916015625, 0.0816650390625, 0.150390625, 0.089111328125, 0.185791015625, 0.1123046875, 0.00994873046875, 0.0853271484375, 0.10...
embed
11810970_c0
11810970
lisp
0
Title: Are there any good resources for the Actor Model in Common Lisp, and good documents on the Actor Model in general? Problem title: Are there any good resources for the Actor Model in Common Lisp, and good documents on the Actor Model in general? Tags: actor, common-lisp, concurrency, lisp, multithreading Problem:...
Are there any good resources for the Actor Model in Common Lisp, and good documents on the Actor Model in general? Are there any good resources for the Actor Model in Common Lisp, and good documents on the Actor Model in general? actor common-lisp concurrency lisp multithreading Actor Model Common Lisp Are there any go...
[ -0.000762939453125, 0.00897216796875, 0.0028228759765625, -0.0016326904296875, -0.0113525390625, -0.004730224609375, 0.0205078125, 0.003753662109375, 0.0004482269287109375, -0.041748046875, 0.020751953125, -0.00567626953125, 0.01519775390625, 0.00927734375, 0.02001953125, -0.01953125, ...
[ 4127, 65514, 100, 185617, 13293, 151301, 1261, 7008, 60525, 4537, 23, 39329, 39210, 4086, 254, 108636, 982, 400, 3869, 65847, 208124, 105397, 35773, 46323, 5898, 6261, 17368, 51053, 461, 107, 4527 ]
[ 0.077392578125, 0.1519775390625, 0.03253173828125, 0.2294921875, 0.2381591796875, 0.173095703125, 0.1551513671875, 0.1656494140625, 0.1641845703125, 0.03167724609375, 0.0166778564453125, 0.16015625, 0.1090087890625, 0.0859375, 0.101318359375, 0.1517333984375, 0.120361328125, 0.1027...
embed
15597443_c0
15597443
lisp
0
Title: Summing very large numbers in Racket Problem title: Summing very large numbers in Racket Tags: racket, lisp Problem: Summing very large numbers in Racket So I am looking to sum up the numbers between zero and one hundred million. This code works extremely well for ten million, executing on my machine in about 3 ...
Summing very large numbers in Racket Summing very large numbers in Racket racket lisp Summing Racket Summing very large numbers in Racket So I am looking to sum up the numbers between zero and one hundred million. This code works extremely well for ten million, executing on my machine in about 3 seconds. However as soo...
[ -0.01300048828125, 0.0033416748046875, 0.009033203125, 0.0189208984375, -0.00274658203125, 0.007171630859375, -0.01104736328125, 0.006561279296875, 0.00653076171875, -0.0284423828125, 0.025634765625, -0.0294189453125, 0.004730224609375, -0.002685546875, 0.019287109375, -0.0055847167968...
[ 1832, 58838, 4552, 21334, 101935, 23, 2552, 27853, 673, 400, 7008, 16487, 47, 10554, 1257, 17721, 45234, 136, 1632, 75281, 19879, 18151, 43240, 111531, 5299, 1492, 71924, 36279, 1672, 138, 94131, 33662, 81887, 4092, 13105, 13909, 8306, 67229,...
[ 0.180419921875, 0.141357421875, 0.1263427734375, 0.1282958984375, 0.175048828125, 0.058868408203125, 0.135986328125, 0.246826171875, 0.1016845703125, 0.08154296875, 0.1314697265625, 0.0631103515625, 0.0212249755859375, 0.20361328125, 0.07220458984375, 0.0797119140625, 0.1409912109375...
embed
18116949_c0
18116949
lisp
0
Title: Filter a list into two parts by a predicate Problem title: Filter a list into two parts by a predicate Tags: filter, lisp, common-lisp Problem: Filter a list into two parts by a predicate I want to do (filter-list-into-two-parts #'evenp '(1 2 3 4 5)) ; => ((2 4) (1 3 5)) where a list is split into two sub-lists ...
Filter a list into two parts by a predicate Filter a list into two parts by a predicate filter lisp common-lisp Filter Filter a list into two parts by a predicate I want to do where a list is split into two sub-lists depending on whether a predicate evaluates to true. It is easy to define such a function: but I would l...
[ 0.01129150390625, 0.00811767578125, 0.005645751953125, -0.0126953125, -0.019287109375, 0.022216796875, 0.016845703125, 0.0142822265625, 0.017333984375, 0.00189208984375, 0.00077056884765625, 0.0113525390625, -0.003326416015625, 0.007080078125, -0.006317138671875, 0.00689697265625, 0....
[ 128896, 5303, 3934, 6626, 63920, 390, 1653, 2063, 46312, 400, 7008, 39210, 4086, 254, 10, 67, 3444, 83, 65450, 1614, 6562, 96819, 151575, 90, 47, 29568, 23468, 61924, 32354, 88303, 73, 23, 1261, 831, 54, 903, 11522, 32562 ]
[ 0.263671875, 0.239013671875, 0.168701171875, 0.1826171875, 0.205810546875, 0.097900390625, 0.1807861328125, 0.2095947265625, 0.1988525390625, 0.09033203125, 0.21875, 0.11175537109375, 0.10498046875, 0.1317138671875, 0.0231170654296875, 0.0941162109375, 0.049713134765625, 0.01365661...
embed
13631138_c1
13631138
lisp
1
))) (cond (line (add-word line tri) (rec tri)) (t (close str) trie))))) (rec trie)))) Whenever I try to load the entire dictionary, I get a stack overflow. There are over 100k words in the scrabble dictionary, and it's failing at 6000...something is wrong with my memory usage, but I can't seem to tell what. Is there so...
))) (cond (line (add-word line tri) (rec tri)) (t (close str) trie))))) (rec trie)))) Whenever I try to load the entire dictionary, I get a stack overflow. There are over 100k words in the scrabble dictionary, and it's failing at 6000...something is wrong with my memory usage, but I can't seem to tell what. Is there so...
[ 0.004730224609375, 0.009521484375, -0.010009765625, 0.01434326171875, -0.01190185546875, 0.01129150390625, 0.00665283203125, 0.017578125, 0.02392578125, -0.037353515625, 0.00665283203125, -0.00494384765625, -0.01031494140625, -0.00090789794921875, 0.007476806640625, 0.0286865234375, ...
[ 32149, 15, 2271, 71, 2256, 11, 4028, 47416, 13315, 1927, 31688, 18, 155648, 7704, 13, 80126, 30441, 9790, 72367, 64194, 45, 10763, 6635, 177261, 645, 118664, 805, 92, 34153, 23, 91, 15182, 73163, 35782, 214, 99, 43877, 44691, 98323, 12768...
[ 0.2110595703125, 0.022552490234375, 0.110595703125, 0.08282470703125, 0.1258544921875, 0.0263214111328125, 0.1083984375, 0.1448974609375, 0.1181640625, 0.252685546875, 0.1622314453125, 0.085693359375, 0.108642578125, 0.1292724609375, 0.1279296875, 0.1953125, 0.03521728515625, 0.100...
embed
76751500_c0
76751500
lisp
0
Title: Why does it cons so much? Problem title: Why does it cons so much? Tags: sbcl, lisp, common-lisp Problem: Why does it cons so much? When I run the following codes in SBCL (2.3.5), I am surprised by how much bytes consed. (defun number-of-digits (num) (do ((n 1 (1+ n)) (num (floor num 10) (floor num 10))) ((zerop...
Why does it cons so much? Why does it cons so much? sbcl lisp common-lisp Why p25 Evaluation Run CPU Why does it cons so much? When I run the following codes in SBCL (2.3.5), I am surprised by how much bytes consed. Obviously, the codes itself does not "cons" any list. So my questions are: Why there are so much bytes c...
[ 0.006378173828125, 0.007354736328125, -0.0064697265625, 0.005828857421875, -0.00360107421875, 0.00982666015625, -0.01708984375, 0.022216796875, 0.0084228515625, -0.025634765625, -0.01361083984375, -0.000652313232421875, 0.0091552734375, -0.001953125, -0.00057220458984375, -0.0173339843...
[ 44084, 14602, 442, 158, 7, 221, 5045, 91, 275, 34937, 400, 7008, 39210, 4086, 254, 915, 2588, 151228, 28398, 86039, 11675, 25632, 18151, 90944, 37486, 72516, 144285, 3642, 390, 1636, 5281, 25553, 5303, 1380, 27169, 297, 54744, 74481, 959, ...
[ 0.17041015625, 0.0733642578125, 0.091796875, 0.21142578125, 0.157958984375, 0.1005859375, 0.167236328125, 0.0195159912109375, 0.0538330078125, 0.123779296875, 0.046875, 0.144775390625, 0.087158203125, 0.034332275390625, 0.11328125, 0.0285491943359375, 0.212158203125, 0.1298828125, ...
embed
10303736_c0
10303736
lisp
0
Title: CLISP : Check if two elements are in order one after another in a list Problem title: CLISP : Check if two elements are in order one after another in a list Tags: list, lisp Problem: CLISP : Check if two elements are in order one after another in a list I have a list L=(1 j 3 k 4 h 5 n 6 w) I need to do a functi...
CLISP : Check if two elements are in order one after another in a list CLISP : Check if two elements are in order one after another in a list list lisp CLISP Check Verify NIL CLISP : Check if two elements are in order one after another in a list I have a list I need to do a function Verify that will verify if the first...
[ 0.0220947265625, 0.007110595703125, 0.00823974609375, 0.043701171875, -0.00118255615234375, 0.0281982421875, 0.0130615234375, 0.00701904296875, 0.01007080078125, 0.01416015625, 0.0152587890625, 0.026611328125, 0.0019683837890625, -0.035888671875, -0.0164794921875, 0.0146484375, 0.022...
[ 313, 67616, 683, 152, 38679, 2174, 6626, 80854, 621, 12989, 1632, 7103, 15700, 23, 5303, 400, 7008, 1446, 40383, 541, 16444, 10, 765, 3871, 32354, 493, 5117, 34627, 8108, 116, 2208, 3444, 16750, 5608, 30646, 363, 92, 127, 617, 12765, 19...
[ 0.0623779296875, 0.1732177734375, 0.257080078125, 0.05755615234375, 0.2325439453125, 0.108642578125, 0.1334228515625, 0.2003173828125, 0.126220703125, 0.19873046875, 0.07489013671875, 0.129638671875, 0.1165771484375, 0.06292724609375, 0.210205078125, 0.0947265625, 0.2227783203125, ...
embed
4687178_c0
4687178
lisp
0
Title: Y Combinator in Scheme using Define Problem title: Y Combinator in Scheme using Define Tags: lambda-calculus, lisp, y-combinator, scheme, combinators Problem: Y Combinator in Scheme using Define In order to learn what a fixed-point combinator is and is used for, I wrote my own. But instead of writing it with str...
Y Combinator in Scheme using Define Y Combinator in Scheme using Define lambda-calculus lisp y-combinator scheme combinators Define Combinator Scheme Y Combinator in Scheme using Define In order to learn what a fixed-point combinator is and is used for, I wrote my own. But instead of writing it with strictly anonymous ...
[ 0.00457763671875, 0.0185546875, 0.00848388671875, 0.00982666015625, 0.03076171875, -0.02587890625, 0.0035858154296875, -0.005096435546875, -0.003997802734375, -0.044189453125, -0.00592041015625, -0.0166015625, -0.003753662109375, -0.0206298828125, 0.0152587890625, 0.01324462890625, -...
[ 990, 106935, 19, 4597, 23, 34702, 282, 17368, 262, 64552, 6492, 85, 6827, 94739, 400, 7008, 113, 277, 19155, 1290, 150370, 22321, 22230, 30698, 188347, 38496, 83, 11814, 100, 54397, 10002, 64457, 32562, 52184, 32354, 8162, 27781, 1660, 6192...
[ 0.232666015625, 0.193359375, 0.1363525390625, 0.15087890625, 0.0526123046875, 0.166748046875, 0.1165771484375, 0.0550537109375, 0.1376953125, 0.244140625, 0.1331787109375, 0.08416748046875, 0.061065673828125, 0.1182861328125, 0.04241943359375, 0.1397705078125, 0.1646728515625, 0.00...
embed
17790858_c0
17790858
lisp
0
Title: lambda functions and memory in scheme Problem title: lambda functions and memory in scheme Tags: lisp, lambda, racket, scheme Problem: lambda functions and memory in scheme I don't understand why if I write (define (iter-list lst) (let ((cur lst)) (lambda () (if (null? cur) '<<end>> (let ((v (car cur))) (set! cu...
lambda functions and memory in scheme lambda functions and memory in scheme lisp lambda racket scheme il2 lambda functions and memory in scheme I don't understand why if I write and call (il2) 2 times I have printed: 1 then 2 (that's the result I want to have) But if I don't put (lambda () and apply (il2) 2times I obta...
[ 0.0025787353515625, 0.005584716796875, 0.00909423828125, 0.01019287109375, 0.006622314453125, 0.017333984375, 0.01385498046875, 0.02880859375, 0.0019683837890625, -0.05029296875, 0.0137939453125, -0.01068115234375, 0.00007677078247070312, -0.017578125, 0.02490234375, 0.0184326171875, ...
[ 21, 6492, 85, 32354, 136, 98323, 23, 150370, 400, 7008, 673, 27853, 211, 304, 2301, 18, 28219, 15400, 2174, 33022, 11782, 379, 10461, 116, 20028, 765, 28412, 297, 106, 7068, 16750, 3444, 87, 3884, 143, 59911, 70141, 113054, 30699, 2831, ...
[ 0.07513427734375, 0.1973876953125, 0.172119140625, 0.171875, 0.06756591796875, 0.193603515625, 0.03973388671875, 0.2115478515625, 0.05377197265625, 0.150634765625, 0.01324462890625, 0.119140625, 0.114990234375, 0.152099609375, 0.010772705078125, 0.02978515625, 0.11962890625, 0.1036...
embed
40118004_c0
40118004
lisp
0
Title: A vector of integers is not a subtype of arrays of numbers, why? Problem title: A vector of integers is not a subtype of arrays of numbers, why? Tags: types, common-lisp, lisp, sbcl Problem: A vector of integers is not a subtype of arrays of numbers, why? We have the following: CL-USER> (subtypep 'integer 'numbe...
A vector of integers is not a subtype of arrays of numbers, why? A vector of integers is not a subtype of arrays of numbers, why? types common-lisp lisp sbcl CL-USER NIL A vector of integers is not a subtype of arrays of numbers, why? We have the following: And so this: But I don't get this: I'm using SBCL 1.3.1.debian...
[ -0.0137939453125, 0.0035858154296875, 0.0076904296875, 0.008056640625, -0.0196533203125, 0.0111083984375, -0.01507568359375, -0.016357421875, -0.006805419921875, 0.0003376007080078125, -0.018310546875, 0.0037384033203125, -0.00147247314453125, 0.00860595703125, -0.01165771484375, -0.01...
[ 62, 173, 18770, 111, 892, 26255, 83, 959, 10, 1614, 50986, 10298, 4778, 101935, 15400, 52895, 39210, 4086, 254, 400, 7008, 91, 275, 34937, 46323, 1062, 50184, 541, 16444, 25632, 903, 2301, 18, 2046, 17368, 90944, 37486, 41491, 22892, 112,...
[ 0.06475830078125, 0.22119140625, 0.269287109375, 0.126708984375, 0.1822509765625, 0.2174072265625, 0.1356201171875, 0.1885986328125, 0.072509765625, 0.2076416015625, 0.2408447265625, 0.1331787109375, 0.1246337890625, 0.1494140625, 0.162353515625, 0.15234375, 0.0869140625, 0.0380249...
embed
22814934_c0
22814934
lisp
0
Title: Common Lisp: Use undefined variable in function Problem title: Common Lisp: Use undefined variable in function Tags: common-lisp, lisp Problem: Common Lisp: Use undefined variable in function I want to do something like that in Common Lisp: (defparameter *fun* (lambda () x)) (let ((x 0)) (funcall *fun*)) ;should...
Common Lisp: Use undefined variable in function Common Lisp: Use undefined variable in function common-lisp lisp Common Lisp Use Common Lisp: Use undefined variable in function I want to do something like that in Common Lisp: I want to access a local binding in a function, that is not defined, when I define the functio...
[ -0.00286865234375, 0.017333984375, -0.01043701171875, 0.0031585693359375, -0.016357421875, 0.001953125, 0.01153564453125, -0.000934600830078125, 0.0021209716796875, -0.03955078125, -0.009765625, -0.00141143798828125, 0.0135498046875, 0.017578125, 0.03125, 0.0031890869140625, -0.00711...
[ 151301, 1261, 7008, 36836, 9232, 5983, 297, 77336, 23, 32354, 39210, 4086, 254, 400, 3444, 54, 1884, 17203, 4000, 128239, 450, 959, 61924, 4527, 1022, 237, 171859, 4488, 831, 18, 15549, 34292 ]
[ 0.1756591796875, 0.1494140625, 0.1798095703125, 0.131103515625, 0.09552001953125, 0.178466796875, 0.0626220703125, 0.2447509765625, 0.03472900390625, 0.1751708984375, 0.10760498046875, 0.08319091796875, 0.08721923828125, 0.0693359375, 0.08538818359375, 0.017333984375, 0.0242309570312...
embed
73114472_c0
73114472
lisp
0
Title: I&#x27;m using guile 3 and trying to customize the &quot;print&quot; aspect of the repl Problem title: I&#x27;m using guile 3 and trying to customize the &quot;print&quot; aspect of the repl Tags: scheme, lisp, guile Problem: I'm using guile 3 and trying to customize the "print" aspect of the repl I understand t...
I&#x27;m using guile 3 and trying to customize the &quot;print&quot; aspect of the repl I&#x27;m using guile 3 and trying to customize the &quot;print&quot; aspect of the repl scheme lisp guile guile I'm using guile 3 and trying to customize the "print" aspect of the repl I understand that the option (repl-default-opti...
[ -0.01904296875, 0.01556396484375, 0.00162506103515625, 0.01611328125, -0.0101318359375, -0.0035400390625, -0.00836181640625, -0.0123291015625, -0.00274658203125, 0.0185546875, -0.01904296875, -0.0201416015625, -0.0086669921875, -0.01287841796875, -0.0189208984375, 0.01220703125, 0.00...
[ 3768, 17368, 2497, 1340, 138, 31577, 178036, 13, 35662, 43585, 456, 2424, 150370, 400, 7008, 28219, 35829, 107, 214810, 109585, 9, 3509, 38, 153, 16, 83, 47, 11814, 25, 37842, 5941, 143834, 7, 11969, 5222, 70, 6528, 50155, 214, 105876, ...
[ 0.06256103515625, 0.054656982421875, 0.1651611328125, 0.219970703125, 0.16455078125, 0.03912353515625, 0.1925048828125, 0.058837890625, 0.2218017578125, 0.16259765625, 0.1002197265625, 0.206787109375, 0.1680908203125, 0.09637451171875, 0.155517578125, 0.056549072265625, 0.19323730468...
embed
72089974_c0
72089974
lisp
0
Title: Why order of quote character &quot;&#x27;&quot; in relation to &#x27;#1=&#x27; matters in circular lists? Problem title: Why order of quote character &quot;&#x27;&quot; in relation to &#x27;#1=&#x27; matters in circular lists? Tags: lisp, circular-list Problem: Why order of quote character "'" in relation to '#1...
Why order of quote character &quot;&#x27;&quot; in relation to &#x27;#1=&#x27; matters in circular lists? Why order of quote character &quot;&#x27;&quot; in relation to &#x27;#1=&#x27; matters in circular lists? lisp circular-list Why graph-viewer:graph Why order of quote character "'" in relation to '#1=' matters in c...
[ 0.005645751953125, 0.0087890625, -0.00185394287109375, 0.0054931640625, -0.0054931640625, -0.007232666015625, -0.006927490234375, 0.0084228515625, 0.0216064453125, 0.0224609375, -0.0128173828125, -0.0179443359375, -0.002288818359375, -0.0023651123046875, -0.00958251953125, 0.0194091796...
[ 44084, 12989, 111, 66747, 62816, 41502, 3768, 41911, 418, 26866, 115339, 5303, 400, 7008, 6562, 41382, 22751, 56, 25, 4904, 1369, 28007, 13034, 24243, 21455, 9790, 79442, 116, 12921, 2750, 75073, 11389, 26582, 99201 ]
[ 0.140380859375, 0.1922607421875, 0.032196044921875, 0.2200927734375, 0.150634765625, 0.00921630859375, 0.1077880859375, 0.1160888671875, 0.0394287109375, 0.1551513671875, 0.1904296875, 0.1888427734375, 0.0292205810546875, 0.105224609375, 0.1348876953125, 0.177001953125, 0.13330078125...
embed
223468_c0
223468
lisp
0
Title: Can someone help explain this scheme procedure Problem title: Can someone help explain this scheme procedure Tags: lisp, scheme Problem: Can someone help explain this scheme procedure Question: ((lambda (x y) (x y)) (lambda (x) (* x x)) (* 3 3)) This was #1 on the midterm, I put "81 9" he thought I forgot to cro...
Can someone help explain this scheme procedure Can someone help explain this scheme procedure lisp scheme Can Can someone help explain this scheme procedure Question: This was #1 on the midterm, I put "81 9" he thought I forgot to cross one out lawl, so I cross out 81, and he goes aww. Anyways, I dont understand why it...
[ 0.0201416015625, 0.0283203125, 0.00135040283203125, 0.021484375, -0.0291748046875, 0.00225830078125, 0.000530242919921875, 0.005615234375, -0.00127410888671875, -0.033935546875, -0.01031494140625, -0.01953125, -0.0284423828125, -0.01446533203125, 0.00250244140625, -0.007568359375, 0....
[ 4171, 22008, 4358, 73342, 903, 150370, 50491, 400, 7008, 68185, 3293, 509, 41766, 98, 70, 4122, 32166, 3884, 13556, 483, 17569, 100, 9904, 41421, 1632, 1810, 27751, 16503, 764, 60899, 10, 98251, 13319, 28219, 15400, 442, 7, 143, 6492, 85,...
[ 0.0760498046875, 0.10601806640625, 0.1334228515625, 0.22021484375, 0.0936279296875, 0.25439453125, 0.2091064453125, 0.1279296875, 0.2132568359375, 0.0304412841796875, 0.00677490234375, 0.01202392578125, 0.109375, 0.035369873046875, 0.0251007080078125, 0.077880859375, 0.2122802734375,...
embed
4086317_c0
4086317
lisp
0
Title: Is there any benefits to learning LISP? Problem title: Is there any benefits to learning LISP? Tags: lisp Problem: Is there any benefits to learning LISP? I am a pretty experienced Ruby, Objective C, and Java programmer and I was watching a video on emacs (because I have been using Vi) and noticed that it is als...
Is there any benefits to learning LISP? Is there any benefits to learning LISP? lisp LISP Is there any benefits to learning LISP? I am a pretty experienced Ruby, Objective C, and Java programmer and I was watching a video on emacs (because I have been using Vi) and noticed that it is also a LISP interpreter. That spike...
[ 0.003631591796875, 0.0267333984375, -0.0037384033203125, 0.01397705078125, -0.0020599365234375, 0.0223388671875, -0.00982666015625, 0.004547119140625, 0.0142822265625, -0.0341796875, 0.00628662109375, -0.0191650390625, -0.00040435791015625, -0.005157470703125, -0.0191650390625, 0.00183...
[ 2071, 2685, 2499, 72382, 47, 52080, 16970, 9434, 32, 400, 7008, 28875, 122446, 158189, 134549, 5844, 313, 41925, 77848, 100244, 1202, 352, 2263, 17368, 582, 156672, 29481, 56, 33946, 49041, 9655, 22008, 93002, 5744, 11192, 17366, 46876, 83, ...
[ 0.0728759765625, 0.086669921875, 0.1357421875, 0.23974609375, 0.1275634765625, 0.1988525390625, 0.19873046875, 0.294677734375, 0.002899169921875, 0.1710205078125, 0.2158203125, 0.0294189453125, 0.1165771484375, 0.1883544921875, 0.14013671875, 0.1083984375, 0.048797607421875, 0.1694...
embed
61253871_c0
61253871
lisp
0
Title: How to sort unicode strings alphabetically in Common Lisp? Problem title: How to sort unicode strings alphabetically in Common Lisp? Tags: common-lisp, lisp, unicode Problem: How to sort unicode strings alphabetically in Common Lisp? This: (sort '("Aaa" "Ééé" "Zzz") #'string-lessp) ;; ("Aaa" "Zzz" "Ééé") is not ...
How to sort unicode strings alphabetically in Common Lisp? How to sort unicode strings alphabetically in Common Lisp? common-lisp lisp unicode How Common Lisp Aaa Zzz How to sort unicode strings alphabetically in Common Lisp? This: is not satisfying, because "Ééé" should come before "Zzz". How can we sort unicode strin...
[ -0.0137939453125, 0.007659912109375, 0.0067138671875, 0.0115966796875, -0.0201416015625, -0.005218505859375, 0.028076171875, 0.00421142578125, 0.0078125, 0.005615234375, 0.001953125, 0.00035858154296875, 0.007568359375, 0.000926971435546875, -0.01141357421875, -0.0211181640625, 0.000...
[ 11249, 47, 12096, 60347, 112, 79315, 7, 229231, 71407, 23, 151301, 1261, 7008, 39210, 4086, 254, 400, 62, 11, 567, 13894, 3293, 959, 40407, 38543, 6637, 6642, 446, 5608, 1380, 8108, 1511, 831, 642, 43581, 51515, 28282, 43658, 91995, 78550...
[ 0.0911865234375, 0.05828857421875, 0.2406005859375, 0.212158203125, 0.1988525390625, 0.247802734375, 0.040008544921875, 0.1859130859375, 0.09356689453125, 0.04315185546875, 0.17822265625, 0.1632080078125, 0.169189453125, 0.1220703125, 0.1080322265625, 0.10986328125, 0.114501953125, ...
embed
43638047_c1
43638047
lisp
1
me it should be something like this: (define two-subsets (lambda (L m n ... other parameters) (cond The problem is really complicated and it's complexity is obviously more than O(n), I read on it on https://en.wikipedia.org/wiki/Partition_problem . I tried to start by defining the algorithm first before coding it. I t...
me it should be something like this: (define two-subsets (lambda (L m n ... other parameters) (cond The problem is really complicated and it's complexity is obviously more than O(n), I read on it on https://en.wikipedia.org/wiki/Partition_problem . I tried to start by defining the algorithm first before coding it. I t...
[ -0.0185546875, 0.022705078125, 0.017822265625, 0.0155029296875, -0.01287841796875, 0.01055908203125, 0.0036773681640625, -0.0081787109375, 0.0234375, -0.003326416015625, 0.007415771484375, 0.00142669677734375, -0.0011138916015625, -0.004638671875, -0.0174560546875, 0.00909423828125, ...
[ 163, 442, 5608, 186, 9844, 1884, 903, 112, 64552, 6626, 22144, 3509, 7, 143, 6492, 85, 866, 347, 653, 171859, 2271, 71, 2967, 6183, 96704, 297, 27140, 2481, 83, 171259, 1286, 180, 19, 12301, 7168, 13691, 58229, 14, 1363, 38953, 37842, ...
[ 0.099365234375, 0.074462890625, 0.1683349609375, 0.1060791015625, 0.1004638671875, 0.138671875, 0.100830078125, 0.093017578125, 0.208984375, 0.185546875, 0.18994140625, 0.24658203125, 0.049652099609375, 0.009002685546875, 0.1905517578125, 0.125732421875, 0.0836181640625, 0.04446411...
embed
7293835_c0
7293835
lisp
0
Title: Navigating top-level Lisp/Clojure forms in Vim Problem title: Navigating top-level Lisp/Clojure forms in Vim Tags: vim, clojure, lisp, slimv Problem: Navigating top-level Lisp/Clojure forms in Vim I use Vim for Clojure development. I'd like a movement key or mapping that will jump through the top-level forms in ...
Navigating top-level Lisp/Clojure forms in Vim Navigating top-level Lisp/Clojure forms in Vim vim clojure lisp slimv Navigating Lisp Clojure Vim Navigating top-level Lisp/Clojure forms in Vim I use Vim for Clojure development. I'd like a movement key or mapping that will jump through the top-level forms in the buffer. ...
[ 0.00775146484375, 0.02392578125, -0.021728515625, 0.0020294189453125, -0.00433349609375, 0.01904296875, -0.003143310546875, 0.0019378662109375, -0.0223388671875, -0.04296875, 0.00787353515625, -0.0035247802734375, -0.007537841796875, 0.01519775390625, -0.007598876953125, -0.02783203125...
[ 65290, 26518, 2663, 67919, 1261, 7008, 20219, 3408, 3173, 582, 39, 64, 7, 23, 119916, 20450, 461, 107, 400, 34264, 334, 51053, 4527, 34754, 1884, 112664, 22799, 291, 26783, 1221, 88203, 8305, 373, 18234, 136, 20903, 7279, 44237, 13315, 86...
[ 0.20654296875, 0.0556640625, 0.1280517578125, 0.1962890625, 0.1114501953125, 0.167724609375, 0.0943603515625, 0.1561279296875, 0.20556640625, 0.1845703125, 0.190185546875, 0.01043701171875, 0.038787841796875, 0.040008544921875, 0.2265625, 0.08746337890625, 0.1375732421875, 0.106750...
embed
7696293_c0
7696293
lisp
0
Title: Examples of how LISP has been adapted to a business challenge Problem title: Examples of how LISP has been adapted to a business challenge Tags: lisp, dsl Problem: Examples of how LISP has been adapted to a business challenge Almost every LISP enthusiast claims that one of the key advantages of the language is t...
Examples of how LISP has been adapted to a business challenge Examples of how LISP has been adapted to a business challenge lisp dsl Examples LISP Examples of how LISP has been adapted to a business challenge Almost every LISP enthusiast claims that one of the key advantages of the language is that it can be adapted to...
[ 0.019775390625, 0.015869140625, -0.0016937255859375, 0.001251220703125, -0.01519775390625, 0.03857421875, -0.0177001953125, 0.004608154296875, 0.00909423828125, -0.00579833984375, 0.0067138671875, 0.0084228515625, -0.011474609375, 0.02490234375, -0.00188446044921875, 0.007781982421875,...
[ 89536, 99726, 3642, 16970, 9434, 39908, 297, 47, 8063, 66801, 400, 7008, 104, 24861, 927, 86840, 140526, 22799, 92940, 46876, 831, 2967, 43257, 3501, 2773, 8999, 27781, 7722, 8781, 10975, 1467, 49966, 1286, 114479, 7, 27140, 15400, 18, 4527...
[ 0.167724609375, 0.051849365234375, 0.024322509765625, 0.13525390625, 0.2392578125, 0.1915283203125, 0.038818359375, 0.05157470703125, 0.129150390625, 0.1578369140625, 0.1240234375, 0.1578369140625, 0.0196075439453125, 0.1749267578125, 0.010772705078125, 0.05572509765625, 0.0638427734...
embed
27096007_c2
27096007
lisp
2
SBCL, jc-rel8, emit-function-hash-table-x64, jc-rel8-x86, stosb-x86, arg1, jcc-x64, x72, insns.dat, x86-asm-instruction, x86-64, Jcc-imm-near, Jcc, BND, STOSB-void, STOSB, Jcc-imm64-near, Jcc-imm-short, Jcc-imm, Swank, Heap, Gen, StaPg, UbSta, LaSta, LUbSt, Boxed, Unboxed, LUB, Alloc, Waste, Trig, GCs, Mem-age, Total,...
SBCL, jc-rel8, emit-function-hash-table-x64, jc-rel8-x86, stosb-x86, arg1, jcc-x64, x72, insns.dat, x86-asm-instruction, x86-64, Jcc-imm-near, Jcc, BND, STOSB-void, STOSB, Jcc-imm64-near, Jcc-imm-short, Jcc-imm, Swank, Heap, Gen, StaPg, UbSta, LaSta, LUbSt, Boxed, Unboxed, LUB, Alloc, Waste, Trig, GCs, Mem-age, Total,...
[ 0.0012054443359375, -0.00592041015625, 0.007476806640625, 0.01556396484375, 0.007293701171875, -0.01171875, 0.004791259765625, 0.0047607421875, 0.00531005859375, 0.0096435546875, 0.00109100341796875, 0.005584716796875, -0.00640869140625, -0.00677490234375, -0.01507568359375, 0.00885009...
[ 90944, 37486, 4, 1647, 238, 9, 7962, 1019, 53225, 137175, 126234, 22819, 425, 13307, 15276, 3474, 7, 275, 79459, 418, 10060, 12825, 23, 1779, 5164, 1022, 162, 39, 188336, 821, 464, 86, 147, 25013, 50407, 36474, 965, 532, 186500, 138087, ...
[ 0.1585693359375, 0.2344970703125, 0.07916259765625, 0.1279296875, 0.1007080078125, 0.05633544921875, 0.1815185546875, 0.19873046875, 0.268798828125, 0.2042236328125, 0.2401123046875, 0.206298828125, 0.043121337890625, 0.239013671875, 0.256103515625, 0.112548828125, 0.061981201171875,...
embed
58630068_c0
58630068
lisp
0
Title: Always getting &quot;RETURN-FROM: no block named NIL is currently visible&quot; Problem title: Always getting &quot;RETURN-FROM: no block named NIL is currently visible&quot; Tags: lisp, common-lisp, functional-programming Problem: Always getting "RETURN-FROM: no block named NIL is currently visible" (defun take...
Always getting &quot;RETURN-FROM: no block named NIL is currently visible&quot; Always getting &quot;RETURN-FROM: no block named NIL is currently visible&quot; lisp common-lisp functional-programming Always RETURN-FROM NIL Always getting "RETURN-FROM: no block named NIL is currently visible" This gives me an error RETU...
[ -0.00160980224609375, 0.028076171875, 0.014404296875, 0.00445556640625, 0.001953125, 0.0098876953125, 0.00811767578125, 0.004638671875, -0.01055908203125, -0.0308837890625, -0.0096435546875, -0.0181884765625, -0.01019287109375, -0.0257568359375, -0.00506591796875, -0.01556396484375, ...
[ 203623, 20949, 41116, 14503, 839, 61607, 110, 46389, 24, 4806, 541, 16444, 82424, 75693, 400, 7008, 39210, 4086, 254, 123309, 28966, 9069, 56943, 919, 18499, 98567, 30646, 63805, 10932, 9077, 26950 ]
[ 0.10693359375, 0.028045654296875, 0.10186767578125, 0.1309814453125, 0.0958251953125, 0.2061767578125, 0.0927734375, 0.2259521484375, 0.03973388671875, 0.07586669921875, 0.13671875, 0.2261962890625, 0.1661376953125, 0.2413330078125, 0.0654296875, 0.1634521484375, 0.08935546875, 0.0...
embed
59154598_c0
59154598
lisp
0
Title: a-plus-abs-b: Invalid function: (if (&gt; b 0) + -) Problem title: a-plus-abs-b: Invalid function: (if (&gt; b 0) + -) Tags: lisp, elisp, sicp, scheme Problem: a-plus-abs-b: Invalid function: (if (> b 0) + -) I am doing Exercise 1.4 of SICP Exercise 1.4. Observe that our model of evaluation allows for combinatio...
a-plus-abs-b: Invalid function: (if (&gt; b 0) + -) a-plus-abs-b: Invalid function: (if (&gt; b 0) + -) lisp elisp sicp scheme Invalid begin_src end_src a-plus-abs-b: Invalid function: (if (> b 0) + -) I am doing Exercise 1.4 of SICP Exercise 1.4. Observe that our model of evaluation allows for combinations whose opera...
[ -0.01287841796875, 0.01458740234375, 0.01312255859375, 0.022216796875, -0.01043701171875, 0.018310546875, -0.00347900390625, 0.00457763671875, 0.00011539459228515625, -0.005096435546875, -0.004608154296875, 0.0174560546875, -0.026123046875, 0.004974365234375, 0.0028076171875, -0.024291...
[ 10, 32108, 2055, 7, 9, 275, 360, 7013, 71, 32354, 3190, 5386, 876, 757, 997, 20, 400, 7008, 15296, 26536, 254, 150370, 9842, 19437, 3564, 2740, 155534, 48733, 159, 198993, 3299, 219836, 114864, 162515, 39933, 217773, 125195, 150556, 123166,...
[ 0.05535888671875, 0.2052001953125, 0.08209228515625, 0.053253173828125, 0.015869140625, 0.1630859375, 0.03955078125, 0.166748046875, 0.04266357421875, 0.143310546875, 0.0804443359375, 0.07330322265625, 0.0849609375, 0.1275634765625, 0.0987548828125, 0.07763671875, 0.033355712890625, ...
embed
1495475_c1
1495475
lisp
1
slow process. I'm guessing the recursion isn't as tight as possible and I'm doing something unnecessary. Any ideas? Furthermore, the grand project involves taking an input file that has various data sections separated by keywords. Example - %FLAG START_COORDS 1 2 5 8 10 12 %FLAG END_COORDS 3 7 3 23 9 26 %FLAG NAMES ct...
slow process. I'm guessing the recursion isn't as tight as possible and I'm doing something unnecessary. Any ideas? Furthermore, the grand project involves taking an input file that has various data sections separated by keywords. Example - %FLAG START_COORDS 1 2 5 8 10 12 %FLAG END_COORDS 3 7 3 23 9 26 %FLAG NAMES ct...
[ -0.01092529296875, 0.015625, 0.0089111328125, 0.021240234375, -0.00457763671875, 0.006256103515625, 0.0013580322265625, 0.0015716552734375, 0.0050048828125, 0.015380859375, 0.01141357421875, 0.000568389892578125, 0.000446319580078125, 0.0040283203125, 0.0035247802734375, 0.022094726562...
[ 72803, 9433, 57767, 195625, 1830, 107137, 7722, 20594, 26531, 25647, 9963, 13452, 83687, 35971, 107730, 11435, 67842, 2053, 40059, 84797, 390, 166117, 89536, 1745, 919, 91912, 188359, 9688, 36639, 116, 209, 427, 39015, 138, 1105, 483, 1381, 3...
[ 0.250732421875, 0.1619873046875, 0.0767822265625, 0.193359375, 0.07586669921875, 0.155029296875, 0.08306884765625, 0.0338134765625, 0.02923583984375, 0.0762939453125, 0.0985107421875, 0.1431884765625, 0.0107421875, 0.043060302734375, 0.10626220703125, 0.1156005859375, 0.0316772460937...
embed
21142152_c0
21142152
lisp
0
Title: What does parallel binding mean in Clojure Problem title: What does parallel binding mean in Clojure Tags: lisp, clojure Problem: What does parallel binding mean in Clojure I see the binding of recur is "parallel", however I don't get what that means. I've tested the code below: (defn parallelTest "parallel bind...
What does parallel binding mean in Clojure What does parallel binding mean in Clojure lisp clojure What Clojure Recur What does parallel binding mean in Clojure I see the binding of recur is "parallel", however I don't get what that means. I've tested the code below: the output is so I assume the bindings are happened ...
[ -0.007568359375, 0.033447265625, -0.0167236328125, 0.0201416015625, -0.0087890625, 0.0181884765625, 0.01409912109375, -0.003936767578125, -0.00848388671875, 0.002532958984375, -0.00897216796875, 0.0087890625, -0.010498046875, 0.004486083984375, 0.00726318359375, -0.00057220458984375, ...
[ 95103, 128239, 29459, 51053, 461, 107, 400, 7008, 20450, 165428, 42, 111, 43852, 6276, 1229, 141, 26950, 3034, 18151, 140992, 41591, 73659, 134477 ]
[ 0.275390625, 0.219970703125, 0.088134765625, 0.09869384765625, 0.1334228515625, 0.11676025390625, 0.006011962890625, 0.08123779296875, 0.05767822265625, 0.132080078125, 0.1585693359375, 0.0008640289306640625, 0.1470947265625, 0.059844970703125, 0.12322998046875, 0.09063720703125, 0.0...
embed
76815504_c0
76815504
lisp
0
Title: What is the error with a Lisp a expression Problem title: What is the error with a Lisp a expression Tags: lisp, runtime-error Problem: What is the error with a Lisp a expression I don't really know a thing about Lisp, but I already dislike it (sorry, Lisp peoples). I need to describe what is wrong with the foll...
What is the error with a Lisp a expression What is the error with a Lisp a expression lisp runtime-error What Lisp THREAD Debugger TYPE-ERROR LIST Restarts TOP-LEVEL What is the error with a Lisp a expression I don't really know a thing about Lisp, but I already dislike it (sorry, Lisp peoples). I need to describe what...
[ 0.01019287109375, 0.00799560546875, -0.0167236328125, 0.02490234375, -0.01007080078125, 0.0218505859375, 0.006561279296875, 0.0218505859375, -0.0031280517578125, -0.036376953125, -0.006103515625, -0.017578125, -0.01043701171875, 0.01141357421875, -0.001190185546875, -0.01214599609375, ...
[ 4865, 83, 70, 18499, 678, 1261, 7008, 10, 125195, 400, 11675, 6032, 188800, 41519, 262, 978, 21407, 95267, 12501, 14255, 195977, 49756, 67987, 26668, 15300, 51442, 21771, 2837, 5062, 3395, 3871, 98363, 44691, 25632, 63805, 104250, 185688, 768...
[ 0.063720703125, 0.053436279296875, 0.031890869140625, 0.2249755859375, 0.1419677734375, 0.1580810546875, 0.221923828125, 0.1051025390625, 0.230224609375, 0.1431884765625, 0.08203125, 0.11737060546875, 0.201416015625, 0.08477783203125, 0.07574462890625, 0.12408447265625, 0.07800292968...
embed
33725478_c0
33725478
lisp
0
Title: deftype - variable unbound Problem title: deftype - variable unbound Tags: lisp, common-lisp Problem: deftype - variable unbound I am trying to learn Common Lisp following C. Shapiro's Common Lisp: An interactive approach . I try to define the type bstree from chapter 18. My code is the following (defun elementp...
deftype - variable unbound deftype - variable unbound lisp common-lisp Undefined variable:ELEMENT deftype - variable unbound I am trying to learn Common Lisp following C. Shapiro's Common Lisp: An interactive approach . I try to define the type bstree from chapter 18. My code is the following When I feed it to slime it...
[ 0.0267333984375, 0.005889892578125, 0.00103759765625, 0.006195068359375, 0.0076904296875, 0.021240234375, -0.01263427734375, -0.005279541015625, -0.004730224609375, -0.0242919921875, 0.00075531005859375, -0.0208740234375, 0.026123046875, -0.003814697265625, 0.00408935546875, 0.02709960...
[ 8, 420, 50986, 77336, 51, 99091, 400, 7008, 39210, 4086, 254, 79912, 5983, 27587, 33827, 30698, 151301, 1261, 102444, 212398, 51515, 61924, 10644, 876, 5967, 13, 7744, 18151, 61590, 442, 47, 34264, 18499, 44691, 4517, 32354 ]
[ 0.08343505859375, 0.11578369140625, 0.25634765625, 0.2354736328125, 0.06988525390625, 0.186767578125, 0.0753173828125, 0.1588134765625, 0.10137939453125, 0.062744140625, 0.1224365234375, 0.06878662109375, 0.1678466796875, 0.10247802734375, 0.1729736328125, 0.021240234375, 0.099487304...
embed
16879226_c0
16879226
lisp
0
Title: defun and lambda in lisp Problem title: defun and lambda in lisp Tags: lambda, lisp Problem: defun and lambda in lisp We have two ways to define a function: defun and lambda, and we can use setf for labeling a lambda function. (defun g (x) (* x x)) (setf f (lambda (x) (+ x x))) The function can be the first elem...
defun and lambda in lisp defun and lambda in lisp lambda lisp defun and lambda in lisp We have two ways to define a function: defun and lambda, and we can use setf for labeling a lambda function. The function can be the first element in a list. Or it can be a parameter to the other function. However with lambda, the us...
[ 0.00860595703125, 0.0181884765625, 0.0140380859375, -0.013427734375, 0.0004100799560546875, -0.0108642578125, -0.00885009765625, 0.01092529296875, 0.0130615234375, -0.0169677734375, 0.0076904296875, -0.025146484375, -0.00421142578125, -0.0125732421875, 0.00836181640625, -0.006042480468...
[ 8, 16498, 136, 21, 6492, 85, 23, 400, 7008, 6626, 48322, 61924, 32354, 831, 4527, 5423, 420, 67967, 214, 186, 5117, 12830, 5303, 171859, 3789, 678, 127689, 12921, 193844, 62775, 50155, 60212, 55681, 6953, 150370, 74729 ]
[ 0.19873046875, 0.25390625, 0.09954833984375, 0.09918212890625, 0.2039794921875, 0.178955078125, 0.039306640625, 0.1195068359375, 0.2149658203125, 0.0584716796875, 0.05914306640625, 0.1729736328125, 0.189697265625, 0.0352783203125, 0.048431396484375, 0.142822265625, 0.1925048828125, ...
embed
22118373_c0
22118373
lisp
0
Title: Why does Clojure represent xml documents as hash-maps? Problem title: Why does Clojure represent xml documents as hash-maps? Tags: clojure, lisp, xml, xslt Problem: Why does Clojure represent xml documents as hash-maps? Can xml be a native clojure datatype and allow simple definitions like (def myxml <inventors>...
Why does Clojure represent xml documents as hash-maps? Why does Clojure represent xml documents as hash-maps? clojure lisp xml xslt Why Clojure Rich Hickey Why does Clojure represent xml documents as hash-maps? Can xml be a native clojure datatype and allow simple definitions like What prevents the current parsers from...
[ -0.004119873046875, 0.0191650390625, 0.0025787353515625, 0.005889892578125, -0.0096435546875, 0.0118408203125, -0.0167236328125, -0.02001953125, -0.01513671875, -0.0042724609375, -0.001617431640625, -0.01239013671875, -0.0220947265625, 0.00994873046875, 0.0242919921875, 0.0004081726074...
[ 44084, 51053, 461, 107, 33636, 131492, 60525, 237, 1556, 127, 62346, 14602, 20450, 400, 7008, 1277, 52774, 97409, 19770, 4171, 24, 4935, 2053, 50986, 63769, 8781, 80934, 56282, 43581, 366, 7, 1314, 1295, 64457, 33938, 21373, 18811, 6423, 12...
[ 0.115478515625, 0.1656494140625, 0.1883544921875, 0.1627197265625, 0.1953125, 0.260009765625, 0.175537109375, 0.048248291015625, 0.147216796875, 0.12353515625, 0.1849365234375, 0.00164794921875, 0.1473388671875, 0.06304931640625, 0.1632080078125, 0.0809326171875, 0.1673583984375, 0...
embed
16377802_c0
16377802
lisp
0
Title: Clojure macro that doesn&#x27;t need space next to it Problem title: Clojure macro that doesn&#x27;t need space next to it Tags: lisp, macros, clojure Problem: Clojure macro that doesn't need space next to it Trying to create a macro form of Haskell's lambda syntax, I'm pretty close except one last tweak, the / ...
Clojure macro that doesn&#x27;t need space next to it Clojure macro that doesn&#x27;t need space next to it lisp macros clojure Clojure Clojure macro that doesn't need space next to it Trying to create a macro form of Haskell's lambda syntax, I'm pretty close except one last tweak, the / (which should be a \, but can't...
[ -0.00457763671875, 0.02294921875, -0.01446533203125, 0.004791259765625, -0.022705078125, 0.0201416015625, 0.0002899169921875, -0.01123046875, 0.00634765625, -0.0218505859375, 0.01226806640625, -0.0257568359375, -0.0159912109375, -0.031494140625, 0.0027923583984375, -0.01165771484375, ...
[ 51053, 461, 107, 111789, 450, 22027, 3768, 18, 3871, 32628, 11737, 47, 442, 400, 7008, 20450, 40858, 28282, 3173, 20625, 142508, 21, 6492, 85, 6002, 86531, 20903, 4568, 77488, 13, 248, 143321, 5608, 41872, 1284, 831, 40099, 27117, 3917, 3...
[ 0.1575927734375, 0.1673583984375, 0.13134765625, 0.244384765625, 0.052764892578125, 0.072998046875, 0.0965576171875, 0.098388671875, 0.144287109375, 0.2470703125, 0.177001953125, 0.1094970703125, 0.06414794921875, 0.0545654296875, 0.1756591796875, 0.1334228515625, 0.004974365234375, ...
embed
52507680_c1
52507680
lisp
1
PARAMS instead of the value OF params , because it's getting macroexpanded at compile time, not evaluated at runtime. But as I learned when I asked this question , make-canned-format-macro won't work as a function, because it needs to construct the lambda form at compile time . (At least, I think that's what I learned...
PARAMS instead of the value OF params , because it's getting macroexpanded at compile time, not evaluated at runtime. But as I learned when I asked this question , make-canned-format-macro won't work as a function, because it needs to construct the lambda form at compile time . (At least, I think that's what I learned...
[ 0.004608154296875, -0.004852294921875, 0.0133056640625, 0.0206298828125, 0.0009765625, 0.017333984375, 0.0205078125, -0.00799560546875, 0.0245361328125, -0.0191650390625, 0.004486083984375, -0.047607421875, 0.006683349609375, -0.0203857421875, 0.022216796875, -0.0255126953125, -0.006...
[ 25401, 13439, 64457, 111, 34292, 31766, 121, 4432, 20949, 111789, 83613, 4431, 9969, 1340, 1733, 959, 151575, 99, 11675, 6032, 3249, 4398, 14534, 51727, 192, 15322, 23742, 18, 4488, 237, 10, 32354, 27117, 64549, 21, 6492, 85, 3173, 97384, ...
[ 0.21728515625, 0.2476806640625, 0.120361328125, 0.012451171875, 0.18701171875, 0.20947265625, 0.1961669921875, 0.2030029296875, 0.031280517578125, 0.2254638671875, 0.09619140625, 0.135009765625, 0.1231689453125, 0.1572265625, 0.12646484375, 0.0521240234375, 0.15673828125, 0.0352783...
embed
26624731_c0
26624731
lisp
0
Title: How can I define a LISP function, which takes in an array as an argument? Problem title: How can I define a LISP function, which takes in an array as an argument? Tags: common-lisp, lisp, lispworks Problem: How can I define a LISP function, which takes in an array as an argument? I want to create an array in a f...
How can I define a LISP function, which takes in an array as an argument? How can I define a LISP function, which takes in an array as an argument? common-lisp lisp lispworks FuncB How LISP FuncA Array How can I define a LISP function, which takes in an array as an argument? I want to create an array in a function and ...
[ 0.022705078125, 0.017578125, -0.00543212890625, 0.00433349609375, -0.01708984375, -0.000164031982421875, 0.009033203125, -0.015869140625, 0.010009765625, -0.005218505859375, 0.01409912109375, 0.0098876953125, -0.01171875, 0.00262451171875, 0.0087890625, 0.0106201171875, 0.00193786621...
[ 11249, 61924, 16970, 9434, 32354, 51776, 23, 10298, 53, 237, 10750, 87, 39210, 4086, 254, 400, 7008, 18244, 28670, 571, 238, 284, 69253, 831, 142, 3444, 28282, 27875, 171859, 15700, 35839, 1295, 74189, 18151 ]
[ 0.0296630859375, 0.19287109375, 0.158935546875, 0.269287109375, 0.22705078125, 0.10302734375, 0.111572265625, 0.179931640625, 0.1611328125, 0.06536865234375, 0.26904296875, 0.017181396484375, 0.060028076171875, 0.087158203125, 0.1658935546875, 0.1016845703125, 0.17431640625, 0.0949...
embed
1381941_c0
1381941
lisp
0
Title: How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl Problem title: How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl Tags: common-lisp, ssl, lisp Problem: How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl On XP, I'd like t...
How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl common-lisp ssl lisp How Lispworks SSL Postmodern How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl On XP, I'd like to use Post...
[ 0.00457763671875, 0.00860595703125, 0.00836181640625, -0.004547119140625, -0.010009765625, 0.0030670166015625, 0.004791259765625, -0.019287109375, -0.003875732421875, -0.039306640625, 0.0164794921875, 0.0166015625, 0.00604248046875, -0.016845703125, 0, -0.026611328125, -0.02294921875...
[ 11249, 4527, 1261, 7008, 18244, 7, 375, 39, 98169, 103527, 17203, 2795, 49748, 64457, 33139, 1328, 24861, 47, 39210, 4086, 254, 91, 400, 45005, 1884, 63399, 10723, 46323, 294, 30508, 2967, 53550, 228038, 94878, 43240, 5885, 3917, 221, 27853...
[ 0.062255859375, 0.1285400390625, 0.149169921875, 0.1644287109375, 0.2042236328125, 0.1236572265625, 0.1240234375, 0.14697265625, 0.2161865234375, 0.2327880859375, 0.14111328125, 0.1920166015625, 0.2734375, 0.0972900390625, 0.0657958984375, 0.20947265625, 0.1673583984375, 0.01725769...
embed
30472070_c0
30472070
lisp
0
Title: how to change the value of sp-navigate-reindent-after-up in smartparens Problem title: how to change the value of sp-navigate-reindent-after-up in smartparens Tags: lisp, parentheses, elisp, emacs Problem: how to change the value of sp-navigate-reindent-after-up in smartparens I want to change the default behavi...
how to change the value of sp-navigate-reindent-after-up in smartparens how to change the value of sp-navigate-reindent-after-up in smartparens lisp parentheses elisp emacs how to change the value of sp-navigate-reindent-after-up in smartparens I want to change the default behavior of smartparens to remove the whitespa...
[ -0.035400390625, 0.036865234375, 0.00396728515625, 0.007354736328125, -0.002838134765625, 0.0203857421875, -0.01141357421875, 0.004547119140625, 0.00604248046875, 0.00830078125, 0.00384521484375, 0.0208740234375, -0.022705078125, -0.00787353515625, 0.010009765625, -0.0052490234375, -...
[ 3642, 47, 15549, 34292, 5213, 76, 686, 42118, 107, 21704, 18, 46327, 2037, 18775, 2500, 1755, 400, 7008, 49129, 35412, 15296, 352, 2263, 23, 3444, 114977, 123166, 87388, 35011, 65421, 8108, 20903, 8, 93343, 56, 10644, 1388, 7103, 876, 501...
[ 0.06378173828125, 0.044830322265625, 0.21630859375, 0.17578125, 0.17041015625, 0.087646484375, 0.191162109375, 0.1585693359375, 0.1153564453125, 0.1502685546875, 0.1094970703125, 0.1712646484375, 0.16845703125, 0.1707763671875, 0.165771484375, 0.1856689453125, 0.0241851806640625, 0...
embed
14232433_c0
14232433
lisp
0
Title: Learning Lisp. Can&#x27;t seem to get a value from one function and use it within another Problem title: Learning Lisp. Can&#x27;t seem to get a value from one function and use it within another Tags: lisp, common-lisp, let Problem: Learning Lisp. Can't seem to get a value from one function and use it within ano...
Learning Lisp. Can&#x27;t seem to get a value from one function and use it within another Learning Lisp. Can&#x27;t seem to get a value from one function and use it within another lisp common-lisp let one Learning Lisp Can Learning Lisp. Can't seem to get a value from one function and use it within another I'm trying t...
[ -0.0037689208984375, 0.01397705078125, 0.00897216796875, 0.0296630859375, -0.005218505859375, 0.0157470703125, 0.01373291015625, 0.015869140625, 0.003997802734375, -0.017578125, -0.013916015625, 0.015869140625, -0.01318359375, 0.01409912109375, 0.0191650390625, -0.002105712890625, 0....
[ 114344, 1261, 7008, 4171, 3768, 18, 48903, 2046, 34292, 32354, 4527, 28032, 15700, 400, 39210, 4086, 254, 2633, 1632, 1295, 31577, 7413, 38132, 14012, 5303, 28412, 56574, 18389, 154663, 43240, 44691 ]
[ 0.10400390625, 0.13671875, 0.1583251953125, 0.07275390625, 0.013275146484375, 0.0423583984375, 0.062255859375, 0.06500244140625, 0.1568603515625, 0.144287109375, 0.095458984375, 0.10223388671875, 0.022705078125, 0.0889892578125, 0.078857421875, 0.077392578125, 0.126953125, 0.054473...
embed