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
40120338_c0
40120338
lisp
0
Title: Building map with Racket Problem title: Building map with Racket Tags: functional-programming, lisp, racket, sicp Problem: Building map with Racket I was building the map function as a matter of practice. I came up with the following code: #lang racket (define (map procedure items) (if (null? items) empty (cons ...
Building map with Racket Building map with Racket functional-programming lisp racket sicp Building Racket add1 scale-by-3 Building map with Racket I was building the map function as a matter of practice. I came up with the following code: I tried this and it worked fine: Then I tried this and it also worked fine: After...
[ -0.002838134765625, 0.0260009765625, 0.00604248046875, 0.004058837890625, -0.02294921875, 0.00109100341796875, -0.010986328125, 0.00640869140625, -0.00823974609375, -0.044677734375, 0.004058837890625, -0.02978515625, 0.01007080078125, -0.0012054443359375, 0, 0.00677490234375, -0.0197...
[ 104919, 22288, 678, 2552, 27853, 123309, 28966, 400, 7008, 673, 26536, 254, 15190, 418, 105994, 1272, 8316, 33976, 32354, 41361, 1257, 25632, 18151, 37842, 79786, 5885, 4537, 50491, 144810, 43240, 17368, 18499, 86869, 903, 3917, 3115, 15490, ...
[ 0.1739501953125, 0.2235107421875, 0.1044921875, 0.1146240234375, 0.225830078125, 0.109619140625, 0.1063232421875, 0.026092529296875, 0.1373291015625, 0.0833740234375, 0.056060791015625, 0.12060546875, 0.0765380859375, 0.0154876708984375, 0.195068359375, 0.1217041015625, 0.1591796875,...
embed
61551936_c0
61551936
lisp
0
Title: print nested lists in columns in Lisp Problem title: print nested lists in columns in Lisp Tags: output, formatting, layout, lisp, common-lisp Problem: print nested lists in columns in Lisp I have a doubt on how to print several matrix-like nested lists in a row, row after row, vertically aligned so they appear ...
print nested lists in columns in Lisp print nested lists in columns in Lisp output formatting layout lisp common-lisp Lisp Result NIL print nested lists in columns in Lisp I have a doubt on how to print several matrix-like nested lists in a row, row after row, vertically aligned so they appear in columns one under the ...
[ 0.010498046875, -0.00677490234375, 0.00469970703125, 0.016845703125, -0.00946044921875, 0.01007080078125, 0.0050048828125, 0.006622314453125, 0.005706787109375, 0.0260009765625, 0.0159912109375, -0.00665283203125, -0.0002994537353515625, 0.011962890625, -0.0159912109375, -0.01257324218...
[ 28412, 8512, 71, 5303, 7, 23, 3365, 316, 1779, 1261, 7008, 140992, 9384, 108802, 400, 39210, 4086, 254, 126684, 16444, 92814, 3642, 40368, 50944, 425, 5062, 15555, 7103, 79259, 90795, 108975, 1632, 1379, 3789, 37842, 48322, 43240, 7986, 181...
[ 0.201904296875, 0.2362060546875, 0.11669921875, 0.2119140625, 0.025360107421875, 0.061187744140625, 0.1199951171875, 0.1396484375, 0.07684326171875, 0.135009765625, 0.2091064453125, 0.0709228515625, 0.08453369140625, 0.103271484375, 0.0904541015625, 0.054931640625, 0.08099365234375, ...
embed
43559574_c0
43559574
lisp
0
Title: How to find variable in package using string and change it? Problem title: How to find variable in package using string and change it? Tags: package, lisp, common-lisp Problem: How to find variable in package using string and change it? I have package with some variables: (in-package #:pack) (defparameter *a* "f...
How to find variable in package using string and change it? How to find variable in package using string and change it? package lisp common-lisp string How COMMON-LISP:SETF COMMON-LISP:SYMBOL-NAME Condition UNDEFINED-FUNCTION How to find variable in package using string and change it? I have package with some variables...
[ 0.01275634765625, -0.0198974609375, 0.00445556640625, 0.030029296875, -0.005126953125, 0.0111083984375, -0.0048828125, 0.002960205078125, 0.00118255615234375, 0.014892578125, 0.0211181640625, 0.01708984375, 0.0133056640625, 0.006378173828125, 0.00732421875, 0.0037841796875, -0.000039...
[ 11249, 47, 7413, 77336, 23, 98169, 17368, 79315, 136, 15549, 442, 400, 7008, 39210, 4086, 254, 31436, 82707, 67616, 683, 54080, 919, 65311, 98335, 182512, 46347, 211210, 129525, 17610, 175560, 111477, 13566, 1639, 275, 31255, 69236, 38478, 32...
[ 0.051910400390625, 0.0068359375, 0.154052734375, 0.295166015625, 0.1134033203125, 0.234130859375, 0.095458984375, 0.26025390625, 0.06195068359375, 0.19677734375, 0.09344482421875, 0.0999755859375, 0.1768798828125, 0.123046875, 0.079833984375, 0.1561279296875, 0.032257080078125, 0.1...
embed
11659004_c0
11659004
lisp
0
Title: Can set-car! and set-cdr! be implemented as macros? Problem title: Can set-car! and set-cdr! be implemented as macros? Tags: scheme, lisp, abstract-syntax-tree, metaprogramming Problem: Can set-car! and set-cdr! be implemented as macros? Is it possible to implement set-car! and set-cdr! portably as macros using ...
Can set-car! and set-cdr! be implemented as macros? Can set-car! and set-cdr! be implemented as macros? scheme lisp abstract-syntax-tree metaprogramming Can Can set-car! and set-cdr! be implemented as macros? Is it possible to implement set-car! and set-cdr! portably as macros using set! in Scheme? Or would this requir...
[ -0.00762939453125, 0.0218505859375, 0.01385498046875, -0.001068115234375, -0.001495361328125, 0.01611328125, -0.005126953125, 0.007720947265625, -0.01031494140625, -0.0093994140625, -0.03271484375, 0.004852294921875, -0.0194091796875, -0.020751953125, 0.00836181640625, -0.0132446289062...
[ 4171, 5423, 9, 3284, 38, 136, 238, 7569, 29479, 297, 237, 111789, 7, 150370, 400, 7008, 164789, 86531, 62600, 23550, 28966, 7722, 47, 4898, 17368, 23, 34702, 282, 2806, 5361, 17203, 1379, 132096, 5426, 113292, 10002, 29481, 56, 1884, 5045...
[ 0.13037109375, 0.27294921875, 0.0882568359375, 0.299072265625, 0.177734375, 0.140380859375, 0.08587646484375, 0.25146484375, 0.2313232421875, 0.038787841796875, 0.1278076171875, 0.271484375, 0.1304931640625, 0.1737060546875, 0.048828125, 0.1181640625, 0.10498046875, 0.0539245605468...
embed
15578520_c0
15578520
lisp
0
Title: PuTTY telnet strange output Problem title: PuTTY telnet strange output Tags: lisp, newline, putty, telnet Problem: PuTTY telnet strange output I am serving a Lisp system from patrickconnelly.net on port 65000 for my college senior project. I tested remote access from the terminal (I run Slackware 14.0) and all w...
PuTTY telnet strange output PuTTY telnet strange output lisp newline putty telnet PuTTY patrickconnelly.net Steel Bank Common Lisp REPL PuTTY telnet strange output I am serving a Lisp system from patrickconnelly.net on port 65000 for my college senior project. I tested remote access from the terminal (I run Slackware 1...
[ 0.0263671875, 0.0091552734375, -0.00067138671875, 0.020263671875, -0.037109375, 0.0040283203125, -0.00001424551010131836, 0.00860595703125, -0.01129150390625, 0.001251220703125, 0.01239013671875, 0.0002593994140625, 0.0157470703125, -0.0118408203125, -0.01409912109375, -0.0057067871093...
[ 3561, 618, 27143, 8131, 1179, 114453, 140992, 400, 7008, 3525, 2256, 3884, 939, 149718, 2271, 86, 12097, 109028, 4932, 151301, 1261, 21130, 520, 5426, 11469, 305, 29213, 40466, 22962, 13452, 3034, 148814, 17203, 33949, 11675, 123660, 15876, 6...
[ 0.1849365234375, 0.124267578125, 0.260986328125, 0.1484375, 0.1912841796875, 0.2183837890625, 0.257080078125, 0.1185302734375, 0.174560546875, 0.04266357421875, 0.1661376953125, 0.161376953125, 0.1251220703125, 0.08966064453125, 0.035308837890625, 0.06768798828125, 0.1632080078125, ...
embed
46223692_c0
46223692
lisp
0
Title: Lisp, instructions not working in defun Problem title: Lisp, instructions not working in defun Tags: common-lisp, lisp, syntax-error Problem: Lisp, instructions not working in defun I'm trying to make a function that changes infix input to prefix eg : (x + 1) as input outputted as (+ x 1) . So here is my code fo...
Lisp, instructions not working in defun Lisp, instructions not working in defun common-lisp lisp syntax-error Lisp Error Illegal LISTP LIST TYPE-ERROR Lisp, instructions not working in defun I'm trying to make a function that changes infix input to prefix eg : (x + 1) as input outputted as (+ x 1) . So here is my code ...
[ -0.00933837890625, -0.003143310546875, 0.0047607421875, 0.01025390625, 0.005859375, 0.0218505859375, 0.0032958984375, 0.0166015625, -0.0004711151123046875, -0.0213623046875, -0.008544921875, 0.0036773681640625, -0.0128173828125, -0.016357421875, 0.0089111328125, 0.0157470703125, -0.0...
[ 1261, 7008, 167934, 959, 20697, 23, 8, 16498, 39210, 4086, 254, 400, 86531, 188800, 212059, 891, 86966, 195977, 683, 95267, 12501, 14255, 31577, 32354, 65572, 55923, 107730, 47, 183114, 30046, 425, 997, 4879, 237, 140992, 22183, 1022, 3688, ...
[ 0.1624755859375, 0.25, 0.2293701171875, 0.1114501953125, 0.1187744140625, 0.06988525390625, 0.1575927734375, 0.2109375, 0.0615234375, 0.121826171875, 0.1942138671875, 0.1253662109375, 0.078857421875, 0.1202392578125, 0.130615234375, 0.00177001953125, 0.09759521484375, 0.14916992187...
embed
23175459_c0
23175459
lisp
0
Title: Why does TCO require support from the VM? Problem title: Why does TCO require support from the VM? Tags: tail-call-optimization, tail-recursion, lisp, clojure Problem: Why does TCO require support from the VM? Some VMs, most notably the JVM, are said to not support TCO. As a result, language like Clojure require...
Why does TCO require support from the VM? Why does TCO require support from the VM? tail-call-optimization tail-recursion lisp clojure support the Why TCO Why does TCO require support from the VM? Some VMs, most notably the JVM, are said to not support TCO. As a result, language like Clojure require the user to use loo...
[ 0.00787353515625, 0.01806640625, 0.0106201171875, 0.045654296875, 0.02197265625, -0.01007080078125, 0.0076904296875, -0.017578125, 0.0003223419189453125, -0.02685546875, 0.004669189453125, -0.005035400390625, -0.0206298828125, 0.007568359375, 0.02490234375, -0.0211181640625, 0.005187...
[ 44084, 384, 9688, 64209, 8060, 1295, 43084, 14602, 46741, 85763, 100433, 107, 48650, 400, 7008, 20450, 461, 821, 47599, 959, 46876, 51053, 38937, 4527, 40956, 43852, 42, 64457, 831, 456, 434, 18781, 15970, 11782, 7, 31461, 15403, 11853, 183...
[ 0.1229248046875, 0.111083984375, 0.2491455078125, 0.1751708984375, 0.2171630859375, 0.06365966796875, 0.2210693359375, 0.02130126953125, 0.2039794921875, 0.181640625, 0.1221923828125, 0.1427001953125, 0.1290283203125, 0.052886962890625, 0.1112060546875, 0.0992431640625, 0.16540527343...
embed
1997838_c0
1997838
lisp
0
Title: What are the good "rich" IDEs for Lisp? Problem title: What are the good "rich" IDEs for Lisp? Tags: ide, lisp, eclipse, common-lisp Problem: What are the good "rich" IDEs for Lisp? What are the good "rich" IDEs for Lisp? To clarify by "rich" I mean it should have a good look-up reference, au...
What are the good "rich" IDEs for Lisp? What are the good "rich" IDEs for Lisp? ide lisp eclipse common-lisp What IDEs Lisp What are the good "rich" IDEs for Lisp? What are the good "rich" IDEs for Lisp? To clarify by "rich" I mean it should have a good look-up reference, auto complete, auto inclusi...
[ 0.01092529296875, 0.0213623046875, -0.006744384765625, 0.005889892578125, -0.0026397705078125, 0.017822265625, 0.0076904296875, 0.024169921875, 0.00250244140625, -0.005340576171875, 0.024658203125, -0.00457763671875, -0.02001953125, 0.01190185546875, 0.0078125, 0.002471923828125, -0....
[ 4127, 26932, 36497, 7, 100, 1261, 7008, 5415, 400, 106371, 184, 39210, 4086, 254, 4865, 17306, 5608, 6713, 91067, 1809, 28484, 190440, 175199, 98352, 8060, 11389, 24365, 9069, 21130, 151301, 208124, 3773, 3871, 11814, 234962, 14037, 36587, 94...
[ 0.1533203125, 0.2042236328125, 0.27099609375, 0.133544921875, 0.07666015625, 0.19482421875, 0.255126953125, 0.1783447265625, 0.126708984375, 0.1622314453125, 0.099365234375, 0.1270751953125, 0.1273193359375, 0.2041015625, 0.05926513671875, 0.081298828125, 0.012481689453125, 0.07427...
embed
19897379_c0
19897379
lisp
0
Title: '('(LIST) 'NIL 'NIL) should be a lambda expression in (hanoi('('(list)'()'()))) Problem title: '('(LIST) 'NIL 'NIL) should be a lambda expression in (hanoi('('(list)'()'()))) Tags: common-lisp, towers-of-hanoi, lisp Problem: '('(LIST...
'('(LIST) 'NIL 'NIL) should be a lambda expression in (hanoi('('(list)'()'()))) '('(LIST) 'NIL 'NIL) should be a lambda expression in (hanoi('('(list)'()'()))) common-lisp towers-of-hanoi lisp LIST NIL '('(LIST) 'NIL 'NIL) should be a lambd...
[ 0.003662109375, 0.0072021484375, 0.00927734375, -0.00124359130859375, 0.0022430419921875, 0.01422119140625, 0.0169677734375, 0.00677490234375, 0.0027923583984375, -0.015869140625, -0.006744384765625, -0.0220947265625, -0.00750732421875, -0.007568359375, -0.01470947265625, 0.00026512145...
[ 3768, 195977, 7787, 866, 5608, 186, 21, 6492, 85, 125195, 23, 1121, 5380, 6562, 80126, 39210, 4086, 254, 47, 42844, 4390, 400, 7008, 541, 16444, 31577, 29479, 68718, 7, 111, 2548, 2448, 1810, 17721, 195625, 5844, 11782, 13695, 18499, 5443...
[ 0.0816650390625, 0.2376708984375, 0.1868896484375, 0.1981201171875, 0.121337890625, 0.03424072265625, 0.0771484375, 0.1932373046875, 0.158203125, 0.234619140625, 0.07958984375, 0.1666259765625, 0.2476806640625, 0.218017578125, 0.01531982421875, 0.11181640625, 0.0863037109375, 0.117...
embed
6197460_c0
6197460
lisp
0
Title: Trouble with Lisp macros Problem title: Trouble with Lisp macros Tags: common-lisp, lisp, macros, mcl Problem: Trouble with Lisp macros I'm trying to write a macro in Lisp that re-implements let using itself. This is a trivial exercise which has no practical purpose; however after giving a response to a related ...
Trouble with Lisp macros Trouble with Lisp macros common-lisp lisp macros mcl Trouble Lisp PRINT Trouble with Lisp macros I'm trying to write a macro in Lisp that re-implements let using itself. This is a trivial exercise which has no practical purpose; however after giving a response to a related question, I realized ...
[ -0.00286865234375, 0.0089111328125, -0.00171661376953125, 0.0225830078125, -0.005950927734375, 0.039306640625, -0.0076904296875, 0.001190185546875, -0.0125732421875, -0.025634765625, -0.01177978515625, -0.008544921875, 0.0047607421875, 0.0201416015625, 0.0107421875, -0.00775146484375, ...
[ 119671, 2661, 678, 1261, 7008, 111789, 39210, 4086, 254, 400, 34937, 10865, 59537, 31577, 33022, 456, 197648, 2633, 17368, 68034, 686, 81979, 110, 138155, 60042, 30698, 1286, 7, 2533, 6782, 8966, 41207, 4527, 37842, 9790, 104250, 18499, 79459...
[ 0.146728515625, 0.0697021484375, 0.12939453125, 0.1910400390625, 0.236328125, 0.2049560546875, 0.081298828125, 0.1236572265625, 0.1729736328125, 0.10888671875, 0.07147216796875, 0.171875, 0.1429443359375, 0.043975830078125, 0.0784912109375, 0.0792236328125, 0.150146484375, 0.174926...
embed
17866151_c0
17866151
lisp
0
Title: How does Lisp function remember state in this code? Problem title: How does Lisp function remember state in this code? Tags: state, static, lisp Problem: How does Lisp function remember state in this code? I saw a piece of code from the website http://www.ccs.neu.edu/home/shivers/newstyle.html : > (defun element...
How does Lisp function remember state in this code? How does Lisp function remember state in this code? state static lisp How Lisp ELEMENT-GENERATOR LIST ELEMENTS GENERATED How does Lisp function remember state in this code? I saw a piece of code from the website http://www.ccs.neu.edu/home/shivers/newstyle.html : I do...
[ -0.0084228515625, 0.025634765625, -0.003936767578125, 0.0177001953125, -0.0128173828125, 0.0257568359375, -0.023193359375, 0.005645751953125, -0.003570556640625, -0.044921875, 0.0024261474609375, -0.000732421875, -0.0086669921875, 0.0162353515625, 0.008544921875, -0.006683349609375, ...
[ 11249, 14602, 1261, 7008, 32354, 37629, 11341, 23, 903, 18151, 201939, 400, 9780, 124661, 39018, 24947, 27010, 195977, 109141, 66458, 24124, 4165, 10060, 50901, 15246, 3767, 7864, 54936, 40946, 7693, 2301, 18, 28219, 3642, 7, 70, 15265, 5983,...
[ 0.11767578125, 0.0780029296875, 0.18359375, 0.25439453125, 0.1954345703125, 0.24365234375, 0.2391357421875, 0.0278778076171875, 0.04443359375, 0.153076171875, 0.1536865234375, 0.15576171875, 0.11279296875, 0.1375732421875, 0.119384765625, 0.1519775390625, 0.107666015625, 0.17150878...
embed
25340360_c0
25340360
lisp
0
Title: Is this really a breadth first search Problem title: Is this really a breadth first search Tags: scheme, on-lisp, common-lisp, lisp, tree Problem: Is this really a breadth first search There is a piece of pseudo code of a breadth first search on P.303 of OnLisp which is show below. For the graph below, it will f...
Is this really a breadth first search Is this really a breadth first search scheme on-lisp common-lisp lisp tree node1 node2 Is this really a breadth first search There is a piece of pseudo code of a breadth first search on P.303 of OnLisp which is show below. For the graph below, it will first process node 1, and then...
[ 0.0167236328125, 0.0201416015625, 0.00099945068359375, 0.02783203125, -0.015869140625, 0.01007080078125, -0.0184326171875, -0.0213623046875, -0.0128173828125, -0.033447265625, -0.006866455078125, -0.01434326171875, -0.0107421875, 0.004180908203125, -0.00311279296875, -0.015380859375, ...
[ 2071, 903, 6183, 10, 179967, 927, 5117, 33938, 150370, 98, 4086, 254, 39210, 400, 7008, 53201, 110, 112, 418, 304, 63847, 74189, 18151, 1197, 363, 2161, 9506, 7639, 35064, 41382, 9433, 106, 3884, 116, 138, 201, 41, 720, 11782, 68034, 17...
[ 0.057861328125, 0.1463623046875, 0.164306640625, 0.090087890625, 0.23388671875, 0.16259765625, 0.175048828125, 0.25, 0.186279296875, 0.1361083984375, 0.07562255859375, 0.126953125, 0.09844970703125, 0.08380126953125, 0.186767578125, 0.157958984375, 0.1142578125, 0.0936279296875, ...
embed
19068669_c0
19068669
lisp
0
Title: LISP Changing a global variable value in a local function Problem title: LISP Changing a global variable value in a local function Tags: lisp, global-variables Problem: LISP Changing a global variable value in a local function I am a novice in the field of lisp... i am writing a code to solve the 8 puzzle in bfs...
LISP Changing a global variable value in a local function LISP Changing a global variable value in a local function lisp global-variables LISP Changing NIL LISP Changing a global variable value in a local function I am a novice in the field of lisp... i am writing a code to solve the 8 puzzle in bfs... I want to store ...
[ -0.000873565673828125, 0.0172119140625, 0.01251220703125, 0.00213623046875, 0.003631591796875, 0.004547119140625, -0.0269775390625, 0.004913330078125, -0.004791259765625, -0.0135498046875, 0.01495361328125, 0.0216064453125, 0.006378173828125, -0.01226806640625, -0.005645751953125, -0.0...
[ 16970, 9434, 108193, 214, 7964, 77336, 34292, 23, 4000, 32354, 400, 7008, 21690, 19736, 541, 16444, 444, 95968, 44457, 32562, 18151, 86869, 382, 104192, 876, 17447, 3444, 4343, 36997, 5303, 15549, 186085, 28032, 8, 420, 6276, 29089, 1632, 7...
[ 0.1568603515625, 0.2354736328125, 0.222412109375, 0.0343017578125, 0.1826171875, 0.2333984375, 0.173828125, 0.038177490234375, 0.1629638671875, 0.182861328125, 0.137451171875, 0.2066650390625, 0.159912109375, 0.04791259765625, 0.0821533203125, 0.1256103515625, 0.00042724609375, 0.1...
embed
73888030_c0
73888030
lisp
0
Title: How can I return values from a hash table in Common Lisp? Problem title: How can I return values from a hash table in Common Lisp? Tags: lisp, common-lisp, hashtable Problem: How can I return values from a hash table in Common Lisp? I'm having trouble getting my hash table to reliably return values and I wonder ...
How can I return values from a hash table in Common Lisp? How can I return values from a hash table in Common Lisp? lisp common-lisp hashtable a How Common Lisp How can I return values from a hash table in Common Lisp? I'm having trouble getting my hash table to reliably return values and I wonder whether someone might...
[ -0.0159912109375, 0.004486083984375, -0.00714111328125, 0.00189208984375, -0.01177978515625, -0.01324462890625, 0.00982666015625, 0.00421142578125, -0.00982666015625, 0.00138092041015625, 0.0086669921875, 0.01312255859375, -0.0045166015625, 0.0228271484375, -0.0020904541015625, 0.00506...
[ 11249, 831, 30646, 142424, 1295, 1556, 127, 23180, 151301, 1261, 7008, 23, 400, 39210, 4086, 254, 22819, 10, 63134, 28702, 115992, 26176, 3509, 864, 126234, 64552, 77336, 147453, 80854, 61475, 9351, 837, 275, 1528, 16401, 38937, 139392, 34292...
[ 0.08624267578125, 0.086181640625, 0.257568359375, 0.2305908203125, 0.151123046875, 0.1807861328125, 0.1552734375, 0.2237548828125, 0.1829833984375, 0.16552734375, 0.2200927734375, 0.033538818359375, 0.093994140625, 0.1055908203125, 0.098876953125, 0.1295166015625, 0.1622314453125, ...
embed
67144625_c0
67144625
lisp
0
Title: Can one use cons to do ((a . b) . (c . d)) and if not any other means or dot pair cannot have 2nd element like this? Problem title: Can one use cons to do ((a . b) . (c . d)) and if not any other means or dot pair cannot have 2nd element like this? Tags: repl-printed-representation, lisp, scheme Problem: Can one...
Can one use cons to do ((a . b) . (c . d)) and if not any other means or dot pair cannot have 2nd element like this? Can one use cons to do ((a . b) . (c . d)) and if not any other means or dot pair cannot have 2nd element like this? repl-printed-representation lisp scheme Can z00 z01 z10 z11 Can one use cons to do ((a...
[ -0.00823974609375, 0.025390625, -0.00982666015625, 0.00830078125, -0.005767822265625, 0.0019073486328125, -0.019775390625, -0.005706787109375, 0.0052490234375, -0.0157470703125, 0.001922607421875, -0.0022735595703125, 0.0166015625, -0.019775390625, -0.0089111328125, -0.0150146484375, ...
[ 4171, 4527, 158, 7, 47, 54, 60494, 876, 238, 104, 26950, 20633, 80836, 53418, 116, 2208, 12830, 1884, 1632, 11, 903, 456, 2424, 35662, 205913, 400, 7008, 150370, 97, 7049, 6746, 963, 1662 ]
[ 0.0950927734375, 0.1163330078125, 0.210693359375, 0.1630859375, 0.03424072265625, 0.07379150390625, 0.052703857421875, 0.09442138671875, 0.0194091796875, 0.1346435546875, 0.0787353515625, 0.0860595703125, 0.1083984375, 0.0941162109375, 0.068603515625, 0.0697021484375, 0.14794921875, ...
embed
19994681_c0
19994681
lisp
0
Title: How can eval handle a function in this way Problem title: How can eval handle a function in this way Tags: common-lisp, lisp Problem: How can eval handle a function in this way I am trying to see how the data vs code substitution works when using something like eval in a function that lets me pass in any of the ...
How can eval handle a function in this way How can eval handle a function in this way common-lisp lisp How How can eval handle a function in this way I am trying to see how the data vs code substitution works when using something like eval in a function that lets me pass in any of the print commands like print princ et...
[ 0.00958251953125, 0.01519775390625, 0.003875732421875, 0.005706787109375, 0.0157470703125, -0.0009918212890625, 0.0128173828125, -0.01007080078125, 0.001983642578125, -0.036376953125, -0.0164794921875, -0.0174560546875, 0.0012359619140625, -0.0089111328125, -0.00567626953125, -0.011535...
[ 11249, 831, 28, 1405, 34831, 10, 32354, 903, 3917, 39210, 4086, 254, 400, 7008, 2053, 20209, 18151, 161740, 1830, 43240, 27875, 28412, 75101, 2448, 238, 7986, 4527, 140992, 18, 11675, 37842, 143834, 132283, 1884, 19048, 35662, 6954, 94261, ...
[ 0.1005859375, 0.10205078125, 0.1435546875, 0.313232421875, 0.221923828125, 0.0299835205078125, 0.2266845703125, 0.1136474609375, 0.128173828125, 0.119384765625, 0.06573486328125, 0.13525390625, 0.0616455078125, 0.1533203125, 0.112060546875, 0.1217041015625, 0.178955078125, 0.137207...
embed
47754444_c0
47754444
lisp
0
Title: Changing local variables in (Common) lisp? Problem title: Changing local variables in (Common) lisp? Tags: common-lisp, lisp Problem: Changing local variables in (Common) lisp? I just stumbled across this phenomenon while trying to implement a simple function that is counting the number of letters in a list. Thi...
Changing local variables in (Common) lisp? Changing local variables in (Common) lisp? common-lisp lisp Changing Common Changing local variables in (Common) lisp? I just stumbled across this phenomenon while trying to implement a simple function that is counting the number of letters in a list. This is the code: Interes...
[ 0.007354736328125, 0.005340576171875, -0.0107421875, 0.017578125, 0.00096893310546875, -0.00189208984375, -0.006805419921875, -0.00506591796875, -0.0027008056640625, -0.01708984375, -0.00531005859375, 0.01165771484375, 0.0113525390625, 0.03857421875, 0.032958984375, 0.00775146484375, ...
[ 108193, 214, 4000, 77336, 7, 23, 10770, 3796, 400, 7008, 39210, 4086, 254, 151301, 29479, 8781, 32354, 54529, 14012, 120820, 5303, 18151, 11675, 7477, 1507, 40368, 20028, 61669, 1639, 13695, 101935, 1295, 4568, 11782, 51042, 71013, 217, 10, ...
[ 0.2003173828125, 0.046356201171875, 0.1641845703125, 0.2413330078125, 0.080322265625, 0.053955078125, 0.04266357421875, 0.1497802734375, 0.119384765625, 0.2078857421875, 0.1297607421875, 0.08673095703125, 0.1138916015625, 0.182861328125, 0.055206298828125, 0.0399169921875, 0.10559082...
embed
55611763_c0
55611763
lisp
0
Title: S-expressions and keeping track of source location Problem title: S-expressions and keeping track of source location Tags: lisp, common-lisp Problem: S-expressions and keeping track of source location Lisp s-expressions are a concise and flexible way to represent code as an abstract syntax tree. Relative to the ...
S-expressions and keeping track of source location S-expressions and keeping track of source location lisp common-lisp S-expressions S-expressions and keeping track of source location Lisp s-expressions are a concise and flexible way to represent code as an abstract syntax tree. Relative to the more specialized data st...
[ 0.015380859375, 0.0286865234375, 0.00384521484375, 0.003753662109375, -0.0024871826171875, 0.0096435546875, 0.009033203125, 0.0028533935546875, 0.00124359130859375, -0.02490234375, 0.00921630859375, 0.01361083984375, -0.006591796875, -0.005279541015625, 0.00750732421875, 0.007995605468...
[ 159, 9, 204629, 7, 136, 120260, 28560, 31344, 31913, 400, 7008, 39210, 4086, 254, 1261, 91, 158, 318, 110677, 3917, 33636, 18151, 237, 164789, 6002, 86531, 53201, 5361, 2053, 45646, 11814, 9969, 34759, 3789, 46876, 1632, 79442, 12620, 34844...
[ 0.2034912109375, 0.0419921875, 0.26171875, 0.1279296875, 0.011138916015625, 0.1053466796875, 0.21533203125, 0.216796875, 0.2086181640625, 0.10595703125, 0.237548828125, 0.1214599609375, 0.113037109375, 0.14453125, 0.1744384765625, 0.19287109375, 0.1497802734375, 0.1395263671875, ...
embed
4888480_c0
4888480
lisp
0
Title: Practical use of curried functions? Problem title: Practical use of curried functions? Tags: haskell, functional-programming, scheme, currying, lisp Problem: Practical use of curried functions? There are tons of tutorials on how to curry functions, and as many questions here at stackoverflow. However, after read...
Practical use of curried functions? Practical use of curried functions? haskell functional-programming scheme currying lisp Practical Practical use of curried functions? There are tons of tutorials on how to curry functions, and as many questions here at stackoverflow. However, after reading The Little Schemer, several...
[ 0.0067138671875, -0.000362396240234375, 0.01483154296875, -0.00970458984375, 0.01171875, 0.01141357421875, -0.00188446044921875, 0.006103515625, 0.0128173828125, -0.01458740234375, 0.01123046875, -0.035400390625, -0.005645751953125, -0.000522613525390625, -0.0093994140625, -0.001937866...
[ 109613, 289, 4527, 111, 9709, 46572, 32354, 7, 1556, 142508, 123309, 28966, 150370, 198555, 214, 400, 7008, 124062, 57143, 3642, 47, 17582, 177261, 5465, 118664, 16454, 581, 59784, 34702, 1991, 42840, 7464, 18, 3714, 35166, 8781, 9655, 52231,...
[ 0.234619140625, 0.090087890625, 0.1846923828125, 0.08868408203125, 0.181884765625, 0.255615234375, 0.240478515625, 0.075927734375, 0.1153564453125, 0.23876953125, 0.1728515625, 0.1099853515625, 0.1475830078125, 0.291259765625, 0.1998291015625, 0.0941162109375, 0.138916015625, 0.023...
embed
61094156_c0
61094156
lisp
0
Title: Macro expanding to same operator Problem title: Macro expanding to same operator Tags: macros, common-lisp, lisp Problem: Macro expanding to same operator Many Lisp-family languages have a little bit of syntax sugar for things like addition or comparison allowing more than two operands, if optionally omitting th...
Macro expanding to same operator Macro expanding to same operator macros common-lisp lisp Macro Macro expanding to same operator Many Lisp-family languages have a little bit of syntax sugar for things like addition or comparison allowing more than two operands, if optionally omitting the alternate branch etc. There wou...
[ 0.03515625, 0.0185546875, 0.00897216796875, 0.02490234375, 0.02490234375, 0.0028228759765625, 0.01611328125, 0.0059814453125, -0.00180816650390625, -0.033447265625, 0.01007080078125, -0.015625, 0.010009765625, -0.017822265625, 0.0002899169921875, -0.0084228515625, -0.0233154296875, ...
[ 4727, 516, 71062, 47, 5701, 39933, 111789, 39210, 4086, 254, 400, 7008, 1261, 212122, 46876, 10176, 4785, 6002, 86531, 101087, 66044, 225490, 190358, 1286, 6626, 6264, 2208, 35829, 171, 75939, 32845, 206, 2806, 29479, 678, 22183, 876, 501, ...
[ 0.1275634765625, 0.15185546875, 0.2255859375, 0.087158203125, 0.1455078125, 0.2484130859375, 0.2093505859375, 0.0601806640625, 0.0767822265625, 0.138916015625, 0.07763671875, 0.1868896484375, 0.1221923828125, 0.08880615234375, 0.1588134765625, 0.059051513671875, 0.061248779296875, ...
embed
46989246_c1
46989246
lisp
1
l) (cond ((or (null l) (atom l)) ;;; "You don't need an `or` here"* (format t "~s" l)) (t (format t "[") (do ((lst l (cdr lst))) ((null lst) (format t"]")) ;;; Though `null` is the usual test for end of lists, it's not the right one ;;; here, because the lists might not end with `NIL`. Use a different equally ;;; simpl...
l) (cond ((or (null l) (atom l)) ;;; "You don't need an `or` here"* (format t "~s" l)) (t (format t "[") (do ((lst l (cdr lst))) ((null lst) (format t"]")) ;;; Though `null` is the usual test for end of lists, it's not the right one ;;; here, because the lists might not end with `NIL`. Use a different equally ;;; simpl...
[ -0.01153564453125, 0.01055908203125, -0.000324249267578125, 0.015625, -0.015869140625, 0.0169677734375, 0.01385498046875, -0.01409912109375, -0.00153350830078125, 0.002960205078125, -0.0028076171875, -0.031005859375, -0.01611328125, 0.006134033203125, -0.00640869140625, 0.0186767578125...
[ 96, 16, 2271, 71, 60494, 748, 139550, 5928, 157724, 23562, 2301, 18, 3871, 142, 1135, 3688, 1639, 51727, 808, 2306, 7, 246, 271, 7569, 115723, 3034, 3564, 111, 5303, 7108, 7787, 866, 36836, 12921, 105950, 8781, 756, 35604, 3444, 34831, ...
[ 0.1405029296875, 0.01263427734375, 0.083984375, 0.0755615234375, 0.05804443359375, 0.2054443359375, 0.2396240234375, 0.172607421875, 0.10675048828125, 0.006500244140625, 0.068115234375, 0.1109619140625, 0.150146484375, 0.016693115234375, 0.027740478515625, 0.156982421875, 0.000305175...
embed
55671059_c1
55671059
lisp
1
system) 100.00% CPU 520,386 processor cycles 145,696 bytes consed CL-USER> (time (ch17:reverse1 *test-list*)) Evaluation took: 0.000 seconds of real time 0.000000 seconds of total run time (0.000000 user, 0.000000 system) 100.00% CPU 264,700 processor cycles 161,504 bytes consed The second and third test runs (which w...
system) 100.00% CPU 520,386 processor cycles 145,696 bytes consed CL-USER> (time (ch17:reverse1 *test-list*)) Evaluation took: 0.000 seconds of real time 0.000000 seconds of total run time (0.000000 user, 0.000000 system) 100.00% CPU 264,700 processor cycles 161,504 bytes consed The second and third test runs (which w...
[ -0.00506591796875, 0.006378173828125, 0.01324462890625, 0.00994873046875, 0.005279541015625, -0.00445556640625, -0.0028228759765625, 0.031005859375, -0.004241943359375, 0.0002727508544921875, -0.0038909912109375, 0.03564453125, -0.01202392578125, 0.003997802734375, 0.0020599365234375, ...
[ 5426, 209, 37509, 3949, 86039, 123363, 105742, 14543, 42, 105823, 47964, 196325, 390, 1636, 158, 5281, 46323, 1062, 50184, 2740, 6032, 206, 2489, 107, 37676, 418, 6954, 6562, 151228, 34739, 757, 8557, 94131, 2773, 1733, 197094, 11675, 38937, ...
[ 0.1561279296875, 0.057952880859375, 0.125244140625, 0.043701171875, 0.185546875, 0.11669921875, 0.1368408203125, 0.101318359375, 0.06573486328125, 0.15576171875, 0.085693359375, 0.1219482421875, 0.1348876953125, 0.1455078125, 0.19140625, 0.237548828125, 0.0914306640625, 0.143920898...
embed
20345812_c0
20345812
lisp
0
Title: Two simple push functions; one permanently mutates global var, other doesn't, why? Problem title: Two simple push functions; one permanently mutates global var, other doesn't, why? Tags: common-lisp, lisp, sbcl Problem: Two simple push functions; one permanently mutates global var, other doesn't, why? ...
Two simple push functions; one permanently mutates global var, other doesn't, why? Two simple push functions; one permanently mutates global var, other doesn't, why? common-lisp lisp sbcl Two CL-USER SOMETHING Two simple push functions; one permanently mutates global var, other doesn't, why? Here are two simp...
[ 0.0166015625, 0.0128173828125, -0.0218505859375, 0.005767822265625, -0.0006103515625, 0.05029296875, -0.005828857421875, 0.00049591064453125, 0.0185546875, -0.0220947265625, 0.0233154296875, 0.01239013671875, -0.0062255859375, -0.01068115234375, 0.024169921875, 0.01275634765625, -0.0...
[ 32964, 8781, 25944, 32354, 7, 1632, 28123, 31158, 90, 7964, 285, 3789, 22027, 3768, 18, 15400, 39210, 4086, 254, 400, 7008, 34937, 46323, 1062, 50184, 33677, 191226, 6626, 4527, 98, 77336, 115081, 23, 112, 16498, 9, 56644, 1961, 7332, 100...
[ 0.12841796875, 0.1522216796875, 0.2393798828125, 0.1944580078125, 0.04742431640625, 0.037841796875, 0.172607421875, 0.17529296875, 0.0986328125, 0.1126708984375, 0.1678466796875, 0.05120849609375, 0.06451416015625, 0.03033447265625, 0.104736328125, 0.0980224609375, 0.06793212890625, ...
embed
55129038_c0
55129038
lisp
0
Title: How is it possible that a function can call itself Problem title: How is it possible that a function can call itself Tags: computer-science, environment, lisp, recursion Problem: How is it possible that a function can call itself I know about recursion, but I don't know how it's possible. I'll use the fallowing ...
How is it possible that a function can call itself How is it possible that a function can call itself computer-science environment lisp recursion How y-1 How is it possible that a function can call itself I know about recursion, but I don't know how it's possible. I'll use the fallowing example to further explain my qu...
[ -0.01055908203125, -0.00185394287109375, 0.0113525390625, 0.034912109375, 0.00750732421875, 0.01397705078125, -0.0007781982421875, 0.01171875, 0.01226806640625, -0.03125, -0.000156402587890625, -0.0286865234375, -0.03369140625, 0.01153564453125, 0.036865234375, 0.00445556640625, 0.01...
[ 11249, 83, 442, 7722, 10, 32354, 831, 11782, 68034, 13909, 175201, 65998, 400, 7008, 195625, 1830, 113, 5759, 450, 3714, 3642, 1238, 190358, 27781, 1528, 1261, 46876, 6002, 86531, 26785, 10336, 13204, 23827, 28219, 19048, 64557, 7968, 731, ...
[ 0.0977783203125, 0.03955078125, 0.0201416015625, 0.2161865234375, 0.0528564453125, 0.2568359375, 0.1470947265625, 0.2291259765625, 0.239013671875, 0.147216796875, 0.0728759765625, 0.0985107421875, 0.08642578125, 0.1580810546875, 0.18994140625, 0.067138671875, 0.06890869140625, 0.08...
embed
67679910_c0
67679910
lisp
0
Title: Improving an iterative function in scheme Problem title: Improving an iterative function in scheme Tags: lisp, scheme, sicp Problem: Improving an iterative function in scheme I often struggle writing iterative functions in scheme: it makes writing recursive procedures much simpler. Here is an example of trying t...
Improving an iterative function in scheme Improving an iterative function in scheme lisp scheme sicp Improving Improving an iterative function in scheme I often struggle writing iterative functions in scheme: it makes writing recursive procedures much simpler. Here is an example of trying to square items in a list usin...
[ -0.002899169921875, 0.000492095947265625, 0.007171630859375, 0.00482177734375, -0.004058837890625, -0.003265380859375, -0.026611328125, -0.01611328125, 0.00384521484375, -0.0146484375, 0.01708984375, 0.0107421875, -0.020751953125, -0.0024871826171875, 0.004638671875, 0.01458740234375, ...
[ 3370, 70628, 214, 17, 720, 45023, 32354, 23, 150370, 400, 7008, 26536, 254, 27983, 151994, 32562, 30482, 195625, 5844, 50491, 5045, 8781, 42, 27781, 31577, 47, 108047, 55769, 10, 5303, 17368, 5201, 9655, 3917, 54, 903, 15490, 19441, 5117, ...
[ 0.0650634765625, 0.1885986328125, 0.004852294921875, 0.0938720703125, 0.23095703125, 0.2088623046875, 0.1864013671875, 0.06658935546875, 0.2364501953125, 0.05303955078125, 0.140869140625, 0.0567626953125, 0.122802734375, 0.046478271484375, 0.1212158203125, 0.138427734375, 0.040557861...
embed
49179079_c0
49179079
lisp
0
Title: Common Lisp Applying Regex-like Patterns to Keys in PLIST Problem title: Common Lisp Applying Regex-like Patterns to Keys in PLIST Tags: common-lisp, lisp, plist, regex Problem: Common Lisp Applying Regex-like Patterns to Keys in PLIST I am wondering if it is possible to apply Regex-like pattern matching to keys...
Common Lisp Applying Regex-like Patterns to Keys in PLIST Common Lisp Applying Regex-like Patterns to Keys in PLIST common-lisp lisp plist regex Common Lisp Applying Regex-like Patterns Keys PLIST input1 input2 input3 output1 output2 Common Lisp Applying Regex-like Patterns to Keys in PLIST I am wondering if it is poss...
[ -0.0150146484375, 0.015869140625, -0.005126953125, -0.0162353515625, -0.000835418701171875, -0.0035247802734375, 0.0003910064697265625, 0.006439208984375, 0.0196533203125, 0.00714111328125, 0.02099609375, 0.020263671875, 0.0169677734375, -0.0126953125, -0.01251220703125, 0.008850097656...
[ 151301, 1261, 7008, 5659, 538, 11678, 3355, 5062, 9876, 22766, 47, 26824, 7, 436, 195977, 39210, 4086, 254, 400, 4655, 271, 6835, 107730, 304, 363, 140992, 23, 149016, 7722, 59911, 103510, 14858, 22799, 5303, 1884, 106, 138, 6056, 209, 38...
[ 0.140869140625, 0.142822265625, 0.154052734375, 0.0797119140625, 0.0288543701171875, 0.156494140625, 0.2176513671875, 0.1256103515625, 0.1351318359375, 0.1246337890625, 0.0797119140625, 0.195068359375, 0.05322265625, 0.057464599609375, 0.2105712890625, 0.07415771484375, 0.06433105468...
embed
4874744_c0
4874744
lisp
0
Title: Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? Problem title: Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? Tags: lisp, ruby, scheme, erlang Problem: Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? How useful is the feature of having an atom data ...
Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? lisp ruby scheme erlang Lisp Erlang Atoms Ruby Scheme Symbols How Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they? How useful is the feature of having an atom dat...
[ 0.015869140625, 0.01416015625, 0.010009765625, 0.0052490234375, -0.01556396484375, -0.0098876953125, -0.015869140625, 0.010986328125, -0.025634765625, -0.01708984375, 0.00604248046875, -0.0252685546875, 0.024658203125, 0.004730224609375, 0.0016937255859375, 0.01300048828125, -0.02050...
[ 1261, 7008, 136, 1004, 3066, 69728, 7, 158189, 34702, 282, 131899, 11249, 80234, 1836, 400, 21922, 53, 150370, 72, 621, 60213, 19441, 34627, 2053, 10644, 56037, 46876, 10846, 23755, 707, 26582, 47, 33636, 53697, 12096, 60212, 9506, 4537, 57...
[ 0.170654296875, 0.2218017578125, 0.107421875, 0.1243896484375, 0.25390625, 0.228759765625, 0.047607421875, 0.23974609375, 0.140625, 0.1466064453125, 0.24560546875, 0.07305908203125, 0.224365234375, 0.0582275390625, 0.11474609375, 0.1304931640625, 0.1219482421875, 0.1629638671875, ...
embed
4164659_c0
4164659
lisp
0
Title: GNU emacs: setting keybindings to highlight text with shift key Problem title: GNU emacs: setting keybindings to highlight text with shift key Tags: lisp, key-bindings, emacs Problem: GNU emacs: setting keybindings to highlight text with shift key I'm trying to set some keybindings to use the Shift key to highli...
GNU emacs: setting keybindings to highlight text with shift key GNU emacs: setting keybindings to highlight text with shift key lisp key-bindings emacs GNU shift_mark.el init.el Warning Wrong Debugger Reading GNU emacs: setting keybindings to highlight text with shift key I'm trying to set some keybindings to use the S...
[ 0.004791259765625, 0.01409912109375, 0.003509521484375, -0.0123291015625, 0.006072998046875, 0, -0.00372314453125, -0.005859375, -0.00103759765625, 0.019287109375, 0.0118408203125, 0.018798828125, -0.0208740234375, 0.01458740234375, -0.014892578125, 0.003143310546875, -0.010986328125...
[ 165132, 352, 2263, 7, 53550, 22799, 128239, 127308, 7986, 678, 122925, 400, 7008, 10015, 583, 217, 5550, 35133, 262, 978, 21407, 104951, 5423, 4527, 8294, 2480, 36719, 1428, 58994, 61170, 3444, 1884, 19048, 64194, 151268, 24234, 4448, 34695, ...
[ 0.1513671875, 0.0830078125, 0.1588134765625, 0.0858154296875, 0.1263427734375, 0.166015625, 0.236083984375, 0.2449951171875, 0.1688232421875, 0.0265655517578125, 0.2177734375, 0.02593994140625, 0.11474609375, 0.19287109375, 0.13720703125, 0.09735107421875, 0.036346435546875, 0.0718...
embed
4304268_c0
4304268
lisp
0
Title: Merge 2 sorted lists Problem title: Merge 2 sorted lists Tags: lisp Problem: Merge 2 sorted lists I've been asked to come up with as many solutions as possible to the following problem: Write a function which takes two lists of numbers (both assumed to be in ascending order) and merges them into a single list (a...
Merge 2 sorted lists Merge 2 sorted lists lisp Merge list1 list2 Merge 2 sorted lists I've been asked to come up with as many solutions as possible to the following problem: My first solutions was to append list1 onto list2 and then re- sort . Then I found a built-in merge . Then I decided to actually implement a solut...
[ 0.01239013671875, 0.033935546875, 0.01531982421875, -0.000850677490234375, 0.006072998046875, 0.0218505859375, -0.0184326171875, 0.007232666015625, 0.0118408203125, -0.014404296875, 0.01171875, -0.00408935546875, -0.0009002685546875, 0.015869140625, 0.00836181640625, -0.01348876953125,...
[ 6035, 429, 116, 17497, 71, 5303, 400, 7008, 418, 304, 7, 37170, 1257, 5941, 51347, 7722, 25632, 2967, 5117, 114689, 188, 456, 12096, 14037, 88303, 73, 42564, 20653, 29479, 29806, 35978, 46741, 195625, 5844, 32354, 3095, 4734, 43240, 1614, ...
[ 0.2137451171875, 0.10369873046875, 0.1947021484375, 0.2286376953125, 0.125, 0.2479248046875, 0.040771484375, 0.10589599609375, 0.03570556640625, 0.1368408203125, 0.035919189453125, 0.041015625, 0.01544189453125, 0.03509521484375, 0.147216796875, 0.0076904296875, 0.0467529296875, 0....
embed
13696165_c0
13696165
lisp
0
Title: Variable in closure Problem title: Variable in closure Tags: closures, clisp, lambda, lisp Problem: Variable in closure > (defun hib (f1 f2) (cons (function (lambda () (setq f2 (+ f1 (setq f1 f2)))) ) (function (lambda () (list 88 f1 f2 99 )) ) ) ) hib > (setq hib1 (hib 1 1)) (#<function :lambda nil (setq f2 (+ ...
Variable in closure Variable in closure closures clisp lambda lisp Variable hib1 hib2 Variable in closure Why (funcall (car hib1)) would change f1 and f2 in (cdr hib1) ? Why (funcall (car hib1)) would NOT change f1 and f2 in (cdr hib2) ?
[ 0.0194091796875, 0.0118408203125, -0.0025634765625, 0.01031494140625, 0.0057373046875, 0.00189208984375, -0.005462646484375, 0.038818359375, 0.003662109375, 0.00005030632019042969, -0.0113525390625, 0.007354736328125, -0.000904083251953125, 0.013427734375, 0.033203125, 0.00263977050781...
[ 84572, 2886, 23, 170224, 95701, 7008, 6492, 85, 400, 26036, 418, 304, 6, 44084, 16498, 85763, 3284, 17727, 16, 2806, 15549, 1238, 136, 7569, 86725, 10461 ]
[ 0.2017822265625, 0.1451416015625, 0.143798828125, 0.252197265625, 0.06640625, 0.1663818359375, 0.1197509765625, 0.08746337890625, 0.0587158203125, 0.189697265625, 0.11090087890625, 0.16650390625, 0.0217132568359375, 0.1063232421875, 0.11248779296875, 0.238037109375, 0.1644287109375, ...
embed
10382001_c0
10382001
lisp
0
Title: Constraint network in Objective-C Problem title: Constraint network in Objective-C Tags: objective-c, sicp, macos, lisp, constraint-programming Problem: Constraint network in Objective-C I'm writing an Objective C application on Mac OS X 10.7, and I need to solve a problem with arithmetic constraints. For exampl...
Constraint network in Objective-C Constraint network in Objective-C objective-c sicp macos lisp constraint-programming Constraint Objective-C Constraint network in Objective-C I'm writing an Objective C application on Mac OS X 10.7, and I need to solve a problem with arithmetic constraints. For example, I have two equa...
[ 0.01953125, 0.0162353515625, -0.010498046875, 0.036865234375, 0.0072021484375, -0.005462646484375, -0.02294921875, 0.01220703125, -0.010009765625, -0.035888671875, -0.0260009765625, -0.0224609375, 0.00116729736328125, -0.00421142578125, 0.0179443359375, 0.004852294921875, 0.013916015...
[ 1657, 2816, 4288, 33120, 23, 134549, 5844, 441, 151814, 238, 26536, 254, 7840, 400, 7008, 158, 28966, 9, 32562, 313, 38415, 98, 4727, 11787, 1193, 4068, 966, 3871, 86869, 2967, 8962, 282, 765, 6626, 13722, 100, 148734, 449, 10, 136, 876...
[ 0.0970458984375, 0.2408447265625, 0.1536865234375, 0.2000732421875, 0.00799560546875, 0.203125, 0.1640625, 0.1480712890625, 0.23388671875, 0.03350830078125, 0.040374755859375, 0.1124267578125, 0.086669921875, 0.050994873046875, 0.14111328125, 0.1085205078125, 0.0941162109375, 0.038...
embed
3222440_c0
3222440
lisp
0
Title: Stuck in a Clojure loop, need some guidance Problem title: Stuck in a Clojure loop, need some guidance Tags: lisp, if-statement, loops, clojure Problem: Stuck in a Clojure loop, need some guidance I am stuck in a Clojure loop and need help to get out. I first want to define a vector (def lawl [1 2 3 4 5]) I do (...
Stuck in a Clojure loop, need some guidance Stuck in a Clojure loop, need some guidance lisp if-statement loops clojure Stuck Clojure Stuck in a Clojure loop, need some guidance I am stuck in a Clojure loop and need help to get out. I first want to define a vector I do And get "1" in return. Now, I want a loop that get...
[ -0.0191650390625, 0.007537841796875, -0.0123291015625, 0.035400390625, 0.003936767578125, 0.00927734375, 0.0107421875, 0.002410888671875, -0.004180908203125, -0.0157470703125, -0.01336669921875, -0.006622314453125, -0.038818359375, -0.00323486328125, 0.00092315673828125, -0.00576782226...
[ 26085, 2594, 23, 51053, 461, 107, 40956, 3871, 196219, 400, 7008, 2174, 61340, 20450, 179933, 4358, 2046, 1810, 3444, 61924, 173, 18770, 54, 418, 30646, 12638, 14012, 7086, 134598, 5423, 34292, 17, 47, 17324, 92319, 54529, 21, 27751, 5608, ...
[ 0.12060546875, 0.101806640625, 0.06561279296875, 0.130615234375, 0.15576171875, 0.10052490234375, 0.1964111328125, 0.06011962890625, 0.1392822265625, 0.038238525390625, 0.133544921875, 0.1484375, 0.0989990234375, 0.095947265625, 0.164794921875, 0.0733642578125, 0.0748291015625, 0.0...
embed
4706168_c0
4706168
lisp
0
Title: Emacs Lisp: How to, an interactive buffer with REPL? Problem title: Emacs Lisp: How to, an interactive buffer with REPL? Tags: emacs, interactive, lisp, read-eval-print-loop, buffer Problem: Emacs Lisp: How to, an interactive buffer with REPL? Imagine the dunnet.el game, the eliza doctor or the IELM mode...; Thi...
Emacs Lisp: How to, an interactive buffer with REPL? Emacs Lisp: How to, an interactive buffer with REPL? emacs interactive lisp read-eval-print-loop buffer Emacs Lisp How REPL Emacs Lisp: How to, an interactive buffer with REPL? Imagine the dunnet.el game, the eliza doctor or the IELM mode...; This is, evaluating answ...
[ -0.0167236328125, -0.00457763671875, 0.0074462890625, 0.0225830078125, -0.01904296875, 0.01324462890625, 0.01556396484375, -0.006195068359375, 0.0052490234375, -0.017578125, -0.004486083984375, 0.0115966796875, -0.021728515625, 0.008056640625, 0.0257568359375, -0.018798828125, -0.000...
[ 85269, 4439, 1261, 7008, 11249, 47, 212398, 373, 18234, 678, 9069, 21130, 352, 2263, 7, 400, 12301, 1405, 35662, 28354, 142, 133196, 7524, 1179, 5, 583, 6712, 88, 7337, 22072, 75536, 37150, 13736, 151575, 35166, 105876, 17582, 5201, 20662, ...
[ 0.16748046875, 0.18701171875, 0.1583251953125, 0.2257080078125, 0.07928466796875, 0.0914306640625, 0.2386474609375, 0.1199951171875, 0.23974609375, 0.1097412109375, 0.15869140625, 0.302734375, 0.0772705078125, 0.11767578125, 0.001678466796875, 0.1236572265625, 0.1104736328125, 0.19...
embed
68749302_c1
68749302
lisp
1
{ return cons(stnode(&cons, SYMBOL), cons(stnode(&car, SYMBOL), stnode(&cdr, SYMBOL))); } There are better recursive ways to achieve the above code, but I'll cross that bridge when I get to it. At this point with so little code it isn't worth adding complexity before I can guarantee the code actually works. I've teste...
{ return cons(stnode(&cons, SYMBOL), cons(stnode(&car, SYMBOL), stnode(&cdr, SYMBOL))); } There are better recursive ways to achieve the above code, but I'll cross that bridge when I get to it. At this point with so little code it isn't worth adding complexity before I can guarantee the code actually works. I've teste...
[ -0.01348876953125, -0.00689697265625, -0.0025482177734375, 0.0213623046875, -0.0036163330078125, 0.00909423828125, -0.01275634765625, -0.0019378662109375, -0.00872802734375, -0.04638671875, -0.015380859375, -0.008056640625, 0.004638671875, -0.007049560546875, 0.0235595703125, 0.0145874...
[ 30646, 158, 7, 271, 157, 112, 1230, 25553, 159, 65311, 98335, 3284, 6138, 7569, 11522, 195625, 69307, 18151, 80728, 10176, 27140, 142027, 20653, 43240, 3034, 132, 678, 79315, 16836, 10133, 892, 6275, 36716, 4488, 5885, 2292, 56, 31215, 6998...
[ 0.1514892578125, 0.198974609375, 0.1109619140625, 0.112060546875, 0.2105712890625, 0.2230224609375, 0.0211639404296875, 0.1927490234375, 0.017822265625, 0.116455078125, 0.1495361328125, 0.1695556640625, 0.1719970703125, 0.073486328125, 0.0165252685546875, 0.0953369140625, 0.031112670...
embed
14781837_c0
14781837
lisp
0
Title: Tree reconstruction using preorder and inorder in COMMON LISP Problem title: Tree reconstruction using preorder and inorder in COMMON LISP Tags: common-lisp, lisp, tree, binary-tree, allegro-cl Problem: Tree reconstruction using preorder and inorder in COMMON LISP As I have been learning LISP and reading practic...
Tree reconstruction using preorder and inorder in COMMON LISP Tree reconstruction using preorder and inorder in COMMON LISP common-lisp lisp tree binary-tree allegro-cl preorder Tree COMMON LISP Tree reconstruction using preorder and inorder in COMMON LISP As I have been learning LISP and reading practical common lisp ...
[ 0.02783203125, 0.00189208984375, 0.0062255859375, 0.0274658203125, 0.01397705078125, 0.031494140625, -0.0208740234375, -0.0028228759765625, -0.004180908203125, -0.03955078125, 0.01239013671875, -0.010009765625, -0.003936767578125, -0.0096435546875, 0.01397705078125, 0.002349853515625, ...
[ 101344, 456, 238478, 17368, 479, 80596, 136, 23, 31436, 82707, 16970, 9434, 39210, 4086, 254, 400, 7008, 53201, 2394, 62600, 747, 8407, 34937, 52080, 16454, 138155, 44402, 86869, 179933, 2967, 51646, 51515, 4358, 20375, 28282, 1305, 1295, 191...
[ 0.2197265625, 0.08367919921875, 0.1895751953125, 0.007080078125, 0.16357421875, 0.2442626953125, 0.0855712890625, 0.114501953125, 0.04071044921875, 0.1395263671875, 0.09649658203125, 0.1444091796875, 0.1099853515625, 0.0765380859375, 0.0863037109375, 0.107666015625, 0.1114501953125, ...
embed
2933051_c0
2933051
lisp
0
Title: Clojure for a lisp illiterate Problem title: Clojure for a lisp illiterate Tags: lisp, functional-programming, clojure Problem: Clojure for a lisp illiterate I am a lifelong object-oriented programmer. My job is primarily java development, but I have experience in a number of languages. Ruby gave me my first rea...
Clojure for a lisp illiterate Clojure for a lisp illiterate lisp functional-programming clojure Clojure Clojure for a lisp illiterate I am a lifelong object-oriented programmer. My job is primarily java development, but I have experience in a number of languages. Ruby gave me my first real taste of functional programmi...
[ 0.0125732421875, 0.01287841796875, 0.00189208984375, 0.010009765625, -0.00628662109375, 0.004302978515625, 0.0022430419921875, -0.0106201171875, -0.003570556640625, -0.017578125, 0.0096435546875, -0.01708984375, -0.019775390625, 0.013671875, -0.004974365234375, -0.01116943359375, -0....
[ 51053, 461, 107, 100, 10, 400, 7008, 211, 39798, 2182, 123309, 28966, 20450, 444, 6897, 10617, 36746, 49133, 77848, 12447, 102917, 79, 330, 34754, 16981, 14012, 46876, 158189, 26038, 5117, 2773, 90365, 56037, 449, 78302, 66139, 3017, 15555, ...
[ 0.1861572265625, 0.212646484375, 0.17431640625, 0.1219482421875, 0.06500244140625, 0.1461181640625, 0.19873046875, 0.1029052734375, 0.2318115234375, 0.174560546875, 0.212890625, 0.1756591796875, 0.173828125, 0.013397216796875, 0.03216552734375, 0.0867919921875, 0.1632080078125, 0.1...
embed
13763558_c0
13763558
lisp
0
Title: child-parent-relationship Problem title: child-parent-relationship Tags: pattern-matching, lisp Problem: child-parent-relationship I am trying to do my homework. I have the following collection. (defparameter *tuples* '((has bird feathers) (color budgie yellow) (eats budgie seed) (color tweetie green) (isa tweet...
child-parent-relationship child-parent-relationship pattern-matching lisp child-parent-relationship I am trying to do my homework. I have the following collection. I need to make it working in the way to pass the following tests. I have managed to do work if I specify the value of the tweetie for example: which returns...
[ 0.00457763671875, 0.01434326171875, 0.01092529296875, 0.0002346038818359375, -0.01953125, 0.0032196044921875, 0.00994873046875, 0.0194091796875, 0.021728515625, -0.053466796875, 0.029296875, 0.0213623046875, -0.0086669921875, 0.00714111328125, 0.00130462646484375, -0.0021820068359375, ...
[ 29041, 99547, 107, 57860, 16070, 9, 103510, 98753, 214, 400, 7008, 31577, 5368, 18244, 25632, 42486, 20697, 27875, 109921, 145755, 4488, 40140, 34292, 8072, 2061, 30646, 40, 297, 1284, 17324, 3642, 831, 3249, 14858, 442, 100, 58735, 49129, ...
[ 0.1724853515625, 0.264892578125, 0.12646484375, 0.1741943359375, 0.1424560546875, 0.048431396484375, 0.2181396484375, 0.2027587890625, 0.0712890625, 0.112548828125, 0.1689453125, 0.02703857421875, 0.0197296142578125, 0.0986328125, 0.0286865234375, 0.1319580078125, 0.0389404296875, ...
embed
40096346_c0
40096346
lisp
0
Title: How to order my accumulate variable in this case on Racket? Problem title: How to order my accumulate variable in this case on Racket? Tags: functional-programming, lisp, sicp, racket Problem: How to order my accumulate variable in this case on Racket? I am coding with Racket for educational reasons. I was given...
How to order my accumulate variable in this case on Racket? How to order my accumulate variable in this case on Racket? functional-programming lisp sicp racket How Racket How to order my accumulate variable in this case on Racket? I am coding with Racket for educational reasons. I was given a task in which I should cre...
[ -0.0106201171875, 0.025146484375, -0.002838134765625, 0.0079345703125, -0.004058837890625, 0.03369140625, 0.010009765625, 0.0167236328125, 0.0018310546875, -0.031982421875, 0.020263671875, -0.027099609375, 0.010498046875, -0.000766754150390625, 0.0157470703125, 0.003143310546875, -0....
[ 11249, 47, 12989, 759, 183278, 67, 77336, 903, 7225, 98, 2552, 27853, 123309, 28966, 7008, 254, 673, 552, 6238, 162807, 66211, 28282, 32354, 15490, 46312, 53299, 5303, 237, 107730, 30646, 3853, 101935, 5117, 195625, 5844, 80934, 720, 45023, ...
[ 0.092529296875, 0.018768310546875, 0.244873046875, 0.06982421875, 0.2015380859375, 0.1458740234375, 0.255126953125, 0.00457763671875, 0.03558349609375, 0.048004150390625, 0.119873046875, 0.2337646484375, 0.095703125, 0.06146240234375, 0.0802001953125, 0.06280517578125, 0.065856933593...
embed
41475566_c0
41475566
lisp
0
Title: how to Replace an Integer with string 20 percent of the time Clojure Problem title: how to Replace an Integer with string 20 percent of the time Clojure Tags: integer, clojure, lisp Problem: how to Replace an Integer with string 20 percent of the time Clojure I need to replace an integer with a string in clojure...
how to Replace an Integer with string 20 percent of the time Clojure how to Replace an Integer with string 20 percent of the time Clojure integer clojure lisp Replace Integer Clojure factor5 BuzzFizz Boom how to Replace an Integer with string 20 percent of the time Clojure I need to replace an integer with a string in ...
[ -0.017578125, -0.0025787353515625, -0.02392578125, 0.0103759765625, 0.0010986328125, 0.0216064453125, 0.002593994140625, -0.00848388671875, 0.0025634765625, 0.01904296875, 0.00567626953125, -0.017333984375, 0.00933837890625, -0.011962890625, 0.0026702880859375, 0.00102996826171875, -...
[ 3642, 47, 853, 23935, 44401, 678, 79315, 387, 33297, 111, 1733, 51053, 461, 107, 892, 20450, 400, 7008, 31461, 758, 188272, 6159, 13894, 167240, 3871, 91995, 1505, 23, 4734, 12719, 140992, 26255, 17148, 169, 76487, 1528, 28412, 1810, 58211,...
[ 0.07183837890625, 0.01397705078125, 0.09375, 0.1817626953125, 0.215087890625, 0.074462890625, 0.2193603515625, 0.163818359375, 0.2052001953125, 0.0357666015625, 0.1053466796875, 0.147705078125, 0.1669921875, 0.1484375, 0.12451171875, 0.1348876953125, 0.032501220703125, 0.1180419921...
embed
1178078_c0
1178078
lisp
0
Title: Recommendations for a lisp setup on Mac OS X (any dialect)? Problem title: Recommendations for a lisp setup on Mac OS X (any dialect)? Tags: macos, scheme, lisp, common-lisp Problem: Recommendations for a lisp setup on Mac OS X (any dialect)? What is your Mac OS X (Intel) based lisp setup (of any dialect), how d...
Recommendations for a lisp setup on Mac OS X (any dialect)? Recommendations for a lisp setup on Mac OS X (any dialect)? macos scheme lisp common-lisp Recommendations Mac Recommendations for a lisp setup on Mac OS X (any dialect)? What is your Mac OS X (Intel) based lisp setup (of any dialect), how do you like it, and h...
[ 0.006439208984375, 0.0162353515625, 0.00384521484375, 0.01953125, -0.0107421875, 0.01318359375, 0.00152587890625, 0.006134033203125, -0.011474609375, 0.01458740234375, -0.01251220703125, -0.0000629425048828125, 0.003875732421875, -0.0019683837890625, 0.00738525390625, -0.00482177734375...
[ 277, 25965, 21094, 400, 7008, 169581, 98, 4727, 11787, 1193, 4848, 220734, 100, 291, 7840, 150370, 39210, 4086, 254, 10, 935, 185200, 35509, 2499, 3642, 1884, 24503, 7844, 509, 5423, 1257, 16487, 153450, 13, 23468, 14145, 1286, 71834, 17265...
[ 0.09002685546875, 0.10760498046875, 0.022308349609375, 0.1947021484375, 0.239501953125, 0.1795654296875, 0.013946533203125, 0.178466796875, 0.1407470703125, 0.1343994140625, 0.068115234375, 0.2193603515625, 0.007904052734375, 0.0328369140625, 0.1087646484375, 0.144287109375, 0.099609...
embed
38440855_c0
38440855
lisp
0
Title: Clisp Error: PRINC: argument is not a stream Problem title: Clisp Error: PRINC: argument is not a stream Tags: common-lisp, lisp, clisp Problem: Clisp Error: PRINC: argument is not a stream I'm trying to write to a file in Common Lisp, but I keep getting a "file is not a stream" error: [1]> (open "file.txt" :dir...
Clisp Error: PRINC: argument is not a stream Clisp Error: PRINC: argument is not a stream common-lisp lisp clisp Clisp Error PRINC file.txt Hello When Clisp Error: PRINC: argument is not a stream I'm trying to write to a file in Common Lisp, but I keep getting a "file is not a stream" error: Even attempting to close th...
[ 0.003265380859375, 0.02783203125, 0.006378173828125, -0.0003376007080078125, 0.0177001953125, 0.01092529296875, 0.0120849609375, -0.017578125, -0.01080322265625, -0.003875732421875, -0.0031890869140625, -0.01470947265625, 0.01263427734375, -0.000020265579223632812, 0.0012359619140625, ...
[ 313, 4086, 254, 212059, 29852, 36253, 10750, 83, 959, 10, 75973, 39210, 400, 7008, 95701, 11435, 124326, 35378, 14847, 12, 31577, 33022, 47, 151301, 1261, 13695, 29822, 18499, 81887, 20903, 30646, 155965, 75935, 17569, 13648, 168081, 31089, 4...
[ 0.0303955078125, 0.17724609375, 0.1951904296875, 0.1849365234375, 0.169921875, 0.185302734375, 0.28857421875, 0.118408203125, 0.1815185546875, 0.087646484375, 0.2486572265625, 0.092041015625, 0.0638427734375, 0.21826171875, 0.07623291015625, 0.1627197265625, 0.1627197265625, 0.0312...
embed
46979329_c0
46979329
lisp
0
Title: Quote Behavior With Vectors and Complex Numbers in Common Lisp Problem title: Quote Behavior With Vectors and Complex Numbers in Common Lisp Tags: quote, common-lisp, lisp Problem: Quote Behavior With Vectors and Complex Numbers in Common Lisp After playing with vectors and complex numbers in Common Lisp, I beca...
Quote Behavior With Vectors and Complex Numbers in Common Lisp Quote Behavior With Vectors and Complex Numbers in Common Lisp quote common-lisp lisp Quote Behavior Vectors Complex Numbers Common Lisp CL-USER Quote Behavior With Vectors and Complex Numbers in Common Lisp After playing with vectors and complex numbers in...
[ 0.0113525390625, 0.0267333984375, 0.0025482177734375, 0.016357421875, 0.0013427734375, -0.005218505859375, 0.00262451171875, -0.01300048828125, 0.0035858154296875, -0.01495361328125, -0.0274658203125, -0.010009765625, -0.01068115234375, 0.0169677734375, -0.025390625, 0.017333984375, ...
[ 109216, 873, 98409, 17106, 52884, 22230, 136, 113197, 103332, 151301, 1261, 7008, 66747, 39210, 4086, 254, 400, 46323, 1062, 50184, 75169, 22834, 27140, 101935, 193844, 39933, 33444, 6097, 2053, 45646, 5303, 27781, 80560, 2472, 10842, 5701, 678...
[ 0.2432861328125, 0.03765869140625, 0.1163330078125, 0.0965576171875, 0.198486328125, 0.1781005859375, 0.125, 0.1651611328125, 0.187255859375, 0.14501953125, 0.1427001953125, 0.1900634765625, 0.2464599609375, 0.087158203125, 0.049346923828125, 0.08154296875, 0.06976318359375, 0.0264...
embed
20778267_c0
20778267
lisp
0
Title: Calling another overloaded method in Lisp Problem title: Calling another overloaded method in Lisp Tags: clos, common-lisp, lisp Problem: Calling another overloaded method in Lisp I couldn't find out if this was possible, and just used a (rather ugly) workaround. Assume we've got a class structure as below: (def...
Calling another overloaded method in Lisp Calling another overloaded method in Lisp clos common-lisp lisp Calling Lisp prin1 Calling another overloaded method in Lisp I couldn't find out if this was possible, and just used a (rather ugly) workaround. Assume we've got a class structure as below: and the method: now, I w...
[ 0.0023345947265625, 0.0185546875, 0.004852294921875, 0.036865234375, 0.00872802734375, -0.001922607421875, -0.01068115234375, -0.0093994140625, 0.000926971435546875, -0.049072265625, -0.00848388671875, -0.02294921875, 0.00433349609375, 0.004425048828125, 0.0037689208984375, -0.03125, ...
[ 26265, 15700, 645, 63033, 297, 55300, 1261, 7008, 214, 20450, 39210, 4086, 254, 400, 2448, 418, 7722, 110608, 67688, 18507, 45646, 3444, 11782, 28412, 100, 11, 7068, 275, 66596, 50986, 55741, 32354, 32316, 4488, 28282, 142, 36746, 10644, 10...
[ 0.1494140625, 0.08721923828125, 0.115966796875, 0.201416015625, 0.06927490234375, 0.1812744140625, 0.1358642578125, 0.2066650390625, 0.007049560546875, 0.138427734375, 0.06072998046875, 0.1005859375, 0.1317138671875, 0.0914306640625, 0.123779296875, 0.06597900390625, 0.06268310546875...
embed
24323753_c0
24323753
lisp
0
Title: Set-Difference for strings and arrays Problem title: Set-Difference for strings and arrays Tags: lisp, filtering, string, arrays, common-lisp Problem: Set-Difference for strings and arrays set-difference works as a filter function, but only for lists. What's about arrays and strings? Are there analogous function...
Set-Difference for strings and arrays Set-Difference for strings and arrays lisp filtering string arrays common-lisp Set-Difference CL-USER Set-Difference for strings and arrays set-difference works as a filter function, but only for lists. What's about arrays and strings? Are there analogous functions for these types ...
[ 0.0115966796875, 0.02490234375, -0.0213623046875, 0.00726318359375, -0.00836181640625, 0.007171630859375, 0.003814697265625, 0.007080078125, 0.0031585693359375, -0.00183868408203125, -0.0155029296875, 0.00543212890625, 0.0098876953125, -0.01068115234375, -0.01190185546875, 0.0075378417...
[ 19943, 14055, 18234, 6620, 100, 79315, 7, 136, 10298, 4778, 400, 7008, 46312, 39210, 4086, 254, 46323, 1062, 50184, 5423, 428, 43240, 237, 32354, 4734, 5303, 1672, 60223, 10821, 52895, 2053, 27798, 29479, 4527, 903, 111789, 9433, 2499, 944,...
[ 0.2421875, 0.1658935546875, 0.239501953125, 0.147216796875, 0.1051025390625, 0.29296875, 0.0804443359375, 0.14990234375, 0.1822509765625, 0.1981201171875, 0.1077880859375, 0.1893310546875, 0.25146484375, 0.059326171875, 0.048858642578125, 0.1461181640625, 0.047088623046875, 0.03173...
embed
36122175_c0
36122175
lisp
0
Title: Getting a &quot;bad binding form&quot; error in LISP Problem title: Getting a &quot;bad binding form&quot; error in LISP Tags: common-lisp, lispworks, lisp Problem: Getting a "bad binding form" error in LISP I have to write a simple program in Lisp that multiplies a polynomial by some factor. In this example, I ...
Getting a &quot;bad binding form&quot; error in LISP Getting a &quot;bad binding form&quot; error in LISP common-lisp lispworks lisp Getting LISP TERM Getting a "bad binding form" error in LISP I have to write a simple program in Lisp that multiplies a polynomial by some factor. In this example, I want to multiply (x +...
[ 0.00830078125, 0.039794921875, -0.0198974609375, -0.00148773193359375, -0.005035400390625, 0.0162353515625, 0.01031494140625, 0.0142822265625, 0.00020599365234375, -0.03955078125, 0.0224609375, -0.0155029296875, 0.0107421875, 0.01025390625, -0.0123291015625, 0.0201416015625, -0.02270...
[ 210732, 12283, 128239, 3173, 18499, 16970, 9434, 39210, 4086, 254, 400, 7008, 18244, 173724, 23, 33022, 8781, 1528, 1261, 118126, 35874, 1687, 15403, 31461, 27781, 3444, 6024, 62479, 425, 997, 21162, 661, 190, 35166, 5608, 8353, 304, 714, 4...
[ 0.050262451171875, 0.1680908203125, 0.236083984375, 0.224609375, 0.2047119140625, 0.141357421875, 0.2230224609375, 0.07147216796875, 0.0767822265625, 0.13720703125, 0.08282470703125, 0.213623046875, 0.109619140625, 0.251220703125, 0.0657958984375, 0.031646728515625, 0.045928955078125...
embed
38641323_c0
38641323
lisp
0
Title: How to manipulate complex data structures made of lists? Problem title: How to manipulate complex data structures made of lists? Tags: common-lisp, list, lisp Problem: How to manipulate complex data structures made of lists? I am trying to represent a 3D Connect 4 board game: For example, I have the following li...
How to manipulate complex data structures made of lists? How to manipulate complex data structures made of lists? common-lisp list lisp How NIL How to manipulate complex data structures made of lists? I am trying to represent a 3D Connect 4 board game: For example, I have the following list of lists structure: Each NIL...
[ 0.0054931640625, 0.0206298828125, 0.00830078125, 0.0125732421875, -0.0111083984375, 0.0205078125, 0.01611328125, 0.006134033203125, 0.004913330078125, 0.00634765625, -0.0164794921875, 0.01373291015625, 0.0218505859375, 0.000762939453125, -0.0291748046875, -0.007415771484375, 0.015869...
[ 11249, 47, 45258, 67, 27140, 2053, 45646, 7228, 111, 5303, 7, 39210, 4086, 254, 400, 7008, 541, 16444, 31577, 33636, 138, 397, 62448, 201, 45443, 6712, 25632, 98423, 19069, 3884, 6626, 126371, 22556, 15700, 35011, 5117, 2806, 6713, 1884, ...
[ 0.12744140625, 0.09027099609375, 0.2420654296875, 0.116943359375, 0.2177734375, 0.11865234375, 0.2052001953125, 0.069580078125, 0.0885009765625, 0.236083984375, 0.126953125, 0.12744140625, 0.07452392578125, 0.146484375, 0.0740966796875, 0.163330078125, 0.125, 0.21435546875, 0.061...
embed
5441623_c0
5441623
lisp
0
Title: SICP car/cdr practice question problem Problem title: SICP car/cdr practice question problem Tags: scheme, lisp, sicp Problem: SICP car/cdr practice question problem I'm trying out this "online tutor" for SICP here: http://icampustutor.csail.mit.edu/6.001-public/tutor.cgi?op=registration-page I'm looking at the ...
SICP car/cdr practice question problem SICP car/cdr practice question problem scheme lisp sicp SICP Write SICP car/cdr practice question problem I'm trying out this "online tutor" for SICP here: http://icampustutor.csail.mit.edu/6.001-public/tutor.cgi?op=registration-page I'm looking at the following question: I'm havi...
[ 0.005828857421875, 0.037841796875, 0.01080322265625, -0.001312255859375, -0.009521484375, 0.0240478515625, 0.005584716796875, -0.007171630859375, -0.009033203125, -0.03466796875, -0.0155029296875, -0.0169677734375, -0.00897216796875, 0.01483154296875, -0.01251220703125, 0.014892578125,...
[ 159, 198993, 2258, 64, 7569, 41361, 9655, 2967, 150370, 7008, 26536, 254, 601, 18781, 31577, 25607, 121314, 1290, 379, 4007, 15246, 146575, 57964, 458, 735, 52201, 16487, 19441, 37348, 4568, 26366, 3917, 17368, 4420, 9, 68726, 136, 51, 1118...
[ 0.0745849609375, 0.2283935546875, 0.1722412109375, 0.02685546875, 0.1510009765625, 0.1849365234375, 0.1800537109375, 0.1571044921875, 0.2069091796875, 0.130859375, 0.05291748046875, 0.1151123046875, 0.01287841796875, 0.0450439453125, 0.032379150390625, 0.1143798828125, 0.15087890625,...
embed
28815563_c0
28815563
lisp
0
Title: How can I modify function bindings in Common Lisp? Problem title: How can I modify function bindings in Common Lisp? Tags: binding, variables, scheme, common-lisp, lisp Problem: How can I modify function bindings in Common Lisp? Here is something you can do in Scheme: > (define (sum lst acc) (if (null? lst) acc ...
How can I modify function bindings in Common Lisp? How can I modify function bindings in Common Lisp? binding variables scheme common-lisp lisp How Common Lisp SUM SUM-ORIGINAL SUM-DEBUG How can I modify function bindings in Common Lisp? Here is something you can do in Scheme: If I were to do the following in Common Li...
[ -0.002044677734375, 0.032470703125, 0.01434326171875, 0.0184326171875, 0.003875732421875, -0.0004024505615234375, -0.01611328125, 0.007415771484375, 0.018310546875, -0.0262451171875, -0.00023651123046875, 0.004608154296875, -0.004730224609375, -0.00063323974609375, 0.0302734375, 0.0156...
[ 11249, 831, 87, 2811, 40383, 32354, 128239, 7, 23, 151301, 1261, 7008, 77336, 150370, 39210, 4086, 254, 400, 127944, 46965, 108526, 8399, 15639, 6, 9844, 34702, 282, 25632, 3642, 3509, 420, 10554, 11832, 112, 85779, 15549, 61924, 8, 16498 ]
[ 0.071044921875, 0.078857421875, 0.022735595703125, 0.16455078125, 0.1572265625, 0.18115234375, 0.2451171875, 0.1046142578125, 0.0628662109375, 0.1669921875, 0.160400390625, 0.2001953125, 0.1800537109375, 0.12451171875, 0.1092529296875, 0.09783935546875, 0.10528564453125, 0.08312988...
embed
58206173_c0
58206173
lisp
0
Title: How to go count all of the atoms in a list (or a list of nested lists) when you use recursion Problem title: How to go count all of the atoms in a list (or a list of nested lists) when you use recursion Tags: lisp, common-lisp, recursion Problem: How to go count all of the atoms in a list (or a list of nested li...
How to go count all of the atoms in a list (or a list of nested lists) when you use recursion How to go count all of the atoms in a list (or a list of nested lists) when you use recursion lisp common-lisp recursion How How to go count all of the atoms in a list (or a list of nested lists) when you use recursion I am cr...
[ 0.002044677734375, 0.0233154296875, 0.00091552734375, 0.00714111328125, 0.00860595703125, 0.01275634765625, 0.0103759765625, 0.011962890625, -0.004180908203125, -0.05517578125, 0.00408935546875, -0.037841796875, 0.0267333984375, 0.0167236328125, 0.01385498046875, 0.0028839111328125, ...
[ 11249, 738, 54529, 756, 111, 34627, 7, 5303, 8512, 71, 4527, 195625, 1830, 23, 400, 7008, 39210, 4086, 254, 47, 105233, 5844, 32354, 14012, 46132, 19048, 28, 104, 5608, 876, 136, 84797, 28271, 75935, 140992, 2046, 138, 1284, 190, 77007, ...
[ 0.04315185546875, 0.09619140625, 0.2005615234375, 0.134521484375, 0.061737060546875, 0.2352294921875, 0.1085205078125, 0.2037353515625, 0.17431640625, 0.059478759765625, 0.06170654296875, 0.2127685546875, 0.1268310546875, 0.05865478515625, 0.05426025390625, 0.1483154296875, 0.0817260...
embed
71514648_c0
71514648
lisp
0
Title: Using elisp symbol to implement call-by-reference, but can not get value from `symbol-value` Problem title: Using elisp symbol to implement call-by-reference, but can not get value from `symbol-value` Tags: symbols, lisp, emacs Problem: Using elisp symbol to implement call-by-reference, but can not get value fro...
Using elisp symbol to implement call-by-reference, but can not get value from `symbol-value` Using elisp symbol to implement call-by-reference, but can not get value from `symbol-value` symbols lisp emacs Using Using elisp symbol to implement call-by-reference, but can not get value from `symbol-value` Emacs-lisp is de...
[ -0.01055908203125, 0.019287109375, 0.00714111328125, 0.00787353515625, 0.005279541015625, 0.0064697265625, 0.0037841796875, 0.0250244140625, 0.0123291015625, 0.00106048583984375, -0.0069580078125, 0.02294921875, 0.000946044921875, 0.026611328125, 0.003265380859375, -0.0167236328125, ...
[ 345, 15296, 7008, 26582, 29479, 11782, 1272, 239879, 1284, 831, 959, 2046, 34292, 1295, 176726, 27494, 13, 400, 352, 2263, 85269, 4439, 4086, 254, 114977, 17368, 31577, 4527, 191619, 40226, 43240, 5299, 16750, 2633, 125195, 116, 160463, 12316...
[ 0.06884765625, 0.1328125, 0.2401123046875, 0.2225341796875, 0.162353515625, 0.15673828125, 0.1722412109375, 0.2454833984375, 0.03216552734375, 0.0330810546875, 0.0810546875, 0.10888671875, 0.185302734375, 0.099853515625, 0.18896484375, 0.1953125, 0.003814697265625, 0.097412109375, ...
embed
64426287_c0
64426287
lisp
0
Title: Common Lisp Variable addFraction is unbound Problem title: Common Lisp Variable addFraction is unbound Tags: common-lisp, variables, lisp, unbound, sbcl Problem: Common Lisp Variable addFraction is unbound Why does it say that the variable addFraction is Unbound? (defun addFraction (N1 D1 N2 D2) (format t "~d ~d...
Common Lisp Variable addFraction is unbound Common Lisp Variable addFraction is unbound common-lisp variables lisp unbound sbcl SBCL ADDFRACTION Common Lisp Variable THREAD RUNNING Type HELP SB-EXT:EXIT CONTINUE Retry USE-VALUE Use STORE-VALUE Set ABORT Exit SB-INT:SIMPLE-EVAL-IN-LEXENV NULL-LEXENV Common Lisp Variable...
[ -0.005615234375, 0.009521484375, -0.01123046875, 0, -0.00494384765625, 0.0152587890625, 0.0111083984375, -0.01483154296875, -0.0006103515625, -0.034912109375, -0.0023193359375, -0.0086669921875, 0.003570556640625, -0.0040283203125, 0.0113525390625, 0.00286865234375, 0.002883911132812...
[ 151301, 1261, 7008, 84572, 2886, 15190, 108386, 10763, 83, 51, 99091, 39210, 4086, 254, 77336, 400, 275, 34937, 90944, 37486, 19831, 38997, 126349, 41519, 130747, 60457, 70686, 26939, 618, 6371, 54390, 15123, 78441, 61152, 36836, 179376, 19943,...
[ 0.1549072265625, 0.1700439453125, 0.1766357421875, 0.1849365234375, 0.09246826171875, 0.1722412109375, 0.2342529296875, 0.15771484375, 0.0960693359375, 0.103759765625, 0.259521484375, 0.111328125, 0.102294921875, 0.1387939453125, 0.2529296875, 0.08831787109375, 0.0159912109375, 0.1...
embed
32031431_c1
32031431
lisp
1
'4) (ON 'D 'C) (ON 'C 'B) (ON 'B 'A)) ((TOWER 'D 'C ^LEFT '0 ^RIGHT '2 ^BOTTOM '4 ^TOP '8) (TOWER 'C 'B ^LEFT '0 ^RIGHT '2 ^BOTTOM '2 ^TOP '6) (TOWER 'B 'A ^LEFT '0 ^RIGHT '2 ^BOTTOM '0 ^TOP '4) (ON 'D 'C) (ON 'C 'B) (ON 'B 'A)) ((TOWER 'D 'C ^LEFT '0 ^RIGHT '2 ^BOTTOM '4 ^TOP '8) (TOWER 'C 'B ^LEFT '0 ^RIGHT '2 ^BOTT...
'4) (ON 'D 'C) (ON 'C 'B) (ON 'B 'A)) ((TOWER 'D 'C ^LEFT '0 ^RIGHT '2 ^BOTTOM '4 ^TOP '8) (TOWER 'C 'B ^LEFT '0 ^RIGHT '2 ^BOTTOM '2 ^TOP '6) (TOWER 'B 'A ^LEFT '0 ^RIGHT '2 ^BOTTOM '0 ^TOP '4) (ON 'D 'C) (ON 'C 'B) (ON 'B 'A)) ((TOWER 'D 'C ^LEFT '0 ^RIGHT '2 ^BOTTOM '4 ^TOP '8) (TOWER 'C 'B ^LEFT '0 ^RIGHT '2 ^BOTT...
[ -0.01025390625, 0.00848388671875, 0.0159912109375, 0.0120849609375, -0.0014495849609375, 0.01129150390625, -0.0260009765625, 0.0022125244140625, 0.010009765625, 0.016845703125, 0.005645751953125, 0.01019287109375, -0.004791259765625, -0.004638671875, -0.0157470703125, 0.0089111328125, ...
[ 242, 29557, 15513, 397, 441, 16, 571, 284, 60494, 8727, 91227, 15300, 25217, 2389, 167177, 18544, 304, 141197, 117032, 617, 70675, 50490, 59690, 15, 13331, 11853, 83, 3642, 70, 5303, 62163, 28412, 297, 47, 11435, 12, 128258 ]
[ 0.06317138671875, 0.2327880859375, 0.195068359375, 0.1593017578125, 0.130615234375, 0.007232666015625, 0.11767578125, 0.09954833984375, 0.040496826171875, 0.1402587890625, 0.1932373046875, 0.043426513671875, 0.06982421875, 0.10546875, 0.09375, 0.04205322265625, 0.09423828125, 0.080...
embed
53044698_c0
53044698
lisp
0
Title: Optimization for accessing array in lisp Problem title: Optimization for accessing array in lisp Tags: common-lisp, lisp, optimization, sbcl Problem: Optimization for accessing array in lisp I am trying to learn how to make type declarations in lisp. I figured out that aref causes problems: (defun getref (seq k)...
Optimization for accessing array in lisp Optimization for accessing array in lisp common-lisp lisp optimization sbcl Optimization DEFUN GETREF AREF MORE-LISP::SEQ MORE-LISP::K SB-KERNEL:HAIRY-DATA-VECTOR-REF ARRAY SB-INT:INDEX VECTOR FIXNUM SIMPLE-ARRAY Optimization for accessing array in lisp I am trying to learn how ...
[ 0.0064697265625, 0.023193359375, -0.0031280517578125, 0.0091552734375, -0.00157928466796875, -0.032470703125, -0.0118408203125, 0.00494384765625, -0.00653076171875, -0.00982666015625, 0.0096435546875, 0.009765625, -0.0242919921875, -0.01220703125, -0.0023956298828125, -0.0205078125, ...
[ 43938, 47691, 17203, 214, 10298, 53, 23, 400, 7008, 39210, 4086, 254, 87235, 275, 34937, 202001, 14006, 45053, 56564, 919, 13685, 28482, 195879, 67616, 683, 2737, 90944, 120320, 1723, 24878, 441, 27010, 150144, 59537, 310, 16546, 563, 21487, ...
[ 0.1849365234375, 0.09405517578125, 0.14697265625, 0.056182861328125, 0.164306640625, 0.109619140625, 0.057403564453125, 0.1585693359375, 0.2188720703125, 0.057861328125, 0.111572265625, 0.1605224609375, 0.1800537109375, 0.0040283203125, 0.1190185546875, 0.1170654296875, 0.06378173828...
embed
33138087_c0
33138087
lisp
0
Title: Converting list of strings to list of ints in Common Lisp Problem title: Converting list of strings to list of ints in Common Lisp Tags: lisp, common-lisp Problem: Converting list of strings to list of ints in Common Lisp I have a line like "fun,arg1,arg2" <- it is a string I split this string into list of strin...
Converting list of strings to list of ints in Common Lisp Converting list of strings to list of ints in Common Lisp lisp common-lisp Converting Common Lisp Fibonacci NIL Converting list of strings to list of ints in Common Lisp I have a line like "fun,arg1,arg2" <- it is a string I split this string into list of string...
[ -0.0128173828125, -0.020751953125, -0.00482177734375, 0.01092529296875, -0.0322265625, 0.029296875, 0.0205078125, 0.001678466796875, 0.0000858306884765625, 0.0034027099609375, -0.015625, 0.00150299072265625, 0.0076904296875, 0.0147705078125, 0.0084228515625, -0.00848388671875, 0.0179...
[ 1657, 814, 1916, 5303, 79315, 7, 47, 23, 933, 151301, 1261, 7008, 111, 400, 39210, 4086, 254, 3698, 20990, 52544, 541, 16444, 13315, 16498, 61477, 418, 304, 65450, 3934, 38310, 748, 69101, 6159, 28670, 18244, 8647, 32354, 26265, 44084, 20...
[ 0.0147552490234375, 0.1201171875, 0.0631103515625, 0.189697265625, 0.256103515625, 0.05364990234375, 0.06072998046875, 0.130126953125, 0.1846923828125, 0.1451416015625, 0.130126953125, 0.177978515625, 0.015380859375, 0.09375, 0.089111328125, 0.05267333984375, 0.10498046875, 0.07293...
embed
47378131_c0
47378131
lisp
0
Title: Swapping list elements in Common Lisp Problem title: Swapping list elements in Common Lisp Tags: common-lisp, lisp Problem: Swapping list elements in Common Lisp I need to swap the elements of a list given two positions (i, j) to implement 2-opt heuristics for the TSP and found this question recommending the use...
Swapping list elements in Common Lisp Swapping list elements in Common Lisp common-lisp lisp Swapping Common Lisp Original new_tour LOOP NOW Swapping list elements in Common Lisp I need to swap the elements of a list given two positions (i, j) to implement 2-opt heuristics for the TSP and found this question recommendi...
[ 0.006591796875, 0.0194091796875, 0.01068115234375, 0.004302978515625, -0.022705078125, -0.0022735595703125, -0.03857421875, 0.01092529296875, 0.00156402587890625, 0.008544921875, 0.0146484375, 0.020751953125, -0.005584716796875, 0.00115966796875, -0.0196533203125, -0.0030975341796875, ...
[ 43062, 26783, 5303, 80854, 151301, 1261, 7008, 23, 39210, 4086, 254, 400, 34525, 3525, 28889, 22215, 20880, 110753, 3871, 202317, 34475, 6626, 19069, 1647, 29479, 4720, 2146, 18, 62210, 41637, 384, 9434, 67330, 4527, 47014, 67, 420, 17368, ...
[ 0.1998291015625, 0.11376953125, 0.207763671875, 0.2127685546875, 0.1768798828125, 0.1380615234375, 0.178955078125, 0.0362548828125, 0.119873046875, 0.07525634765625, 0.1041259765625, 0.06884765625, 0.1275634765625, 0.1187744140625, 0.24267578125, 0.1129150390625, 0.148193359375, 0....
embed
67585404_c0
67585404
lisp
0
Title: How to serialize hylang s-expression into PostgreSQL json/json-b? Problem title: How to serialize hylang s-expression into PostgreSQL json/json-b? Tags: hy, postgresql, json, lisp Problem: How to serialize hylang s-expression into PostgreSQL json/json-b? We are trying to use hylang as DSL for some financial busi...
How to serialize hylang s-expression into PostgreSQL json/json-b? How to serialize hylang s-expression into PostgreSQL json/json-b? hy postgresql json lisp How PostgreSQL order_create_date greater_than_or_equal_to less_than_or_equal_to check_condition params.order_create_date How to serialize hylang s-expression into P...
[ 0.0203857421875, 0.0185546875, -0.007110595703125, 0.01904296875, -0.0322265625, 0.0166015625, -0.01165771484375, 0.0240478515625, -0.002044677734375, -0.01239013671875, 0.0289306640625, 0.0255126953125, 0.004150390625, -0.015380859375, 0.00250244140625, 0.0106201171875, -0.031127929...
[ 11249, 35686, 20650, 2119, 3066, 91, 204629, 3934, 2795, 7134, 158897, 1647, 1681, 170, 275, 1305, 17562, 99247, 400, 7008, 12989, 7612, 17489, 117396, 21732, 71723, 40715, 748, 12765, 126940, 121, 80596, 31577, 237, 114479, 53477, 8063, 8660...
[ 0.0491943359375, 0.2164306640625, 0.0770263671875, 0.193359375, 0.282958984375, 0.1798095703125, 0.2138671875, 0.10577392578125, 0.082763671875, 0.1446533203125, 0.1656494140625, 0.085205078125, 0.13818359375, 0.07958984375, 0.1640625, 0.06365966796875, 0.116455078125, 0.1037597656...
embed
3344696_c0
3344696
lisp
0
Title: Emacs: Enter commands like in gedit Problem title: Emacs: Enter commands like in gedit Tags: lisp, code-snippets, emacs Problem: Emacs: Enter commands like in gedit in gedit it's possible to define so-called "snippets" for simpler input. For example, there is a snippet while . This means: If you type while -> ( ...
Emacs: Enter commands like in gedit Emacs: Enter commands like in gedit lisp code-snippets emacs Emacs Enter Emacs: Enter commands like in gedit in gedit it's possible to define so-called "snippets" for simpler input. For example, there is a snippet while . This means: If you type while -> ( -> stands for tab key). And...
[ 0.006866455078125, -0.00408935546875, -0.01556396484375, -0.007293701171875, 0.012451171875, 0.031982421875, 0.00051116943359375, 0.01348876953125, -0.0023345947265625, -0.00011873245239257812, 0.02490234375, 0.0079345703125, -0.036865234375, -0.006591796875, -0.0019683837890625, -0.00...
[ 85269, 4439, 60816, 75101, 1884, 23, 700, 7564, 400, 7008, 18151, 93, 58134, 352, 2263, 7722, 61924, 7, 8781, 42, 107730, 91, 12960, 26950, 10644, 33079, 9157, 20928, 22799, 191082, 96760, 47, 25632, 26785, 18597, 360, 119916, 17043, 21, ...
[ 0.1614990234375, 0.1907958984375, 0.1759033203125, 0.2279052734375, 0.12255859375, 0.053070068359375, 0.1500244140625, 0.2401123046875, 0.06451416015625, 0.1612548828125, 0.1229248046875, 0.1903076171875, 0.2325439453125, 0.0909423828125, 0.144775390625, 0.099853515625, 0.19482421875...
embed
53747413_c0
53747413
lisp
0
Title: Iterating over strings Problem title: Iterating over strings Tags: common-lisp, lisp, iteration, string, loops Problem: Iterating over strings I have two strings of the same length which differ in exactly one character and I want a string of all the characters which are pairwise equal. So basically something lik...
Iterating over strings Iterating over strings common-lisp lisp iteration string loops Iterating NIL Iterating over strings I have two strings of the same length which differ in exactly one character and I want a string of all the characters which are pairwise equal. So basically something like this which evaluates to a...
[ 0.01544189453125, -0.02392578125, 0.00125885009765625, 0.02392578125, -0.017333984375, 0.0003681182861328125, 0.0257568359375, -0.0035400390625, 0.0142822265625, -0.0027923583984375, -0.004425048828125, -0.0159912109375, -0.000553131103515625, -0.00081634521484375, -0.012939453125, -0....
[ 87, 67, 98767, 645, 79315, 39210, 4086, 254, 400, 7008, 17, 720, 2320, 40956, 541, 16444, 6626, 111, 5701, 140909, 129927, 66161, 1632, 62816, 3444, 756, 124850, 80836, 90825, 105950, 198343, 9844, 1884, 903, 151575, 47, 64457, 5303, 23718,...
[ 0.03375244140625, 0.17919921875, 0.16796875, 0.1756591796875, 0.2388916015625, 0.07501220703125, 0.038818359375, 0.1102294921875, 0.06304931640625, 0.1429443359375, 0.0538330078125, 0.221435546875, 0.007293701171875, 0.1572265625, 0.0806884765625, 0.1759033203125, 0.0863037109375, ...
embed
78855156_c2
78855156
lisp
2
UFFER-SYNTAX NIL NIL #<FUNCTION (LAMBDA NIL :IN SLYNK:INTERACTIVE-EVAL) {70073E8F1B}>) 8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SLYNK:INTERACTIVE-EVAL Code signals: Creating, File, Square, Brackets, Common, Lisp, MacBook, How, Content_type, Content_Types, content-type-file-1, Condition, SB-INT:SIMPLE-FILE-ERROR, Restarts, RET...
UFFER-SYNTAX NIL NIL #<FUNCTION (LAMBDA NIL :IN SLYNK:INTERACTIVE-EVAL) {70073E8F1B}>) 8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SLYNK:INTERACTIVE-EVAL Code signals: Creating, File, Square, Brackets, Common, Lisp, MacBook, How, Content_type, Content_Types, content-type-file-1, Condition, SB-INT:SIMPLE-FILE-ERROR, Restarts, RET...
[ 0.000579833984375, -0.01092529296875, 0.0002727508544921875, 0.0028839111328125, -0.0093994140625, 0.00555419921875, 0.0152587890625, 0.0059814453125, 0.00640869140625, 0.0179443359375, 0.0014801025390625, 0.0155029296875, 0.00146484375, -0.0162353515625, 0.0234375, -0.009765625, -0....
[ 38209, 66804, 9, 62428, 22879, 72850, 541, 16444, 468, 919, 175560, 94202, 571, 6538, 8852, 159, 19917, 25035, 12, 186096, 159318, 647, 61152, 15128, 13574, 382, 36474, 59537, 73434, 103084, 88233, 11572, 856, 294, 28864, 26073, 56781, 1916, ...
[ 0.1390380859375, 0.26513671875, 0.0145263671875, 0.1529541015625, 0.1875, 0.201904296875, 0.1329345703125, 0.187255859375, 0.0745849609375, 0.08251953125, 0.1866455078125, 0.070556640625, 0.040283203125, 0.10205078125, 0.06243896484375, 0.035003662109375, 0.1468505859375, 0.2432861...
embed
27743440_c0
27743440
lisp
0
Title: How do I read whitespace-delimited words from a stream? Problem title: How do I read whitespace-delimited words from a stream? Tags: common-lisp, lisp Problem: How do I read whitespace-delimited words from a stream? In Common Lisp, is there an easy way to read a single whitespace-delimited word from an input str...
How do I read whitespace-delimited words from a stream? How do I read whitespace-delimited words from a stream? common-lisp lisp a How Newline Space How do I read whitespace-delimited words from a stream? In Common Lisp, is there an easy way to read a single whitespace-delimited word from an input stream? Essentially I...
[ -0.005035400390625, 0.00128173828125, 0.00146484375, 0.004486083984375, -0.00421142578125, 0.00982666015625, 0.0177001953125, 0.0164794921875, 0.0125732421875, -0.0133056640625, 0.00946044921875, -0.0240478515625, -0.0242919921875, 0.003875732421875, -0.01104736328125, 0.0045166015625,...
[ 11249, 54, 87, 12301, 35011, 65421, 112, 93343, 297, 34153, 1295, 75973, 39210, 4086, 254, 400, 7008, 2356, 2256, 43045, 9, 151301, 1261, 23468, 3917, 47, 11001, 2565, 107730, 16487, 183234, 313, 44954, 420, 132, 3949, 3060, 1961, 25632, ...
[ 0.0858154296875, 0.0360107421875, 0.03179931640625, 0.2396240234375, 0.202880859375, 0.25244140625, 0.0792236328125, 0.200927734375, 0.0692138671875, 0.21435546875, 0.114501953125, 0.2578125, 0.06781005859375, 0.067138671875, 0.094482421875, 0.0521240234375, 0.1922607421875, 0.0577...
embed
78008849_c0
78008849
lisp
0
Title: Common Lisp formatting/indentation Problem title: Common Lisp formatting/indentation Tags: pretty-print, code-formatting, common-lisp, lisp, indentation Problem: Common Lisp formatting/indentation (defun heapify-down (heap-id index) (if (is-leaf heap-id index) nil (let ((left (left-child index)) (right (right-ch...
Common Lisp formatting/indentation Common Lisp formatting/indentation pretty-print code-formatting common-lisp lisp indentation Common Lisp Common Lisp formatting/indentation So i just wanna know if i'm formatting the right way. i looked some online guides on the topic but i'm not really sure that i'm doing it the best...
[ -0.005218505859375, 0.0023345947265625, -0.011474609375, -0.012451171875, -0.006378173828125, 0.00180816650390625, -0.0098876953125, -0.0057373046875, 0.0081787109375, 0.00146484375, 0.01409912109375, -0.01904296875, -0.0169677734375, 0.00628662109375, 0.0157470703125, -0.0112915039062...
[ 151301, 1261, 7008, 9384, 1916, 21704, 22062, 28875, 35662, 18151, 51727, 39210, 4086, 254, 400, 18597, 6165, 76, 3714, 2174, 39, 7108, 3917, 1118, 17997, 28451, 9077, 20594, 2965, 117914, 81113 ]
[ 0.1815185546875, 0.14697265625, 0.1651611328125, 0.1966552734375, 0.11444091796875, 0.130126953125, 0.078369140625, 0.189697265625, 0.15625, 0.173828125, 0.189697265625, 0.1429443359375, 0.08819580078125, 0.11492919921875, 0.09521484375, 0.1712646484375, 0.023529052734375, 0.031402...
embed
60635924_c0
60635924
lisp
0
Title: using sbcl schedule-timer with sly Problem title: using sbcl schedule-timer with sly Tags: timer, emacs, sbcl, lisp, common-lisp Problem: using sbcl schedule-timer with sly I want to use a timer to periodically print info to the repl (and do some other things). SBCL 2.0.1 Emacs 26.1 sly 1.0.0-beta-3 (I can't cre...
using sbcl schedule-timer with sly using sbcl schedule-timer with sly timer emacs sbcl lisp common-lisp sbcl Timer SB-THREAD:THREAD FINISHED using sbcl schedule-timer with sly I want to use a timer to periodically print info to the repl (and do some other things). SBCL 2.0.1 Emacs 26.1 sly 1.0.0-beta-3 (I can't create ...
[ 0.020263671875, -0.00107574462890625, -0.007354736328125, -0.006103515625, -0.03173828125, -0.0024261474609375, 0.00421142578125, 0.008056640625, -0.007476806640625, -0.03271484375, 0.006103515625, 0.00762939453125, -0.01141357421875, -0.0235595703125, 0.0145263671875, -0.0103759765625...
[ 17368, 91, 275, 34937, 80889, 137644, 678, 538, 21991, 352, 2263, 400, 7008, 39210, 4086, 254, 13320, 56, 90944, 41519, 67227, 79909, 9, 3444, 4527, 14922, 28412, 3004, 47, 456, 2424, 37486, 787, 102014, 85269, 4439, 12490, 418, 99929, 59...
[ 0.07342529296875, 0.1007080078125, 0.07666015625, 0.162109375, 0.255126953125, 0.2919921875, 0.0736083984375, 0.2115478515625, 0.330810546875, 0.017486572265625, 0.059326171875, 0.010528564453125, 0.08721923828125, 0.054534912109375, 0.038116455078125, 0.1092529296875, 0.238403320312...
embed
34243493_c0
34243493
lisp
0
Title: Minimum level in a tree in Common lisp Problem title: Minimum level in a tree in Common lisp Tags: min, tree, common-lisp, lisp, list Problem: Minimum level in a tree in Common lisp I'm trying to write the code to find the minimum level in a tree (minimum number of nested sublists kinda) The tree is given like t...
Minimum level in a tree in Common lisp Minimum level in a tree in Common lisp min tree common-lisp lisp list Minimum Common Minimum level in a tree in Common lisp I'm trying to write the code to find the minimum level in a tree (minimum number of nested sublists kinda) The tree is given like this: which would look like...
[ -0.000316619873046875, 0.018310546875, 0.0020294189453125, -0.00518798828125, 0.012939453125, 0.0218505859375, 0.01171875, -0.0185546875, -0.01318359375, -0.0301513671875, 0.0034027099609375, -0.007476806640625, 0.0169677734375, 0.01470947265625, 0.0164794921875, 0.017333984375, 0.01...
[ 173858, 17366, 53201, 151301, 400, 7008, 23, 881, 39210, 4086, 254, 5303, 18151, 7413, 15440, 9222, 24105, 8512, 71, 1614, 6562, 34475, 6713, 16750, 615, 9920, 138, 3871, 70, 37842, 32354, 89778, 30646, 106, 757, 56574, 22085, 23937, 11343,...
[ 0.2286376953125, 0.2454833984375, 0.2091064453125, 0.1634521484375, 0.11474609375, 0.1640625, 0.02947998046875, 0.2154541015625, 0.09429931640625, 0.0682373046875, 0.09637451171875, 0.124755859375, 0.087890625, 0.052703857421875, 0.2274169921875, 0.127197265625, 0.157958984375, 0.0...
embed
50382873_c0
50382873
lisp
0
Title: Circular pointers in lisp Problem title: Circular pointers in lisp Tags: sbcl, lisp, circular-reference, common-lisp, clisp Problem: Circular pointers in lisp In working through the CLRS Intro to Algorithms book and attempting to implement a red-black binary search tree in common lisp, I came across the followin...
Circular pointers in lisp Circular pointers in lisp sbcl lisp circular-reference common-lisp clisp Circular Circular pointers in lisp In working through the CLRS Intro to Algorithms book and attempting to implement a red-black binary search tree in common lisp, I came across the following issue with circular pointers: ...
[ 0.00848388671875, 0.0162353515625, 0.0091552734375, 0.004486083984375, 0.0045166015625, -0.00872802734375, 0.0034027099609375, 0.0050048828125, 0.007110595703125, -0.022705078125, -0.005340576171875, 0.004974365234375, 0.00225830078125, 0.0289306640625, 0.0181884765625, 0.0046691894531...
[ 209449, 42, 6275, 1314, 23, 400, 7008, 34937, 115339, 239879, 39210, 4086, 254, 95701, 46323, 15396, 2955, 109847, 2783, 12877, 29479, 4842, 151675, 2394, 33938, 53201, 31089, 18151, 37105, 764, 2631, 3355, 18391, 188800, 54241, 195625, 143434,...
[ 0.23291015625, 0.08331298828125, 0.2257080078125, 0.1378173828125, 0.03192138671875, 0.133056640625, 0.1922607421875, 0.1121826171875, 0.2454833984375, 0.1571044921875, 0.1256103515625, 0.10382080078125, 0.1165771484375, 0.039581298828125, 0.07550048828125, 0.17236328125, 0.027511596...
embed
59483412_c0
59483412
lisp
0
Title: (let (next (f guess)) vs (let ((next (f guess))) Problem title: (let (next (f guess)) vs (let ((next (f guess))) Tags: lisp, let, syntax, sicp, scheme Problem: (let (next (f guess)) vs (let ((next (f guess))) The fix-point practice in sicp #+BEGIN_SRC scheme (define tolerance 0.00001) (define (fixed-point f firs...
(let (next (f guess)) vs (let ((next (f guess))) (let (next (f guess)) vs (let ((next (f guess))) lisp let syntax sicp scheme BEGIN_SRC END_SRC RESULTS (let (next (f guess)) vs (let ((next (f guess))) The fix-point practice in sicp Reference the line I assumed that extra parenthesis are added, and changed it to run it ...
[ 0.005889892578125, 0.0021514892578125, -0.0093994140625, 0.0162353515625, -0.0021514892578125, -0.000530242919921875, -0.021484375, 0.0172119140625, 0.00567626953125, -0.008056640625, 0.005218505859375, -0.0027923583984375, -0.0269775390625, 0.006500244140625, 0.01458740234375, -0.0111...
[ 1974, 86, 29062, 420, 57767, 20209, 60494, 400, 7008, 2633, 6002, 86531, 26536, 254, 150370, 108526, 25740, 39015, 218849, 30022, 38496, 41361, 23, 215996, 13315, 41591, 4173, 49129, 160291, 7, 621, 49814, 98816, 11675, 13438, 1284, 128120, 4...
[ 0.19091796875, 0.08251953125, 0.186767578125, 0.115478515625, 0.2371826171875, 0.176513671875, 0.05657958984375, 0.05438232421875, 0.1861572265625, 0.1846923828125, 0.06146240234375, 0.129150390625, 0.114013671875, 0.2059326171875, 0.1597900390625, 0.075927734375, 0.12646484375, 0....
embed
30075314_c0
30075314
lisp
0
Title: How to express BNF using Lisp? Problem title: How to express BNF using Lisp? Tags: bnf, grammar, lisp, racket Problem: How to express BNF using Lisp? I want to express a grammar rule that is written in BNF using Lisp. here is the rule. It is important to note that non-terminals are represented in capital letters...
How to express BNF using Lisp? How to express BNF using Lisp? bnf grammar lisp racket Lisp How BNF Hello World How to express BNF using Lisp? I want to express a grammar rule that is written in BNF using Lisp. here is the rule. It is important to note that non-terminals are represented in capital letters and the termin...
[ 0.01190185546875, 0.029296875, -0.0155029296875, 0.036376953125, -0.01043701171875, 0.0142822265625, -0.0027923583984375, -0.00262451171875, -0.01129150390625, -0.012451171875, 0.00634765625, -0.022216796875, -0.010986328125, -0.0045166015625, 0.02197265625, -0.003387451171875, 0.026...
[ 11249, 47, 36510, 335, 73493, 17368, 1261, 7008, 876, 19, 420, 122092, 147, 400, 673, 27853, 35378, 6661, 3444, 79986, 59121, 5526, 351, 30524, 16765, 33636, 10323, 120820, 33949, 19336, 61924, 32354, 4527, 37911, 40140, 14361, 26292, 89778, ...
[ 0.080322265625, 0.01123046875, 0.182861328125, 0.1002197265625, 0.271484375, 0.11376953125, 0.1722412109375, 0.22509765625, 0.007659912109375, 0.0875244140625, 0.13525390625, 0.126220703125, 0.0955810546875, 0.1275634765625, 0.05096435546875, 0.1458740234375, 0.0853271484375, 0.053...
embed
6529523_c0
6529523
lisp
0
Title: Mapping Untyped Lisp data into a typed binary format for use in compiled functions Problem title: Mapping Untyped Lisp data into a typed binary format for use in compiled functions Tags: data-structures, lisp, llvm, scheme, haskell Problem: Mapping Untyped Lisp data into a typed binary format for use in compiled...
Mapping Untyped Lisp data into a typed binary format for use in compiled functions Mapping Untyped Lisp data into a typed binary format for use in compiled functions data-structures lisp llvm scheme haskell Mapping Untyped Lisp Mapping Untyped Lisp data into a typed binary format for use in compiled functions Backgroun...
[ -0.00147247314453125, 0.0167236328125, 0.006134033203125, 0.01361083984375, -0.017822265625, 0.006622314453125, 0.004486083984375, 0.0050048828125, -0.01397705078125, -0.011474609375, -0.0177001953125, -0.028076171875, 0.0030670166015625, 0.0264892578125, 0.01513671875, 0.0172119140625...
[ 911, 26783, 992, 50986, 1261, 7008, 2053, 3934, 10644, 71, 2394, 6635, 9384, 4527, 5974, 32354, 375, 137656, 400, 3723, 39, 150370, 1556, 142508, 32562, 72713, 25452, 12549, 29481, 56, 20625, 9969, 1340, 18151, 99954, 47599, 48869, 48322, 6...
[ 0.160888671875, 0.100341796875, 0.1220703125, 0.228515625, 0.15966796875, 0.1998291015625, 0.1468505859375, 0.060577392578125, 0.2132568359375, 0.0064697265625, 0.16064453125, 0.1053466796875, 0.1898193359375, 0.0726318359375, 0.1453857421875, 0.150634765625, 0.014495849609375, 0.1...
embed
8997474_c0
8997474
lisp
0
Title: functions that can take anything as argument Problem title: functions that can take anything as argument Tags: lisp, common-lisp Problem: functions that can take anything as argument I have a function that does something with whatever is passed to it, and returns a list based on that. How would one go about proc...
functions that can take anything as argument functions that can take anything as argument lisp common-lisp functions that can take anything as argument I have a function that does something with whatever is passed to it, and returns a list based on that. How would one go about processing and mashing whatever arguments ...
[ 0.00799560546875, 0.00823974609375, -0.004180908203125, -0.0233154296875, 0.00089263916015625, 0.03515625, -0.0025482177734375, -0.00836181640625, 0.007232666015625, -0.030517578125, 0.00787353515625, -0.005096435546875, -0.000659942626953125, -0.0120849609375, -0.00927734375, 0.008178...
[ 32354, 7, 450, 831, 5646, 23937, 237, 10750, 400, 7008, 39210, 4086, 254, 765, 14602, 9844, 678, 89778, 115081, 47, 442, 30646, 5303, 35509, 11249, 2806, 1672, 9433, 214, 136, 61131, 3934, 1632, 70541, 11907, 34292, 70, 242, 159029, 13717...
[ 0.2257080078125, 0.00286865234375, 0.06268310546875, 0.1204833984375, 0.135498046875, 0.1695556640625, 0.09149169921875, 0.27685546875, 0.09564208984375, 0.189697265625, 0.10986328125, 0.070068359375, 0.1651611328125, 0.0149993896484375, 0.035369873046875, 0.030731201171875, 0.075256...
embed
59547266_c0
59547266
lisp
0
Title: Static code analyzer as pre-commit hook for Emacs-LISP Problem title: Static code analyzer as pre-commit hook for Emacs-LISP Tags: elisp, git, lisp, static-analysis Problem: Static code analyzer as pre-commit hook for Emacs-LISP I want to add a static code checker as a pre-commit hook on my Emacs-Lisp code, main...
Static code analyzer as pre-commit hook for Emacs-LISP Static code analyzer as pre-commit hook for Emacs-LISP elisp git lisp static-analysis Static Emacs-LISP Symbol Static code analyzer as pre-commit hook for Emacs-LISP I want to add a static code checker as a pre-commit hook on my Emacs-Lisp code, mainly for catching...
[ 0.002410888671875, -0.019775390625, 0.0086669921875, -0.00909423828125, -0.015869140625, 0.0166015625, -0.00689697265625, 0.01043701171875, -0.01483154296875, -0.02734375, -0.004852294921875, 0.00103759765625, -0.0086669921875, -0.0035400390625, 0.00482177734375, -0.01239013671875, -...
[ 71465, 238, 18151, 7968, 53, 4383, 237, 479, 277, 4007, 150522, 85269, 4439, 67616, 683, 15296, 7008, 62270, 400, 201939, 174976, 131899, 3444, 15190, 12765, 56, 9506, 105556, 18499, 32354, 80934, 2292, 114137, 55516, 151301, 1261, 42459, 598...
[ 0.243896484375, 0.099853515625, 0.2166748046875, 0.1805419921875, 0.15283203125, 0.125732421875, 0.03924560546875, 0.1549072265625, 0.033660888671875, 0.1533203125, 0.197021484375, 0.1441650390625, 0.140869140625, 0.140380859375, 0.1695556640625, 0.01416015625, 0.2216796875, 0.1079...
embed
26568360_c0
26568360
lisp
0
Title: Scheme help - how to call a function Problem title: Scheme help - how to call a function Tags: evaluate, function-call, lisp, racket, scheme Problem: Scheme help - how to call a function I'm new to Scheme, and I am trying to manipulate a list and return the cdr of a pair in the list. So far here is my code: (def...
Scheme help - how to call a function Scheme help - how to call a function evaluate function-call lisp racket scheme Scheme rider-preferences4 procedure:get-userid Scheme help - how to call a function I'm new to Scheme, and I am trying to manipulate a list and return the cdr of a pair in the list. So far here is my code...
[ 0.006317138671875, 0.0260009765625, 0.0012054443359375, 0.0081787109375, 0.007293701171875, 0.0159912109375, -0.002960205078125, -0.000942230224609375, -0.00872802734375, -0.051513671875, -0.000911712646484375, -0.006317138671875, -0.038330078125, -0.0096435546875, 0.00616455078125, -0...
[ 34702, 282, 4358, 3642, 47, 11782, 32354, 10, 151575, 85763, 400, 7008, 673, 27853, 150370, 171503, 254, 239879, 617, 50491, 3794, 65918, 532, 3525, 31577, 45258, 5303, 30646, 56329, 42, 111, 80836, 2060, 3688, 18151, 87, 32599, 67, 360, ...
[ 0.2232666015625, 0.1849365234375, 0.1617431640625, 0.07904052734375, 0.06793212890625, 0.244873046875, 0.23876953125, 0.041046142578125, 0.0946044921875, 0.1334228515625, 0.0328369140625, 0.1275634765625, 0.038177490234375, 0.143310546875, 0.2010498046875, 0.1956787109375, 0.04730224...
embed
18034609_c0
18034609
lisp
0
Title: Lisp performance optimal solution in string processing Problem title: Lisp performance optimal solution in string processing Tags: string, common-lisp, lisp, performance Problem: Lisp performance optimal solution in string processing I have a string with underscores separating words (e.g. aaa_bbb_ccc ) I created...
Lisp performance optimal solution in string processing Lisp performance optimal solution in string processing string common-lisp lisp performance Lisp underscore-to-camel-v2 Lisp performance optimal solution in string processing I have a string with underscores separating words (e.g. aaa_bbb_ccc ) I created a function ...
[ -0.0159912109375, 0.006561279296875, -0.00897216796875, -0.0004100799560546875, -0.024658203125, -0.00518798828125, -0.0089111328125, -0.00726318359375, -0.010986328125, -0.0146484375, 0.01458740234375, -0.00064849853515625, -0.003021240234375, 0.0103759765625, -0.018798828125, -0.0127...
[ 1261, 7008, 23718, 24087, 29806, 79315, 9433, 39210, 4086, 254, 400, 1379, 7, 30854, 188, 408, 7603, 334, 304, 214, 12064, 2109, 38310, 34153, 10, 11, 5125, 10060, 75935, 32354, 29256, 18, 47, 377, 441, 6991, 571, 8966, 20594, 44691, 52...
[ 0.1640625, 0.22216796875, 0.1953125, 0.136474609375, 0.133056640625, 0.182373046875, 0.111572265625, 0.0777587890625, 0.1119384765625, 0.177978515625, 0.1279296875, 0.18017578125, 0.0323486328125, 0.1689453125, 0.08447265625, 0.01788330078125, 0.1820068359375, 0.06298828125, 0.09...
embed
36193866_c0
36193866
lisp
0
Title: Idiomatic way serialization in emacs lisp Problem title: Idiomatic way serialization in emacs lisp Tags: elisp, emacs, lisp Problem: Idiomatic way serialization in emacs lisp Currently I am working on a elisp major mode that makes uses of hashtables across sessions. So every time the major mode is initialized, t...
Idiomatic way serialization in emacs lisp Idiomatic way serialization in emacs lisp elisp emacs lisp Idiomatic prin1 file.el Idiomatic way serialization in emacs lisp Currently I am working on a elisp major mode that makes uses of hashtables across sessions. So every time the major mode is initialized, the tables are l...
[ 0.01251220703125, 0.01055908203125, -0.0142822265625, -0.0252685546875, -0.010498046875, 0.002655029296875, -0.00518798828125, 0.0032196044921875, -0.0059814453125, -0.0284423828125, 0.01043701171875, 0.038818359375, -0.0089111328125, 0.023681640625, 0.010986328125, 0.00042343139648437...
[ 87, 5670, 47148, 3917, 35686, 47691, 352, 2263, 7, 400, 7008, 15296, 2448, 418, 11435, 5, 583, 20697, 13036, 13736, 4527, 256, 15076, 19736, 36880, 104227, 11907, 1733, 61475, 23180, 72367, 3934, 98323, 133698, 3564, 56002, 59121, 47, 43581...
[ 0.01513671875, 0.1651611328125, 0.1690673828125, 0.1708984375, 0.20361328125, 0.0714111328125, 0.0780029296875, 0.1248779296875, 0.05560302734375, 0.1026611328125, 0.1722412109375, 0.0557861328125, 0.1634521484375, 0.0772705078125, 0.14599609375, 0.017852783203125, 0.1536865234375, ...
embed
79228200_c0
79228200
lisp
0
Title: ACT-R Lisp dynamically create chunk Problem title: ACT-R Lisp dynamically create chunk Tags: lisp, common-lisp, cognitive-complexity Problem: ACT-R Lisp dynamically create chunk (defun creer-bagage (=poids =categorie) (let* ((timestamp (get-universal-time)) (=id (format nil "~8d" (mod timestamp 100000000))) (=di...
ACT-R Lisp dynamically create chunk ACT-R Lisp dynamically create chunk lisp common-lisp cognitive-complexity ACT-R Lisp Example BAGGAGE0 CATEGORIE POIDS DIMENSIONS ACT-R Lisp dynamically create chunk When running this code with parameters say 1 and 1 I have this as result: So it does not pass the variables but instead...
[ 0.01708984375, -0.0098876953125, 0.00933837890625, 0.017578125, -0.000080108642578125, 0.015380859375, 0.00099945068359375, -0.01263427734375, 0.0027008056640625, -0.0283203125, -0.0128173828125, -0.0181884765625, -0.02685546875, -0.0267333984375, 0.00311279296875, -0.002655029296875, ...
[ 84161, 1052, 1261, 7008, 84079, 25958, 28282, 7839, 92, 400, 39210, 4086, 254, 241761, 44974, 89536, 8678, 46754, 75930, 2389, 100632, 66118, 8574, 7146, 28751, 51042, 903, 18151, 678, 171859, 5154, 106, 136, 16750, 14602, 959, 27875, 77336, ...
[ 0.18359375, 0.16552734375, 0.1461181640625, 0.210693359375, 0.1832275390625, 0.031463623046875, 0.1400146484375, 0.1961669921875, 0.124755859375, 0.1124267578125, 0.09722900390625, 0.1143798828125, 0.1444091796875, 0.14208984375, 0.127197265625, 0.06512451171875, 0.061279296875, 0....
embed
17004551_c0
17004551
lisp
0
Title: Scheme Parameter Not Applicable Problem title: Scheme Parameter Not Applicable Tags: scheme, mit-scheme, lisp, functional-programming Problem: Scheme Parameter Not Applicable I am starting to learn Scheme and well, I am trying to implement my own max function that gives the max of just two parameters. I've writt...
Scheme Parameter Not Applicable Scheme Parameter Not Applicable scheme mit-scheme lisp functional-programming Scheme Parameter Not Applicable Scheme Parameter Not Applicable I am starting to learn Scheme and well, I am trying to implement my own max function that gives the max of just two parameters. I've written the f...
[ -0.004547119140625, 0.024169921875, 0.0024871826171875, 0.025634765625, -0.0079345703125, 0.03564453125, 0.0037841796875, -0.0040283203125, 0.0030517578125, -0.034912109375, 0.0233154296875, -0.0234375, -0.0196533203125, -0.0234375, 0.0286865234375, -0.0263671875, -0.0048828125, -0...
[ 34702, 282, 1720, 29089, 11205, 5659, 9120, 2886, 150370, 491, 7560, 400, 7008, 123309, 28966, 72134, 30698, 31577, 29479, 10002, 18389, 32354, 76199, 1660, 6626, 171859, 59121, 1884, 112, 64552, 1176, 71346, 1022, 113, 2271, 425, 53, 11907, ...
[ 0.2205810546875, 0.1700439453125, 0.166259765625, 0.1884765625, 0.187255859375, 0.193603515625, 0.1876220703125, 0.160888671875, 0.2139892578125, 0.1588134765625, 0.1383056640625, 0.048431396484375, 0.16357421875, 0.109130859375, 0.0928955078125, 0.003936767578125, 0.0282440185546875...
embed
40311431_c0
40311431
lisp
0
Title: lisp: building a list of lists from a single list Problem title: lisp: building a list of lists from a single list Tags: list, lisp, recursion Problem: lisp: building a list of lists from a single list I am trying to take a list of 16 numbers I have and make it into a list of 4, 4 element sublists to represent t...
lisp: building a list of lists from a single list lisp: building a list of lists from a single list list lisp recursion a lisp: building a list of lists from a single list I am trying to take a list of 16 numbers I have and make it into a list of 4, 4 element sublists to represent the game board of a magic square. I ma...
[ -0.007568359375, 0.0126953125, 0.0030364990234375, -0.017578125, -0.01190185546875, 0.002471923828125, -0.01708984375, -0.006683349609375, -0.0003261566162109375, -0.0174560546875, -0.0208740234375, -0.0152587890625, 0.020263671875, -0.00830078125, -0.007354736328125, 0.004486083984375...
[ 400, 7008, 12, 33976, 5303, 111, 7, 1295, 11001, 195625, 1830, 10, 31577, 5646, 611, 101935, 765, 3249, 3934, 201, 12830, 1614, 6562, 33636, 6712, 45443, 49846, 108047, 7228, 55300, 30646, 5844, 45367, 4393, 2967, 759, 23, 217, 12647, 586...
[ 0.1573486328125, 0.22021484375, 0.0258331298828125, 0.1790771484375, 0.244384765625, 0.039886474609375, 0.0692138671875, 0.06689453125, 0.142578125, 0.2161865234375, 0.0921630859375, 0.0400390625, 0.09588623046875, 0.06231689453125, 0.1807861328125, 0.169189453125, 0.039276123046875,...
embed
26130932_c1
26130932
lisp
1
75) ) ) (Drobeta ( (Mehadia 75) (Craiova 120) ) ) (Sibiu ( (Oradea 151) (Arad 140) (Rimnicu-Vilcea 80) (Fagaras 99) ) ) (Rimnicu-Vilcea ( (Sibiu 80) (Craiova 146) (Pitesti 97) ) ) (Craiova ( (Rimnicu-Vilcea 146) (Drobeta 120) (Pitesti 138) ) ) (Fagaras ( (Sibiu 99) (Bucharest 211) ) ) (Pitesti ( (Rimnicu-Vilcea 97) (Cr...
75) ) ) (Drobeta ( (Mehadia 75) (Craiova 120) ) ) (Sibiu ( (Oradea 151) (Arad 140) (Rimnicu-Vilcea 80) (Fagaras 99) ) ) (Rimnicu-Vilcea ( (Sibiu 80) (Craiova 146) (Pitesti 97) ) ) (Craiova ( (Rimnicu-Vilcea 146) (Drobeta 120) (Pitesti 138) ) ) (Fagaras ( (Sibiu 99) (Bucharest 211) ) ) (Pitesti ( (Rimnicu-Vilcea 97) (Cr...
[ -0.00072479248046875, 0.00921630859375, -0.00634765625, 0.01080322265625, -0.011962890625, 0.001373291015625, -0.0277099609375, -0.0032501220703125, 0.01708984375, -0.00421142578125, -0.00074005126953125, -0.0220947265625, -0.0087890625, -0.016845703125, -0.01129150390625, -0.006042480...
[ 4948, 16, 1388, 15, 397, 56942, 102, 6696, 45573, 11, 8287, 2914, 5390, 294, 21751, 34, 670, 15244, 90483, 284, 5589, 12664, 1052, 464, 35723, 9, 89272, 45710, 2248, 17647, 17117, 7, 101655, 72726, 6358, 116354, 65251, 7235, 9254, 112713,...
[ 0.31982421875, 0.1468505859375, 0.109619140625, 0.0938720703125, 0.009033203125, 0.153076171875, 0.2042236328125, 0.096923828125, 0.1995849609375, 0.1724853515625, 0.13623046875, 0.2161865234375, 0.2242431640625, 0.06658935546875, 0.128662109375, 0.167236328125, 0.04827880859375, 0...
embed
7854027_c0
7854027
lisp
0
Title: Lisp / Clojure: Is it a good idea to write function generating macros? Problem title: Lisp / Clojure: Is it a good idea to write function generating macros? Tags: clojure, lisp, macros, metaprogramming Problem: Lisp / Clojure: Is it a good idea to write function generating macros? This question asks to create a ...
Lisp / Clojure: Is it a good idea to write function generating macros? Lisp / Clojure: Is it a good idea to write function generating macros? clojure lisp macros metaprogramming Lisp Clojure Lisp / Clojure: Is it a good idea to write function generating macros? This question asks to create a Clojure macro to generate s...
[ -0.000843048095703125, 0.00482177734375, -0.0079345703125, -0.00099945068359375, -0.012451171875, 0.01422119140625, -0.0118408203125, -0.0252685546875, 0.0010986328125, -0.03759765625, -0.02392578125, -0.00186920166015625, -0.004364013671875, -0.0024261474609375, 0.000598907470703125, ...
[ 1261, 7008, 248, 51053, 461, 107, 4127, 6528, 33022, 32354, 12663, 1916, 111789, 7, 2071, 442, 47, 20450, 400, 23550, 28966, 10, 28282, 139392, 40368, 3917, 29598, 903, 61475, 132539, 959, 6626, 89397, 61924, 18151, 96704, 100094, 2967, 333...
[ 0.1536865234375, 0.2100830078125, 0.002960205078125, 0.1529541015625, 0.16357421875, 0.1304931640625, 0.13916015625, 0.14404296875, 0.21142578125, 0.2493896484375, 0.2314453125, 0.1221923828125, 0.27978515625, 0.1563720703125, 0.027587890625, 0.0257415771484375, 0.025360107421875, ...
embed
47520195_c0
47520195
lisp
0
Title: Return list using a loop Problem title: Return list using a loop Tags: for-loop, lisp, loops, racket, scheme Problem: Return list using a loop I'm new to Racket. I'm trying to return a list of lists using a loop. The code works, but it only prints one of the elements 3 times without evaluating the other conditio...
Return list using a loop Return list using a loop for-loop lisp loops racket scheme a position_ list_ Table HIGH LOW Return list using a loop I'm new to Racket. I'm trying to return a list of lists using a loop. The code works, but it only prints one of the elements 3 times without evaluating the other conditions, resu...
[ -0.012451171875, -0.004150390625, -0.008056640625, 0.01446533203125, -0.0172119140625, 0.011474609375, 0.0159912109375, 0.0081787109375, -0.00848388671875, 0.035400390625, 0.0024261474609375, -0.01080322265625, 0.006256103515625, -0.000217437744140625, -0.00860595703125, 0.022583007812...
[ 173340, 5303, 17368, 10, 40956, 100, 28354, 400, 7008, 673, 27853, 150370, 19069, 112997, 95954, 143141, 3525, 2552, 31577, 30646, 7, 18151, 43240, 4734, 28412, 1632, 80854, 138, 20028, 15490, 151575, 27289, 171763, 8305, 12638, 12830, 35431, ...
[ 0.2490234375, 0.2230224609375, 0.043487548828125, 0.01265716552734375, 0.2578125, 0.034637451171875, 0.186279296875, 0.023529052734375, 0.1209716796875, 0.06500244140625, 0.201416015625, 0.146484375, 0.1483154296875, 0.1068115234375, 0.05859375, 0.116455078125, 0.0278778076171875, ...
embed
9832378_c0
9832378
lisp
0
Title: Where should a Quicklisp QUICKLOAD go in my source? Nowhere? Problem title: Where should a Quicklisp QUICKLOAD go in my source? Nowhere? Tags: allegro-cl, common-lisp, lisp, quicklisp Problem: Where should a Quicklisp QUICKLOAD go in my source? Nowhere? Let's say I build an application on top of net.aserve and b...
Where should a Quicklisp QUICKLOAD go in my source? Nowhere? Where should a Quicklisp QUICKLOAD go in my source? Nowhere? allegro-cl common-lisp lisp quicklisp Where Quicklisp QUICKLOAD Nowhere net.aserve ql:quickload Where should a Quicklisp QUICKLOAD go in my source? Nowhere? Let's say I build an application on top o...
[ 0.011474609375, 0.010498046875, 0.01116943359375, -0.00970458984375, -0.0238037109375, 0.0130615234375, 0.0164794921875, 0.007537841796875, 0.00927734375, -0.027099609375, -0.006622314453125, -0.00653076171875, 0.00823974609375, -0.02294921875, 0.0140380859375, -0.01007080078125, -0....
[ 78662, 5608, 89038, 4086, 254, 142363, 20572, 17014, 12351, 738, 23, 31344, 438, 136913, 759, 747, 8407, 34937, 39210, 400, 7008, 63773, 2043, 11, 86687, 99247, 3181, 2594, 63033, 10, 45367, 38415, 2663, 38638, 10442, 39116, 98169, 21635, 1...
[ 0.093017578125, 0.07318115234375, 0.159912109375, 0.210693359375, 0.188720703125, 0.150146484375, 0.1195068359375, 0.215576171875, 0.2021484375, 0.11669921875, 0.1070556640625, 0.243408203125, 0.06396484375, 0.1463623046875, 0.0260467529296875, 0.05133056640625, 0.205078125, 0.0581...
embed
8207918_c0
8207918
lisp
0
Title: String-append not working; keeps overwriting previous strings Problem title: String-append not working; keeps overwriting previous strings Tags: scheme, lisp, append, string Problem: String-append not working; keeps overwriting previous strings I am trying to do a simple task of appending a number to a string mu...
String-append not working; keeps overwriting previous strings String-append not working; keeps overwriting previous strings scheme lisp append string String-append String-append not working; keeps overwriting previous strings I am trying to do a simple task of appending a number to a string multiple times, and hoping t...
[ 0.0020294189453125, 0.01300048828125, 0.000782012939453125, 0.031982421875, 0.00146484375, 0.01239013671875, 0.00885009765625, 0.004791259765625, 0.00946044921875, 0.0025482177734375, -0.00054931640625, -0.06396484375, -0.00933837890625, 0.0064697265625, 0.0162353515625, -0.00106048583...
[ 23351, 214, 9007, 3611, 959, 20697, 13695, 645, 199332, 96362, 79315, 150370, 400, 7008, 114689, 71, 31577, 8781, 66211, 1747, 96819, 14012, 47, 48716, 20028, 156377, 45367, 83, 12638, 11782, 91693, 33720, 18151, 44116, 617, 758, 910, 966, ...
[ 0.1767578125, 0.07073974609375, 0.13720703125, 0.2042236328125, 0.0755615234375, 0.144287109375, 0.07305908203125, 0.0777587890625, 0.179443359375, 0.06085205078125, 0.1876220703125, 0.1304931640625, 0.10601806640625, 0.1727294921875, 0.1668701171875, 0.067626953125, 0.03054809570312...
embed
2710231_c0
2710231
lisp
0
Title: Please explain some of Paul Graham&#x27;s points on Lisp Problem title: Please explain some of Paul Graham&#x27;s points on Lisp Tags: lisp, common-lisp, clojure, scheme Problem: Please explain some of Paul Graham's points on Lisp I need some help understanding some of the points from Paul Graham’s What Made Lis...
Please explain some of Paul Graham&#x27;s points on Lisp Please explain some of Paul Graham&#x27;s points on Lisp lisp common-lisp clojure scheme Please Paul Graham Lisp Please explain some of Paul Graham's points on Lisp I need some help understanding some of the points from Paul Graham’s What Made Lisp Different . A ...
[ 0.017578125, 0.021240234375, -0.0181884765625, 0.017578125, -0.0250244140625, 0.01806640625, -0.02001953125, 0.00994873046875, 0.00244140625, -0.006011962890625, 0.0034332275390625, -0.03466796875, 0.000072479248046875, 0.01068115234375, -0.013427734375, 0.00982666015625, -0.00193786...
[ 30607, 73342, 3060, 10208, 147756, 3768, 26847, 98, 1261, 7008, 400, 39210, 4086, 254, 20450, 461, 107, 150370, 3871, 4358, 100094, 4865, 64337, 242520, 3525, 23755, 77336, 360, 756, 191984, 6275, 1314, 190060, 52895, 959, 95486, 707, 128239,...
[ 0.041778564453125, 0.181884765625, 0.03436279296875, 0.1895751953125, 0.27294921875, 0.05291748046875, 0.1781005859375, 0.060089111328125, 0.1954345703125, 0.272216796875, 0.133544921875, 0.1220703125, 0.1138916015625, 0.171875, 0.0960693359375, 0.139892578125, 0.10009765625, 0.171...
embed
23559425_c0
23559425
lisp
0
Title: Can I have nested defmethod/defgeneric in lisp? Problem title: Can I have nested defmethod/defgeneric in lisp? Tags: let, lisp, scope Problem: Can I have nested defmethod/defgeneric in lisp? I want to create the equivalent of a "nested LET " as in Haskell, where I can refer to some values bound in the outer LET ...
Can I have nested defmethod/defgeneric in lisp? Can I have nested defmethod/defgeneric in lisp? let lisp scope Can Can I have nested defmethod/defgeneric in lisp? I want to create the equivalent of a "nested LET " as in Haskell, where I can refer to some values bound in the outer LET . The caveat is that the function d...
[ -0.002288818359375, 0.0233154296875, -0.0050048828125, 0.015380859375, 0.0201416015625, 0.00007677078247070312, -0.005401611328125, 0.000911712646484375, -0.005157470703125, -0.0390625, -0.0284423828125, -0.02294921875, -0.004150390625, 0.0194091796875, 0.0018157958984375, -0.000429153...
[ 4171, 765, 8512, 71, 8, 420, 1928, 7352, 112, 79446, 1771, 23, 400, 7008, 2633, 70820, 87, 64, 28282, 183234, 86, 14437, 27089, 20625, 142508, 15005, 142424, 99091, 1810, 56, 143383, 32354, 61924, 75414, 58580, 257, 10644, 10750, 169463, ...
[ 0.117919921875, 0.1082763671875, 0.2364501953125, 0.1375732421875, 0.1580810546875, 0.1419677734375, 0.113525390625, 0.18115234375, 0.08892822265625, 0.22705078125, 0.1417236328125, 0.093994140625, 0.13623046875, 0.217529296875, 0.143798828125, 0.17236328125, 0.03131103515625, 0.01...
embed
7824181_c1
7824181
lisp
1
. My problem is that after an ant-assembly function has finished, I have no way to tell the interpreter (which interprets the ant-assembly instructions) where to continue. Maybe an example helps: The high-level Clojure DSL: (defn search-for-food [cont] (sense-food-here? ; a conditional w/ 2 branches (pickup-food ; true...
. My problem is that after an ant-assembly function has finished, I have no way to tell the interpreter (which interprets the ant-assembly instructions) where to continue. Maybe an example helps: The high-level Clojure DSL: (defn search-for-food [cont] (sense-food-here? ; a conditional w/ 2 branches (pickup-food ; true...
[ -0.0177001953125, -0.01300048828125, -0.00897216796875, 0.00933837890625, -0.01361083984375, 0.0133056640625, 0.033935546875, -0.01214599609375, -0.0093994140625, -0.028564453125, -0.0220947265625, -0.00167083740234375, -0.0205078125, -0.000530242919921875, 0.003204345703125, -0.003067...
[ 2967, 7103, 12936, 89845, 38526, 32354, 1556, 122799, 110, 3917, 14192, 29481, 56, 167934, 7440, 47, 21342, 27781, 112397, 67919, 51053, 461, 107, 114479, 112, 14783, 33938, 2472, 49558, 2271, 18, 100033, 35593, 35431, 289, 116, 90356, 18695,...
[ 0.1182861328125, 0.10028076171875, 0.1973876953125, 0.1700439453125, 0.095703125, 0.1832275390625, 0.026458740234375, 0.163330078125, 0.0523681640625, 0.04132080078125, 0.1424560546875, 0.1976318359375, 0.0946044921875, 0.204833984375, 0.113037109375, 0.037811279296875, 0.17810058593...
embed
35978098_c0
35978098
lisp
0
Title: Lisp- modifying a local variable inside multiple statements on a function Problem title: Lisp- modifying a local variable inside multiple statements on a function Tags: function, lisp, if-statement, local, variables Problem: Lisp- modifying a local variable inside multiple statements on a function I'm new to lis...
Lisp- modifying a local variable inside multiple statements on a function Lisp- modifying a local variable inside multiple statements on a function function lisp if-statement local variables Lisp by7 by5 by3 Lisp- modifying a local variable inside multiple statements on a function I'm new to lisp, trying to understand ...
[ -0.002288818359375, 0.0054931640625, -0.01104736328125, 0.029052734375, 0.004791259765625, 0.01708984375, -0.01373291015625, 0.005828857421875, 0.01190185546875, 0.00051116943359375, -0.00872802734375, -0.01220703125, 0.00677490234375, -0.01007080078125, -0.00537109375, 0.023193359375,...
[ 1261, 7008, 9, 2811, 151138, 4000, 77336, 46132, 48716, 63805, 98, 32354, 400, 2174, 61340, 674, 390, 966, 758, 363, 3525, 28219, 43240, 3714, 4488, 678, 21334, 10176, 1119, 238, 25379, 14012, 47, 45, 99017, 138, 190, 361, 8110, 30646, ...
[ 0.190185546875, 0.246826171875, 0.016693115234375, 0.1732177734375, 0.1236572265625, 0.172607421875, 0.2322998046875, 0.1578369140625, 0.1702880859375, 0.20751953125, 0.0165252685546875, 0.1827392578125, 0.170654296875, 0.18115234375, 0.138916015625, 0.052734375, 0.096435546875, 0....
embed
43237402_c0
43237402
lisp
0
Title: Sum of rows in a matrix with lisp Problem title: Sum of rows in a matrix with lisp Tags: sum, lisp, apply, matrix, row Problem: Sum of rows in a matrix with lisp I'm doing some LISP exercises using functions mapcar and apply . I'm dealing with matrixes, and I have to sum its rows and columns. For column I have: ...
Sum of rows in a matrix with lisp Sum of rows in a matrix with lisp sum lisp apply matrix row Sum Sum of rows in a matrix with lisp I'm doing some LISP exercises using functions mapcar and apply . I'm dealing with matrixes, and I have to sum its rows and columns. For column I have: That works. Since I know how to trans...
[ -0.00022029876708984375, 0.0123291015625, 0.02685546875, 0.005889892578125, -0.01043701171875, -0.01220703125, 0.00482177734375, 0.02587890625, 0.005889892578125, -0.0400390625, 0.0026702880859375, -0.028564453125, -0.013671875, 0.01153564453125, 0.00946044921875, 0.007171630859375, ...
[ 36335, 111, 15555, 7, 23, 50944, 425, 678, 400, 7008, 10554, 59911, 16970, 9434, 81979, 32354, 22288, 3284, 31195, 6863, 136, 3365, 316, 43240, 3714, 3900, 78381, 17723, 105237, 18, 4488, 18499, 11907, 5303, 46132, 53418, 69880, 9969, 1340,...
[ 0.2086181640625, 0.0999755859375, 0.20654296875, 0.0504150390625, 0.04229736328125, 0.1602783203125, 0.09698486328125, 0.076171875, 0.1116943359375, 0.1790771484375, 0.205810546875, 0.19140625, 0.05596923828125, 0.1331787109375, 0.034454345703125, 0.08203125, 0.1138916015625, 0.189...
embed
24099970_c0
24099970
lisp
0
Title: How do I ensure the correct precedence in Emacs highlighting keywords? Problem title: How do I ensure the correct precedence in Emacs highlighting keywords? Tags: lisp, emacs, elisp Problem: How do I ensure the correct precedence in Emacs highlighting keywords? I'm trying to write a simple major mode for a lisp ...
How do I ensure the correct precedence in Emacs highlighting keywords? How do I ensure the correct precedence in Emacs highlighting keywords? lisp emacs elisp How Emacs Highlighting Example Major How do I ensure the correct precedence in Emacs highlighting keywords? I'm trying to write a simple major mode for a lisp di...
[ 0.010498046875, -0.00738525390625, -0.02685546875, 0.005859375, -0.018310546875, 0.021240234375, 0.027099609375, -0.004913330078125, -0.00010251998901367188, 0.03515625, 0.006561279296875, 0.00335693359375, -0.01483154296875, -0.0069580078125, -0.00445556640625, -0.00665283203125, 0....
[ 11249, 63284, 26785, 107671, 6620, 85269, 4439, 127308, 166117, 54, 214, 7, 400, 7008, 352, 2263, 15296, 132951, 89536, 8705, 49953, 23, 31577, 33022, 8781, 13036, 13736, 220734, 121413, 1528, 86681, 4865, 20594, 44691, 44084, 79315, 6835, 83...
[ 0.0780029296875, 0.209716796875, 0.18017578125, 0.1724853515625, 0.1156005859375, 0.197265625, 0.2042236328125, 0.234375, 0.188720703125, 0.0042724609375, 0.038787841796875, 0.035369873046875, 0.0977783203125, 0.189453125, 0.09991455078125, 0.1085205078125, 0.042449951171875, 0.229...
embed
2835942_c1
2835942
lisp
1
-b local0.5.2 e207eb2cad $ configure configure: command not found $ make mkdir -p ebin erlc -I include -o ebin -W0 -Ddebug +debug_info src/*.erl #erl -I -pa ebin -noshell -eval -noshell -run edoc file src/leex.erl -run init stop #erl -I -pa ebin -noshell -eval -noshell -run edoc_run application "'Leex'" '"."' '[no_pac...
-b local0.5.2 e207eb2cad $ configure configure: command not found $ make mkdir -p ebin erlc -I include -o ebin -W0 -Ddebug +debug_info src/*.erl #erl -I -pa ebin -noshell -eval -noshell -run edoc file src/leex.erl -run init stop #erl -I -pa ebin -noshell -eval -noshell -run edoc_run application "'Leex'" '"."' '[no_pac...
[ 0.00592041015625, 0.00079345703125, -0.0025177001953125, -0.005126953125, 0.00799560546875, 0.00921630859375, -0.0166015625, -0.0289306640625, -0.0023193359375, -0.01226806640625, 0.006011962890625, -0.0166015625, 0.0118408203125, 0.007171630859375, 0.021484375, -0.00958251953125, 0....
[ 275, 4000, 93645, 304, 28, 1549, 966, 6403, 25426, 3650, 222495, 75101, 959, 14037, 3249, 19201, 936, 254, 7568, 72, 32838, 568, 26698, 31, 2389, 112, 85779, 7319, 19437, 56, 141, 763, 157, 128019, 1405, 16428, 29713, 11435, 133, 3355, ...
[ 0.10565185546875, 0.1251220703125, 0.15869140625, 0.1064453125, 0.0640869140625, 0.04736328125, 0.06512451171875, 0.0804443359375, 0.15576171875, 0.02850341796875, 0.227294921875, 0.213134765625, 0.09906005859375, 0.1387939453125, 0.151123046875, 0.019195556640625, 0.103515625, 0.0...
embed
59605026_c0
59605026
lisp
0
Title: push macro storing in-function but not out of function Problem title: push macro storing in-function but not out of function Tags: mutability, lisp, common-lisp Problem: push macro storing in-function but not out of function I have a function: (defun multi-push (L P) (print (if L "T" "F")) (print P) (when L (mul...
push macro storing in-function but not out of function push macro storing in-function but not out of function mutability lisp common-lisp CL-USER PUSH POP push macro storing in-function but not out of function I have a function: which I have made in an to attempt to push a list onto another list (I am aware the input l...
[ 0.0026397705078125, 0.0224609375, 0.007598876953125, 0.01092529296875, -0.0230712890625, 0.03466796875, -0.0142822265625, -0.01123046875, 0.01190185546875, -0.0072021484375, 0.0196533203125, 0.0054931640625, 0.0023040771484375, -0.01300048828125, 0.0067138671875, 0.0106201171875, -0....
[ 25944, 111789, 3082, 23, 137175, 1284, 959, 1810, 111, 32354, 21144, 41159, 400, 7008, 39210, 4086, 254, 46323, 1062, 50184, 24584, 12927, 84029, 7228, 81887, 5303, 188, 15700, 107419, 107730, 339, 83, 39531, 5281, 4331, 28412, 63805, 10422, ...
[ 0.25927734375, 0.254150390625, 0.1925048828125, 0.1602783203125, 0.207763671875, 0.097900390625, 0.11376953125, 0.1685791015625, 0.0869140625, 0.1807861328125, 0.1495361328125, 0.0179595947265625, 0.07843017578125, 0.1524658203125, 0.0731201171875, 0.045013427734375, 0.07818603515625...
embed
4045683_c0
4045683
lisp
0
Title: Making an instance of midi:midifile Problem title: Making an instance of midi:midifile Tags: common-lisp, lisp, midi Problem: Making an instance of midi:midifile I'm using a Lisp MIDI library for a small project I'm working on. Just to get started, I'm trying to write a simple MIDI file that plays middle C. Howe...
Making an instance of midi:midifile Making an instance of midi:midifile common-lisp lisp midi Making midi:midifile midi:note-on-message midi:note-off-message midi:write-midi-file opus.mid Making an instance of midi:midifile I'm using a Lisp MIDI library for a small project I'm working on. Just to get started, I'm tryin...
[ -0.00141143798828125, 0.0123291015625, 0.022216796875, -0.01031494140625, 0.006378173828125, -0.007049560546875, -0.010986328125, -0.006439208984375, 0.0031585693359375, -0.0240478515625, -0.027587890625, -0.00078582763671875, -0.002044677734375, 0.01214599609375, -0.017822265625, -0.0...
[ 13676, 110527, 4122, 14, 62914, 29822, 142, 39210, 4086, 254, 400, 7008, 48345, 191, 74157, 16713, 18781, 50289, 22000, 1261, 276, 90950, 35773, 19336, 13452, 20697, 26859, 31577, 33022, 8781, 11435, 11301, 86991, 313, 48903, 4488, 209806, 18...
[ 0.083251953125, 0.2021484375, 0.2247314453125, 0.171142578125, 0.254638671875, 0.232421875, 0.004669189453125, 0.0977783203125, 0.0751953125, 0.1275634765625, 0.0777587890625, 0.1715087890625, 0.1279296875, 0.1434326171875, 0.0888671875, 0.100830078125, 0.02777099609375, 0.14489746...
embed
6012688_c0
6012688
lisp
0
Title: Tuple Unpacking Similar to Python, but in Common Lisp Problem title: Tuple Unpacking Similar to Python, but in Common Lisp Tags: common-lisp, python, list, lisp, iterable-unpacking Problem: Tuple Unpacking Similar to Python, but in Common Lisp Is there a way to assign the values of a list to a list of symbols in...
Tuple Unpacking Similar to Python, but in Common Lisp Tuple Unpacking Similar to Python, but in Common Lisp common-lisp python list lisp iterable-unpacking Tuple Unpacking Similar Python Common Lisp Tuple Unpacking Similar to Python, but in Common Lisp Is there a way to assign the values of a list to a list of symbols ...
[ 0.0208740234375, 0.019287109375, 0.0037689208984375, 0.0185546875, -0.00860595703125, 0.00921630859375, -0.01123046875, 0.01904296875, 0.0203857421875, -0.0030517578125, 0.00537109375, 0.000240325927734375, 0.01324462890625, 0.022705078125, -0.025146484375, 0.02099609375, 0.008178710...
[ 1371, 8705, 992, 29102, 214, 209683, 145581, 1284, 23, 151301, 1261, 7008, 47, 39210, 4086, 254, 17198, 50828, 5303, 400, 720, 2886, 309, 10, 3917, 95486, 142424, 26582, 21373, 370, 77336, 78662, 653, 136, 915, 5036, 105950, 106, 116, 107...
[ 0.1295166015625, 0.2269287109375, 0.0941162109375, 0.213134765625, 0.0212554931640625, 0.138671875, 0.223876953125, 0.0347900390625, 0.04559326171875, 0.1800537109375, 0.161865234375, 0.1866455078125, 0.0252227783203125, 0.0975341796875, 0.1041259765625, 0.092529296875, 0.06549072265...
embed
1144661_c0
1144661
lisp
0
Title: How to write the Average Function for this Data structure in Scheme/Lisp? Problem title: How to write the Average Function for this Data structure in Scheme/Lisp? Tags: functional-programming, lisp, scheme, racket Problem: How to write the Average Function for this Data structure in Scheme/Lisp? I want to find t...
How to write the Average Function for this Data structure in Scheme/Lisp? How to write the Average Function for this Data structure in Scheme/Lisp? functional-programming lisp scheme racket How Average Data Scheme Lisp How to write the Average Function for this Data structure in Scheme/Lisp? I want to find the price of...
[ 0.01043701171875, 0.009765625, 0.00689697265625, -0.0184326171875, 0.004058837890625, 0.003875732421875, 0.005584716796875, 0.012451171875, 0.009765625, -0.0096435546875, 0.0036163330078125, -0.006439208984375, -0.0069580078125, -0.01324462890625, 0, 0.0093994140625, 0.011962890625, ...
[ 11249, 33022, 40168, 29838, 28670, 10763, 100, 903, 11809, 45646, 34702, 282, 9506, 7008, 47, 23, 123309, 28966, 400, 150370, 673, 27853, 1261, 70, 3444, 7413, 27167, 3525, 217, 195, 35509, 83080, 112034, 21373, 55769, 32354, 2046, 92, 6231...
[ 0.069091796875, 0.1842041015625, 0.2144775390625, 0.2060546875, 0.1856689453125, 0.08587646484375, 0.02685546875, 0.06085205078125, 0.112548828125, 0.1807861328125, 0.1690673828125, 0.1253662109375, 0.114990234375, 0.1927490234375, 0.018157958984375, 0.0322265625, 0.099609375, 0.06...
embed
57222582_c0
57222582
lisp
0
Title: How to make the instances of a class using a metaclass inherit from a specific superclass Problem title: How to make the instances of a class using a metaclass inherit from a specific superclass Tags: common-lisp, mop, clos, lisp Problem: How to make the instances of a class using a metaclass inherit from a spec...
How to make the instances of a class using a metaclass inherit from a specific superclass How to make the instances of a class using a metaclass inherit from a specific superclass common-lisp mop clos lisp a How yason:encode-slots How to make the instances of a class using a metaclass inherit from a specific superclass...
[ 0.004241943359375, 0.0027313232421875, -0.000843048095703125, -0.004150390625, -0.025634765625, -0.008056640625, 0.01220703125, 0.035400390625, -0.01904296875, -0.039306640625, -0.00433349609375, -0.00092315673828125, 0.00830078125, 0.0040283203125, -0.005401611328125, 0.013427734375, ...
[ 11249, 3249, 110527, 7, 18507, 17368, 23550, 67413, 23, 3334, 217, 1295, 29458, 1601, 39210, 4086, 254, 931, 20450, 400, 7008, 151, 1681, 12, 33, 40899, 9, 12631, 1647, 35686, 47691, 61687, 69307, 61924, 24897, 50717, 167790, 47, 124962, ...
[ 0.0732421875, 0.0794677734375, 0.2169189453125, 0.067138671875, 0.2222900390625, 0.0592041015625, 0.2371826171875, 0.242919921875, 0.1064453125, 0.2042236328125, 0.123291015625, 0.0869140625, 0.165771484375, 0.1661376953125, 0.12451171875, 0.05206298828125, 0.1138916015625, 0.06500...
embed
52270937_c1
52270937
lisp
1
.5 ;JN04,6.6 ;----------------------------------------------- what I want is a macro/function I can use this way: (write-to-text temperature,ws,wd,pressure,theta-in-k,mixradio) and this macro/function will do the work. I don't know how to write such a macro/function. My macro post here but it doesn't work: (defmacro wr...
.5 ;JN04,6.6 ;----------------------------------------------- what I want is a macro/function I can use this way: (write-to-text temperature,ws,wd,pressure,theta-in-k,mixradio) and this macro/function will do the work. I don't know how to write such a macro/function. My macro post here but it doesn't work: (defmacro wr...
[ -0.00921630859375, -0.0025634765625, -0.01611328125, 0.00433349609375, -0.01129150390625, 0.00897216796875, -0.000896453857421875, 0.0205078125, 0.000274658203125, 0.0284423828125, -0.00946044921875, 0.007232666015625, 0.0289306640625, -0.01129150390625, 0.0208740234375, -0.01007080078...
[ 5, 758, 135513, 7709, 156960, 2367, 3444, 10, 111789, 64, 137175, 831, 4527, 903, 3917, 434, 18781, 188, 22829, 52768, 19725, 37281, 11856, 3408, 2347, 102, 73, 92, 62015, 38446, 4488, 3714, 3642, 33022, 6044, 1305, 3688, 22027, 18, 112, ...
[ 0.0236053466796875, 0.125, 0.156005859375, 0.2083740234375, 0.2137451171875, 0.018402099609375, 0.1239013671875, 0.000244140625, 0.248291015625, 0.0499267578125, 0.2142333984375, 0.024505615234375, 0.08355712890625, 0.02752685546875, 0.043243408203125, 0.043731689453125, 0.1237792968...
embed
10723345_c0
10723345
lisp
0
Title: How does scope generally affect the use of nested functions? Problem title: How does scope generally affect the use of nested functions? Tags: scope, lisp, c, gnu Problem: How does scope generally affect the use of nested functions? I think I have this down, but I'd like to confirm. With dynamic scope, it doesn'...
How does scope generally affect the use of nested functions? How does scope generally affect the use of nested functions? scope lisp c gnu How How does scope generally affect the use of nested functions? I think I have this down, but I'd like to confirm. With dynamic scope, it doesn't matter whether one uses a nested f...
[ -0.0057373046875, 0.0184326171875, -0.0003204345703125, -0.002288818359375, -0.0078125, 0.0181884765625, 0.0024871826171875, 0.00994873046875, 0.006256103515625, -0.01446533203125, 0.00823974609375, -0.036376953125, -0.038818359375, 0.0233154296875, 0.0167236328125, 0.00055694580078125...
[ 11249, 6, 70820, 137567, 52490, 4527, 8512, 71, 32354, 7, 400, 7008, 501, 104155, 14602, 39563, 17106, 84079, 18, 26866, 84797, 77336, 56566, 11782, 177261, 34166, 75412, 10644, 75675, 21533, 324, 21068, 159029, 678, 1528, 59121, 167969, 1810...
[ 0.0728759765625, 0.05523681640625, 0.28955078125, 0.140869140625, 0.198974609375, 0.15283203125, 0.255126953125, 0.1500244140625, 0.2235107421875, 0.0634765625, 0.061065673828125, 0.12060546875, 0.047149658203125, 0.1348876953125, 0.0252532958984375, 0.02569580078125, 0.0347290039062...
embed
38175290_c0
38175290
lisp
0
Title: MIT Scheme using special characters in the interpreter Problem title: MIT Scheme using special characters in the interpreter Tags: character-encoding, lisp, mit-scheme, scheme, unicode Problem: MIT Scheme using special characters in the interpreter I am using MIT scheme, and would like to be able to do something...
MIT Scheme using special characters in the interpreter MIT Scheme using special characters in the interpreter character-encoding lisp mit-scheme scheme unicode special MIT Scheme Illegal RESTART MIT Scheme using special characters in the interpreter I am using MIT scheme, and would like to be able to do something like ...
[ 0.0019989013671875, 0.0111083984375, 0.000560760498046875, -0.0048828125, -0.01202392578125, -0.00946044921875, 0.01953125, 0.005462646484375, -0.0301513671875, -0.0128173828125, -0.0029296875, -0.00775146484375, -0.013427734375, -0.0167236328125, -0.006866455078125, -0.001502990722656...
[ 78999, 34702, 282, 17368, 5361, 124850, 29481, 56, 23, 62816, 66332, 400, 7008, 491, 7560, 150370, 60347, 112, 891, 86966, 21828, 47136, 1884, 19048, 64552, 7823, 1031, 146893, 192616, 86468, 177417, 22, 587, 18499, 903, 219778, 8060, 22027, ...
[ 0.2298583984375, 0.2208251953125, 0.160400390625, 0.0859375, 0.1661376953125, 0.18701171875, 0.2042236328125, 0.136474609375, 0.035888671875, 0.1357421875, 0.12939453125, 0.06317138671875, 0.14892578125, 0.195068359375, 0.08551025390625, 0.187255859375, 0.182373046875, 0.158203125,...
embed
1683107_c0
1683107
lisp
0
Title: When is an initform used? Problem title: When is an initform used? Tags: common-lisp, clos, lisp Problem: When is an initform used? I'm forming a class for some work on molecular dynamics as follows: (defclass %atom (particle) ((name :initarg :name :initform (error "Every atom in the system must have a name!")) ...
When is an initform used? When is an initform used? common-lisp clos lisp When Every When is an initform used? I'm forming a class for some work on molecular dynamics as follows: Initially I thought that I could somehow refer to other slots within the class definition with an initform i.e. (getmass name) - but that tur...
[ 0.006805419921875, 0.0145263671875, 0.019287109375, 0.00433349609375, 0.004974365234375, 0.012939453125, 0.0244140625, 0.007537841796875, 0.00153350830078125, -0.021240234375, 0.01123046875, -0.0289306640625, 0.0123291015625, 0.00274658203125, 0.00122833251953125, -0.0032806396484375, ...
[ 14847, 83, 142, 23, 217, 5037, 11814, 39210, 4086, 254, 20450, 7, 400, 7008, 87769, 3173, 18507, 233239, 84079, 17569, 15005, 121892, 28032, 80934, 3794, 1510, 9351, 61475, 20650, 73, 116071, 3687, 3884, 47691, 44075, 20174, 3229, 152, 4966...
[ 0.2174072265625, 0.083984375, 0.0914306640625, 0.124267578125, 0.1536865234375, 0.306884765625, 0.1739501953125, 0.11181640625, 0.0814208984375, 0.138671875, 0.128662109375, 0.06298828125, 0.0885009765625, 0.156494140625, 0.126708984375, 0.032958984375, 0.12646484375, 0.0849609375,...
embed
3065606_c0
3065606
lisp
0
Title: When did the idea of macros (user-defined code transformation) appear? Problem title: When did the idea of macros (user-defined code transformation) appear? Tags: lisp, macros, racket, history, scheme Problem: When did the idea of macros (user-defined code transformation) appear? I have read McCarthy's 1960 pape...
When did the idea of macros (user-defined code transformation) appear? When did the idea of macros (user-defined code transformation) appear? lisp macros racket history scheme When When did the idea of macros (user-defined code transformation) appear? I have read McCarthy's 1960 paper on LISP and found no reference to ...
[ 0.0045166015625, 0.006072998046875, 0.025390625, 0.0087890625, 0.01556396484375, 0.001983642578125, 0.0011749267578125, 0.0128173828125, -0.000850677490234375, -0.0286865234375, -0.01263427734375, -0.028564453125, -0.0186767578125, -0.0115966796875, 0.0084228515625, -0.0162353515625, ...
[ 14847, 6528, 111, 111789, 7, 65918, 112, 5983, 18151, 167201, 108975, 400, 7008, 673, 27853, 32692, 150370, 6777, 70, 12301, 85283, 147, 29178, 23936, 15122, 16970, 9434, 91067, 21373, 38937, 3638, 12989, 219836, 3229, 5117, 118775, 56037, 46...
[ 0.042083740234375, 0.1729736328125, 0.0306396484375, 0.28076171875, 0.19482421875, 0.1260986328125, 0.09674072265625, 0.1575927734375, 0.175537109375, 0.23681640625, 0.1346435546875, 0.107421875, 0.21728515625, 0.063720703125, 0.1761474609375, 0.11572265625, 0.1507568359375, 0.0205...
embed
20074462_c0
20074462
lisp
0
Title: setf in a function does not work Problem title: setf in a function does not work Tags: lisp, common-lisp Problem: setf in a function does not work i defined a special variable *unsorted-lst* and a function for reseting this variable in my script: (defparameter *unsorted-lst* nil) (defun reset-to-unsorted-list ()...
setf in a function does not work setf in a function does not work lisp common-lisp NIL setf in a function does not work i defined a special variable *unsorted-lst* and a function for reseting this variable in my script: After that i copy them to SBCL console for testing, i did: Everything works fine so far. Then i did ...
[ 0.012939453125, 0.01007080078125, 0.0234375, -0.0042724609375, 0.00579833984375, -0.0091552734375, -0.006561279296875, -0.003662109375, 0.017333984375, 0.01043701171875, -0.004486083984375, 0.0262451171875, 0.005767822265625, -0.00101470947265625, 0.016845703125, -0.0155029296875, 0....
[ 5423, 420, 23, 32354, 14602, 959, 4488, 10, 400, 7008, 39210, 4086, 254, 541, 16444, 61924, 5361, 77336, 309, 62351, 141, 271, 168398, 214, 26499, 43658, 90944, 37486, 130250, 134234, 171581, 43240, 5885, 2060, 37202, 6777, 17932, 12830, 34...
[ 0.1837158203125, 0.265625, 0.1044921875, 0.209716796875, 0.049957275390625, 0.132568359375, 0.1575927734375, 0.0213165283203125, 0.076171875, 0.1805419921875, 0.11572265625, 0.05438232421875, 0.1470947265625, 0.017669677734375, 0.1473388671875, 0.1346435546875, 0.11767578125, 0.214...
embed
8364272_c0
8364272
lisp
0
Title: Lisp - Elements of a lisp occur in other list Problem title: Lisp - Elements of a lisp occur in other list Tags: lisp Problem: Lisp - Elements of a lisp occur in other list i'm having a problem with this lisp function. I want to create a function that receives two lists, and verifies if the elements of the first...
Lisp - Elements of a lisp occur in other list Lisp - Elements of a lisp occur in other list lisp Lisp Elements elem1 elem2 Lisp - Elements of a lisp occur in other list i'm having a problem with this lisp function. I want to create a function that receives two lists, and verifies if the elements of the first list (all ...
[ -0.004852294921875, 0.00091552734375, -0.001251220703125, 0.0279541015625, -0.003936767578125, 0.0057373046875, 0.00095367431640625, -0.0035552978515625, -0.0113525390625, -0.025390625, 0.0126953125, -0.00153350830078125, 0.00186920166015625, 0.005096435546875, -0.010498046875, 0.00349...
[ 1261, 7008, 48325, 7, 111, 400, 74918, 23, 3789, 5303, 88, 195, 418, 304, 19441, 2967, 32354, 3444, 28282, 53299, 6626, 173, 58726, 2174, 80854, 5117, 5584, 2856, 17932, 30646, 87599, 96276, 25632, 18151, 959, 20697, 84751, 9790, 8781, 19...
[ 0.17236328125, 0.239501953125, 0.1981201171875, 0.01544189453125, 0.03363037109375, 0.1507568359375, 0.1837158203125, 0.0859375, 0.126708984375, 0.2191162109375, 0.0173797607421875, 0.131103515625, 0.021636962890625, 0.087158203125, 0.007110595703125, 0.08856201171875, 0.188720703125...
embed
1514331_c0
1514331
lisp
0
Title: Convert a lisp string to stream Problem title: Convert a lisp string to stream Tags: string, stream, lisp Problem: Convert a lisp string to stream I have a file that looks like this: A B C D E 0 8 6 12 5 8 0 10 8 9 6 10 0 7 11 12 8 7 0 6 5 9 11 6 0 I don't know ahead of time how many rows and columns there will ...
Convert a lisp string to stream Convert a lisp string to stream string stream lisp Convert testcase1.txt Convert a lisp string to stream I have a file that looks like this: I don't know ahead of time how many rows and columns there will be. I would like to read the top line, which will let me know the number of rows to...
[ -0.010498046875, 0.00019550323486328125, -0.0091552734375, 0.01708984375, -0.023193359375, -0.00836181640625, 0.0084228515625, -0.000911712646484375, -0.00836181640625, -0.02783203125, -0.008056640625, -0.0162353515625, -0.005859375, 0.01092529296875, -0.003936767578125, -0.00233459472...
[ 1657, 11549, 400, 7008, 79315, 47, 75973, 3034, 58437, 418, 124326, 10, 11435, 33342, 1884, 3714, 15555, 3365, 316, 12301, 2663, 13315, 14012, 41206, 39116, 86429, 32354, 40956, 831, 366, 12638, 124850, 237, 26582, 17475, 4734, 16454, 5117, ...
[ 0.03961181640625, 0.14501953125, 0.1552734375, 0.22802734375, 0.257568359375, 0.0831298828125, 0.2958984375, 0.1822509765625, 0.185546875, 0.05810546875, 0.1866455078125, 0.004669189453125, 0.1414794921875, 0.0963134765625, 0.0237884521484375, 0.036895751953125, 0.1470947265625, 0....
embed