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
11337042_c0
11337042
lisp
0
Title: *scratch* buffer using SLIME Problem title: *scratch* buffer using SLIME Tags: slime, lisp, emacs Problem: *scratch* buffer using SLIME I realize that SLIME is the Superior Lisp Interaction Mode but I'm wondering if there is a "Lisp Interaction" buffer that works with Common Lisp like the *scratch* buffer works ...
*scratch* buffer using SLIME *scratch* buffer using SLIME slime lisp emacs SLIME *scratch* buffer using SLIME I realize that SLIME is the Superior Lisp Interaction Mode but I'm wondering if there is a "Lisp Interaction" buffer that works with Common Lisp like the *scratch* buffer works with Emacs Lisp. I.E. hitting C-j...
[ -0.007232666015625, -0.00170135498046875, -0.000804901123046875, 0.00167083740234375, -0.02392578125, 0.019287109375, 0.00970458984375, -0.00009632110595703125, 0.003753662109375, -0.01373291015625, 0.0172119140625, -0.004669189453125, -0.0294189453125, -0.00830078125, 0.01239013671875, ...
[ 138195, 206, 1639, 373, 18234, 17368, 42135, 66820, 34264, 13, 400, 7008, 352, 2263, 92154, 37820, 1261, 5337, 44713, 36024, 149016, 9506, 43240, 678, 151301, 1884, 85269, 4439, 5962, 1916, 313, 9, 170, 3564, 3173, 1221, 183540, 16750, 4358...
[ 0.15234375, 0.18310546875, 0.031585693359375, 0.1143798828125, 0.2279052734375, 0.0872802734375, 0.1527099609375, 0.2152099609375, 0.14111328125, 0.104248046875, 0.0521240234375, 0.1705322265625, 0.018524169921875, 0.049835205078125, 0.0111083984375, 0.093994140625, 0.1278076171875, ...
embed
72515786_c0
72515786
lisp
0
Title: Intersection in Lisp Problem title: Intersection in Lisp Tags: intersection, recursion, lisp, artificial-intelligence, common-lisp Problem: Intersection in Lisp I am working with Common Lisp programming and I have an error in my code. I want to find the intersection between two lists, L1 and L2 . The function on...
Intersection in Lisp Intersection in Lisp intersection recursion lisp artificial-intelligence common-lisp Intersection Lisp NIL Intersection in Lisp I am working with Common Lisp programming and I have an error in my code. I want to find the intersection between two lists, L1 and L2 . The function only returns NIL . I ...
[ -0.004119873046875, 0.00182342529296875, 0.0252685546875, 0.00726318359375, 0.0014190673828125, 0.0191650390625, -0.00506591796875, 0.00341796875, -0.0017242431640625, -0.0164794921875, 0.029052734375, 0.03271484375, 0.0027923583984375, -0.003997802734375, 0.01513671875, 0.014953613281...
[ 5337, 7, 58994, 23, 1261, 7008, 1940, 195625, 400, 66733, 130687, 39210, 4086, 254, 541, 16444, 20697, 151301, 56037, 18499, 18151, 3444, 7413, 17721, 6626, 5303, 339, 418, 136, 304, 32354, 4734, 30646, 28219, 2367, 57, 4126, 808, 7103, 1...
[ 0.166015625, 0.209228515625, 0.1883544921875, 0.07891845703125, 0.16552734375, 0.2332763671875, 0.181396484375, 0.195556640625, 0.10321044921875, 0.08001708984375, 0.0904541015625, 0.09100341796875, 0.1221923828125, 0.1585693359375, 0.1187744140625, 0.2125244140625, 0.017730712890625...
embed
10155744_c1
10155744
lisp
1
5 10 20 25 50) What? Maybe if I try a different number... (divisors 33) ==> (11 3 1 2 4 5 10 20 25 50) The divisors from previous queries are persistent after I sort the resulting list. If I recompile the function, I get no errors until I sort the resulting list again. I am assuming I have messed up somewhere in the f...
5 10 20 25 50) What? Maybe if I try a different number... (divisors 33) ==> (11 3 1 2 4 5 10 20 25 50) The divisors from previous queries are persistent after I sort the resulting list. If I recompile the function, I get no errors until I sort the resulting list again. I am assuming I have messed up somewhere in the f...
[ -0.0177001953125, 0.0211181640625, 0.015869140625, -0.0260009765625, -0.012939453125, 0.0155029296875, -0.00933837890625, -0.009521484375, 0.01416015625, -0.0225830078125, -0.0019073486328125, 0.00640869140625, -0.0011749267578125, 0.006011962890625, 0.00061798095703125, -0.00165557861...
[ 190, 209, 387, 714, 836, 4865, 83425, 9790, 12921, 14012, 27, 428, 51858, 7, 3912, 69112, 2740, 27252, 138, 106, 116, 201, 45, 1295, 96362, 41, 10484, 621, 70560, 2517, 7103, 87, 12096, 16750, 5303, 456, 58875, 1340, 32354, 110, 18499, ...
[ 0.143798828125, 0.17529296875, 0.1705322265625, 0.208740234375, 0.2296142578125, 0.025360107421875, 0.051055908203125, 0.10260009765625, 0.0867919921875, 0.1622314453125, 0.0072021484375, 0.1214599609375, 0.27099609375, 0.109619140625, 0.23095703125, 0.057647705078125, 0.004943847656...
embed
20490115_c0
20490115
lisp
0
Title: Floating Point Precision Error Problem title: Floating Point Precision Error Tags: lisp, floating-accuracy, lispworks, common-lisp Problem: Floating Point Precision Error I am having problem with the LISP expression below. There is floating precision error while doing sum for floating point numbers. CL-USER> (+ ...
Floating Point Precision Error Floating Point Precision Error lisp floating-accuracy lispworks common-lisp Floating Point Precision Error CL-USER Actual Expected Floating Point Precision Error I am having problem with the LISP expression below. There is floating precision error while doing sum for floating point number...
[ -0.00323486328125, 0.00020122528076171875, -0.00115966796875, 0.00164031982421875, -0.0086669921875, 0.01123046875, 0.01300048828125, -0.00102996826171875, 0.012939453125, -0.00933837890625, 0.0098876953125, 0.00052642822265625, -0.00262451171875, 0.004974365234375, -0.00152587890625, ...
[ 38699, 26518, 41097, 70464, 1830, 212059, 400, 7008, 21917, 27315, 2408, 18244, 7, 39210, 4086, 254, 46323, 1062, 50184, 100582, 60075, 13, 2967, 16970, 9434, 125195, 35064, 22619, 18499, 12960, 20594, 10554, 100, 6275, 101935, 42459, 3642, 8...
[ 0.160888671875, 0.122314453125, 0.1617431640625, 0.1875, 0.0784912109375, 0.179443359375, 0.09967041015625, 0.17333984375, 0.18310546875, 0.1275634765625, 0.0016632080078125, 0.1817626953125, 0.07183837890625, 0.1041259765625, 0.0770263671875, 0.141357421875, 0.11016845703125, 0.10...
embed
6578373_c0
6578373
lisp
0
Title: sleep in emacs lisp Problem title: sleep in emacs lisp Tags: lisp, sleep, emacs Problem: sleep in emacs lisp script A (insert (current-time-string)) (sleep-for 5) (insert (current-time-string)) M-x eval-buffer , two time strings are inserted with 5 secs apart script B some comint code (that add hook, and start p...
sleep in emacs lisp sleep in emacs lisp lisp sleep emacs M-x ZZZ sleep in emacs lisp script A M-x eval-buffer , two time strings are inserted with 5 secs apart script B some comint code (that add hook, and start process) M-x eval-buffer , "ZZZ" is inserted right away, without any time delay what might have happened? bt...
[ 0.0206298828125, 0.000560760498046875, -0.00872802734375, 0.015869140625, -0.0255126953125, 0.0036468505859375, -0.00107574462890625, 0.0108642578125, 0.0024566650390625, -0.0223388671875, 0.0201416015625, 0.0196533203125, -0.01513671875, 0.0166015625, -0.00121307373046875, -0.00088500...
[ 60268, 23, 352, 2263, 7, 400, 7008, 276, 9, 425, 567, 76362, 26499, 28, 1405, 123759, 56, 6626, 1733, 79315, 621, 183540, 190, 19216, 34955, 335, 375, 4288, 18151, 15190, 150522, 4034, 9433, 1511, 297, 7108, 16065, 15490, 8, 5259, 2367,...
[ 0.255859375, 0.093017578125, 0.1353759765625, 0.18115234375, 0.07061767578125, 0.13818359375, 0.189697265625, 0.1160888671875, 0.070556640625, 0.1683349609375, 0.08221435546875, 0.234130859375, 0.1964111328125, 0.060394287109375, 0.2252197265625, 0.1456298828125, 0.10467529296875, ...
embed
20326814_c0
20326814
lisp
0
Title: Time complexity of list-length Problem title: Time complexity of list-length Tags: time-complexity, common-lisp, complexity-theory, lisp, performance Problem: Time complexity of list-length I think list-length is a O( n ) complexity operation, since it seems there's no other way to find it but going through all ...
Time complexity of list-length Time complexity of list-length time-complexity common-lisp complexity-theory lisp performance Time Time complexity of list-length I think list-length is a O( n ) complexity operation, since it seems there's no other way to find it but going through all of the list's elements. Nevertheless...
[ -0.01251220703125, 0.03271484375, 0.018798828125, 0.006072998046875, -0.006011962890625, 0.00133514404296875, 0.0206298828125, 0.01055908203125, 0.00104522705078125, -0.04150390625, 0.0034637451171875, 0.00738525390625, 0.0076904296875, 0.006439208984375, -0.01513671875, 0.019409179687...
[ 19055, 27140, 2481, 5303, 23986, 111, 927, 1733, 277, 44974, 39210, 4086, 254, 2347, 400, 7008, 23718, 9, 5351, 83, 10, 180, 132, 653, 1388, 41018, 37202, 3917, 7413, 442, 7730, 8305, 756, 80854, 186, 9077, 130306, 4488, 5665, 903, 2678...
[ 0.1702880859375, 0.26611328125, 0.12359619140625, 0.23583984375, 0.1783447265625, 0.059173583984375, 0.1331787109375, 0.146240234375, 0.06549072265625, 0.197265625, 0.062469482421875, 0.06365966796875, 0.1317138671875, 0.031494140625, 0.08648681640625, 0.1934814453125, 0.154052734375...
embed
45427327_c0
45427327
lisp
0
Title: Package EXT does not exist Problem title: Package EXT does not exist Tags: clisp, lisp, common-lisp Problem: Package EXT does not exist I am currently working through the Land of Lisp examples and have run into a compile exception: package EXT does not exist from this line I suspect: (ext:shell (concatenate 'str...
Package EXT does not exist Package EXT does not exist clisp lisp common-lisp Package EXT ext:shell Tpng Package EXT does not exist I am currently working through the Land of Lisp examples and have run into a compile exception: package EXT does not exist from this line I suspect: (ext:shell (concatenate 'string "dot -Tp...
[ 0.01287841796875, 0.01495361328125, -0.00311279296875, 0.023681640625, -0.025146484375, 0.0201416015625, 0.00933837890625, -0.00927734375, -0.015625, 0.0013275146484375, 0.00665283203125, 0.0224609375, 0.006683349609375, -0.0052490234375, 0.01324462890625, -0.003387451171875, 0.00314...
[ 56607, 4588, 241, 70981, 14602, 959, 32316, 95701, 7008, 400, 39210, 4086, 254, 1119, 18, 128019, 128468, 6557, 111, 1261, 27781, 9969, 1340, 131527, 98169, 1295, 13315, 92610, 3355, 33478, 91693, 15464, 670, 11627, 51042, 456, 2424, 46132, ...
[ 0.2479248046875, 0.139892578125, 0.1251220703125, 0.296875, 0.014007568359375, 0.094482421875, 0.1947021484375, 0.0701904296875, 0.1800537109375, 0.0806884765625, 0.086669921875, 0.07958984375, 0.13525390625, 0.130126953125, 0.163330078125, 0.2139892578125, 0.2088623046875, 0.07293...
embed
30362852_c0
30362852
lisp
0
Title: Stanford Parser Problem title: Stanford Parser Tags: parsing, java, stanford-nlp, common-lisp, lisp Problem: Stanford Parser i parse a string with a java class ( for P.O.S tagging ); the output is a .txt file that i load with this function in lispworks : (let ((in (open "C:/a.txt" :if-does-not-exist nil))) (when...
Stanford Parser Stanford Parser parsing java stanford-nlp common-lisp lisp Stanford Parser a.txt Stanford Parser i parse a string with a java class ( for P.O.S tagging ); the output is a .txt file that i load with this function in lispworks : is there any way to use the java class directly into lisp code ? without doin...
[ 0.0167236328125, 0.00128173828125, -0.004241943359375, 0.017822265625, -0.02099609375, 0.0166015625, 0.01416015625, -0.01116943359375, -0.019287109375, -0.0478515625, -0.01611328125, 0.01361083984375, -0.0146484375, -0.035888671875, 0.0213623046875, 0.005126953125, -0.001380920410156...
[ 221107, 2392, 2189, 366, 6953, 79, 330, 12007, 13534, 26775, 39210, 4086, 254, 400, 7008, 10, 5, 124326, 17, 184, 79315, 678, 18507, 100, 436, 670, 294, 308, 36659, 140992, 11435, 72367, 32354, 18244, 7, 2499, 3917, 4527, 105237, 3934, ...
[ 0.20703125, 0.1856689453125, 0.188720703125, 0.17919921875, 0.0599365234375, 0.126708984375, 0.20263671875, 0.0182037353515625, 0.0723876953125, 0.10107421875, 0.08526611328125, 0.0657958984375, 0.1595458984375, 0.1124267578125, 0.1903076171875, 0.128662109375, 0.044891357421875, 0...
embed
6439972_c0
6439972
lisp
0
Title: what is the 'cons' to add an item to the end of the list? Problem title: what is the 'cons' to add an item to the end of the list? Tags: lisp, list, append, common-lisp Problem: what is the 'cons' to add an item to the end of the list? what's the typical way to add an item to the end of the l...
what is the 'cons' to add an item to the end of the list? what is the 'cons' to add an item to the end of the list? lisp list append common-lisp what is the 'cons' to add an item to the end of the list? what's the typical way to add an item to the end of the list? I have a list (1 2 3) and want to a...
[ -0.0174560546875, 0.020751953125, 0.01806640625, -0.009521484375, 0.00994873046875, 0.01458740234375, -0.00927734375, 0.0133056640625, 0.01165771484375, -0.052001953125, 0.01904296875, -0.0185546875, 0.01458740234375, -0.0012054443359375, -0.0186767578125, -0.01123046875, 0.014892578...
[ 3768, 25553, 15190, 35735, 47, 70, 3564, 111, 5303, 400, 7008, 114689, 71, 39210, 4086, 254, 222201, 3917, 8439, 3444, 201, 442, 16750, 219836, 22183, 4958, 41206, 7, 959, 14012, 163846 ]
[ 0.0213165283203125, 0.2264404296875, 0.1749267578125, 0.1763916015625, 0.054656982421875, 0.0245513916015625, 0.2093505859375, 0.09033203125, 0.191650390625, 0.06884765625, 0.1558837890625, 0.20703125, 0.177490234375, 0.1236572265625, 0.064453125, 0.157470703125, 0.0791015625, 0.02...
embed
54697504_c0
54697504
lisp
0
Title: Clojure: set value as a key Problem title: Clojure: set value as a key Tags: lisp, clojure Problem: Clojure: set value as a key May be, it is a stupid question, but it may help many of newbies. How do I add a key-value pair to the map? I mean something like: (defn init-item [v item] (let [{:keys [id value]} item...
Clojure: set value as a key Clojure: set value as a key lisp clojure Clojure ID_AS_A_KEY King Leonid Clojure: set value as a key May be, it is a stupid question, but it may help many of newbies. How do I add a key-value pair to the map? I mean something like: And I get:
[ -0.0081787109375, -0.01165771484375, 0.00567626953125, -0.034912109375, 0.01141357421875, -0.0033416748046875, -0.003814697265625, -0.008544921875, 0.01251220703125, -0.013916015625, 0.0159912109375, 0.034912109375, 0.0084228515625, 0.01318359375, 0.00836181640625, -0.006317138671875, ...
[ 51053, 461, 107, 5423, 34292, 237, 10, 22799, 400, 7008, 20450, 11338, 9713, 186104, 18813, 31746, 532, 110833, 9655, 4358, 9014, 11249, 54, 87, 15190, 9, 27494, 13, 80836, 47, 70, 22288, 29459, 1884, 2046 ]
[ 0.13134765625, 0.177001953125, 0.11981201171875, 0.173583984375, 0.25244140625, 0.1373291015625, 0.07305908203125, 0.2393798828125, 0.013397216796875, 0.1336669921875, 0.0872802734375, 0.12744140625, 0.068359375, 0.1610107421875, 0.09283447265625, 0.08673095703125, 0.1243896484375, ...
embed
57439852_c0
57439852
lisp
0
Title: Racket - require an entire directory of files Problem title: Racket - require an entire directory of files Tags: scheme, require, racket, lisp Problem: Racket - require an entire directory of files Currently I have to do this at the top of every file: (require "dynamore/dynamore.rkt") (require "dynamore/db.rkt")...
Racket - require an entire directory of files Racket - require an entire directory of files scheme require racket lisp an dynamore racket dynamore.rkt db.rkt types.rkt Racket - require an entire directory of files Currently I have to do this at the top of every file: I would like to be able to do something like this: P...
[ -0.002532958984375, 0.0027008056640625, -0.01904296875, 0.0213623046875, -0.0277099609375, 0.0283203125, 0.00006031990051269531, -0.00799560546875, 0.006866455078125, -0.02685546875, -0.025146484375, -0.0013580322265625, -0.0038299560546875, -0.00433349609375, 0.008056640625, -0.009643...
[ 2552, 27853, 64209, 64194, 14364, 53, 111, 102158, 20, 150370, 673, 400, 7008, 68728, 17678, 7190, 18, 40041, 52895, 114063, 538, 765, 47, 54, 903, 99, 2663, 11907, 11435, 2806, 1884, 19048, 176005, 78458, 15490, 19441, 85493, 10002, 42486 ...
[ 0.18310546875, 0.29638671875, 0.202392578125, 0.1378173828125, 0.1463623046875, 0.10528564453125, 0.040557861328125, 0.17626953125, 0.0006289482116699219, 0.1676025390625, 0.16650390625, 0.062225341796875, 0.17529296875, 0.11419677734375, 0.217041015625, 0.102783203125, 0.15356445312...
embed
69283988_c0
69283988
lisp
0
Title: Lisp Swap function Problem title: Lisp Swap function Tags: list, lisp, swap, common-lisp, functional-programming Problem: Lisp Swap function I am trying to write a functional program in Lisp that requires any two elements of a list to be shaped and return the new list. So far I have: (defun swap (lst x y) (let (...
Lisp Swap function Lisp Swap function list lisp swap common-lisp functional-programming Lisp Swap EVAL APPLY Lisp Swap function I am trying to write a functional program in Lisp that requires any two elements of a list to be shaped and return the new list. So far I have: When I run: (swap '(1 2 3 4 5 e 6 7 8) 5 4) I ge...
[ -0.0220947265625, 0.0213623046875, 0.01324462890625, -0.005889892578125, -0.01953125, 0.0147705078125, -0.025390625, 0.01495361328125, -0.004302978515625, 0.0201416015625, 0.00616455078125, 0.00021839141845703125, -0.0181884765625, 0.003814697265625, -0.00970458984375, -0.0054931640625...
[ 1261, 7008, 43062, 254, 32354, 5303, 400, 202317, 39210, 4086, 123309, 28966, 241, 61152, 66440, 19917, 31577, 33022, 1528, 23, 144570, 2499, 6626, 80854, 115700, 30646, 3525, 2060, 765, 14847, 11675, 7, 634, 242, 41600, 116, 138, 201, 28, ...
[ 0.1864013671875, 0.2318115234375, 0.249267578125, 0.197998046875, 0.201416015625, 0.188720703125, 0.125732421875, 0.2381591796875, 0.1048583984375, 0.1165771484375, 0.1641845703125, 0.12353515625, 0.0911865234375, 0.234619140625, 0.132080078125, 0.161376953125, 0.053955078125, 0.07...
embed
46939558_c0
46939558
lisp
0
Title: Calling a function n times acl2 Problem title: Calling a function n times acl2 Tags: common-lisp, function, lisp, acl2 Problem: Calling a function n times acl2 I cannot figure out how to call a function n times to be used in another function I have a function (defun right-shift (l) (append l '(0))) And I need to...
Calling a function n times acl2 Calling a function n times acl2 common-lisp function lisp acl2 Calling acl2 Calling a function n times acl2 I cannot figure out how to call a function n times to be used in another function I have a function And I need to write another function that needs to shift '(l) n times I am not e...
[ 0.0059814453125, 0.0230712890625, 0.0118408203125, 0.0045166015625, 0.00408935546875, -0.0072021484375, 0.0107421875, -0.00081634521484375, -0.020263671875, -0.035888671875, -0.00762939453125, -0.0004177093505859375, -0.0198974609375, 0.018310546875, 0.019775390625, 0.00038337707519531...
[ 26265, 214, 32354, 653, 20028, 1030, 141, 304, 10, 39210, 4086, 254, 400, 7008, 53418, 26366, 1810, 3642, 47, 11782, 186, 11814, 23, 15700, 765, 3871, 33022, 27117, 122925, 242, 9077, 26859, 7108, 442, 5 ]
[ 0.1806640625, 0.0718994140625, 0.209716796875, 0.15869140625, 0.2237548828125, 0.09112548828125, 0.1368408203125, 0.199462890625, 0.02740478515625, 0.10174560546875, 0.04205322265625, 0.12091064453125, 0.053314208984375, 0.1375732421875, 0.061859130859375, 0.07708740234375, 0.0051422...
embed
71755596_c0
71755596
lisp
0
Title: Pop first element in a list using a macro Problem title: Pop first element in a list using a macro Tags: lisp, common-lisp Problem: Pop first element in a list using a macro I have the following code (defmacro popm(l) `(prog1 (car ,l) (setf ,l (cdr ,l)))) which is supposed to pop the first element out of the lis...
Pop first element in a list using a macro Pop first element in a list using a macro lisp common-lisp a Pop prog1 Pop first element in a list using a macro I have the following code which is supposed to pop the first element out of the list. However, I don't know how to call the macro. I tried using (popm (2 3 4)) but I...
[ 0.0157470703125, -0.0009918212890625, 0.00439453125, 0.0201416015625, -0.0224609375, 0.039306640625, 0.00049591064453125, 0.004913330078125, -0.004608154296875, -0.044921875, 0.004150390625, 0.0042724609375, -0.0013427734375, -0.0247802734375, 0.004425048828125, -0.0245361328125, -0....
[ 11584, 5117, 12830, 23, 5303, 17368, 111789, 400, 7008, 39210, 4086, 254, 67973, 418, 25632, 18151, 134598, 47, 7426, 1810, 111, 18, 3714, 3642, 11782, 70, 37842, 33554, 39, 4700, 138, 13956, 18499, 647, 61152, 12, 116, 83, 959, 32354, ...
[ 0.282958984375, 0.216552734375, 0.212646484375, 0.046600341796875, 0.2010498046875, 0.0853271484375, 0.273193359375, 0.09881591796875, 0.19580078125, 0.12139892578125, 0.06536865234375, 0.176513671875, 0.1591796875, 0.04180908203125, 0.06591796875, 0.154541015625, 0.089599609375, 0...
embed
29772305_c0
29772305
lisp
0
Title: Common Lisp: unquoting symbol in backquote Problem title: Common Lisp: unquoting symbol in backquote Tags: lisp, common-lisp Problem: Common Lisp: unquoting symbol in backquote The following piece of code gives me the expected result: (let ((name 'test) (args '("arg1" "arg2"))) `(defun ,name ,@args)) ;; (DEFUN T...
Common Lisp: unquoting symbol in backquote Common Lisp: unquoting symbol in backquote lisp common-lisp Common Lisp arg1 arg2 DEFUN TEST QUOTE Common Lisp: unquoting symbol in backquote The following piece of code gives me the expected result: Why if args is a list of symbols does a QUOTE appear?
[ 0.0166015625, 0.01806640625, 0.0078125, -0.0014190673828125, -0.016845703125, 0.004425048828125, -0.00341796875, 0.01043701171875, 0.00130462646484375, 0.0169677734375, -0.000263214111328125, -0.022216796875, 0.0194091796875, 0.0198974609375, -0.0220947265625, 0.01422119140625, -0.01...
[ 151301, 1261, 7008, 51, 41502, 214, 26582, 4420, 68726, 400, 39210, 4086, 254, 79459, 418, 304, 202001, 14006, 384, 21828, 232856, 23, 18151, 84751, 16750, 44084, 2174, 83, 5303, 14602, 10, 108975 ]
[ 0.13916015625, 0.11273193359375, 0.1474609375, 0.1051025390625, 0.182373046875, 0.03533935546875, 0.2052001953125, 0.139404296875, 0.2259521484375, 0.045745849609375, 0.10015869140625, 0.027313232421875, 0.08551025390625, 0.20458984375, 0.0260009765625, 0.04345703125, 0.0533447265625...
embed
33398514_c0
33398514
lisp
0
Title: Common Lisp: A predicate to tell if a list contains a nested list? Problem title: Common Lisp: A predicate to tell if a list contains a nested list? Tags: lisp, common-lisp Problem: Common Lisp: A predicate to tell if a list contains a nested list? I need a predicate that returns true if a list has a sublist, fa...
Common Lisp: A predicate to tell if a list contains a nested list? Common Lisp: A predicate to tell if a list contains a nested list? lisp common-lisp Common Lisp Common Lisp: A predicate to tell if a list contains a nested list? I need a predicate that returns true if a list has a sublist, false otherwise. I wrote a f...
[ -0.0224609375, 0.007049560546875, 0.014404296875, 0.01953125, -0.0040283203125, 0.020751953125, 0.006134033203125, -0.007598876953125, -0.00897216796875, -0.01531982421875, 0.0037689208984375, 0.00034332275390625, -0.00061798095703125, 0.00115203857421875, -0.0035247802734375, 0.045898...
[ 151301, 1261, 7008, 62, 1653, 2063, 67, 47, 14192, 2174, 5303, 70541, 7, 10, 8512, 71, 400, 39210, 4086, 254, 3871, 30646, 29568, 1556, 1614, 6562, 98320, 120262, 54397, 32354, 29479, 17336, 32195, 21771, 32316 ]
[ 0.1851806640625, 0.1619873046875, 0.1881103515625, 0.0166015625, 0.1602783203125, 0.1915283203125, 0.12158203125, 0.04718017578125, 0.167236328125, 0.1328125, 0.2467041015625, 0.176025390625, 0.0655517578125, 0.049591064453125, 0.2431640625, 0.1761474609375, 0.08251953125, 0.125488...
embed
415671_c0
415671
lisp
0
Title: Can I Easily Use Lisp Without Emacs? Problem title: Can I Easily Use Lisp Without Emacs? Tags: lisp, common-lisp Problem: Can I Easily Use Lisp Without Emacs? I'm currently reading Practical Common Lisp. The book is great and the language interesting, but I'm not enamored of learning Emacs. I've learned Vim and ...
Can I Easily Use Lisp Without Emacs? Can I Easily Use Lisp Without Emacs? lisp common-lisp Can Easily Use Lisp Without Emacs Can I Easily Use Lisp Without Emacs? I'm currently reading Practical Common Lisp. The book is great and the language interesting, but I'm not enamored of learning Emacs. I've learned Vim and that...
[ -0.0037841796875, 0.0087890625, -0.0019989013671875, 0.000028967857360839844, -0.0164794921875, 0.00897216796875, 0.00555419921875, -0.0031890869140625, -0.0004444122314453125, -0.044189453125, 0.00823974609375, -0.0045166015625, 0.0031280517578125, -0.00054931640625, 0.0057373046875, ...
[ 4171, 1544, 36836, 1261, 7008, 177417, 85269, 4439, 87, 538, 400, 39210, 4086, 254, 16454, 109613, 151301, 12877, 46876, 49041, 959, 86801, 52080, 97384, 582, 39, 7986, 61170, 30391, 78574, 3444, 30698, 107172, 81988, 75101, 103049, 10336, 29...
[ 0.07421875, 0.12890625, 0.1207275390625, 0.1572265625, 0.2327880859375, 0.141845703125, 0.1505126953125, 0.17041015625, 0.003997802734375, 0.004425048828125, 0.103759765625, 0.07452392578125, 0.1038818359375, 0.142822265625, 0.0650634765625, 0.0777587890625, 0.08453369140625, 0.072...
embed
3693447_c0
3693447
lisp
0
Title: Cannot create apply function with static language? Problem title: Cannot create apply function with static language? Tags: scala, static-typing, programming-languages, haskell, lisp Problem: Cannot create apply function with static language? I have read that with a statically typed language like Scala or Haskell...
Cannot create apply function with static language? Cannot create apply function with static language? scala static-typing programming-languages haskell lisp Cannot FOO Cannot create apply function with static language? I have read that with a statically typed language like Scala or Haskell there is no way to create or ...
[ 0.00933837890625, -0.001495361328125, 0.0380859375, -0.0006256103515625, 0.00102996826171875, -0.01324462890625, -0.01312255859375, 0.01434326171875, 0.01361083984375, -0.0390625, -0.0026092529296875, -0.044189453125, -0.004150390625, 0.00390625, 0.0048828125, -0.0234375, -0.00218200...
[ 4171, 10869, 28282, 59911, 32354, 678, 201939, 46876, 146232, 46280, 56037, 196651, 1556, 142508, 400, 7008, 563, 30563, 13254, 10644, 152653, 11, 20625, 110, 3917, 22691, 1261, 85027 ]
[ 0.038818359375, 0.13037109375, 0.176513671875, 0.26025390625, 0.2249755859375, 0.09326171875, 0.25341796875, 0.199951171875, 0.1727294921875, 0.12646484375, 0.058074951171875, 0.119140625, 0.07122802734375, 0.22265625, 0.1134033203125, 0.22900390625, 0.0560302734375, 0.162109375, ...
embed
65977872_c0
65977872
lisp
0
Title: ECL: The filesystem does not accept filenames with extended characters Problem title: ECL: The filesystem does not accept filenames with extended characters Tags: lisp, ecl, common-lisp Problem: ECL: The filesystem does not accept filenames with extended characters how do you open a file of which name contains U...
ECL: The filesystem does not accept filenames with extended characters ECL: The filesystem does not accept filenames with extended characters lisp ecl common-lisp ECL ECL: The filesystem does not accept filenames with extended characters how do you open a file of which name contains UTF-8 character? For example: give t...
[ 0.031982421875, -0.004547119140625, 0.0235595703125, 0.00531005859375, -0.0189208984375, -0.018798828125, 0.00506591796875, 0.01068115234375, -0.0111083984375, 0.00897216796875, 0.00909423828125, 0.00927734375, 0.00689697265625, -0.003265380859375, 0.005279541015625, -0.00616455078125,...
[ 241, 37486, 11435, 16751, 14602, 959, 26946, 11627, 678, 65042, 124850, 297, 400, 7008, 28, 34937, 39210, 4086, 254, 3642, 54, 398, 9803, 111, 3129, 9351, 70541, 345, 30992, 17376, 62816, 8337, 903, 17368, 6849, 81046, 1295, 74216, 9226, ...
[ 0.1116943359375, 0.2236328125, 0.221923828125, 0.19775390625, 0.08135986328125, 0.1253662109375, 0.144775390625, 0.159912109375, 0.0552978515625, 0.1705322265625, 0.19677734375, 0.0384521484375, 0.08319091796875, 0.151611328125, 0.0938720703125, 0.2344970703125, 0.10052490234375, 0...
embed
10274316_c0
10274316
lisp
0
Title: Generate truth table for n operators Problem title: Generate truth table for n operators Tags: lisp, functional-programming, list, scheme Problem: Generate truth table for n operators I've been tasked with writing a function that generates a table given n operators. The truth table must be in a list and each row...
Generate truth table for n operators Generate truth table for n operators lisp functional-programming list scheme Generate Generate truth table for n operators I've been tasked with writing a function that generates a table given n operators. The truth table must be in a list and each row of the table must be in separa...
[ 0.01123046875, 0.01416015625, 0.007598876953125, -0.004730224609375, -0.006561279296875, -0.00080108642578125, 0.01513671875, -0.003936767578125, -0.009033203125, -0.007781982421875, -0.0118408203125, -0.01123046875, -0.000888824462890625, 0.0269775390625, -0.02197265625, 0.01086425781...
[ 155370, 67, 85027, 23180, 100, 653, 39933, 400, 7008, 123309, 28966, 5303, 150370, 7, 66211, 32562, 32354, 139392, 34475, 8110, 186, 23, 10, 12638, 15555, 84797, 8752, 5201, 29806, 83687, 195625, 1830, 831, 48903, 5351, 8305, 4358, 19336, 9...
[ 0.212158203125, 0.07763671875, 0.2371826171875, 0.275634765625, 0.057037353515625, 0.157470703125, 0.256591796875, 0.054168701171875, 0.1551513671875, 0.1260986328125, 0.1124267578125, 0.1829833984375, 0.1219482421875, 0.05322265625, 0.06494140625, 0.092041015625, 0.1368408203125, ...
embed
55812133_c0
55812133
lisp
0
Title: Circular lists in guile Problem title: Circular lists in guile Tags: circular-reference, guile, lisp, scheme Problem: Circular lists in guile I was testing this code in guile: > (define xxx (let ((x '(1 2 3))) (set-cdr! (cddr x) x) x)) > xxx it display (1 2 3) but this: (define x '(1 2 3)) (set-cdr! (cddr x) x) ...
Circular lists in guile Circular lists in guile circular-reference guile lisp scheme Circular Circular lists in guile I was testing this code in guile: it display (1 2 3) but this: creates circular list Why first code don't work in guile? If you don't know about guile I just want to know if it should work according to ...
[ 0.007232666015625, 0.0208740234375, 0.01165771484375, 0.01953125, 0.0064697265625, -0.01416015625, 0.01025390625, 0.01806640625, 0.0159912109375, 0.0029754638671875, -0.0269775390625, -0.0010528564453125, -0.00970458984375, 0.032958984375, 0.0045166015625, 0.009521484375, -0.00186920...
[ 209449, 42, 5303, 23, 2497, 1340, 115339, 239879, 400, 7008, 150370, 134234, 18151, 44116, 2858, 116, 8439, 1284, 903, 28282, 44084, 5117, 2301, 18, 4488, 3714, 59499, 48502, 33938 ]
[ 0.219482421875, 0.09686279296875, 0.2362060546875, 0.0721435546875, 0.1614990234375, 0.2120361328125, 0.223388671875, 0.16064453125, 0.042388916015625, 0.12744140625, 0.1580810546875, 0.14453125, 0.1973876953125, 0.1588134765625, 0.0266876220703125, 0.08392333984375, 0.1368408203125,...
embed
38278442_c0
38278442
lisp
0
Title: Simple format statement not working in Lisp Problem title: Simple format statement not working in Lisp Tags: lisp, common-lisp Problem: Simple format statement not working in Lisp Following simple code is not loading in Lisp: (defun helloworld (name) format t ("~%Hello from Lisp, ~A!" name ) ) I have also tried ...
Simple format statement not working in Lisp Simple format statement not working in Lisp lisp common-lisp Lisp Simple Hello SYSTEM EXPAND-FORM NAME Simple format statement not working in Lisp Following simple code is not loading in Lisp: I have also tried to put parenthesis around format statement, but still it does not...
[ -0.000247955322265625, 0.004150390625, -0.00286865234375, 0.03955078125, -0.007049560546875, -0.0108642578125, 0.021484375, 0.01708984375, -0.00083160400390625, 0.00872802734375, 0.0250244140625, -0.0294189453125, -0.007171630859375, -0.0135498046875, 0.0009613037109375, 0.009216308593...
[ 60552, 9384, 63805, 959, 20697, 23, 1261, 7008, 400, 39210, 4086, 254, 35378, 55858, 90420, 104165, 45029, 98533, 182512, 77168, 8781, 18151, 83, 72367, 214, 49129, 160291, 10932, 7464, 4488, 18499, 78662 ]
[ 0.2113037109375, 0.27490234375, 0.2353515625, 0.0675048828125, 0.152099609375, 0.034759521484375, 0.1600341796875, 0.221923828125, 0.11846923828125, 0.09564208984375, 0.099853515625, 0.1458740234375, 0.169677734375, 0.082763671875, 0.1287841796875, 0.06658935546875, 0.11798095703125,...
embed
15462623_c0
15462623
lisp
0
Title: which one is tail recursion? Problem title: which one is tail recursion? Tags: racket, lisp, tail-recursion, scheme Problem: which one is tail recursion? i see both of the following functions are syntactically tail recursive ones, but, in racket , which of them is really treated as tail recursion , or both? i me...
which one is tail recursion? which one is tail recursion? racket lisp tail-recursion scheme which one is tail recursion? i see both of the following functions are syntactically tail recursive ones, but, in racket , which of them is really treated as tail recursion , or both? i mean whether it is optimized as tail recur...
[ 0.006591796875, 0.015869140625, 0.00125885009765625, 0.01483154296875, -0.00086212158203125, -0.004425048828125, -0.01116943359375, -0.007080078125, -0.003814697265625, 0.003631591796875, 0.0172119140625, -0.02197265625, -0.0224609375, -0.006317138671875, 0.0213623046875, 0.00109863281...
[ 1632, 83, 46741, 195625, 1830, 3129, 673, 27853, 400, 7008, 107, 48650, 150370, 6, 15044, 25632, 32354, 6002, 18, 47013, 5844, 64333, 6183, 191607, 237, 15572, 29481, 56, 35166, 7, 6423 ]
[ 0.0477294921875, 0.0782470703125, 0.264404296875, 0.2232666015625, 0.133056640625, 0.0264129638671875, 0.06689453125, 0.1922607421875, 0.08917236328125, 0.1663818359375, 0.0699462890625, 0.1806640625, 0.1802978515625, 0.0345458984375, 0.148193359375, 0.033172607421875, 0.194702148437...
embed
34595063_c0
34595063
lisp
0
Title: How to get a reference to the last returned object in Emacs Slime Problem title: How to get a reference to the last returned object in Emacs Slime Tags: emacs, lisp, read-eval-print-loop, common-lisp, slime Problem: How to get a reference to the last returned object in Emacs Slime Using Emacs Slime, how can I ac...
How to get a reference to the last returned object in Emacs Slime How to get a reference to the last returned object in Emacs Slime emacs lisp read-eval-print-loop common-lisp slime How Emacs Slime How to get a reference to the last returned object in Emacs Slime Using Emacs Slime, how can I access the object or value ...
[ -0.0009002685546875, 0.0120849609375, 0.00098419189453125, 0.01458740234375, -0.002716064453125, 0.0184326171875, -0.004486083984375, 0.000766754150390625, 0.002105712890625, -0.01483154296875, 0.014892578125, 0.00518798828125, -0.00225830078125, -0.00970458984375, 0.0086669921875, -0....
[ 11249, 2046, 91067, 47, 4568, 176377, 36746, 85269, 4439, 82344, 13, 10, 352, 2263, 400, 7008, 12301, 1405, 35662, 28354, 39210, 4086, 254, 34264, 345, 3642, 17203, 34292, 390, 125195, 9069, 21130, 6493, 50828, 30098, 77336, 30646, 84751, 2...
[ 0.0193939208984375, 0.1103515625, 0.2265625, 0.08294677734375, 0.1947021484375, 0.1978759765625, 0.1856689453125, 0.1522216796875, 0.1512451171875, 0.17431640625, 0.187744140625, 0.050384521484375, 0.0290069580078125, 0.06591796875, 0.047607421875, 0.1180419921875, 0.088134765625, ...
embed
26112553_c0
26112553
lisp
0
Title: Why do I need to use symbol-value inside mapcar to assign a value? Problem title: Why do I need to use symbol-value inside mapcar to assign a value? Tags: common-lisp, lisp Problem: Why do I need to use symbol-value inside mapcar to assign a value? If I have x initialized as (setf x 0) Then I can change the valu...
Why do I need to use symbol-value inside mapcar to assign a value? Why do I need to use symbol-value inside mapcar to assign a value? common-lisp lisp Why Why do I need to use symbol-value inside mapcar to assign a value? If I have x initialized as Then I can change the value directly by doing So, when using mapcar , w...
[ -0.00823974609375, 0.00070953369140625, 0.010986328125, -0.004180908203125, -0.0247802734375, 0.002471923828125, 0.0004100799560546875, 0.023681640625, 0.0147705078125, -0.000797271728515625, 0.001434326171875, -0.0033111572265625, 0.00775146484375, 0.0274658203125, 0.001434326171875, ...
[ 44084, 3871, 47, 4527, 26582, 9, 27494, 13, 46132, 22288, 3284, 95486, 34292, 54, 87, 39210, 4086, 254, 400, 7008, 1022, 61475, 29367, 237, 15549, 105237, 17368, 15400, 765, 66747 ]
[ 0.1119384765625, 0.10498046875, 0.017669677734375, 0.088134765625, 0.23583984375, 0.060394287109375, 0.2296142578125, 0.1328125, 0.113525390625, 0.1611328125, 0.250732421875, 0.192138671875, 0.1796875, 0.004302978515625, 0.01568603515625, 0.078125, 0.046539306640625, 0.103332519531...
embed
26749445_c0
26749445
lisp
0
Title: Character cannot be represented in character set in CLISP (2.49) Problem title: Character cannot be represented in character set in CLISP (2.49) Tags: common-lisp, encoding, clisp, windows, lisp Problem: Character cannot be represented in character set in CLISP (2.49) Im trying to use CLISP on Windows. So, when ...
Character cannot be represented in character set in CLISP (2.49) Character cannot be represented in character set in CLISP (2.49) common-lisp encoding clisp windows lisp Character CLISP SYSTEM::DRIVER u0414 CHARSET:cp437 Break Character cannot be represented in character set in CLISP (2.49) Im trying to use CLISP on Wi...
[ 0.00872802734375, 0.006622314453125, 0.0089111328125, 0.006072998046875, -0.021728515625, 0.000911712646484375, 0.015869140625, 0.0118408203125, -0.01397705078125, 0.005767822265625, -0.0125732421875, -0.01287841796875, 0.013916015625, 0.00052642822265625, -0.01129150390625, 0.01000976...
[ 21656, 2263, 720, 53418, 33636, 297, 23, 62816, 5423, 313, 67616, 683, 4700, 77814, 39210, 4086, 254, 587, 95701, 7008, 54825, 400, 55858, 90420, 164053, 33255, 75, 7709, 2592, 61869, 54080, 121422, 152719, 131904, 4527, 3773, 4034, 123573, ...
[ 0.12451171875, 0.1566162109375, 0.1082763671875, 0.149169921875, 0.26708984375, 0.1065673828125, 0.073486328125, 0.2044677734375, 0.203857421875, 0.07861328125, 0.1844482421875, 0.253173828125, 0.03533935546875, 0.2044677734375, 0.05364990234375, 0.12060546875, 0.199462890625, 0.09...
embed
16542897_c0
16542897
lisp
0
Title: Are there any Stackless Python like projects for other languages (Java, Lisp, Haskell, Go etc) Problem title: Are there any Stackless Python like projects for other languages (Java, Lisp, Haskell, Go etc) Tags: haskell, interpreter, lisp, compiler-construction, python Problem: Are there any Stackless Python like...
Are there any Stackless Python like projects for other languages (Java, Lisp, Haskell, Go etc) Are there any Stackless Python like projects for other languages (Java, Lisp, Haskell, Go etc) haskell interpreter lisp compiler-construction python Stackless Python Java Lisp Haskell Are there any Stackless Python like proje...
[ 0.007171630859375, 0.0291748046875, 0.004913330078125, 0.0107421875, -0.012939453125, -0.005126953125, 0.00933837890625, -0.00165557861328125, -0.007415771484375, -0.01483154296875, 0.00921630859375, -0.01251220703125, -0.0284423828125, -0.0025787353515625, -0.01239013671875, 0.0004539...
[ 2685, 2499, 6512, 2594, 9393, 145581, 1884, 77635, 100, 3789, 46876, 156202, 1261, 7008, 20625, 142508, 2016, 1556, 29481, 400, 9969, 34759, 238478, 17198, 50828, 41925, 9790, 566, 5743, 177261, 20594 ]
[ 0.02691650390625, 0.06085205078125, 0.1456298828125, 0.0938720703125, 0.1798095703125, 0.269775390625, 0.1058349609375, 0.160888671875, 0.06475830078125, 0.0703125, 0.154541015625, 0.182373046875, 0.1170654296875, 0.12548828125, 0.11865234375, 0.18115234375, 0.1026611328125, 0.0822...
embed
16795603_c0
16795603
lisp
0
Title: LISP cannot find file to open Problem title: LISP cannot find file to open Tags: common-lisp, lisp Problem: LISP cannot find file to open I am trying to open a file which resides in the same folder as the .lsp file I am running, but it gives me this error: Error: No such file or directory : "a.txt" Here is the c...
LISP cannot find file to open LISP cannot find file to open common-lisp lisp LISP Error a.txt LISP cannot find file to open I am trying to open a file which resides in the same folder as the .lsp file I am running, but it gives me this error: Error: No such file or directory : "a.txt" Here is the code I use: Why isn't ...
[ 0.0024566650390625, 0.004180908203125, -0.00579833984375, 0.0078125, -0.01275634765625, 0.0032806396484375, 0.016845703125, 0.005462646484375, -0.005950927734375, -0.0264892578125, -0.01483154296875, 0.0140380859375, -0.025146484375, -0.0240478515625, 0.007354736328125, -0.010070800781...
[ 16970, 9434, 53418, 7413, 11435, 47, 9803, 39210, 4086, 254, 400, 7008, 212059, 10, 124326, 31577, 157176, 23, 5701, 78303, 141, 51042, 1284, 442, 163, 18499, 438, 6044, 707, 14364, 11, 5, 18151, 4527, 44084, 56112, 18, 14037 ]
[ 0.1407470703125, 0.22509765625, 0.1026611328125, 0.14892578125, 0.16552734375, 0.043853759765625, 0.1768798828125, 0.09063720703125, 0.088134765625, 0.1285400390625, 0.0792236328125, 0.17138671875, 0.142578125, 0.12744140625, 0.2406005859375, 0.058624267578125, 0.086669921875, 0.02...
embed
54778426_c0
54778426
lisp
0
Title: how to take care mutiply condition check in Common lisp? Problem title: how to take care mutiply condition check in Common lisp? Tags: common-lisp, lisp Problem: how to take care mutiply condition check in Common lisp? Just learning Common Lisp for a few days, but Professor had assigned an exercise for me. Howev...
how to take care mutiply condition check in Common lisp? how to take care mutiply condition check in Common lisp? common-lisp lisp Common MIN-2 ERROR how to take care mutiply condition check in Common lisp? Just learning Common Lisp for a few days, but Professor had assigned an exercise for me. However, my code is not ...
[ -0.00994873046875, -0.011474609375, -0.0026702880859375, 0.0206298828125, -0.01507568359375, 0.0142822265625, 0.005096435546875, -0.00665283203125, -0.004730224609375, 0.029052734375, 0.0035858154296875, -0.006988525390625, 0.0223388671875, 0.005096435546875, 0.00616455078125, 0.005493...
[ 3642, 5646, 517, 842, 118, 62479, 35431, 12765, 151301, 400, 7008, 39210, 4086, 254, 69048, 5428, 151206, 24638, 47, 23, 52080, 1261, 43552, 95486, 81979, 18151, 959, 19048, 9969, 1340, 7639, 44691, 552, 2831 ]
[ 0.0653076171875, 0.044921875, 0.1890869140625, 0.09490966796875, 0.10931396484375, 0.1793212890625, 0.2064208984375, 0.219970703125, 0.166015625, 0.10540771484375, 0.152099609375, 0.09515380859375, 0.07037353515625, 0.06585693359375, 0.1715087890625, 0.1492919921875, 0.1151123046875,...
embed
5706803_c0
5706803
lisp
0
Title: Split string into individual characters Problem title: Split string into individual characters Tags: ascii, common-lisp, lisp, string Problem: Split string into individual characters I am having two problems while working in Lisp and I can't find any tutorials or sites that explain this. How do you split up a st...
Split string into individual characters Split string into individual characters ascii common-lisp lisp string Split Split string into individual characters I am having two problems while working in Lisp and I can't find any tutorials or sites that explain this. How do you split up a string into its individual character...
[ 0.005218505859375, -0.020751953125, -0.01007080078125, 0.021484375, -0.015625, 0.027587890625, 0.0162353515625, -0.022705078125, 0.0034637451171875, 0.0224609375, -0.01220703125, -0.0206298828125, -0.027587890625, 0.0299072265625, -0.024658203125, 0.007720947265625, 0.00921630859375,...
[ 46474, 79315, 3934, 11651, 124850, 237, 26506, 39210, 4086, 254, 400, 7008, 19441, 6626, 44402, 20697, 23, 1261, 18, 57143, 15271, 73342, 11249, 54, 398, 65450, 1257, 10, 6863, 3642, 19048, 15549, 2363, 42518, 125429, 10001, 142424, 93002, ...
[ 0.2454833984375, 0.268798828125, 0.1619873046875, 0.2127685546875, 0.2144775390625, 0.034576416015625, 0.196533203125, 0.0877685546875, 0.058624267578125, 0.14990234375, 0.0904541015625, 0.2156982421875, 0.0007390975952148438, 0.047882080078125, 0.0794677734375, 0.055938720703125, 0....
embed
33138896_c1
33138896
lisp
1
"~&pause mouse button1;~%"))) However, compiling the function on SBCL gives several warnings and errors ("the variable LISTS is defined but never used -- how??"; and "the value LISTS is not of type LIST"). Also, according to the compiler, for some reason, the "~&pause mouse button1;~%" part is "unreachable code" and i...
"~&pause mouse button1;~%"))) However, compiling the function on SBCL gives several warnings and errors ("the variable LISTS is defined but never used -- how??"; and "the value LISTS is not of type LIST"). Also, according to the compiler, for some reason, the "~&pause mouse button1;~%" part is "unreachable code" and i...
[ 0.00689697265625, 0.01324462890625, -0.0120849609375, -0.01141357421875, -0.0087890625, 0.0216064453125, 0.037841796875, -0.0011444091796875, 0.000751495361328125, -0.0322265625, 0.01416015625, 0.01177978515625, 0.0106201171875, -0.00421142578125, 0.020751953125, 0.006317138671875, -...
[ 2306, 1230, 149302, 114669, 77679, 74, 3949, 32149, 9969, 49725, 32354, 90944, 37486, 40368, 1631, 6977, 136, 18499, 2347, 77336, 195977, 294, 61924, 1284, 8306, 11814, 3642, 4767, 34292, 83, 959, 111, 10644, 34759, 31635, 418, 2831, 309, 7...
[ 0.0841064453125, 0.1114501953125, 0.2529296875, 0.206298828125, 0.1888427734375, 0.0294952392578125, 0.168212890625, 0.094970703125, 0.1240234375, 0.044830322265625, 0.16796875, 0.1402587890625, 0.209716796875, 0.0484619140625, 0.1092529296875, 0.0726318359375, 0.037109375, 0.15283...
embed
9694661_c0
9694661
lisp
0
Title: In Elisp, how to get path string with slash properly inserted? Problem title: In Elisp, how to get path string with slash properly inserted? Tags: lisp, emacs, elisp Problem: In Elisp, how to get path string with slash properly inserted? I am manually constructing path strings in Elisp by concatenating partial p...
In Elisp, how to get path string with slash properly inserted? In Elisp, how to get path string with slash properly inserted? lisp emacs elisp Elisp In Elisp, how to get path string with slash properly inserted? I am manually constructing path strings in Elisp by concatenating partial paths and directory names. Unfortu...
[ 0.0072021484375, 0, 0.0006103515625, -0.016845703125, -0.0213623046875, 0.0267333984375, -0.002105712890625, -0.0004177093505859375, -0.0026397705078125, -0.0020904541015625, -0.001251220703125, 0.00179290771484375, -0.0361328125, 0.005340576171875, -0.01220703125, -0.00421142578125, ...
[ 360, 25318, 7008, 3642, 2046, 60875, 79315, 678, 91, 5544, 155965, 183540, 297, 400, 2263, 15296, 23009, 64549, 158, 4460, 33, 2878, 14364, 123055, 68018, 3564, 3871, 8108, 26518, 53, 9351, 63559, 4127 ]
[ 0.04412841796875, 0.1375732421875, 0.23876953125, 0.06097412109375, 0.0928955078125, 0.22802734375, 0.2412109375, 0.09722900390625, 0.056793212890625, 0.2398681640625, 0.138427734375, 0.1793212890625, 0.02490234375, 0.032470703125, 0.025604248046875, 0.0625, 0.099609375, 0.07647705...
embed
1734566_c0
1734566
lisp
0
Title: How to make a new list to point somewhere else, Lisp Problem title: How to make a new list to point somewhere else, Lisp Tags: memory, pointers, list, memory-address, lisp Problem: How to make a new list to point somewhere else, Lisp The title is self-explanatory. How can I build a new list X from another list Y...
How to make a new list to point somewhere else, Lisp How to make a new list to point somewhere else, Lisp memory pointers list memory-address lisp How Lisp How to make a new list to point somewhere else, Lisp The title is self-explanatory. How can I build a new list X from another list Y (same structure), but the resul...
[ -0.0059814453125, 0.0291748046875, 0.007049560546875, 0.03369140625, 0.008544921875, 0.007476806640625, -0.011962890625, 0.02783203125, 0.02490234375, -0.00823974609375, 0.00994873046875, -0.01068115234375, 0.0167236328125, 0.0107421875, -0.000858306884765625, 0.00396728515625, 0.013...
[ 11249, 47, 3249, 10, 3525, 5303, 6275, 174653, 37076, 1261, 7008, 98323, 1314, 107421, 400, 44759, 15970, 83613, 14845, 831, 45367, 1193, 1295, 15700, 990, 40175, 45646, 1284, 16750, 214, 16128, 138155, 36746, 37842, 6562, 118, 62766, 1747, ...
[ 0.07073974609375, 0.07470703125, 0.1165771484375, 0.013763427734375, 0.1607666015625, 0.2498779296875, 0.1971435546875, 0.112548828125, 0.1341552734375, 0.127197265625, 0.19921875, 0.111083984375, 0.05487060546875, 0.0791015625, 0.0823974609375, 0.04437255859375, 0.002716064453125, ...
embed
3398602_c0
3398602
lisp
0
Title: Easy way to merge plists? Problem title: Easy way to merge plists? Tags: common-lisp, lisp, plist Problem: Easy way to merge plists? Is there an easy way in Common Lisp to merge two plists? Or from another point of view: is there a way to remove duplicates from a plist? I know I can just append plists (and GETF ...
Easy way to merge plists? Easy way to merge plists? common-lisp lisp plist Easy Easy way to merge plists? Is there an easy way in Common Lisp to merge two plists? Or from another point of view: is there a way to remove duplicates from a plist? I know I can just append plists (and GETF will take the first one it finds),...
[ -0.01904296875, 0.0322265625, -0.002105712890625, -0.0306396484375, -0.004364013671875, -0.004730224609375, 0.01043701171875, -0.00982666015625, 0.0185546875, -0.02392578125, 0.0034027099609375, 0.030517578125, 0.0223388671875, 0.007232666015625, -0.0040283203125, 0.01348876953125, -...
[ 71975, 3917, 47, 42564, 6456, 64370, 39210, 4086, 254, 400, 7008, 4655, 271, 23468, 151301, 1261, 6626, 87388, 171763, 1636, 1295, 114689, 71, 527, 183300, 5646, 5117, 7413, 1884, 183278, 33740, 22799, 4027, 127877, 47644, 28354, 100, 915, ...
[ 0.17236328125, 0.1182861328125, 0.06744384765625, 0.2626953125, 0.214111328125, 0.24658203125, 0.1080322265625, 0.1142578125, 0.142822265625, 0.1109619140625, 0.2298583984375, 0.2159423828125, 0.18115234375, 0.1466064453125, 0.18408203125, 0.1572265625, 0.10675048828125, 0.12048339...
embed
34122531_c0
34122531
lisp
0
Title: Writing a Lisp Function/Macro that will create functions Problem title: Writing a Lisp Function/Macro that will create functions Tags: common-lisp, lisp Problem: Writing a Lisp Function/Macro that will create functions I want to write a function/macro that will write a macro that will create a list structure. Wh...
Writing a Lisp Function/Macro that will create functions Writing a Lisp Function/Macro that will create functions common-lisp lisp Writing Lisp Macro Writing a Lisp Function/Macro that will create functions I want to write a function/macro that will write a macro that will create a list structure. What's a good place t...
[ 0.0201416015625, 0.0184326171875, -0.01123046875, 0.01055908203125, 0.01153564453125, 0.0128173828125, 0.00469970703125, -0.01019287109375, -0.006683349609375, -0.0162353515625, -0.0023651123046875, -0.0108642578125, 0.0037689208984375, -0.0029296875, 0.01171875, 0.01190185546875, 0....
[ 213185, 10, 1261, 7008, 28670, 10763, 55450, 516, 450, 1221, 28282, 32354, 39210, 4086, 254, 400, 4727, 64, 3444, 33022, 15322, 111789, 5303, 45646, 4127, 3687, 47, 4034, 16487, 19201, 154663, 3447, 9351, 24089, 16750, 112, 16498, 532, 6562...
[ 0.1651611328125, 0.044097900390625, 0.16796875, 0.2158203125, 0.16064453125, 0.0684814453125, 0.0732421875, 0.153076171875, 0.0234222412109375, 0.045196533203125, 0.1644287109375, 0.2012939453125, 0.0894775390625, 0.1312255859375, 0.1658935546875, 0.1239013671875, 0.1124267578125, ...
embed
3467227_c0
3467227
lisp
0
Title: Scheme and Clojure don't have the atom type predicate - is this by design? Problem title: Scheme and Clojure don't have the atom type predicate - is this by design? Tags: scheme, clojure, elisp, lisp, predicate Problem: Scheme and Clojure don't have the atom type predicate - is this by design? Common L...
Scheme and Clojure don't have the atom type predicate - is this by design? Scheme and Clojure don't have the atom type predicate - is this by design? scheme clojure elisp lisp predicate Scheme Clojure Scheme and Clojure don't have the atom type predicate - is this by design? Common LISP and Emacs LISP have th...
[ 0.00970458984375, 0.0250244140625, 0.003631591796875, 0.0216064453125, -0.0213623046875, 0.016357421875, 0.01312255859375, -0.0123291015625, -0.0291748046875, 0.0032196044921875, 0.0101318359375, -0.01007080078125, -0.0123291015625, -0.027587890625, 0.001068115234375, 0.000370025634765...
[ 34702, 282, 136, 51053, 461, 107, 2301, 3768, 18, 765, 34627, 10644, 1653, 2063, 67, 83, 903, 390, 4331, 150370, 20450, 15296, 7008, 400, 151301, 16970, 9434, 85269, 4439, 442, 135545, 38869, 15464, 4086, 254, 31635, 85590, 32354, 26698, ...
[ 0.201416015625, 0.1832275390625, 0.1295166015625, 0.1539306640625, 0.1781005859375, 0.1470947265625, 0.0633544921875, 0.0692138671875, 0.1217041015625, 0.083740234375, 0.201416015625, 0.2039794921875, 0.1590576171875, 0.1885986328125, 0.07373046875, 0.054290771484375, 0.0905151367187...
embed
19877972_c0
19877972
lisp
0
Title: Lisp Find index in a list Problem title: Lisp Find index in a list Tags: lisp Problem: Lisp Find index in a list So I have a list of integers and I'm trying to find the index where list(i) > list(i+1) I have the base cases where if the list is empty or length 1, it returns the list length, but I'm having trouble...
Lisp Find index in a list Lisp Find index in a list lisp Lisp Find Lisp Find index in a list So I have a list of integers and I'm trying to find the index where I have the base cases where if the list is empty or length 1, it returns the list length, but I'm having trouble with actually traversing the list and keeping ...
[ -0.0021820068359375, 0.01458740234375, -0.008544921875, 0.0000553131103515625, -0.00811767578125, 0.020263671875, 0.00138092041015625, -0.007293701171875, 0.021240234375, -0.003753662109375, 0.009521484375, -0.011962890625, -0.0234375, 0.01177978515625, 0.0103759765625, -0.001708984375...
[ 1261, 7008, 26040, 63262, 23, 5303, 10, 400, 892, 26255, 31577, 7413, 3647, 50218, 201505, 140909, 106, 30646, 19441, 63134, 20653, 37317, 120260, 28560, 18151, 765, 7108, 5036 ]
[ 0.1363525390625, 0.171630859375, 0.1513671875, 0.23583984375, 0.052215576171875, 0.2012939453125, 0.0014133453369140625, 0.1068115234375, 0.1075439453125, 0.0985107421875, 0.03277587890625, 0.1026611328125, 0.1546630859375, 0.1280517578125, 0.1651611328125, 0.10784912109375, 0.073181...
embed
28447546_c0
28447546
lisp
0
Title: Does anyone know if it is possible to return nothing in console for elisp after a function ends? Problem title: Does anyone know if it is possible to return nothing in console for elisp after a function ends? Tags: return-value, lisp, emacs, elisp Problem: Does anyone know if it is possible to return nothing in ...
Does anyone know if it is possible to return nothing in console for elisp after a function ends? Does anyone know if it is possible to return nothing in console for elisp after a function ends? return-value lisp emacs elisp Does Does anyone know if it is possible to return nothing in console for elisp after a function ...
[ 0.0235595703125, 0.0035858154296875, -0.004486083984375, 0.0113525390625, -0.006866455078125, 0.005462646484375, 0.0177001953125, -0.00012683868408203125, -0.01519775390625, 0.007049560546875, -0.0206298828125, 0.0126953125, -0.0128173828125, 0.008544921875, 0.0096435546875, -0.0054931...
[ 3714, 2174, 7722, 30646, 33720, 23, 130250, 100, 15296, 7008, 7103, 32354, 3564, 7, 47, 27494, 400, 2263, 35672, 83, 217684, 9790, 959, 23937, 17324, 707, 808, 4568, 13162, 63805, 1556, 14361, 1884 ]
[ 0.047882080078125, 0.15380859375, 0.1358642578125, 0.2265625, 0.2081298828125, 0.068359375, 0.2393798828125, 0.0533447265625, 0.11541748046875, 0.234619140625, 0.13525390625, 0.1812744140625, 0.1390380859375, 0.093994140625, 0.0109710693359375, 0.11505126953125, 0.048065185546875, ...
embed
2907971_c0
2907971
lisp
0
Title: Lisp, OCaml or what for Runge Kutta? Problem title: Lisp, OCaml or what for Runge Kutta? Tags: ocaml, numerical-methods, lisp Problem: Lisp, OCaml or what for Runge Kutta? Which language would you propose for solving a system with: first order differential equations complex variables N-dimensions using 4th order...
Lisp, OCaml or what for Runge Kutta? Lisp, OCaml or what for Runge Kutta? ocaml numerical-methods lisp Lisp OCaml Runge Kutta Lisp, OCaml or what for Runge Kutta? Which language would you propose for solving a system with: first order differential equations complex variables N-dimensions using 4th order Runge Kutta or ...
[ 0.01336669921875, 0.0128173828125, -0.00390625, 0.0172119140625, -0.01373291015625, -0.01190185546875, -0.0191650390625, 0.004730224609375, -0.004913330078125, -0.03173828125, -0.0028228759765625, 0.0031890869140625, -0.01904296875, -0.00823974609375, -0.004241943359375, -0.00759887695...
[ 1261, 7008, 180, 105272, 141, 707, 2367, 100, 28398, 429, 30683, 102, 36, 9779, 54744, 6827, 1928, 7352, 400, 130078, 46876, 2806, 26171, 3115, 6496, 5426, 678, 5117, 12989, 99710, 13722, 27140, 77336, 541, 91403, 201, 927, 63349, 26866, ...
[ 0.1790771484375, 0.26416015625, 0.123779296875, 0.2042236328125, 0.198974609375, 0.0379638671875, 0.057769775390625, 0.05120849609375, 0.14697265625, 0.186279296875, 0.1435546875, 0.2020263671875, 0.090576171875, 0.15478515625, 0.10400390625, 0.0287322998046875, 0.029632568359375, ...
embed
25704777_c0
25704777
lisp
0
Title: Lisp, nested every statements Problem title: Lisp, nested every statements Tags: common-lisp, lisp Problem: Lisp, nested every statements I am trying to write a function that can determine if a list of list contains only numbers. for example '( '(1 2) '(3 4) ) => t while '( '(1 2) '(3 x) ) => nil. I can not get ...
Lisp, nested every statements Lisp, nested every statements common-lisp lisp Lisp Lisp, nested every statements I am trying to write a function that can determine if a list of list contains only numbers. for example '( '(1 2) '(3 4) ) => t while '( '(1 2) '(3 x) ) => nil. I can not get my code to work and would appreci...
[ 0.0001468658447265625, 0.0146484375, -0.007598876953125, 0.00506591796875, 0.006011962890625, 0.0301513671875, 0.01385498046875, -0.00982666015625, 0.0029296875, -0.026611328125, -0.000293731689453125, -0.0301513671875, 0.0030517578125, 0.01531982421875, -0.00445556640625, 0.0212402343...
[ 1261, 7008, 4, 8512, 71, 11907, 63805, 39210, 4086, 254, 400, 7, 31577, 33022, 32354, 831, 83324, 2174, 5303, 111, 70541, 4734, 101935, 41600, 4958, 86827, 13956, 808, 12960, 1022, 17324, 959, 18151, 4488, 77947, 4358, 17368, 2965, 51515, ...
[ 0.1622314453125, 0.253662109375, 0.0276947021484375, 0.230224609375, 0.152587890625, 0.270263671875, 0.256591796875, 0.1138916015625, 0.114990234375, 0.1812744140625, 0.1141357421875, 0.0149688720703125, 0.07720947265625, 0.08404541015625, 0.1668701171875, 0.03192138671875, 0.1837158...
embed
35304267_c1
35304267
lisp
1
car lst)) (atom? (caddr lst))) (null? (cdddr lst))) (evaluate1 lst)) (else (cond ((atom? (car lst)) (evaluate (flatten (cons (cons (car lst) (cadr lst)) (evaluate (cddr lst)))))) (else (evaluate (flatten (cons (cons (evaluate (car lst)) (cadr lst)) (list (evaluate (cddr lst)))))))))))) My code simply returns the result...
car lst)) (atom? (caddr lst))) (null? (cdddr lst))) (evaluate1 lst)) (else (cond ((atom? (car lst)) (evaluate (flatten (cons (cons (car lst) (cadr lst)) (evaluate (cddr lst)))))) (else (evaluate (flatten (cons (cons (evaluate (car lst)) (cadr lst)) (list (evaluate (cddr lst)))))))))))) My code simply returns the result...
[ 0.0166015625, 0.0216064453125, 0.00640869140625, 0.0203857421875, 0.0101318359375, 0.018798828125, 0.00927734375, -0.0177001953125, 0.01123046875, -0.00738525390625, -0.01263427734375, -0.020751953125, -0.00537109375, -0.010986328125, -0.0072021484375, -0.00616455078125, 0.0023040771...
[ 2258, 96, 271, 16, 11, 5928, 32, 25426, 7569, 139550, 159258, 67, 418, 5557, 2271, 71, 3284, 510, 25553, 167089, 42, 6562, 71574, 2646, 18151, 42856, 30646, 16750, 111, 468, 420, 27781, 11249, 831, 87, 45367, 1257, 10, 5303, 47, 186, ...
[ 0.2376708984375, 0.036407470703125, 0.1392822265625, 0.0047607421875, 0.0151519775390625, 0.194091796875, 0.049591064453125, 0.043975830078125, 0.1217041015625, 0.14208984375, 0.20068359375, 0.10400390625, 0.06689453125, 0.00933837890625, 0.00177001953125, 0.000885009765625, 0.176879...
embed
19849536_c0
19849536
lisp
0
Title: LISP modify list passed as argument Problem title: LISP modify list passed as argument Tags: common-lisp, lisp Problem: LISP modify list passed as argument So i got this function that receives a list as an argument (defun do-transf (lst) ... my initial lst is ((NIL NIL) (NIL NIL)) but in the end i want the lst b...
LISP modify list passed as argument LISP modify list passed as argument common-lisp lisp LISP NIL LISP modify list passed as argument So i got this function that receives a list as an argument ... my initial lst is ((NIL NIL) (NIL NIL)) but in the end i want the lst becomes (NIL NIL NIL NIL) example (NIL NIL NIL NIL) -...
[ 0.00970458984375, 0.0255126953125, 0.0235595703125, 0.00421142578125, -0.00628662109375, 0.0025787353515625, -0.023681640625, 0.00543212890625, -0.0027618408203125, -0.00579833984375, 0.004974365234375, -0.00396728515625, -0.005889892578125, 0.01190185546875, -0.00145721435546875, 0.00...
[ 16970, 9434, 2811, 40383, 5303, 115081, 237, 10750, 39210, 4086, 254, 400, 7008, 541, 16444, 4163, 903, 32354, 53299, 142, 61475, 96, 271, 83, 7787, 866, 3564, 17, 3444, 24209, 7, 27781, 76199, 7108, 35166, 1284, 3229, 11782, 660, 70, 1...
[ 0.1373291015625, 0.21728515625, 0.1431884765625, 0.1180419921875, 0.2071533203125, 0.158203125, 0.08642578125, 0.266845703125, 0.10650634765625, 0.1016845703125, 0.1666259765625, 0.1099853515625, 0.1793212890625, 0.094970703125, 0.1405029296875, 0.0361328125, 0.0184173583984375, 0....
embed
60135396_c1
60135396
lisp
1
5) (45 0) (45 55) (0 25)) '(1 1 1 1 2 2 3 4 4 5 6) '(2 3 4 5 3 6 6 5 7 7 7) ) The resulting image From the coordinates that are given as inputs, the above 2D diagram is created. I want to scale the lengths in the image i.e The lengths have to be multiple of a scalar x (x can be any value). let's say x =10, the lengths...
5) (45 0) (45 55) (0 25)) '(1 1 1 1 2 2 3 4 4 5 6) '(2 3 4 5 3 6 6 5 7 7 7) ) The resulting image From the coordinates that are given as inputs, the above 2D diagram is created. I want to scale the lengths in the image i.e The lengths have to be multiple of a scalar x (x can be any value). let's say x =10, the lengths...
[ -0.00066375732421875, 0.03369140625, 0.0032501220703125, 0.031982421875, -0.0194091796875, 0.001739501953125, 0.0098876953125, 0.0242919921875, -0.01190185546875, 0.041748046875, 0.0001850128173828125, 0.005706787109375, -0.00115966796875, -0.0264892578125, -0.004302978515625, -0.00116...
[ 21162, 4633, 757, 16, 4859, 22085, 714, 242, 41600, 106, 116, 138, 201, 190, 35914, 54753, 305, 361, 49413, 16750, 29569, 70, 176866, 90, 34475, 107730, 36917, 397, 117233, 75935, 3444, 47, 105994, 140909, 7, 23, 765, 186, 48716, 146232, ...
[ 0.20556640625, 0.265380859375, 0.162353515625, 0.03985595703125, 0.2427978515625, 0.07861328125, 0.212646484375, 0.002716064453125, 0.012054443359375, 0.0250701904296875, 0.09735107421875, 0.0902099609375, 0.113037109375, 0.1314697265625, 0.1231689453125, 0.0196380615234375, 0.087890...
embed
9383710_c0
9383710
lisp
0
Title: transform M dimensional list in one dimension Problem title: transform M dimensional list in one dimension Tags: bigloo, scheme, list, lisp, flatten Problem: transform M dimensional list in one dimension I'm new in scheme programming and I'm learning basic algorithms, like how to define map, append and so on. Bu...
transform M dimensional list in one dimension transform M dimensional list in one dimension bigloo scheme list lisp flatten transform M dimensional list in one dimension I'm new in scheme programming and I'm learning basic algorithms, like how to define map, append and so on. But there is an algorithm for which I can't...
[ 0.01068115234375, 0.0184326171875, 0.006256103515625, 0.005096435546875, 0.0257568359375, -0.0003376007080078125, -0.00592041015625, 0.0032196044921875, 0.005096435546875, -0.051025390625, 0.01483154296875, -0.01507568359375, -0.011962890625, 0.001220703125, -0.01953125, -0.01458740234...
[ 27198, 276, 157955, 5303, 23, 1632, 91403, 6957, 47673, 150370, 400, 7008, 49878, 510, 3525, 56037, 449, 62822, 234873, 61924, 22288, 114689, 71, 831, 18, 7413, 208124, 70424, 214, 3934, 35978, 15490, 36272, 66161, 3444 ]
[ 0.2122802734375, 0.16845703125, 0.1900634765625, 0.224853515625, 0.052581787109375, 0.1385498046875, 0.2232666015625, 0.0849609375, 0.2359619140625, 0.188720703125, 0.0626220703125, 0.114501953125, 0.1126708984375, 0.152587890625, 0.022705078125, 0.08770751953125, 0.010986328125, 0...
embed
9083392_c0
9083392
lisp
0
Title: What is the disadvantage of list as a universal data type representation? Problem title: What is the disadvantage of list as a universal data type representation? Tags: s-expression, lisp, functional-programming, scheme Problem: What is the disadvantage of list as a universal data type representation? Lisp progr...
What is the disadvantage of list as a universal data type representation? What is the disadvantage of list as a universal data type representation? s-expression lisp functional-programming scheme What What is the disadvantage of list as a universal data type representation? Lisp programmers tend to use lists to represe...
[ 0.001495361328125, 0.015625, -0.006072998046875, 0.01312255859375, -0.01055908203125, -0.004669189453125, -0.01214599609375, 0.010986328125, 0.00021457672119140625, -0.007080078125, 0.004119873046875, -0.03564453125, 0.01507568359375, 0.00213623046875, -0.0235595703125, 0.0093994140625...
[ 6392, 71, 2187, 16852, 5303, 237, 32813, 2053, 10644, 18811, 91, 204629, 400, 7008, 123309, 28966, 150370, 1261, 77848, 17660, 4527, 33636, 52895, 7, 959, 4127, 1363, 11814, 69822, 17368, 115923 ]
[ 0.133056640625, 0.09442138671875, 0.1341552734375, 0.1357421875, 0.232177734375, 0.0225982666015625, 0.1461181640625, 0.0987548828125, 0.1776123046875, 0.1837158203125, 0.031829833984375, 0.145751953125, 0.06915283203125, 0.18896484375, 0.0830078125, 0.08660888671875, 0.0792846679687...
embed
59724667_c1
59724667
lisp
1
-imageSize image))] [shape (vector (IplImage-height image) (IplImage-width image))]) (array->mutable-array (list->array shape (cvector->list data))))) This apparently works for reading though not for writing back. How do I make it actually mutable? And are there any performance concerns here? Is cvector->list perhaps c...
-imageSize image))] [shape (vector (IplImage-height image) (IplImage-width image))]) (array->mutable-array (list->array shape (cvector->list data))))) This apparently works for reading though not for writing back. How do I make it actually mutable? And are there any performance concerns here? Is cvector->list perhaps c...
[ 0.00445556640625, 0.00830078125, -0.0264892578125, -0.00139617919921875, 0.0120849609375, 0.0081787109375, 0.008544921875, -0.007232666015625, 0.0068359375, -0.00482177734375, 0.012939453125, -0.0068359375, -0.00836181640625, -0.0013275146484375, -0.023193359375, -0.01495361328125, -...
[ 37926, 127167, 13, 29569, 16, 2420, 1081, 272, 18770, 568, 2424, 216960, 1106, 22553, 146984, 19305, 53, 561, 22819, 6562, 115700, 103607, 2053, 80126, 3293, 198371, 43240, 100, 16454, 21208, 959, 32562, 4420, 11249, 3249, 442, 20653, 842, ...
[ 0.152099609375, 0.180419921875, 0.041473388671875, 0.1820068359375, 0.002227783203125, 0.15869140625, 0.0941162109375, 0.2066650390625, 0.2333984375, 0.002166748046875, 0.152587890625, 0.19921875, 0.0594482421875, 0.055816650390625, 0.1109619140625, 0.1475830078125, 0.09698486328125,...
embed
72873781_c1
72873781
lisp
1
file or directory BREAK was entered because of *BREAK-ON-SIGNALS* (now rebound to NIL) could someone help me finding why isn't this file compiled and how to compile it in the right place so that I can import the desired lib. another info is that I get the same behaviour when trying to import Drakma lib - depends on us...
file or directory BREAK was entered because of *BREAK-ON-SIGNALS* (now rebound to NIL) could someone help me finding why isn't this file compiled and how to compile it in the right place so that I can import the desired lib. another info is that I get the same behaviour when trying to import Drakma lib - depends on us...
[ 0.00360107421875, 0.0069580078125, -0.00946044921875, 0.00897216796875, -0.01470947265625, 0.01031494140625, 0.01904296875, 0.00189971923828125, -0.016845703125, -0.01007080078125, -0.01470947265625, -0.0033111572265625, 0.0142822265625, 0.004974365234375, 0.00628662109375, -0.02026367...
[ 11435, 707, 14364, 51722, 12971, 30957, 297, 6637, 15513, 294, 151657, 7842, 35613, 456, 99091, 47, 541, 16444, 5809, 22008, 4358, 90791, 15400, 56112, 18, 903, 375, 5974, 3642, 9969, 1340, 442, 7108, 3687, 24927, 104851, 25474, 3004, 5701,...
[ 0.227294921875, 0.0208740234375, 0.100830078125, 0.2061767578125, 0.2186279296875, 0.15625, 0.013092041015625, 0.06304931640625, 0.258056640625, 0.1009521484375, 0.193359375, 0.145751953125, 0.050445556640625, 0.038421630859375, 0.22412109375, 0.07000732421875, 0.087158203125, 0.17...
embed
35041430_c0
35041430
lisp
0
Title: Inverting order of multiple values in Common Lisp Problem title: Inverting order of multiple values in Common Lisp Tags: functional-programming, common-lisp, lisp Problem: Inverting order of multiple values in Common Lisp I've been thinking about the following problem. Suppose I'm dealing with a function returni...
Inverting order of multiple values in Common Lisp Inverting order of multiple values in Common Lisp functional-programming common-lisp lisp Inverting Common Lisp Inverting order of multiple values in Common Lisp I've been thinking about the following problem. Suppose I'm dealing with a function returning multiple value...
[ 0, 0.0093994140625, 0.006256103515625, -0.0005340576171875, -0.007354736328125, 0.0084228515625, -0.00726318359375, -0.0242919921875, 0.01287841796875, -0.01373291015625, -0.000217437744140625, 0.021240234375, 0.021728515625, 0.0025787353515625, 0.01519775390625, 0.0184326171875, -0....
[ 148639, 1916, 12989, 48716, 142424, 23, 151301, 1261, 7008, 123309, 28966, 39210, 4086, 254, 400, 47644, 25632, 2967, 121691, 184017, 32354, 30646, 14617, 19, 33478, 27571, 3917, 47, 39531, 184, 70, 111, 2046, 176377, 1286 ]
[ 0.2142333984375, 0.08880615234375, 0.2315673828125, 0.1767578125, 0.1854248046875, 0.0276641845703125, 0.1348876953125, 0.129150390625, 0.1754150390625, 0.109619140625, 0.10845947265625, 0.070068359375, 0.0611572265625, 0.08331298828125, 0.057769775390625, 0.0484619140625, 0.01875305...
embed
2259469_c0
2259469
lisp
0
Title: emacs lisp skip-syntax-forward help Problem title: emacs lisp skip-syntax-forward help Tags: emacs, lisp, syntax Problem: emacs lisp skip-syntax-forward help I am trying to implement function which moves to the next blank/whitespace character. I have read manual, and it seems I can use skip-syntax functions. How...
emacs lisp skip-syntax-forward help emacs lisp skip-syntax-forward help emacs lisp syntax emacs lisp skip-syntax-forward help I am trying to implement function which moves to the next blank/whitespace character. I have read manual, and it seems I can use skip-syntax functions. However, I cannot figure out how to use th...
[ 0.0023651123046875, 0.00726318359375, 0.005859375, 0.00909423828125, -0.0228271484375, 0.018310546875, 0.00811767578125, 0.0001811981201171875, 0.008056640625, -0.005859375, 0.01239013671875, 0.00018215179443359375, -0.046630859375, -0.0031890869140625, -0.01336669921875, -0.0128173828...
[ 352, 2263, 7, 400, 7008, 21658, 9, 12654, 86531, 2472, 19364, 4358, 6002, 31577, 29479, 32354, 25813, 47, 11737, 44237, 64, 148477, 65421, 62816, 12301, 23009, 831, 4527, 53418, 26366, 2856, 26785, 959, 48903, 4488, 8353, 44, 43240, 1284, ...
[ 0.08233642578125, 0.1458740234375, 0.03387451171875, 0.101318359375, 0.20068359375, 0.2607421875, 0.0633544921875, 0.178466796875, 0.22607421875, 0.10675048828125, 0.2030029296875, 0.1517333984375, 0.1220703125, 0.025543212890625, 0.14111328125, 0.2149658203125, 0.1624755859375, 0....
embed
78023929_c0
78023929
lisp
0
Title: Counting vowels in Lisp Problem title: Counting vowels in Lisp Tags: lisp, common-lisp Problem: Counting vowels in Lisp Trying to get better in Lisp, I came across the following problem: (defun countVowels (string) (setf vowels (list 'a 0 'e 0 'i 0 'o 0 'u 0)) (loop for ch across string when (member ch vowels) d...
Counting vowels in Lisp Counting vowels in Lisp lisp common-lisp Counting Lisp Counting vowels in Lisp Trying to get better in Lisp, I came across the following problem: In my opinion, this counts every vowel by incrementing the plist. However, when I invoke the function with e.g. the output is
[ 0.009765625, 0.00958251953125, 0.0101318359375, 0.0162353515625, 0.004486083984375, 0.0020751953125, -0.0032958984375, -0.02587890625, 0.006378173828125, 0.008056640625, 0.002166748046875, -0.0208740234375, 0.0281982421875, 0.01348876953125, -0.0091552734375, 0.0034332275390625, -0.0...
[ 1311, 128396, 2244, 8420, 23, 1261, 7008, 400, 39210, 4086, 254, 7, 11522, 2967, 33153, 54529, 11907, 390, 158661, 214, 4655, 271, 3229, 23253, 32354, 678, 140992, 83 ]
[ 0.130859375, 0.1336669921875, 0.191650390625, 0.21435546875, 0.0714111328125, 0.156005859375, 0.2078857421875, 0.11956787109375, 0.071533203125, 0.10113525390625, 0.1260986328125, 0.0236053466796875, 0.044158935546875, 0.061004638671875, 0.061798095703125, 0.19287109375, 0.1059570312...
embed
10725428_c0
10725428
lisp
0
Title: Is LINQ to SQL possible in other languages? Problem title: Is LINQ to SQL possible in other languages? Tags: f%23, haskell, linq, lisp, c%23 Problem: Is LINQ to SQL possible in other languages? I'm interested in knowing whether something like LINQ to SQL could be possible in other languages (skip .Net), that ena...
Is LINQ to SQL possible in other languages? Is LINQ to SQL possible in other languages? f%23 haskell linq lisp c%23 LINQ SQL Is LINQ to SQL possible in other languages? I'm interested in knowing whether something like LINQ to SQL could be possible in other languages (skip .Net), that enables to write declarative and co...
[ 0.0203857421875, 0.0220947265625, 0.0159912109375, -0.0106201171875, -0.0289306640625, 0.01611328125, -0.0189208984375, 0.005462646484375, -0.01165771484375, -0.041748046875, -0.0150146484375, -0.021728515625, -0.006072998046875, -0.006072998046875, -0.0027313232421875, 0.0101318359375...
[ 2071, 46610, 2737, 47, 80866, 7722, 23, 3789, 46876, 1238, 3742, 1556, 142508, 96, 44982, 400, 7008, 60892, 141956, 1884, 5809, 44024, 24447, 22, 19736, 33022, 21635, 4935, 136, 9969, 1340, 6032, 12765, 41, 3900, 143, 200537, 10644, 4127, ...
[ 0.0281219482421875, 0.203857421875, 0.23291015625, 0.1646728515625, 0.270263671875, 0.1640625, 0.062347412109375, 0.104248046875, 0.191650390625, 0.04473876953125, 0.0621337890625, 0.09228515625, 0.195556640625, 0.1036376953125, 0.2373046875, 0.091064453125, 0.158447265625, 0.04696...
embed
52583675_c1
52583675
lisp
1
60) (< s 70)) (return-from SCORE->GRADE “D”) (if (< s 60) (return-from SCORE->GRADE “F”)) ) ) ) It works for 90, returns A, then for anything else it just gives this error, with different variables in regards to what I enter *** - RETURN-FROM: variable “B” has no value *** - IF: variable “A-“ has no value Can anyone e...
60) (< s 70)) (return-from SCORE->GRADE “D”) (if (< s 60) (return-from SCORE->GRADE “F”)) ) ) ) It works for 90, returns A, then for anything else it just gives this error, with different variables in regards to what I enter *** - RETURN-FROM: variable “B” has no value *** - IF: variable “A-“ has no value Can anyone e...
[ 0.003570556640625, 0.0267333984375, -0.00286865234375, -0.00119781494140625, 0.006622314453125, -0.000789642333984375, 0.01220703125, 0.0035400390625, -0.01513671875, 0.034423828125, 0.01129150390625, -0.006317138671875, -0.0172119140625, 0.003997802734375, -0.009521484375, -0.00286865...
[ 1496, 16, 16093, 91, 2358, 65395, 19, 161063, 17715, 54003, 103607, 163191, 647, 397, 3190, 919, 43240, 100, 2510, 30646, 62, 23937, 37076, 1660, 76199, 903, 18499, 12921, 77336, 30957, 24428, 9069, 56943, 839, 61607, 571, 63, 1556, 110, ...
[ 0.234130859375, 0.06866455078125, 0.1033935546875, 0.08111572265625, 0.1993408203125, 0.12890625, 0.01983642578125, 0.04302978515625, 0.08367919921875, 0.109375, 0.007110595703125, 0.112060546875, 0.015869140625, 0.1171875, 0.011383056640625, 0.1234130859375, 0.1204833984375, 0.056...
embed
4064454_c0
4064454
lisp
0
Title: How to eliminate all levels of lists in LISP Problem title: How to eliminate all levels of lists in LISP Tags: lisp, list Problem: How to eliminate all levels of lists in LISP Possible Duplicate: How to remove nested parentheses in LISP This is my second quick-and-silly question about LISP, but I am kind of stuc...
How to eliminate all levels of lists in LISP How to eliminate all levels of lists in LISP lisp list How LISP How to eliminate all levels of lists in LISP This is my second quick-and-silly question about LISP, but I am kind of stuck. I need to access all the nodes in a list with several levels. I need something like: I ...
[ -0.00933837890625, 0.0208740234375, -0.0067138671875, 0.00518798828125, 0.01068115234375, 0.0164794921875, -0.0169677734375, -0.0027618408203125, 0.00787353515625, -0.0390625, 0.01495361328125, -0.0032501220703125, -0.007110595703125, 0.00946044921875, 0.00396728515625, -0.002548217773...
[ 11249, 47, 27169, 67, 756, 90926, 111, 5303, 7, 16970, 9434, 23, 400, 7008, 114833, 179933, 3871, 17203, 110, 988, 40368, 87, 2301, 18, 517, 1672, 12989, 12601, 18151, 100270 ]
[ 0.04974365234375, 0.0296630859375, 0.1915283203125, 0.102783203125, 0.1082763671875, 0.2286376953125, 0.060333251953125, 0.2078857421875, 0.05657958984375, 0.1162109375, 0.2012939453125, 0.029510498046875, 0.07958984375, 0.1456298828125, 0.030853271484375, 0.04327392578125, 0.0278472...
embed
10525926_c0
10525926
lisp
0
Title: Parse Tab Delimited String Problem title: Parse Tab Delimited String Tags: common-lisp, csv, lisp, parsing Problem: Parse Tab Delimited String I'm having some trouble figuring out how to separate a string which is tab delimited into chunks of data as an example if i have a text file which I'm reading from that l...
Parse Tab Delimited String Parse Tab Delimited String common-lisp csv lisp parsing Parse Tab Delimited Parse Tab Delimited String I'm having some trouble figuring out how to separate a string which is tab delimited into chunks of data as an example if i have a text file which I'm reading from that looks like this and i...
[ 0.009033203125, -0.00787353515625, -0.0206298828125, 0.0294189453125, -0.0140380859375, 0.016845703125, 0.00921630859375, 0.004150390625, -0.00921630859375, 0.0002765655517578125, -0.0169677734375, -0.00421142578125, -0.009765625, 0.00732421875, -0.017578125, 0.00262451171875, -0.002...
[ 2392, 184, 22193, 262, 93343, 297, 23351, 214, 39210, 4086, 254, 20763, 334, 400, 7008, 366, 6953, 63134, 26747, 3642, 47, 84797, 79315, 20928, 8, 3934, 7839, 1224, 2053, 27781, 7986, 11435, 16454, 33342, 1884, 903, 12301, 5117, 13315, 20...
[ 0.13671875, 0.1141357421875, 0.253173828125, 0.09906005859375, 0.215576171875, 0.07305908203125, 0.18896484375, 0.0445556640625, 0.1063232421875, 0.054931640625, 0.1614990234375, 0.033111572265625, 0.1663818359375, 0.0626220703125, 0.18212890625, 0.1300048828125, 0.005157470703125, ...
embed
6512_c0
6512
lisp
0
Title: How to implement continuations? Problem title: How to implement continuations? Tags: c, scheme, lisp, continuations Problem: How to implement continuations? I'm working on a Scheme interpreter written in C. Currently it uses the C runtime stack as its own stack, which is presenting a minor problem with implement...
How to implement continuations? How to implement continuations? c scheme lisp continuations How How to implement continuations? I'm working on a Scheme interpreter written in C. Currently it uses the C runtime stack as its own stack, which is presenting a minor problem with implementing continuations. My current soluti...
[ 0.00885009765625, 0.0184326171875, -0.00213623046875, -0.006988525390625, -0.007293701171875, -0.00518798828125, 0.004425048828125, -0.0177001953125, -0.0162353515625, -0.0615234375, -0.0157470703125, -0.005615234375, -0.01953125, 0.018798828125, 0.007293701171875, 0.00170135498046875,...
[ 11249, 47, 29479, 9454, 5256, 32, 501, 150370, 400, 7008, 20697, 34702, 282, 29481, 56, 59121, 23, 313, 4527, 11675, 6032, 177261, 237, 6863, 10002, 13379, 43967, 2967, 214, 43581, 29806, 23009, 43658, 764, 2631, 4420, 44841, 5570, 7941, ...
[ 0.1463623046875, 0.09814453125, 0.251220703125, 0.28369140625, 0.213134765625, 0.0259552001953125, 0.137451171875, 0.203857421875, 0.109130859375, 0.189453125, 0.0638427734375, 0.1539306640625, 0.1474609375, 0.166748046875, 0.0765380859375, 0.04974365234375, 0.06842041015625, 0.165...
embed
172798_c0
172798
lisp
0
Title: Lisp in the real world Problem title: Lisp in the real world Tags: scheme, lisp, common-lisp, clojure Problem: Lisp in the real world I have experimented with Lisp (actually Scheme) and found it to be a very beautiful language that I am interested in learning more about. However, it appears that Lisp is never us...
Lisp in the real world Lisp in the real world scheme lisp common-lisp clojure Lisp Lisp in the real world I have experimented with Lisp (actually Scheme) and found it to be a very beautiful language that I am interested in learning more about. However, it appears that Lisp is never used in serious projects, and I haven...
[ 0.018798828125, 0.036865234375, 0.00138092041015625, 0.01611328125, -0.00738525390625, 0.0026702880859375, -0.0111083984375, -0.0032501220703125, 0.000820159912109375, -0.03173828125, -0.0035247802734375, -0.005950927734375, -0.01507568359375, 0.01123046875, -0.0026092529296875, 0.0126...
[ 1261, 7008, 23, 2773, 8999, 150370, 400, 39210, 4086, 254, 20450, 461, 107, 28007, 678, 34702, 282, 14037, 442, 4552, 34923, 46876, 60892, 52080, 1286, 1672, 83, 8306, 11814, 85583, 77635, 136, 18, 51592, 145870, 104851, 112419, 12447, 7522...
[ 0.2066650390625, 0.2734375, 0.07769775390625, 0.195556640625, 0.1798095703125, 0.2041015625, 0.1524658203125, 0.1075439453125, 0.15576171875, 0.173583984375, 0.09820556640625, 0.1258544921875, 0.0677490234375, 0.151611328125, 0.040374755859375, 0.1627197265625, 0.1751708984375, 0.0...
embed
9426104_c0
9426104
lisp
0
Title: How to compile and run LISP project? Problem title: How to compile and run LISP project? Tags: common-lisp, compilation, debugging, lisp, lispworks Problem: How to compile and run LISP project? I am new to LISP, currently using LispWorks and ListBox IDE on window server 2008. I want to know that, how can we comp...
How to compile and run LISP project? How to compile and run LISP project? common-lisp compilation debugging lisp lispworks How LISP How to compile and run LISP project? I am new to LISP, currently using LispWorks and ListBox IDE on window server 2008. I want to know that, how can we compile and run LISP project, contai...
[ -0.00738525390625, 0.007568359375, -0.0177001953125, 0.0181884765625, -0.0230712890625, 0.00604248046875, 0.0177001953125, 0.0128173828125, 0.0033721923828125, -0.0166015625, 0.00244140625, -0.0023040771484375, 0.00360107421875, 0.0059814453125, 0.0166015625, 0.0010528564453125, -0.0...
[ 11249, 47, 9969, 1340, 136, 11675, 16970, 9434, 13452, 32, 39210, 4086, 254, 98352, 8, 978, 36659, 400, 7008, 18244, 3525, 82424, 17368, 1261, 108259, 32036, 72295, 36497, 76896, 10723, 20907, 3444, 3714, 3642, 831, 642, 70541, 14877, 31344...
[ 0.1109619140625, 0.058685302734375, 0.1962890625, 0.18896484375, 0.111328125, 0.1817626953125, 0.17578125, 0.284912109375, 0.1961669921875, 0.008758544921875, 0.099853515625, 0.1279296875, 0.1915283203125, 0.1903076171875, 0.119140625, 0.108154296875, 0.002716064453125, 0.12890625,...
embed
73520053_c1
73520053
lisp
1
SIMPLE-READER-PACKAGE-ERROR "Package ~A does not exist." {1001542543}> :STREAM #<SB-INT:FORM-TRACKING-STREAM for "file /home/oliver/Programs/hello.lisp" {10015403F3}>) Any ideas on how I can fix? It seems I'm missing "UIOP" but I can't figure out how to install. Thanks in advance! Oliver Code signals: SBCL, UIOP, USER,...
SIMPLE-READER-PACKAGE-ERROR "Package ~A does not exist." {1001542543}> :STREAM #<SB-INT:FORM-TRACKING-STREAM for "file /home/oliver/Programs/hello.lisp" {10015403F3}>) Any ideas on how I can fix? It seems I'm missing "UIOP" but I can't figure out how to install. Thanks in advance! Oliver Code signals: SBCL, UIOP, USER,...
[ 0.00714111328125, -0.0052490234375, 0.002471923828125, 0.00933837890625, -0.001495361328125, 0.004730224609375, 0.028076171875, 0.00023746490478515625, -0.01202392578125, -0.0137939453125, 0.00750732421875, -0.0262451171875, 0.004974365234375, -0.02490234375, 0.0155029296875, -0.010742...
[ 40288, 103084, 41519, 18044, 98701, 605, 75930, 12501, 14255, 1052, 205956, 4588, 6780, 284, 14602, 959, 32316, 3559, 132363, 2588, 11548, 56564, 8922, 36474, 59537, 98533, 37082, 441, 115228, 29822, 29552, 31, 134148, 148968, 127, 13817, 5, ...
[ 0.1865234375, 0.1639404296875, 0.2159423828125, 0.155517578125, 0.186767578125, 0.191650390625, 0.1505126953125, 0.1334228515625, 0.1644287109375, 0.048309326171875, 0.2783203125, 0.2142333984375, 0.12939453125, 0.192626953125, 0.08551025390625, 0.129638671875, 0.211181640625, 0.04...
embed
37890778_c0
37890778
lisp
0
Title: Make list into symbol Problem title: Make list into symbol Tags: elisp, lisp, list Problem: Make list into symbol I was trying to pop an element of a list in elisp as follows, (pop '(1 2)) but, due to my misunderstanding, that doesn't work b/c the list hasn't been internalized as a symbol. Is there an idiomatic ...
Make list into symbol Make list into symbol elisp lisp list Make Make list into symbol I was trying to pop an element of a list in elisp as follows, but, due to my misunderstanding, that doesn't work b/c the list hasn't been internalized as a symbol. Is there an idiomatic way to do the above, or is that not a proper ap...
[ 0.00927734375, 0.010009765625, 0.00836181640625, 0.00701904296875, -0.01141357421875, 0.02783203125, -0.01806640625, 0.02197265625, -0.00537109375, -0.00885009765625, -0.0079345703125, 0.01239013671875, 0.00274658203125, 0.00799560546875, -0.02392578125, -0.00567626953125, -0.0052795...
[ 26176, 5303, 3934, 26582, 15296, 7008, 400, 31577, 7426, 12830, 23, 28960, 24658, 22027, 18, 4488, 70796, 29367, 237, 49666, 9523, 3917, 36917, 27798, 51515, 3249, 52184, 10821, 2811, 40383, 3687 ]
[ 0.15966796875, 0.271484375, 0.193603515625, 0.28564453125, 0.121337890625, 0.2103271484375, 0.0906982421875, 0.0828857421875, 0.1873779296875, 0.14013671875, 0.024322509765625, 0.042144775390625, 0.02069091796875, 0.02313232421875, 0.03363037109375, 0.10040283203125, 0.1307373046875,...
embed
59228338_c0
59228338
lisp
0
Title: Why doesn&#x27;t this clojure code using go blocks work? Problem title: Why doesn&#x27;t this clojure code using go blocks work? Tags: s-expression, macros, lisp, clojure, asynchronous Problem: Why doesn't this clojure code using go blocks work? (defn ff [t] (let [ch (chan 5)] (map (fn [i] (println i)) t) (go (>...
Why doesn&#x27;t this clojure code using go blocks work? Why doesn&#x27;t this clojure code using go blocks work? s-expression macros lisp clojure asynchronous go Why Why doesn't this clojure code using go blocks work? The mapping function body isn't being executed. If I remove the go block in the last line, it works a...
[ -0.006591796875, 0.0216064453125, 0.011474609375, -0.01611328125, 0.0033721923828125, -0.005096435546875, 0.02978515625, -0.01507568359375, -0.00074005126953125, -0.001800537109375, -0.00836181640625, -0.0130615234375, -0.003997802734375, 0.01025390625, 0.00628662109375, 0.000293731689...
[ 44084, 22027, 3768, 18, 903, 20450, 461, 107, 18151, 17368, 738, 46389, 4488, 7, 91, 204629, 111789, 400, 7008, 12654, 101966, 291, 26783, 32354, 14361, 56112, 8035, 71924, 87388, 4568, 13315, 43240, 84751, 2967 ]
[ 0.10565185546875, 0.12939453125, 0.0225677490234375, 0.141357421875, 0.09002685546875, 0.136962890625, 0.1290283203125, 0.09747314453125, 0.1888427734375, 0.079345703125, 0.1815185546875, 0.2337646484375, 0.13623046875, 0.04248046875, 0.061004638671875, 0.1373291015625, 0.10717773437...
embed
54496286_c0
54496286
lisp
0
Title: Scheme Lisp The determinant of a 3 × 3 matrix Problem title: Scheme Lisp The determinant of a 3 × 3 matrix Tags: lisp, racket, scheme Problem: Scheme Lisp The determinant of a 3 × 3 matrix My code isn't working and it gives me an error saying: det: arity mismatch; the expected number of arguments does not match ...
Scheme Lisp The determinant of a 3 × 3 matrix Scheme Lisp The determinant of a 3 × 3 matrix lisp racket scheme Scheme Lisp det3x3 Scheme Lisp The determinant of a 3 × 3 matrix My code isn't working and it gives me an error saying: det: arity mismatch; the expected number of arguments does not match the given number exp...
[ 0.0084228515625, 0.0250244140625, 0.0284423828125, -0.021240234375, -0.010009765625, -0.004638671875, -0.0189208984375, 0.0223388671875, 0.01416015625, -0.00579833984375, -0.003814697265625, -0.05029296875, -0.0037078857421875, -0.0107421875, -0.004669189453125, -0.005645751953125, 0...
[ 34702, 282, 1261, 7008, 27354, 660, 138, 34070, 50944, 425, 400, 673, 27853, 150370, 149, 363, 18151, 18, 20697, 163, 18499, 54433, 12, 187, 2481, 1239, 98753, 84751, 14012, 10750, 14602, 959, 14858, 34475, 201, 483 ]
[ 0.1788330078125, 0.1256103515625, 0.1163330078125, 0.2115478515625, 0.20556640625, 0.13330078125, 0.18701171875, 0.13037109375, 0.1739501953125, 0.08282470703125, 0.078857421875, 0.05126953125, 0.184814453125, 0.1895751953125, 0.2291259765625, 0.15234375, 0.1895751953125, 0.0494079...
embed
7424307_c0
7424307
lisp
0
Title: Can I save source files in Clisp? Problem title: Can I save source files in Clisp? Tags: lisp, land-of-lisp, common-lisp, clisp Problem: Can I save source files in Clisp? I'm a beginner programmer and am going through the book "Land of Lisp". I have been typing in the examples from the book with the REPL. Is it ...
Can I save source files in Clisp? Can I save source files in Clisp? lisp land-of-lisp common-lisp clisp Can Clisp Can I save source files in Clisp? I'm a beginner programmer and am going through the book "Land of Lisp". I have been typing in the examples from the book with the REPL. Is it possible to save my current pr...
[ 0.00823974609375, 0.029296875, 0.0166015625, 0.0235595703125, -0.0216064453125, 0.006561279296875, 0.008056640625, -0.006134033203125, 0.00897216796875, -0.02294921875, 0.0030364990234375, 0.02685546875, 0.0024566650390625, -0.00537109375, 0.00860595703125, -0.002197265625, -0.025390...
[ 4171, 87, 30098, 31344, 102158, 23, 313, 4086, 254, 400, 7008, 3551, 4390, 39210, 95701, 9842, 1679, 77848, 8305, 12877, 94646, 111, 1261, 11417, 27781, 678, 70, 9069, 21130, 2071, 7722, 43581, 1528, 237, 5, 11435, 72367, 21342, 20697, 14...
[ 0.1168212890625, 0.07550048828125, 0.200439453125, 0.25732421875, 0.2138671875, 0.136962890625, 0.095703125, 0.221435546875, 0.2626953125, 0.09332275390625, 0.2484130859375, 0.0869140625, 0.135009765625, 0.0771484375, 0.1099853515625, 0.03350830078125, 0.0516357421875, 0.1407470703...
embed
55948895_c0
55948895
lisp
0
Title: cond variable has no value Problem title: cond variable has no value Tags: syntax, lisp, common-lisp Problem: cond variable has no value I am a newbie in lisp. I just want to create a short programme. It is about testing a condition and do something when it is true. So if 3 modulo 2 is not true (what obviously i...
cond variable has no value cond variable has no value syntax lisp common-lisp cond variable has no value I am a newbie in lisp. I just want to create a short programme. It is about testing a condition and do something when it is true. So if 3 modulo 2 is not true (what obviously is not true) I want to print the result ...
[ -0.024169921875, 0.0012664794921875, 0.00982666015625, -0.009765625, 0.013671875, 0.0157470703125, 0.03173828125, 0.00109100341796875, -0.001190185546875, -0.00113677978515625, 0.01483154296875, -0.018798828125, 0.00170135498046875, -0.0135498046875, 0.012451171875, 0.011962890625, 0...
[ 158, 71, 77336, 1556, 110, 34292, 6002, 86531, 400, 7008, 39210, 4086, 254, 9014, 3444, 28282, 16610, 26693, 134234, 35431, 29568, 138, 140807, 116, 959, 171259, 28412, 16750, 361, 1328, 1126, 1662, 18499, 24428, 14452, 397, 248, 1369, 3784...
[ 0.176025390625, 0.1875, 0.2998046875, 0.125732421875, 0.1561279296875, 0.24365234375, 0.045745849609375, 0.03271484375, 0.09954833984375, 0.1922607421875, 0.10662841796875, 0.08050537109375, 0.1527099609375, 0.064208984375, 0.0269622802734375, 0.0166015625, 0.0772705078125, 0.10339...
embed
7368882_c1
7368882
lisp
1
if (and (> x 39) (< x 73)) (print 'tropical)) (if (and (> x 74) (< x 95)) (print 'cat-1)) (if (and (> x 96) (< x 110)) (print 'cat-2)) (if (and (> x 111) (< x 130)) (print'cat-3)) (if (and (> x 131) (< x 155)) (print'cat-4)) (if (and (> x 156)) (print 'cat-5)) Replace the windspeed (like 65 ) with windtype (like cat-1 ...
if (and (> x 39) (< x 73)) (print 'tropical)) (if (and (> x 74) (< x 95)) (print 'cat-1)) (if (and (> x 96) (< x 110)) (print 'cat-2)) (if (and (> x 111) (< x 130)) (print'cat-3)) (if (and (> x 131) (< x 155)) (print'cat-4)) (if (and (> x 156)) (print 'cat-5)) Replace the windspeed (like 65 ) with windtype (like cat-1 ...
[ 0.004974365234375, 0.000652313232421875, -0.004364013671875, 0.00445556640625, 0.01043701171875, -0.0023345947265625, 0.00543212890625, 0.01953125, -0.005218505859375, 0.035888671875, 0.0034332275390625, -0.0177001953125, 0.00836181640625, -0.00897216796875, -0.007415771484375, 0.02746...
[ 2174, 2940, 2740, 1022, 5606, 16093, 14929, 35662, 29813, 21533, 3190, 88151, 9199, 4460, 110218, 109241, 12062, 10461, 36682, 11777, 8316, 65451, 43137, 11565, 73176, 10342, 853, 23935, 32382, 175870, 5062, 5684, 678, 50986, 7515, 5759, 28354,...
[ 0.1400146484375, 0.0765380859375, 0.04638671875, 0.1070556640625, 0.20703125, 0.04632568359375, 0.209228515625, 0.12646484375, 0.1971435546875, 0.2015380859375, 0.08642578125, 0.1798095703125, 0.1947021484375, 0.1771240234375, 0.14208984375, 0.2166748046875, 0.1416015625, 0.0459899...
embed
39560353_c0
39560353
lisp
0
Title: Common Lisp Keyword list Problem title: Common Lisp Keyword list Tags: lisp, common-lisp Problem: Common Lisp Keyword list Where can I find a list of the common Lisp keywords, that's the list of reserved words used in Common Lisp, words like ash, setf, etc.. It would be nice if the list had the usage of the keyw...
Common Lisp Keyword list Common Lisp Keyword list lisp common-lisp Common Lisp Keyword Common Lisp Keyword list Where can I find a list of the common Lisp keywords, that's the list of reserved words used in Common Lisp, words like ash, setf, etc.. It would be nice if the list had the usage of the keywords, anyway, all ...
[ 0.0260009765625, 0.0091552734375, 0.004791259765625, -0.0101318359375, -0.007293701171875, 0.01092529296875, 0.00897216796875, 0.00787353515625, 0.007598876953125, 0.004302978515625, -0.011962890625, -0.013427734375, -0.001434326171875, 0.011962890625, 0.0111083984375, 0.022216796875, ...
[ 151301, 1261, 7008, 189755, 5303, 400, 39210, 4086, 254, 78662, 831, 87, 7413, 10, 111, 70, 166117, 7, 70488, 34153, 11814, 23, 1884, 1495, 5423, 420, 26267, 127689, 3055, 10932, 27781, 103391, 2043, 33938, 21771, 3714, 45767 ]
[ 0.1875, 0.1954345703125, 0.20947265625, 0.2471923828125, 0.2086181640625, 0.115966796875, 0.1885986328125, 0.1229248046875, 0.121826171875, 0.01220703125, 0.0716552734375, 0.0290679931640625, 0.126953125, 0.0703125, 0.020965576171875, 0.0154876708984375, 0.261474609375, 0.127197265...
embed
34055155_c0
34055155
lisp
0
Title: multiplicating 2 vectors in lisp Problem title: multiplicating 2 vectors in lisp Tags: lisp Problem: multiplicating 2 vectors in lisp I'm trying to multiplicate two vectors in lisp. My code is: (defun produs(x y) (cond ((or (null x) (null y)) nil) ((eq (cdr x) nil) (cons (* (car x) (car y)) (cdr y))) ((eq (cdr y...
multiplicating 2 vectors in lisp multiplicating 2 vectors in lisp lisp multiplicating 2 vectors in lisp I'm trying to multiplicate two vectors in lisp. My code is: When I verify it gives me (7 2). The 4rd line of code doesn't specify that if the rest of the body of x is nil, then to multiplicate it with all elements of...
[ -0.0115966796875, 0.03515625, 0.00017261505126953125, 0.02001953125, -0.0087890625, 0.0234375, -0.0107421875, 0.0004405975341796875, 0.00250244140625, -0.027587890625, 0.00927734375, 0.00958251953125, -0.006134033203125, -0.0166015625, -0.01513671875, -0.0035858154296875, 0.029663085...
[ 127664, 1916, 116, 22834, 22230, 23, 400, 7008, 31577, 67, 6626, 18151, 493, 40383, 76199, 163, 19107, 4958, 201, 4216, 13315, 18, 40140, 18929, 2174, 10588, 14361, 1022, 83, 17324, 678, 756, 80854, 113 ]
[ 0.1893310546875, 0.07293701171875, 0.1724853515625, 0.2073974609375, 0.1536865234375, 0.07794189453125, 0.13916015625, 0.206298828125, 0.0908203125, 0.06072998046875, 0.1273193359375, 0.12646484375, 0.09368896484375, 0.08740234375, 0.060516357421875, 0.03131103515625, 0.1071166992187...
embed
42312849_c0
42312849
lisp
0
Title: Number of atoms in a tree Problem title: Number of atoms in a tree Tags: lisp, common-lisp Problem: Number of atoms in a tree I don't understand the following paragraph: (COUNT-ATOMS ’(A (B) C)) should return five. A, B, and C and two NILs in the tree. Write a function COUNT-ATOMS that returns the number of atom...
Number of atoms in a tree Number of atoms in a tree lisp common-lisp Number COUNT-ATOMS Number of atoms in a tree I don't understand the following paragraph: I tried this: However, (COUNT-ATOMS '(A (B) C)) return 2. How should I do to return 5 instead? Could you explain in more details?
[ 0.01611328125, 0.0198974609375, -0.0001678466796875, 0.01513671875, 0.01275634765625, 0.0108642578125, -0.01031494140625, 0.00096893310546875, -0.01129150390625, -0.044921875, -0.00677490234375, -0.036376953125, 0.01953125, 0.0284423828125, 0.02783203125, 0.01348876953125, -0.0001907...
[ 103332, 111, 34627, 7, 23, 10, 53201, 400, 7008, 39210, 4086, 254, 8244, 64163, 78863, 13439, 2301, 18, 28219, 25632, 151268, 37842, 903, 33306, 9688, 9, 284, 571, 313, 30646, 787, 11249, 5608, 190, 64457, 73342 ]
[ 0.1148681640625, 0.054718017578125, 0.244140625, 0.09783935546875, 0.09326171875, 0.035736083984375, 0.23974609375, 0.07635498046875, 0.1556396484375, 0.0946044921875, 0.06329345703125, 0.126708984375, 0.047821044921875, 0.1356201171875, 0.1572265625, 0.10455322265625, 0.012985229492...
embed
71443977_c0
71443977
lisp
0
Title: Common lisp how to print strings that contain &quot;øæåè&quot; etc Problem title: Common lisp how to print strings that contain &quot;øæåè&quot; etc Tags: sbcl, unicode, format, common-lisp, lisp Problem: Common lisp how to print strings that contain "øæåè" etc What format directive shoud use to print the string...
Common lisp how to print strings that contain &quot;øæåè&quot; etc Common lisp how to print strings that contain &quot;øæåè&quot; etc sbcl unicode format common-lisp lisp Common Vent Emm Common lisp how to print strings that contain "øæåè" etc What format directive shoud use to print the string, e.g "J'T'Emmène Au Vent...
[ -0.0157470703125, 0.0107421875, 0.01312255859375, 0.0023345947265625, -0.0169677734375, 0.00384521484375, 0.031982421875, 0.031982421875, 0.007080078125, 0.02490234375, -0.003204345703125, -0.029296875, -0.00836181640625, 0.006256103515625, -0.01611328125, -0.001953125, 0.01171875, ...
[ 151301, 400, 7008, 3642, 28412, 79315, 70541, 7997, 3405, 6752, 1934, 275, 34937, 60347, 112, 9384, 39210, 4086, 254, 70946, 2775, 39, 8951, 5844, 77242, 4527, 1375, 618, 34139, 78387, 5655, 15490, 144281, 124850, 37202, 2306, 11, 5608, 448...
[ 0.1876220703125, 0.1202392578125, 0.167724609375, 0.05206298828125, 0.2142333984375, 0.242431640625, 0.1204833984375, 0.127197265625, 0.093017578125, 0.140380859375, 0.2197265625, 0.030670166015625, 0.131591796875, 0.12841796875, 0.0623779296875, 0.1754150390625, 0.1484375, 0.07116...
embed
33263781_c0
33263781
lisp
0
Title: Error in Racket/Lisp: expected a procedure that can be applied to arguments Problem title: Error in Racket/Lisp: expected a procedure that can be applied to arguments Tags: scheme, lisp, racket Problem: Error in Racket/Lisp: expected a procedure that can be applied to arguments Just a new defined arccos-function...
Error in Racket/Lisp: expected a procedure that can be applied to arguments Error in Racket/Lisp: expected a procedure that can be applied to arguments scheme lisp racket Error Racket Lisp Error in Racket/Lisp: expected a procedure that can be applied to arguments Just a new defined arccos-function but I don't find the...
[ -0.021240234375, 0.0185546875, -0.025390625, 0.02197265625, -0.00157928466796875, 0.0118408203125, -0.000024318695068359375, 0.00830078125, -0.018798828125, -0.00689697265625, 0.01171875, -0.01080322265625, -0.00689697265625, -0.01495361328125, 0.0186767578125, -0.00897216796875, 0.0...
[ 212059, 23, 2552, 27853, 9506, 7008, 84751, 50491, 831, 190659, 47, 10750, 450, 150370, 400, 673, 1261, 64, 10, 3525, 61924, 46552, 7840, 137175, 18, 7413, 18499, 4347, 4358, 26008 ]
[ 0.191650390625, 0.0391845703125, 0.12481689453125, 0.1773681640625, 0.1297607421875, 0.1700439453125, 0.205078125, 0.1956787109375, 0.10528564453125, 0.15380859375, 0.08514404296875, 0.235107421875, 0.0269012451171875, 0.1654052734375, 0.08587646484375, 0.08642578125, 0.13623046875, ...
embed
12829382_c0
12829382
lisp
0
Title: Take out all but last occurence structure in a list Problem title: Take out all but last occurence structure in a list Tags: common-lisp, lisp Problem: Take out all but last occurence structure in a list I learn lisp a few days ago, and I want to do is like following 1 `(1 2 3 4 1 5) ==> ( 2 3 4 1 5) What I cand...
Take out all but last occurence structure in a list Take out all but last occurence structure in a list common-lisp lisp Take Take out all but last occurence structure in a list I learn lisp a few days ago, and I want to do is like following 1 `(1 2 3 4 1 5) ==> ( 2 3 4 1 5) What I cand do is to remove all the occurenc...
[ 0.006256103515625, 0.03271484375, 0.0016021728515625, -0.0022125244140625, 0.0003795623779296875, 0.0032196044921875, 0.0081787109375, 0.01068115234375, 0.0186767578125, -0.0166015625, -0.002716064453125, 0.006591796875, 0.0220947265625, 0.005859375, -0.0047607421875, 0.01556396484375,...
[ 46673, 1810, 756, 1284, 4568, 74918, 6620, 45646, 23, 5303, 39210, 4086, 254, 400, 7008, 10, 30698, 3444, 1884, 25632, 106, 9473, 41600, 116, 138, 201, 21162, 6, 69112, 7841, 47, 87388, 70, 26366, 479, 86687, 26582, 18151, 6003, 425 ]
[ 0.0911865234375, 0.2197265625, 0.0948486328125, 0.16064453125, 0.212646484375, 0.194091796875, 0.128662109375, 0.24609375, 0.06787109375, 0.234375, 0.0880126953125, 0.0889892578125, 0.1375732421875, 0.0975341796875, 0.1881103515625, 0.0137939453125, 0.07012939453125, 0.029861450195...
embed
13655370_c1
13655370
lisp
1
if (eq (car lis) '+) (list (car lis) (simplify-multiplication (cdr lis))) (if (eq (car lis) '*) (list (car lis) (simplify-multiplication (cdr lis))) lis ) ) ) ) ) ) This is what should happen: (simplify ‘(+ x ( + 0 3 ) ( * 1 5 ) ( * ( * x y z ) 0 ) )) --> ( + x 3 5 ) (simplify ‘(* (+ 6 0) (* 1 6 2))) ------------------...
if (eq (car lis) '+) (list (car lis) (simplify-multiplication (cdr lis))) (if (eq (car lis) '*) (list (car lis) (simplify-multiplication (cdr lis))) lis ) ) ) ) ) ) This is what should happen: (simplify ‘(+ x ( + 0 3 ) ( * 1 5 ) ( * ( * x y z ) 0 ) )) --> ( + x 3 5 ) (simplify ‘(* (+ 6 0) (* 1 6 2))) ------------------...
[ -0.01483154296875, 0.030517578125, 0.0130615234375, 0.0169677734375, -0.01092529296875, 0.0091552734375, 0.0103759765625, -0.004974365234375, 0.006011962890625, -0.00555419921875, 0.01385498046875, -0.012939453125, -0.01153564453125, -0.0032806396484375, -0.02001953125, -0.002059936523...
[ 2174, 13, 864, 3284, 400, 7, 16, 242, 102817, 6562, 116120, 40383, 144227, 182867, 7569, 32149, 3190, 77518, 1388, 3293, 2367, 5608, 53383, 204, 1328, 1022, 15, 997, 757, 138, 190, 661, 113, 97, 129908, 88746, 22183, 305, 106, 116, 6, ...
[ 0.1942138671875, 0.0205841064453125, 0.225341796875, 0.2108154296875, 0.1656494140625, 0.1094970703125, 0.011322021484375, 0.0225830078125, 0.1832275390625, 0.210205078125, 0.2130126953125, 0.20849609375, 0.09307861328125, 0.1444091796875, 0.12255859375, 0.05596923828125, 0.195678710...
embed
1219185_c0
1219185
lisp
0
Title: Which is better?: (reduce + ...) or (apply + ...)? Problem title: Which is better?: (reduce + ...) or (apply + ...)? Tags: scheme, lisp, clojure Problem: Which is better?: (reduce + ...) or (apply + ...)? Should I use (apply + (filter prime? (range 1 20))) or (reduce + (filter prime? (range 1 20))) Edit: This is...
Which is better?: (reduce + ...) or (apply + ...)? Which is better?: (reduce + ...) or (apply + ...)? scheme lisp clojure Which Math Which is better?: (reduce + ...) or (apply + ...)? Should I use or Edit: This is the source for prime in clojure from optimizing toolkit.
[ -0.0240478515625, 0.0031280517578125, 0.0128173828125, 0.01470947265625, 0.021240234375, -0.006561279296875, 0.002899169921875, -0.0118408203125, -0.00201416015625, -0.03564453125, 0.0281982421875, -0.0166015625, -0.00518798828125, -0.0172119140625, 0.00372314453125, -0.00103759765625,...
[ 130078, 83, 11522, 107, 106357, 997, 153, 707, 9007, 538, 150370, 400, 7008, 20450, 461, 78804, 4527, 42079, 31344, 100, 20809, 23, 15572, 84382, 55516, 9488 ]
[ 0.0909423828125, 0.0924072265625, 0.235595703125, 0.177734375, 0.26416015625, 0.2059326171875, 0.099365234375, 0.08349609375, 0.153076171875, 0.1943359375, 0.1644287109375, 0.055999755859375, 0.1446533203125, 0.11090087890625, 0.1334228515625, 0.1922607421875, 0.098876953125, 0.105...
embed
56090785_c0
56090785
lisp
0
Title: How to fix error with Sum of close pairs on the list Problem title: How to fix error with Sum of close pairs on the list Tags: lisp, racket, scheme Problem: How to fix error with Sum of close pairs on the list I want to sum each list of 2 pairs close and return a new list where each organ is the sum of the next ...
How to fix error with Sum of close pairs on the list How to fix error with Sum of close pairs on the list lisp racket scheme How Sum Cdr How to fix error with Sum of close pairs on the list I want to sum each list of 2 pairs close and return a new list where each organ is the sum of the next 2 pairs. i have this code: ...
[ -0.0001430511474609375, 0.0294189453125, 0.011962890625, 0.024658203125, -0.01434326171875, 0.031005859375, -0.02294921875, 0.00823974609375, 0.004119873046875, -0.0291748046875, 0.005828857421875, -0.0228271484375, -0.0072021484375, 0.0103759765625, 0.031005859375, -0.0020294189453125...
[ 11249, 47, 30022, 18499, 678, 36335, 111, 20903, 80836, 7, 98, 5303, 400, 7008, 673, 27853, 150370, 7569, 3444, 10554, 12638, 116, 30646, 7484, 11737, 18151, 2367, 54, 44691, 11675, 6494, 6002, 86531 ]
[ 0.036376953125, 0.01541900634765625, 0.161865234375, 0.2012939453125, 0.06109619140625, 0.2222900390625, 0.11993408203125, 0.196044921875, 0.2227783203125, 0.095703125, 0.049102783203125, 0.19482421875, 0.0343017578125, 0.139404296875, 0.04150390625, 0.16259765625, 0.1387939453125, ...
embed
18096456_c2
18096456
lisp
2
y:0;} eq(x,y){R atomp(x)&&atomp(y)?x==y:0;} ff(x){R atomp(x)?x:ff(car(x));} subst(x,y,z){R atomp(z)?(eq(z,y)?x:z): Code signals: Why, QUOTE, PP_NARG, ATOM, NIL, www.ioccc.org, jar.2.c, leon.bottou.org, www.jsoftware.com, Essays, Incunabulum, www-formal.stanford.edu, recursive.html, www.paulgraham.com, rootsoflisp.html,...
y:0;} eq(x,y){R atomp(x)&&atomp(y)?x==y:0;} ff(x){R atomp(x)?x:ff(car(x));} subst(x,y,z){R atomp(z)?(eq(z,y)?x:z): Code signals: Why, QUOTE, PP_NARG, ATOM, NIL, www.ioccc.org, jar.2.c, leon.bottou.org, www.jsoftware.com, Essays, Incunabulum, www-formal.stanford.edu, recursive.html, www.paulgraham.com, rootsoflisp.html,...
[ -0.00185394287109375, 0.0196533203125, 0.0081787109375, 0.019775390625, -0.0034637451171875, -0.00433349609375, 0.01556396484375, 0.00701904296875, 0.003570556640625, 0.007568359375, -0.005889892578125, 0.003173828125, 0.006744384765625, 0.0033721923828125, 0.003448486328125, -0.018066...
[ 113, 53861, 74, 8152, 28, 864, 425, 4, 53, 1052, 34627, 254, 1230, 2832, 2676, 69112, 26472, 4902, 3284, 196842, 169, 2077, 28864, 26073, 7, 12, 44084, 6, 232856, 12211, 88365, 724, 62, 117032, 541, 16444, 10060, 1478, 35125, 5442, 191,...
[ 0.1495361328125, 0.1693115234375, 0.07318115234375, 0.03564453125, 0.0487060546875, 0.2071533203125, 0.0845947265625, 0.020660400390625, 0.1229248046875, 0.0931396484375, 0.164794921875, 0.1181640625, 0.007843017578125, 0.1063232421875, 0.153076171875, 0.0692138671875, 0.14306640625,...
embed
9021404_c0
9021404
lisp
0
Title: Recursion in LISP without using labels Problem title: Recursion in LISP without using labels Tags: lisp, recursion Problem: Recursion in LISP without using labels I started learning LISP and I heard that there is some kind of a trick to do recursion without using lables (only using : quote,atom,eq,car,cdr,cons,c...
Recursion in LISP without using labels Recursion in LISP without using labels lisp recursion labels Recursion LISP Recursion in LISP without using labels I started learning LISP and I heard that there is some kind of a trick to do recursion without using lables (only using : quote,atom,eq,car,cdr,cons,cond). I gave it ...
[ -0.00909423828125, 0.040771484375, -0.006683349609375, 0.005859375, 0.00022220611572265625, 0.0067138671875, -0.017822265625, -0.0011749267578125, -0.00762939453125, -0.050537109375, 0.005859375, -0.0166015625, -0.0113525390625, -0.004547119140625, 0.0264892578125, 0.00885009765625, ...
[ 165428, 42, 6889, 23, 16970, 9434, 15490, 17368, 67967, 400, 7008, 195625, 1830, 52080, 88308, 54, 21, 13566, 191, 66747, 5928, 864, 3284, 7569, 25553, 2271, 71, 5351, 20594, 32354, 61924, 110, 9351, 57767, 6863, 16940, 158, 390, 1957, 29...
[ 0.16650390625, 0.189697265625, 0.1856689453125, 0.0621337890625, 0.1304931640625, 0.2325439453125, 0.1412353515625, 0.133544921875, 0.252685546875, 0.1044921875, 0.1558837890625, 0.24169921875, 0.1778564453125, 0.0360107421875, 0.1229248046875, 0.035797119140625, 0.14404296875, 0.1...
embed
52782838_c0
52782838
lisp
0
Title: How do I format a single backslash in common lisp? Problem title: How do I format a single backslash in common lisp? Tags: common-lisp, lisp, gnu-common-lisp Problem: How do I format a single backslash in common lisp? I'm currently trying to get an output of ... \hline in GNU Common lisp 2.49, but I can't get th...
How do I format a single backslash in common lisp? How do I format a single backslash in common lisp? common-lisp lisp gnu-common-lisp How How do I format a single backslash in common lisp? I'm currently trying to get an output of ... \hline in GNU Common lisp 2.49, but I can't get the format to work. This is what I've...
[ 0.0086669921875, 0.039306640625, -0.002105712890625, -0.018798828125, -0.0048828125, 0.01202392578125, 0.0272216796875, 0.01220703125, 0.001556396484375, 0.007354736328125, 0.0020751953125, -0.023681640625, -0.0218505859375, -0.00579833984375, -0.037109375, 0.01470947265625, -0.01080...
[ 11249, 9384, 11001, 4420, 7, 5544, 23, 39210, 400, 7008, 4086, 254, 104155, 277, 3796, 10, 140992, 153, 41872, 127, 2256, 165132, 151301, 787, 12977, 4488, 41929, 38940, 3789 ]
[ 0.049163818359375, 0.2249755859375, 0.203369140625, 0.19140625, 0.04949951171875, 0.23974609375, 0.0328369140625, 0.1573486328125, 0.1099853515625, 0.179443359375, 0.060150146484375, 0.115478515625, 0.0657958984375, 0.0208282470703125, 0.078369140625, 0.0028076171875, 0.112548828125,...
embed
12940812_c0
12940812
lisp
0
Title: Can someone explain how recursion works in these procedures Problem title: Can someone explain how recursion works in these procedures Tags: lisp, recursion, mit-scheme, scheme, sicp Problem: Can someone explain how recursion works in these procedures This is using MIT Scheme, coming from the infamous SICP. I ju...
Can someone explain how recursion works in these procedures Can someone explain how recursion works in these procedures lisp recursion mit-scheme scheme sicp Can Can someone explain how recursion works in these procedures This is using MIT Scheme, coming from the infamous SICP. I just can't wrap my head around what is ...
[ -0.0018157958984375, 0.0277099609375, 0.0057373046875, 0.0118408203125, -0.01300048828125, 0.000522613525390625, -0.004150390625, -0.0023956298828125, -0.01068115234375, -0.0111083984375, 0.01202392578125, -0.01171875, -0.01336669921875, 0.007476806640625, 0.00799560546875, 0.007202148...
[ 4171, 22008, 73342, 3642, 195625, 1830, 43240, 23, 6097, 50491, 400, 7008, 491, 7560, 282, 150370, 26536, 254, 3293, 17368, 78999, 34702, 38162, 1295, 51840, 159, 198993, 1660, 831, 18, 137565, 759, 10336, 10932, 2367, 123087, 11853, 7, 10,...
[ 0.06744384765625, 0.10272216796875, 0.2490234375, 0.1588134765625, 0.293212890625, 0.2191162109375, 0.2183837890625, 0.1116943359375, 0.11328125, 0.2315673828125, 0.07928466796875, 0.1844482421875, 0.1702880859375, 0.12030029296875, 0.1480712890625, 0.16943359375, 0.10552978515625, ...
embed
67101950_c0
67101950
lisp
0
Title: Problem about finding the same number of a given number in list LISP Problem title: Problem about finding the same number of a given number in list LISP Tags: lisp, common-lisp Problem: Problem about finding the same number of a given number in list LISP so i was trying to take two arguments, a list and a number...
Problem about finding the same number of a given number in list LISP Problem about finding the same number of a given number in list LISP lisp common-lisp Problem LISP VAL APPLY Too FIND-NUM Problem about finding the same number of a given number in list LISP so i was trying to take two arguments, a list and a number a...
[ -0.0152587890625, 0.01470947265625, 0.004486083984375, -0.00494384765625, -0.0045166015625, 0.01202392578125, -0.0072021484375, 0.0133056640625, 0.0196533203125, -0.00762939453125, 0.0067138671875, -0.00408935546875, 0.004913330078125, 0.0015716552734375, 0.005767822265625, -0.00114440...
[ 15649, 1672, 90791, 5701, 14012, 34475, 23, 5303, 16970, 9434, 400, 7008, 39210, 4086, 254, 55991, 66440, 19917, 56374, 67227, 397, 109020, 31577, 5646, 6626, 10750, 30646, 29568, 2174, 4734, 105950, 2499, 12830, 18151, 98441, 97, 47, 10, 9...
[ 0.1309814453125, 0.001708984375, 0.137939453125, 0.1717529296875, 0.1705322265625, 0.0987548828125, 0.051422119140625, 0.1910400390625, 0.1278076171875, 0.1956787109375, 0.10015869140625, 0.138427734375, 0.09661865234375, 0.100830078125, 0.1265869140625, 0.177978515625, 0.09686279296...
embed
13286084_c0
13286084
lisp
0
Title: return a factorial of list numbers Problem title: return a factorial of list numbers Tags: list, lisp, recursion Problem: return a factorial of list numbers I am trying to implement a function which when called return a factorial of numbers in list. For example (fact '(2 4 3)) => (2 24 6) but mine is not working...
return a factorial of list numbers return a factorial of list numbers list lisp recursion return a factorial of list numbers I am trying to implement a function which when called return a factorial of numbers in list. For example (fact '(2 4 3)) => (2 24 6) but mine is not working. I am pretty sure that the logic is co...
[ -0.005584716796875, 0.00421142578125, 0.004608154296875, -0.005584716796875, -0.006439208984375, 0.00701904296875, 0.0179443359375, 0.009033203125, -0.006103515625, -0.010498046875, 0.01007080078125, -0.005340576171875, -0.005615234375, 0.00885009765625, 0.0050048828125, 0.001533508300...
[ 30646, 10, 31461, 15403, 111, 5303, 101935, 400, 7008, 195625, 1830, 31577, 29479, 32354, 3229, 35839, 23, 27781, 114700, 242, 54753, 201, 8439, 44357, 4700, 744, 35914, 5665, 959, 20697, 28875, 9077, 62775, 83, 26785, 208124, 7413, 6002, 8...
[ 0.257080078125, 0.0650634765625, 0.2359619140625, 0.2100830078125, 0.11395263671875, 0.2279052734375, 0.2093505859375, 0.10626220703125, 0.198486328125, 0.195068359375, 0.10015869140625, 0.0821533203125, 0.17626953125, 0.1949462890625, 0.0262298583984375, 0.07769775390625, 0.05230712...
embed
28300647_c0
28300647
lisp
0
Title: How to get a text to be executed in LISP? Problem title: How to get a text to be executed in LISP? Tags: lisp, common-lisp Problem: How to get a text to be executed in LISP? Suppose that the following macro execution: (make-model '((1 2)(3 4)(5 6)(7 8))) , can generate the following list: ((MAKE-INSTANCE 'MODEL ...
How to get a text to be executed in LISP? How to get a text to be executed in LISP? lisp common-lisp How LISP MAKE-INSTANCE MODEL NAME How to get a text to be executed in LISP? Suppose that the following macro execution: , can generate the following list: If I store the result in a parameter (e.g *test*), how could I g...
[ -0.0025634765625, -0.005523681640625, -0.007720947265625, 0.027099609375, 0.00970458984375, 0.0177001953125, 0.002593994140625, 0.00799560546875, 0.01953125, -0.03564453125, 0.00579833984375, -0.004547119140625, -0.007080078125, -0.0244140625, 0.0146484375, -0.01214599609375, -0.0050...
[ 11249, 2046, 7986, 71924, 297, 23, 16970, 9434, 47, 400, 7008, 39210, 4086, 254, 43711, 85717, 618, 113786, 200702, 186, 111789, 139392, 25632, 5303, 4343, 16750, 171859, 6954, 3642, 5809, 22759, 75101 ]
[ 0.053924560546875, 0.1243896484375, 0.2470703125, 0.2249755859375, 0.109375, 0.08660888671875, 0.1622314453125, 0.257568359375, 0.057220458984375, 0.1312255859375, 0.20458984375, 0.10333251953125, 0.115478515625, 0.1712646484375, 0.037078857421875, 0.0292816162109375, 0.0965576171875...
embed
6021649_c0
6021649
lisp
0
Title: Is it true that Lisp is not a functional programming language? Problem title: Is it true that Lisp is not a functional programming language? Tags: functional-programming, lisp, programming-languages Problem: Is it true that Lisp is not a functional programming language? I read in the book: "Masterminds of progra...
Is it true that Lisp is not a functional programming language? Is it true that Lisp is not a functional programming language? functional-programming lisp programming-languages Lisp Is it true that Lisp is not a functional programming language? I read in the book: "Masterminds of programming" , the the interview with Gu...
[ 0.00848388671875, 0.013427734375, 0.0181884765625, 0.0096435546875, -0.01611328125, 0.0035400390625, -0.00909423828125, -0.01123046875, -0.01470947265625, -0.0025787353515625, -0.00007009506225585938, -0.000820159912109375, -0.010009765625, 0.00634765625, -0.00299072265625, 0.010803222...
[ 29568, 1261, 7008, 83, 959, 10, 123309, 56037, 449, 46876, 28966, 214, 400, 196651, 12301, 12877, 116527, 36904, 111, 33683, 203719, 3000, 53434, 316, 44691 ]
[ 0.1522216796875, 0.196533203125, 0.2685546875, 0.06561279296875, 0.14404296875, 0.049102783203125, 0.2216796875, 0.1463623046875, 0.036712646484375, 0.1839599609375, 0.1224365234375, 0.0171051025390625, 0.137451171875, 0.1258544921875, 0.0090179443359375, 0.045166015625, 0.0432739257...
embed
37378783_c0
37378783
lisp
0
Title: wont decrement the value given Problem title: wont decrement the value given Tags: lisp, common-lisp Problem: wont decrement the value given I am trying to get the results as shown in the question attached in the photo how ever the results I am getting are the exact opposite of what I want please help me identif...
wont decrement the value given wont decrement the value given lisp common-lisp wont decrement the value given I am trying to get the results as shown in the question attached in the photo how ever the results I am getting are the exact opposite of what I want please help me identify the problem Here is the correction a...
[ 0.00799560546875, 0.0125732421875, -0.01251220703125, 0.017333984375, 0.00762939453125, -0.004974365234375, -0.0021209716796875, -0.013671875, 0.0087890625, -0.0185546875, 0.0001468658447265625, 0.006103515625, -0.01483154296875, -0.0086669921875, 0.012939453125, 0.0012054443359375, ...
[ 23742, 18, 8, 7612, 674, 70, 34292, 34475, 400, 7008, 39210, 4086, 254, 31577, 2046, 50339, 220642, 16186, 24763, 198274, 3444, 135812, 2967, 26785, 224708, 29806, 40956, 8306, 3564 ]
[ 0.09613037109375, 0.1383056640625, 0.1214599609375, 0.1671142578125, 0.099365234375, 0.032012939453125, 0.1893310546875, 0.10430908203125, 0.10491943359375, 0.185302734375, 0.16748046875, 0.1202392578125, 0.16064453125, 0.0782470703125, 0.0202484130859375, 0.102294921875, 0.025695800...
embed
23607307_c0
23607307
lisp
0
Title: Priority queue for Common Lisp? Problem title: Priority queue for Common Lisp? Tags: data-structures, lisp, priority-queue, common-lisp Problem: Priority queue for Common Lisp? I've been looking everywhere for a priority queue implementation for Common Lisp that works, and so far, I've not had much luck. As I'm ...
Priority queue for Common Lisp? Priority queue for Common Lisp? data-structures lisp priority-queue common-lisp Priority Common Lisp Priority queue for Common Lisp? I've been looking everywhere for a priority queue implementation for Common Lisp that works, and so far, I've not had much luck. As I'm fairly new to Commo...
[ 0.01483154296875, 0.031982421875, 0.00127410888671875, -0.004425048828125, -0.00994873046875, 0.0177001953125, -0.0079345703125, -0.00982666015625, -0.0125732421875, -0.013427734375, -0.00299072265625, 0.018310546875, 0.0235595703125, -0.02001953125, 0.00592041015625, 0.00164794921875,...
[ 168857, 53, 41, 13388, 100, 151301, 1261, 7008, 2053, 137656, 400, 25343, 944, 39210, 4086, 254, 219743, 208124, 43240, 2060, 5045, 84434, 3525, 217684, 1957, 58696, 1631, 188800, 115, 2676, 9069, 21130, 9077, 104902, 10332, 42459 ]
[ 0.2415771484375, 0.1258544921875, 0.1954345703125, 0.18212890625, 0.0771484375, 0.1917724609375, 0.173095703125, 0.1973876953125, 0.0689697265625, 0.1107177734375, 0.08392333984375, 0.23095703125, 0.1405029296875, 0.14794921875, 0.114990234375, 0.1392822265625, 0.008331298828125, 0...
embed
49902313_c0
49902313
lisp
0
Title: prog vs. let in LISP performance difference Problem title: prog vs. let in LISP performance difference Tags: let, lisp, scope Problem: prog vs. let in LISP performance difference I have been told that in lisp, let is faster than prog (but prog has a bit more of flexibility), when making variables scoped. My ques...
prog vs. let in LISP performance difference prog vs. let in LISP performance difference let lisp scope LISP prog vs. let in LISP performance difference I have been told that in lisp, let is faster than prog (but prog has a bit more of flexibility), when making variables scoped. My question is: Why? I mean, there are ce...
[ 0.0203857421875, 0.01104736328125, -0.0089111328125, 0.02197265625, -0.01397705078125, -0.000415802001953125, -0.0242919921875, 0.0234375, 0.002838134765625, -0.0244140625, -0.00457763671875, 0.0166015625, -0.00616455078125, 0.00408935546875, -0.0013275146484375, 0.0064697265625, -0....
[ 67973, 20209, 2633, 16970, 9434, 23718, 60212, 400, 7008, 70820, 83, 4271, 56, 3501, 4785, 1286, 71985, 2481, 20662, 77336, 44679, 297, 44084, 20028, 17368, 99156, 156002, 109921, 57767, 21543, 116292, 98323, 71924, 40956, 208124 ]
[ 0.25146484375, 0.124755859375, 0.2264404296875, 0.1383056640625, 0.19970703125, 0.147216796875, 0.1468505859375, 0.123779296875, 0.1962890625, 0.1602783203125, 0.0322265625, 0.1414794921875, 0.09771728515625, 0.011322021484375, 0.03076171875, 0.026947021484375, 0.1336669921875, 0.0...
embed
22244447_c0
22244447
lisp
0
Title: Paredit doesn&#x27;t remove right paren on paredit-backward-kill-word Problem title: Paredit doesn&#x27;t remove right paren on paredit-backward-kill-word Tags: lisp, clojure, emacs, paredit Problem: Paredit doesn't remove right paren on paredit-backward-kill-word The buffer is "(|)". On Alt+Backspace which send...
Paredit doesn&#x27;t remove right paren on paredit-backward-kill-word Paredit doesn&#x27;t remove right paren on paredit-backward-kill-word lisp clojure emacs paredit Paredit Paredit doesn't remove right paren on paredit-backward-kill-word The buffer is "(|)". On Alt+Backspace which sends paredit-backward-kill-word, it...
[ 0.00860595703125, 0.055908203125, 0.019775390625, 0.01361083984375, -0.02392578125, 0.031982421875, -0.0026397705078125, -0.00408935546875, -0.01043701171875, 0.017333984375, 0.00482177734375, 0.0052490234375, -0.0098876953125, -0.0023193359375, 0.00897216796875, -0.00799560546875, 0...
[ 2392, 45082, 22027, 3768, 18, 87388, 7108, 366, 33, 12620, 19364, 119261, 47416, 98, 400, 7008, 20450, 461, 2263, 373, 18234, 132, 58745, 10544, 1328, 152470, 65421, 25379, 4734, 25737, 31358, 16, 54608, 85269, 4439, 43240, 66161, 5701, 510...
[ 0.1544189453125, 0.253662109375, 0.001434326171875, 0.05133056640625, 0.041839599609375, 0.1348876953125, 0.158935546875, 0.1551513671875, 0.17626953125, 0.1322021484375, 0.1884765625, 0.1527099609375, 0.1451416015625, 0.005035400390625, 0.0152587890625, 0.0875244140625, 0.0184020996...
embed
27798351_c0
27798351
lisp
0
Title: Eager-Future2 Library :Parallel Programming in Lisp Problem title: Eager-Future2 Library :Parallel Programming in Lisp Tags: common-lisp, lisp Problem: Eager-Future2 Library :Parallel Programming in Lisp I am using Fedora 19 SBCL. I'm trying to install eager-future2 . I've downloaded the source, but I can't figu...
Eager-Future2 Library :Parallel Programming in Lisp Eager-Future2 Library :Parallel Programming in Lisp common-lisp lisp Eager-Future2 Library Parallel Programming Lisp asdf:load-system Eager-Future2 Library :Parallel Programming in Lisp I am using Fedora 19 SBCL. I'm trying to install eager-future2 . I've downloaded t...
[ 0.004730224609375, 0.0189208984375, -0.012939453125, 0.00238037109375, -0.0111083984375, 0.003936767578125, -0.008056640625, -0.0194091796875, 0.00396728515625, -0.05322265625, -0.0089111328125, -0.00244140625, 0.00099945068359375, -0.031005859375, -0.00028228759765625, -0.007690429687...
[ 241, 33730, 9, 80163, 6644, 304, 103835, 55292, 1229, 141, 27958, 23, 1261, 7008, 39210, 4086, 254, 400, 211485, 420, 63033, 16751, 17368, 4221, 11606, 953, 90944, 37486, 31577, 20600, 28, 3125, 7026, 31344, 831, 26366, 3642, 442, 72367, ...
[ 0.1094970703125, 0.302734375, 0.010040283203125, 0.1832275390625, 0.1575927734375, 0.2100830078125, 0.1898193359375, 0.0799560546875, 0.0989990234375, 0.0298309326171875, 0.131103515625, 0.00970458984375, 0.1512451171875, 0.2281494140625, 0.0711669921875, 0.121826171875, 0.2017822265...
embed
30453085_c0
30453085
lisp
0
Title: How to use FFI:def-call-in in clisp Problem title: How to use FFI:def-call-in in clisp Tags: lisp, ffi, clisp, common-lisp Problem: How to use FFI:def-call-in in clisp I have figured out how to make use of shared objects created from C code into Clisp using FFI:def-call-out but I am not able to figure out how to...
How to use FFI:def-call-in in clisp How to use FFI:def-call-in in clisp lisp ffi clisp common-lisp How FFI:def-call-in FFI:def-call-out How to use FFI:def-call-in in clisp I have figured out how to make use of shared objects created from C code into Clisp using FFI:def-call-out but I am not able to figure out how to us...
[ 0.028564453125, 0.01531982421875, -0.00433349609375, 0.01092529296875, -0.010009765625, 0.00141143798828125, 0.021728515625, -0.005279541015625, 0.0081787109375, -0.035888671875, 0.009033203125, -0.0274658203125, -0.01544189453125, 0.03369140625, 0.0002899169921875, -0.016845703125, ...
[ 11249, 4527, 563, 22724, 12, 112, 420, 85763, 9, 73, 23, 95701, 7008, 47, 400, 24500, 39210, 4086, 254, 6056, 99764, 36746, 75935, 1295, 313, 18151, 3934, 17368, 3642, 187423, 28282, 991, 11435, 32354, 73342, 20187, 20697, 27781, 32562, 6...
[ 0.043243408203125, 0.1199951171875, 0.10498046875, 0.2467041015625, 0.0206298828125, 0.09783935546875, 0.1519775390625, 0.1693115234375, 0.036163330078125, 0.2017822265625, 0.05712890625, 0.1405029296875, 0.1964111328125, 0.00030517578125, 0.0587158203125, 0.1229248046875, 0.06384277...
embed
50204220_c0
50204220
lisp
0
Title: LISP conditional loops Problem title: LISP conditional loops Tags: while-loop, lisp, common-lisp Problem: LISP conditional loops Fairly new to LISP, I'm trying to create a loop that repeatedly generate new random codes for every duplicate element in a list, I have a successful elim-duplicates helper function tha...
LISP conditional loops LISP conditional loops while-loop lisp common-lisp LISP LISP conditional loops Fairly new to LISP, I'm trying to create a loop that repeatedly generate new random codes for every duplicate element in a list, I have a successful elim-duplicates helper function that removes duplicate lists in my al...
[ 0.00604248046875, 0.00775146484375, -0.0033416748046875, -0.007080078125, 0.0005035400390625, 0.01708984375, 0.00958251953125, 0.0133056640625, 0.0023193359375, -0.00421142578125, 0.004974365234375, 0.01495361328125, 0.0120849609375, -0.00384521484375, -0.0027923583984375, 0.0168457031...
[ 16970, 9434, 35431, 289, 40956, 12960, 28354, 400, 7008, 39210, 4086, 254, 3525, 31577, 28282, 119140, 139392, 96759, 18151, 11907, 171763, 67, 12830, 5303, 65771, 88, 464, 693, 52721, 1636, 4358, 56, 32354, 87388, 756, 21325, 5908, 77336, ...
[ 0.1187744140625, 0.2108154296875, 0.1900634765625, 0.1014404296875, 0.2122802734375, 0.1300048828125, 0.1898193359375, 0.0980224609375, 0.18017578125, 0.095458984375, 0.0648193359375, 0.1376953125, 0.04974365234375, 0.0469970703125, 0.060028076171875, 0.1041259765625, 0.0512084960937...
embed
14103827_c0
14103827
lisp
0
Title: Defining the elements of a list of list as new variables in common lisp Problem title: Defining the elements of a list of list as new variables in common lisp Tags: lisp, common-lisp Problem: Defining the elements of a list of list as new variables in common lisp I have a list of lists as follows in Common Lisp ...
Defining the elements of a list of list as new variables in common lisp Defining the elements of a list of list as new variables in common lisp lisp common-lisp Defining list-1 list-2 list-3 Defining the elements of a list of list as new variables in common lisp I have a list of lists as follows in Common Lisp of the f...
[ 0.00408935546875, 0.0034942626953125, -0.01446533203125, 0.01275634765625, 0.0042724609375, 0.03369140625, -0.000568389892578125, 0.018798828125, 0.00921630859375, 0.01300048828125, -0.0098876953125, 0.001434326171875, 0.022705078125, 0.0179443359375, -0.015625, 0.0213623046875, 0.03...
[ 88606, 80854, 5303, 111, 237, 3525, 77336, 39210, 400, 7008, 7, 4086, 254, 5759, 5428, 8316, 28960, 151301, 1261, 3173, 34292, 3444, 47, 765, 17262, 142424, 621, 32354, 14602, 903, 41018 ]
[ 0.1551513671875, 0.206787109375, 0.2010498046875, 0.06683349609375, 0.058135986328125, 0.1474609375, 0.26171875, 0.139892578125, 0.1026611328125, 0.174072265625, 0.031036376953125, 0.07928466796875, 0.113037109375, 0.056640625, 0.0667724609375, 0.1204833984375, 0.0272216796875, 0.1...
embed
15373982_c0
15373982
lisp
0
Title: LISP: how to get running sum of a list? (without a global variable) Problem title: LISP: how to get running sum of a list? (without a global variable) Tags: common-lisp, lisp Problem: LISP: how to get running sum of a list? (without a global variable) I am a LISP newbie. To get the running sum of a list, I am wr...
LISP: how to get running sum of a list? (without a global variable) LISP: how to get running sum of a list? (without a global variable) common-lisp lisp LISP LISP: how to get running sum of a list? (without a global variable) I am a LISP newbie. To get the running sum of a list, I am writing like -- For example, if you...
[ -0.00201416015625, 0.0186767578125, 0.01409912109375, -0.01397705078125, -0.017333984375, 0.00933837890625, -0.00225830078125, 0.0159912109375, 0.0140380859375, -0.035888671875, 0.0164794921875, 0.0118408203125, -0.00182342529296875, -0.0166015625, 0.01019287109375, 0.026123046875, -...
[ 16970, 9434, 3642, 2046, 51042, 10554, 111, 5303, 6056, 7964, 77336, 47, 39210, 4086, 254, 400, 7008, 9014, 70, 32562, 1884, 8337, 41600, 116, 138, 13956, 237, 107730, 36917, 18151, 30646, 305, 209, 140992, 7722, 5701, 13580, 27650, 15490, ...
[ 0.0941162109375, 0.19580078125, 0.0338134765625, 0.10614013671875, 0.214599609375, 0.251220703125, 0.06878662109375, 0.198486328125, 0.07269287109375, 0.0828857421875, 0.18115234375, 0.010894775390625, 0.042633056640625, 0.0312347412109375, 0.1085205078125, 0.0361328125, 0.1131591796...
embed
13490790_c0
13490790
lisp
0
Title: How do I send an attachment with an email in Racket? Problem title: How do I send an attachment with an email in Racket? Tags: email, lisp, smtp, scheme, racket Problem: How do I send an attachment with an email in Racket? I looked at the net/smtp module which provides several functions for sending emails. Howev...
How do I send an attachment with an email in Racket? How do I send an attachment with an email in Racket? email lisp smtp scheme racket How Racket How do I send an attachment with an email in Racket? I looked at the net/smtp module which provides several functions for sending emails. However, it does not say anything a...
[ -0.00274658203125, 0.0145263671875, 0.00433349609375, 0.0172119140625, 0.00799560546875, 0.01220703125, -0.00090789794921875, 0.0030364990234375, -0.0177001953125, -0.0150146484375, 0.01544189453125, -0.0166015625, -0.030029296875, 0.02197265625, 0.0189208984375, 0.00421142578125, -0...
[ 11249, 25379, 235923, 678, 3340, 23, 2552, 27853, 142, 400, 7008, 254, 150370, 673, 54, 2043, 39, 18, 88996, 87344, 40368, 32354, 135834, 959, 5154, 26719, 33938, 60213, 209806, 2565, 257, 52438, 33720, 29191, 25820, 3642, 243, 934, 102158,...
[ 0.06304931640625, 0.1337890625, 0.23779296875, 0.13720703125, 0.1744384765625, 0.072509765625, 0.1336669921875, 0.2398681640625, 0.0364990234375, 0.003875732421875, 0.0955810546875, 0.087646484375, 0.08642578125, 0.0947265625, 0.00909423828125, 0.04931640625, 0.00604248046875, 0.01...
embed
26263089_c0
26263089
lisp
0
Title: Lisp function getting wrong number of arguments Problem title: Lisp function getting wrong number of arguments Tags: common-lisp, lisp Problem: Lisp function getting wrong number of arguments I've defined the following function soma-n where n is an integer and l is a list. (defun soma-n (n l) (if (null l) () (co...
Lisp function getting wrong number of arguments Lisp function getting wrong number of arguments common-lisp lisp Lisp SOMA-N Lisp function getting wrong number of arguments I've defined the following function soma-n where n is an integer and l is a list. I'm trying to call it as follows, but it seems that one of the ar...
[ -0.0089111328125, 0.0118408203125, -0.00799560546875, -0.00128936767578125, -0.0189208984375, 0.0184326171875, -0.01318359375, 0.013427734375, -0.005645751953125, -0.0245361328125, 0.0194091796875, -0.041015625, -0.00153350830078125, 0.0184326171875, 0.004638671875, -0.007110595703125,...
[ 1261, 7008, 32354, 20949, 44691, 14012, 111, 10750, 39210, 4086, 254, 400, 159, 67177, 839, 7, 61924, 124, 11, 9, 19, 653, 892, 1505, 96, 5303, 31577, 11782, 28960, 1632, 83, 959, 9325, 25632, 18499, 2967, 3917, 159029 ]
[ 0.1427001953125, 0.21435546875, 0.183837890625, 0.057525634765625, 0.1778564453125, 0.1378173828125, 0.0223236083984375, 0.25634765625, 0.05865478515625, 0.0848388671875, 0.14990234375, 0.076416015625, 0.0218963623046875, 0.177734375, 0.1005859375, 0.048187255859375, 0.09649658203125...
embed
27141447_c0
27141447
lisp
0
Title: Why I&#x27;m getting a list instead of a vector? Problem title: Why I&#x27;m getting a list instead of a vector? Tags: clojure, functional-programming, vector, lisp Problem: Why I'm getting a list instead of a vector? So, I'm trying to transform each element of a vector x,in this way: x[i]--> 1-(1/x[i]) (defn ch...
Why I&#x27;m getting a list instead of a vector? Why I&#x27;m getting a list instead of a vector? clojure functional-programming vector lisp Why Why I'm getting a list instead of a vector? So, I'm trying to transform each element of a vector x,in this way: x[i]--> 1-(1/x[i]) I'm using assoc to replace each element of t...
[ -0.0228271484375, 0.0159912109375, -0.020263671875, 0.002685546875, 0.01519775390625, -0.0020294189453125, -0.00836181640625, 0.002410888671875, 0.0191650390625, 0.0115966796875, -0.0004253387451171875, 0.01251220703125, -0.005096435546875, 0.0036468505859375, -0.0072021484375, -0.0155...
[ 44084, 87, 3768, 39, 20949, 5303, 64457, 111, 173, 18770, 10, 20450, 461, 107, 123309, 28966, 400, 7008, 31577, 27198, 12638, 12830, 1022, 903, 3917, 14, 152745, 4317, 41600, 64, 425, 17368, 63927, 238, 91995, 134598, 2046, 678, 65572, 12...
[ 0.13720703125, 0.05712890625, 0.05859375, 0.0601806640625, 0.1302490234375, 0.2298583984375, 0.1494140625, 0.059814453125, 0.1690673828125, 0.2086181640625, 0.04400634765625, 0.086181640625, 0.1474609375, 0.1014404296875, 0.12353515625, 0.09759521484375, 0.0517578125, 0.12438964843...
embed
54150398_c0
54150398
lisp
0
Title: Delimiting output in Lisp Problem title: Delimiting output in Lisp Tags: formatting, common-lisp, lisp Problem: Delimiting output in Lisp I'm sure this is a very basic question, but how to output delimited values? (defun q (n) (if (<= n 2) 1 (+ (q (- n (q (- n 1)))) (q (- n (q (- n 2))))))) (loop for x from 1 to...
Delimiting output in Lisp Delimiting output in Lisp formatting common-lisp lisp 1 Delimiting Lisp Delimiting output in Lisp I'm sure this is a very basic question, but how to output delimited values? The above outputs the first 25 terms of the Hofstadter Q-sequence, but concatenated: Can be comma-, space- or tab-delimi...
[ 0.00726318359375, 0.014892578125, -0.0185546875, -0.015380859375, -0.0120849609375, 0.0108642578125, 0.0301513671875, 0.0213623046875, -0.00016307830810546875, 0.0017242431640625, 0.020263671875, -0.00732421875, -0.0026092529296875, 0.00040435791015625, 0.00177001953125, 0.001441955566...
[ 262, 93343, 214, 140992, 23, 1261, 7008, 9384, 1916, 39210, 4086, 254, 400, 62822, 3642, 47, 8, 297, 142424, 36917, 5117, 714, 69407, 62850, 47704, 56, 2396, 184, 944, 3956, 158, 4460, 33, 27686, 4171, 186, 96117, 32628, 20928, 112, 378...
[ 0.0997314453125, 0.26953125, 0.018646240234375, 0.255859375, 0.0299224853515625, 0.14453125, 0.2271728515625, 0.1893310546875, 0.03289794921875, 0.078857421875, 0.07537841796875, 0.151123046875, 0.0712890625, 0.0623779296875, 0.0537109375, 0.0240631103515625, 0.07550048828125, 0.08...
embed
556456_c0
556456
lisp
0
Title: Is it feasible to do (serious) web development in Lisp? Problem title: Is it feasible to do (serious) web development in Lisp? Tags: lisp Problem: Is it feasible to do (serious) web development in Lisp? It obviously is possible to write almost any kind of application in almost any programming language, especiall...
Is it feasible to do (serious) web development in Lisp? Is it feasible to do (serious) web development in Lisp? lisp Lisp Is it feasible to do (serious) web development in Lisp? It obviously is possible to write almost any kind of application in almost any programming language, especially in such a powerful one as Lisp...
[ 0.0027313232421875, 0.0167236328125, 0.00335693359375, -0.0123291015625, -0.01177978515625, 0.0032806396484375, -0.00970458984375, -0.00390625, 0.004852294921875, -0.02490234375, -0.00101470947265625, 0.00897216796875, 0.0184326171875, 0.01177978515625, 0, -0.001251220703125, -0.0031...
[ 3820, 11, 55356, 54, 184, 93905, 1467, 34754, 23, 1261, 7008, 400, 442, 171259, 7722, 33022, 39555, 2499, 8562, 38415, 56037, 46876, 113138, 34702, 151301, 83, 138155, 4527, 100, 4127, 72134, 6275, 27798, 65514, 89110, 35773, 209806, 2965, ...
[ 0.121337890625, 0.100341796875, 0.167236328125, 0.06134033203125, 0.0604248046875, 0.1102294921875, 0.18798828125, 0.1827392578125, 0.08978271484375, 0.1956787109375, 0.2529296875, 0.1302490234375, 0.035308837890625, 0.049468994140625, 0.1324462890625, 0.1707763671875, 0.055450439453...
embed
4361705_c0
4361705
lisp
0
Title: Unbound Variable on Function Name Problem title: Unbound Variable on Function Name Tags: variables, lisp, common-lisp Problem: Unbound Variable on Function Name I'm writing a program in Lisp(common lisp dialect).. I want the program to count the number of sublists in a list.. This is what I have written till now...
Unbound Variable on Function Name Unbound Variable on Function Name variables lisp common-lisp Unbound Variable Name Unbound Variable on Function Name I'm writing a program in Lisp(common lisp dialect).. I want the program to count the number of sublists in a list.. This is what I have written till now: The function re...
[ 0.01422119140625, 0.016845703125, 0.0081787109375, 0.005889892578125, 0.0014801025390625, 0.00074005126953125, 0.016845703125, -0.00677490234375, -0.00994873046875, -0.0281982421875, -0.0125732421875, -0.00909423828125, 0.0286865234375, 0.0157470703125, 0.025634765625, 0.017822265625, ...
[ 992, 99091, 84572, 2886, 98, 28670, 15757, 77336, 400, 7008, 39210, 4086, 254, 32562, 1528, 1261, 277, 3796, 220734, 3444, 54529, 14012, 1614, 6562, 5303, 59121, 570, 5036, 32354, 30646, 18499, 14256, 12, 99954, 48262, 23415, 28219, 15400, ...
[ 0.1072998046875, 0.2454833984375, 0.1917724609375, 0.0760498046875, 0.0728759765625, 0.1240234375, 0.1466064453125, 0.266845703125, 0.09814453125, 0.191650390625, 0.0946044921875, 0.06707763671875, 0.09375, 0.10504150390625, 0.1458740234375, 0.112548828125, 0.0087890625, 0.09497070...
embed
28535923_c0
28535923
lisp
0
Title: Convert lisp function to use map Problem title: Convert lisp function to use map Tags: common-lisp, lisp Problem: Convert lisp function to use map Hello I am looking forward to convert my existing function: (defun checkMember (L A) (cond ((NULL L) nil) ( (and (atom (car L)) (equal (car L) A)) T ) (T (checkMember...
Convert lisp function to use map Convert lisp function to use map common-lisp lisp Convert Convert lisp function to use map Hello I am looking forward to convert my existing function: To use map functions, but i honestly cant understand exactly how map functions work, could you maybe advice me how this func's work? thi...
[ -0.00787353515625, -0.0040283203125, 0.0098876953125, 0.00543212890625, -0.0284423828125, 0.011962890625, -0.0067138671875, 0.0164794921875, 0.0084228515625, -0.06298828125, 0.02001953125, 0.01422119140625, 0.01263427734375, 0.011962890625, 0.00823974609375, 0.0030364990234375, -0.00...
[ 1657, 11549, 400, 7008, 32354, 47, 4527, 22288, 39210, 4086, 254, 35378, 16487, 40225, 96760, 144573, 717, 42551, 538, 45767, 28219, 66161, 3642, 7, 4488, 5809, 51139, 67660, 163, 903, 7477, 238, 34224, 18 ]
[ 0.077880859375, 0.1737060546875, 0.16259765625, 0.240234375, 0.2230224609375, 0.101806640625, 0.13720703125, 0.2509765625, 0.131103515625, 0.1314697265625, 0.1954345703125, 0.043914794921875, 0.062408447265625, 0.09552001953125, 0.1766357421875, 0.142578125, 0.01177215576171875, 0....
embed
55148574_c1
55148574
lisp
1
-funcs)]) (ac-func current-apl) (display current-apl))) (define-macro (ac-line ENTRIES ...) #'(begin (define ledger empty) (set! ledger (fold-funcs ledger (list ENTRIES ...))) (display ledger))) (provide ac-line) (define-macro (journal-entry "[" INFO ... "]") #'(lambda (ledger) (define entry (list INFO ...)) (define dt...
-funcs)]) (ac-func current-apl) (display current-apl))) (define-macro (ac-line ENTRIES ...) #'(begin (define ledger empty) (set! ledger (fold-funcs ledger (list ENTRIES ...))) (display ledger))) (provide ac-line) (define-macro (journal-entry "[" INFO ... "]") #'(lambda (ledger) (define entry (list INFO ...)) (define dt...
[ -0.01080322265625, -0.00970458984375, -0.023193359375, 0.0296630859375, -0.003662109375, 0.01165771484375, -0.002532958984375, 0.016845703125, 0.013671875, -0.0167236328125, -0.01068115234375, -0.00162506103515625, -0.01470947265625, 0.0024261474609375, 0.0003032684326171875, 0.0047302...
[ 20, 16498, 4439, 268, 16, 2263, 238, 43581, 11, 2424, 3827, 20706, 32149, 112, 64552, 192, 15322, 9, 2256, 7338, 62353, 6706, 6820, 12441, 1505, 201505, 3509, 38, 42822, 6562, 93136, 1030, 188131, 33, 15123, 123552, 6492, 85, 181606, 4280...
[ 0.0535888671875, 0.18896484375, 0.1480712890625, 0.0638427734375, 0.036407470703125, 0.173828125, 0.072021484375, 0.27001953125, 0.0989990234375, 0.221435546875, 0.0677490234375, 0.154052734375, 0.068115234375, 0.025634765625, 0.1702880859375, 0.03857421875, 0.1859130859375, 0.0210...
embed
64263378_c0
64263378
lisp
0
Title: Assigning variables in Scheme without using set Problem title: Assigning variables in Scheme without using set Tags: racket, scheme, r5rs, lisp Problem: Assigning variables in Scheme without using set I am trying to create a global score in my scheme program and it will either increase by 1, decrease by 1 or not...
Assigning variables in Scheme without using set Assigning variables in Scheme without using set racket scheme r5rs lisp set Assigning Scheme r5rs Assigning variables in Scheme without using set I am trying to create a global score in my scheme program and it will either increase by 1, decrease by 1 or not change for ea...
[ 0.007293701171875, 0.039306640625, -0.0023651123046875, 0.01409912109375, 0.004180908203125, -0.017333984375, -0.0189208984375, 0.020751953125, 0.010009765625, 0.001861572265625, 0.0181884765625, 0.01470947265625, -0.006011962890625, -0.003021240234375, 0.008056640625, 0.0050048828125,...
[ 1301, 31304, 214, 77336, 7, 23, 34702, 282, 15490, 17368, 5423, 673, 27853, 150370, 1690, 758, 4295, 400, 7008, 31577, 28282, 10, 7964, 47763, 1528, 1221, 40101, 51312, 390, 106, 227204, 959, 15549, 12638, 720, 32354, 3444, 47, 13806, 190...
[ 0.0623779296875, 0.225341796875, 0.04864501953125, 0.26220703125, 0.046051025390625, 0.076416015625, 0.1927490234375, 0.17626953125, 0.1575927734375, 0.11474609375, 0.226806640625, 0.06658935546875, 0.1878662109375, 0.204345703125, 0.011474609375, 0.020294189453125, 0.10394287109375,...
embed
2419225_c0
2419225
lisp
0
Title: Printing Colored Characters in Lisp / Emacs Problem title: Printing Colored Characters in Lisp / Emacs Tags: lisp, emacs Problem: Printing Colored Characters in Lisp / Emacs I'm writing a simple connect-4 program in Lisp and ideally each player (red, black) would have their own color when the game state is displ...
Printing Colored Characters in Lisp / Emacs Printing Colored Characters in Lisp / Emacs lisp emacs Printing Colored Characters Lisp Emacs Printing Colored Characters in Lisp / Emacs I'm writing a simple connect-4 program in Lisp and ideally each player (red, black) would have their own color when the game state is disp...
[ -0.01361083984375, 0.0021514892578125, -0.000377655029296875, 0.0211181640625, -0.00909423828125, 0.007080078125, -0.00933837890625, 0.01251220703125, -0.0111083984375, 0.040771484375, 0.005615234375, -0.01129150390625, -0.01495361328125, 0.00640869140625, -0.031005859375, 0.0002498626...
[ 39754, 214, 51193, 297, 21656, 2263, 23962, 23, 1261, 7008, 248, 85269, 4439, 400, 352, 32562, 8781, 37067, 11565, 1528, 6397, 12638, 58585, 2822, 4, 22556, 2806, 10002, 10576, 3229, 6712, 11341, 44116, 35672, 3714, 3642, 47, 28412, 125429,...
[ 0.225341796875, 0.056427001953125, 0.2359619140625, 0.1729736328125, 0.1572265625, 0.1734619140625, 0.1282958984375, 0.08056640625, 0.1737060546875, 0.2281494140625, 0.050201416015625, 0.1572265625, 0.171875, 0.1085205078125, 0.0848388671875, 0.0877685546875, 0.081787109375, 0.1489...
embed