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
5261262_c0
5261262
lisp
0
Title: Multiple source files, directory structures and namespaces in functional programming Problem title: Multiple source files, directory structures and namespaces in functional programming Tags: lisp, functional-programming, arc-lisp Problem: Multiple source files, directory structures and namespaces in functional p...
Multiple source files, directory structures and namespaces in functional programming Multiple source files, directory structures and namespaces in functional programming lisp functional-programming arc-lisp Multiple Multiple source files, directory structures and namespaces in functional programming I was surprised to ...
[ 0.0164794921875, 0.00714111328125, 0.000301361083984375, 0.01287841796875, -0.00982666015625, 0.016845703125, 0.04443359375, -0.022705078125, 0.003662109375, -0.026611328125, -0.01361083984375, -0.02392578125, -0.00457763671875, 0.013671875, 0.01446533203125, -0.00335693359375, -0.01...
[ 19335, 8705, 31344, 102158, 14364, 53, 45646, 210716, 123309, 56037, 400, 7008, 28966, 46552, 4086, 254, 449, 144285, 18151, 52922, 56, 1833, 1660, 1632, 6957, 11435, 49878, 5303, 32354, 80934, 217, 53465, 7123, 147, 238, 450, 222201, 277, ...
[ 0.1270751953125, 0.0687255859375, 0.2301025390625, 0.208251953125, 0.119140625, 0.06744384765625, 0.162109375, 0.2298583984375, 0.220703125, 0.1456298828125, 0.04583740234375, 0.1253662109375, 0.1126708984375, 0.1151123046875, 0.044403076171875, 0.1031494140625, 0.0592041015625, 0....
embed
63462296_c4
63462296
lisp
4
GVzLiBJZiB0aGUgdGFibGUgbWF5IGJlIG11dGF0ZWQgYnkgYW5vdGhlciB0aHJlYWQgZHVyaW5nIGl0ZXJhdGlvbiwKdXNlIGVnLiBTQi1FWFQ6V0lUSC1MT0NLRUQtSEFTSC1UQUJMRSB0byBwcm90ZWN0IHRoZSBXSVRILUhBU0gtVEFCTEUtSVRFUkFUT1IKZm9yLg, NIL, V0lUSC1IQVNILVRBQkxFLUlURVJBVE9SICgobmFtZSBoYXNoLXRhYmxlKSAmYm9keSBib2R5KQoKUHJvdmlkZXMgYSBtZXRob2Qgb2YgbWFudWFs...
GVzLiBJZiB0aGUgdGFibGUgbWF5IGJlIG11dGF0ZWQgYnkgYW5vdGhlciB0aHJlYWQgZHVyaW5nIGl0ZXJhdGlvbiwKdXNlIGVnLiBTQi1FWFQ6V0lUSC1MT0NLRUQtSEFTSC1UQUJMRSB0byBwcm90ZWN0IHRoZSBXSVRILUhBU0gtVEFCTEUtSVRFUkFUT1IKZm9yLg, NIL, V0lUSC1IQVNILVRBQkxFLUlURVJBVE9SICgobmFtZSBoYXNoLXRhYmxlKSAmYm9keSBib2R5KQoKUHJvdmlkZXMgYSBtZXRob2Qgb2YgbWFudWFs...
[ -0.0186767578125, 0.011962890625, -0.008056640625, -0.00811767578125, -0.0022125244140625, 0.023681640625, 0.0201416015625, -0.010009765625, 0.01416015625, 0.014404296875, 0.026123046875, 0.019287109375, -0.0033721923828125, -0.007293701171875, -0.0255126953125, 0.02001953125, 0.0239...
[ 6, 75166, 169, 9506, 150260, 60348, 571, 11, 43578, 79035, 2566, 74251, 168437, 31343, 1662, 1456, 177, 1723, 19, 8517, 758, 59805, 724, 8266, 318, 2389, 841, 1375, 141, 2737, 856, 395, 1511, 1542, 20257, 964, 434, 605, 71, 839, 14, 4...
[ 0.08642578125, 0.188720703125, 0.04754638671875, 0.11279296875, 0.0869140625, 0.06207275390625, 0.047607421875, 0.047119140625, 0.09271240234375, 0.088623046875, 0.001129150390625, 0.0068359375, 0.0797119140625, 0.0621337890625, 0.0865478515625, 0.06689453125, 0.0487060546875, 0.04...
embed
31461714_c0
31461714
lisp
0
Title: Quicklisp overriding default systems Problem title: Quicklisp overriding default systems Tags: quicklisp, lisp, common-lisp, asdf Problem: Quicklisp overriding default systems I have a slightly modified version of cl-json that I use for a poorly implemented server parser. When I try to (ql:quickload :cl-json) it...
Quicklisp overriding default systems Quicklisp overriding default systems quicklisp lisp common-lisp asdf Quicklisp ql:quickload json:decode Quicklisp overriding default systems I have a slightly modified version of cl-json that I use for a poorly implemented server parser. When I try to (ql:quickload :cl-json) it natu...
[ -0.0012664794921875, 0.0283203125, 0.0052490234375, 0.007110595703125, -0.0177001953125, -0.000530242919921875, -0.0034942626953125, 0.0012054443359375, -0.005615234375, -0.02978515625, -0.018798828125, 0.01513671875, 0.01153564453125, -0.0289306640625, 0.0157470703125, -0.005065917968...
[ 89038, 4086, 254, 645, 416, 6238, 114977, 76519, 63773, 400, 7008, 39210, 420, 99247, 3181, 2594, 63033, 1647, 1681, 112, 40899, 161549, 73197, 11389, 33139, 170, 4527, 70425, 29479, 10723, 366, 2189, 9790, 34937, 6083, 72367, 11435, 450, 4...
[ 0.14697265625, 0.2049560546875, 0.1904296875, 0.06365966796875, 0.1351318359375, 0.0253448486328125, 0.2030029296875, 0.1419677734375, 0.12548828125, 0.0511474609375, 0.148193359375, 0.065185546875, 0.1038818359375, 0.0965576171875, 0.06573486328125, 0.07281494140625, 0.16748046875, ...
embed
22976442_c0
22976442
lisp
0
Title: Lisp: Function that returns the predecessor of an element in a list Problem title: Lisp: Function that returns the predecessor of an element in a list Tags: lisp Problem: Lisp: Function that returns the predecessor of an element in a list (pred 'r '(p q r)) -> q Here's my idea- - I have tried finding the functio...
Lisp: Function that returns the predecessor of an element in a list Lisp: Function that returns the predecessor of an element in a list lisp Lisp Lisp: Function that returns the predecessor of an element in a list Here's my idea- - I have tried finding the function that returns the length of a specific element, but due...
[ 0.004852294921875, 0.0341796875, -0.008056640625, 0.01470947265625, -0.01348876953125, 0.025390625, 0.00933837890625, -0.00762939453125, 0.01025390625, -0.064453125, 0.01251220703125, 0.01324462890625, 0.0059814453125, -0.0140380859375, -0.0150146484375, 0.00135040283203125, 0.008605...
[ 1261, 7008, 12, 28670, 10763, 450, 30646, 7, 1653, 13, 26531, 748, 12830, 23, 5303, 10, 400, 111, 11853, 6528, 37842, 90791, 32354, 140909, 29458, 92635, 102, 51359, 2886, 4527, 17368, 237, 4358, 56, 31577, 47, 7413, 15673, 4034, 7639, ...
[ 0.2115478515625, 0.278564453125, 0.0577392578125, 0.19970703125, 0.130126953125, 0.0692138671875, 0.2220458984375, 0.0721435546875, 0.145751953125, 0.1090087890625, 0.1845703125, 0.14111328125, 0.2047119140625, 0.0712890625, 0.220703125, 0.011810302734375, 0.1719970703125, 0.002532...
embed
49662360_c0
49662360
lisp
0
Title: The object ____ is not applicable Problem title: The object ____ is not applicable Tags: lisp, scheme Problem: The object ____ is not applicable I keep receiving "The object 5.32 is not applicable" after running (main 1 2) then inputting 2 and finally -1. 5.32 is the correct answer. It just throws the mentioned ...
The object ____ is not applicable The object ____ is not applicable lisp scheme ____ The object ____ is not applicable I keep receiving "The object 5.32 is not applicable" after running (main 1 2) then inputting 2 and finally -1. 5.32 is the correct answer. It just throws the mentioned error. (Should return ;Value 5.32...
[ 0.00909423828125, 0.028564453125, 0.005950927734375, -0.0048828125, -0.006439208984375, 0.0059814453125, 0.00531005859375, 0.0169677734375, -0.000904083251953125, -0.0299072265625, 0.0150146484375, -0.0238037109375, -0.026123046875, -0.0027008056640625, 0.0306396484375, -0.004669189453...
[ 581, 36746, 151321, 83, 959, 152431, 400, 7008, 150370, 13695, 217063, 3957, 1892, 6460, 58, 7103, 51042, 24931, 4958, 107730, 1916, 116, 136, 77681, 68940, 70, 26785, 35166, 104250, 119056, 18499, 115729, 30646, 856, 50770, 91887, 31089, 186...
[ 0.06671142578125, 0.26806640625, 0.09686279296875, 0.1468505859375, 0.1937255859375, 0.272705078125, 0.08612060546875, 0.20947265625, 0.1822509765625, 0.0927734375, 0.076171875, 0.102783203125, 0.1240234375, 0.23681640625, 0.019622802734375, 0.00732421875, 0.1612548828125, 0.100708...
embed
13407715_c0
13407715
lisp
0
Title: Quicksort in DrScheme Problem title: Quicksort in DrScheme Tags: functional-programming, lisp, quicksort, racket, scheme Problem: Quicksort in DrScheme I'm currently in the processes of learning functional languages such as Lisp and DrScheme, but I've been asked to write a variance of the Quicksort algorithm in ...
Quicksort in DrScheme Quicksort in DrScheme functional-programming lisp quicksort racket scheme Quicksort DrScheme Quicksort in DrScheme I'm currently in the processes of learning functional languages such as Lisp and DrScheme, but I've been asked to write a variance of the Quicksort algorithm in DrScheme. However, I'm...
[ 0.0203857421875, 0.03369140625, 0.010498046875, -0.011962890625, -0.00872802734375, 0.00469970703125, -0.0008697509765625, -0.022705078125, -0.0034942626953125, -0.00811767578125, -0.00775146484375, -0.0218505859375, -0.02294921875, -0.00994873046875, -0.007171630859375, -0.01135253906...
[ 89038, 62351, 1773, 25452, 12549, 123309, 28966, 400, 7008, 63773, 673, 27853, 150370, 23, 52080, 46876, 1261, 37170, 33022, 16757, 234873, 29786, 9393, 4034, 6275, 32354, 2053, 50986, 4527, 5303, 2258, 42, 114689, 71, 11301, 2831, 16487, 453...
[ 0.167236328125, 0.287109375, 0.132568359375, 0.1650390625, 0.173095703125, 0.1265869140625, 0.1038818359375, 0.054473876953125, 0.1473388671875, 0.1221923828125, 0.0285186767578125, 0.1551513671875, 0.1778564453125, 0.038543701171875, 0.0428466796875, 0.100830078125, 0.065185546875, ...
embed
9039841_c0
9039841
lisp
0
Title: Removing characters from a string in Nyquist Problem title: Removing characters from a string in Nyquist Tags: lisp, nyquist, audacity Problem: Removing characters from a string in Nyquist How can I remove a certain character from a string in Nyquist (which is very similar to xlisp) and have the result returned?...
Removing characters from a string in Nyquist Removing characters from a string in Nyquist lisp nyquist audacity a Removing Nyquist Removing characters from a string in Nyquist How can I remove a certain character from a string in Nyquist (which is very similar to xlisp) and have the result returned? I want to count how...
[ 0.00213623046875, 0.01165771484375, 0.00009632110595703125, 0.035400390625, -0.0086669921875, 0.00341796875, 0.0159912109375, -0.00836181640625, 0.018798828125, 0.00390625, -0.0164794921875, -0.019287109375, 0.01312255859375, -0.0012969970703125, -0.0054931640625, -0.0152587890625, 0...
[ 853, 432, 124850, 1295, 79315, 2949, 28694, 18, 6496, 400, 7008, 600, 531, 85, 60089, 23, 831, 87388, 24233, 62816, 21373, 1022, 4086, 254, 16750, 176377, 3444, 47, 54529, 3642, 5941, 284, 11040, 8031, 22312, 49068, 4734, 571, 110, 71013,...
[ 0.049407958984375, 0.1419677734375, 0.1942138671875, 0.089599609375, 0.2164306640625, 0.1114501953125, 0.2017822265625, 0.1578369140625, 0.02630615234375, 0.0673828125, 0.1451416015625, 0.067138671875, 0.00836181640625, 0.06756591796875, 0.0533447265625, 0.010650634765625, 0.01040649...
embed
2877371_c0
2877371
lisp
0
Title: Definition of "lisp form"? Problem title: Definition of "lisp form"? Tags: lisp, scheme Problem: Definition of "lisp form"? What exactly the definition of a "Lisp form"? As far as I know, it's "either an atom or a list that has a symbol as its first element". But then, this (in Scheme) would ...
Definition of "lisp form"? Definition of "lisp form"? lisp scheme Definition Life Universe Everything Definition of "lisp form"? What exactly the definition of a "Lisp form"? As far as I know, it's "either an atom or a list that has a symbol as its first element". But then, this (in Scheme) would no...
[ 0.0196533203125, 0.04052734375, -0.014892578125, 0.005096435546875, -0.017822265625, 0.00921630859375, 0.0181884765625, -0.00213623046875, -0.00506591796875, -0.0245361328125, 0.0181884765625, -0.033203125, -0.01141357421875, 0.0120849609375, 0.0042724609375, 0.0184326171875, 0.02319...
[ 155455, 111, 4086, 254, 3173, 400, 7008, 150370, 16505, 153543, 171581, 4865, 66161, 70, 80934, 10, 9506, 3714, 9319, 34627, 707, 5303, 1556, 26582, 237, 6863, 5117, 12830, 903, 34702, 2806, 959, 186, 68034, 15700, 7103, 151575, 50491, 1086...
[ 0.2425537109375, 0.057586669921875, 0.1842041015625, 0.253173828125, 0.30908203125, 0.1600341796875, 0.260498046875, 0.2149658203125, 0.1165771484375, 0.165283203125, 0.168212890625, 0.019866943359375, 0.06964111328125, 0.0438232421875, 0.2354736328125, 0.0284423828125, 0.19921875, ...
embed
6546834_c0
6546834
lisp
0
Title: Install lisp on my linux machine Problem title: Install lisp on my linux machine Tags: common-lisp, lisp, linux Problem: Install lisp on my linux machine I use Vim as my editor. "Practical common Lisp" suggest installing Lispbox, I don't know how to use emacs, don't know how to run lisp code with that T.T after ...
Install lisp on my linux machine Install lisp on my linux machine common-lisp lisp linux Install test.lisp Install lisp on my linux machine I use Vim as my editor. "Practical common Lisp" suggest installing Lispbox, I don't know how to use emacs, don't know how to run lisp code with that T.T after that i find lisp plug...
[ 0.01092529296875, 0.014404296875, -0.009033203125, 0.01171875, -0.01104736328125, 0.0096435546875, 0.004547119140625, -0.00665283203125, -0.00087738037109375, -0.032470703125, 0.013671875, -0.0013427734375, -0.006591796875, 0.013427734375, -0.01275634765625, 0.0030517578125, 0.003189...
[ 107951, 400, 7008, 98, 11508, 6077, 36279, 39210, 4086, 254, 3034, 4527, 582, 39, 237, 30391, 50344, 49086, 1261, 42459, 20600, 11728, 3714, 352, 2263, 11675, 18151, 678, 618, 69993, 119916, 2676, 29671, 4989, 7941, 188336, 8781, 75101, 364...
[ 0.1661376953125, 0.166748046875, 0.25732421875, 0.0753173828125, 0.12548828125, 0.1409912109375, 0.14697265625, 0.1241455078125, 0.152099609375, 0.22705078125, 0.1468505859375, 0.031005859375, 0.1126708984375, 0.1082763671875, 0.031524658203125, 0.138427734375, 0.00634765625, 0.019...
embed
36052626_c0
36052626
lisp
0
Title: Removing unwanted variables Problem title: Removing unwanted variables Tags: common-lisp, lisp Problem: Removing unwanted variables Hi I am trying to remove unwanted variables from my list. This is my function: (defun remove-vars (list) (loop for x in list do (print x)))) I want to pass in this (get-vars '(A (NO...
Removing unwanted variables Removing unwanted variables common-lisp lisp Removing NOT Nil Removing unwanted variables Hi I am trying to remove unwanted variables from my list. This is my function: I want to pass in this (get-vars '(A (NOT B) C)) and print out but instead I am printing out is there a way to remove the p...
[ 0.01220703125, 0.0291748046875, 0.000946044921875, 0.0233154296875, -0.0064697265625, 0.0135498046875, 0.00182342529296875, 0.0103759765625, 0.0020599365234375, 0.01483154296875, -0.005523681640625, -0.0189208984375, 0.00165557861328125, -0.0218505859375, -0.0057373046875, 0.0018005371...
[ 853, 432, 6496, 51, 3206, 3674, 77336, 39210, 4086, 254, 400, 7008, 86725, 77175, 2673, 31577, 87388, 7, 1295, 759, 5303, 32354, 3444, 27875, 23, 903, 3794, 1961, 284, 8575, 335, 313, 28412, 1810, 64457, 2448, 3917, 47, 49129, 160291, 1...
[ 0.026763916015625, 0.1405029296875, 0.039703369140625, 0.077880859375, 0.1434326171875, 0.085693359375, 0.249267578125, 0.09405517578125, 0.06292724609375, 0.1427001953125, 0.0806884765625, 0.16162109375, 0.1805419921875, 0.2073974609375, 0.021209716796875, 0.0821533203125, 0.1715087...
embed
11607927_c0
11607927
lisp
0
Title: What does "Pure" mean, in the context of programming languages and paradigms? Problem title: What does "Pure" mean, in the context of programming languages and paradigms? Tags: paradigms, lisp, haskell, language-agnostic Problem: What does "Pure" mean, in the context of programming languages ...
What does "Pure" mean, in the context of programming languages and paradigms? What does "Pure" mean, in the context of programming languages and paradigms? paradigms lisp haskell language-agnostic What Pure What does "Pure" mean, in the context of programming languages and paradigms? In other words,...
[ 0.004974365234375, 0.0225830078125, 0.00927734375, 0.01165771484375, -0.00860595703125, 0.020263671875, 0.0017242431640625, 0.0054931640625, 0.0118408203125, -0.005523681640625, 0.00018024444580078125, -0.0230712890625, -0.026123046875, 0.01202392578125, -0.01556396484375, 0.0155029296...
[ 4865, 41502, 683, 3408, 1230, 29459, 43701, 56037, 449, 46876, 136, 214709, 400, 7008, 1556, 142508, 2895, 118233, 14602, 2367, 30482, 34166, 105508, 139109, 90698, 36746, 49133, 20625, 1261, 51529, 538, 123309, 5154, 87709, 85027, 82775, 11814...
[ 0.033782958984375, 0.059844970703125, 0.2166748046875, 0.291015625, 0.01239013671875, 0.133544921875, 0.0955810546875, 0.1485595703125, 0.031951904296875, 0.2265625, 0.044342041015625, 0.1595458984375, 0.05206298828125, 0.16748046875, 0.06488037109375, 0.220947265625, 0.1103515625, ...
embed
44587780_c0
44587780
lisp
0
Title: Strange CFFI callback error with SBCL Problem title: Strange CFFI callback error with SBCL Tags: common-lisp, portaudio, lisp, cffi Problem: Strange CFFI callback error with SBCL Process inferior-lisp floating point exception There are no floats in my callback, so the error seems very strange to me. Everything b...
Strange CFFI callback error with SBCL Strange CFFI callback error with SBCL common-lisp portaudio lisp cffi Strange CFFI SBCL STYLE-WARNING Undefined Pa_GetErrorText Pa_Initialize Pa_Terminate Pa_OpenStream Pa_OpenDefaultStream Pa_CloseStream Pa_StartStream Pa_StopStream Pa_AbortStream Pa_IsStreamStopped Pa_IsStreamAct...
[ 0.014892578125, 0.01953125, -0.0213623046875, 0.006439208984375, 0.01531982421875, -0.0024871826171875, 0.04638671875, -0.00909423828125, -0.005035400390625, -0.031005859375, -0.013916015625, -0.0198974609375, 0.01275634765625, 0.0169677734375, 0.009521484375, -0.0213623046875, 0.004...
[ 187791, 73754, 22724, 11782, 12620, 18499, 678, 90944, 37486, 39210, 4086, 254, 4898, 43521, 400, 7008, 24500, 224170, 60873, 79912, 5983, 1342, 18468, 31611, 174379, 40705, 35484, 103264, 115061, 11, 59453, 126597, 156095, 19135, 29598, 164414, ...
[ 0.1524658203125, 0.151123046875, 0.2147216796875, 0.148681640625, 0.1842041015625, 0.1424560546875, 0.050048828125, 0.149169921875, 0.1981201171875, 0.10028076171875, 0.06396484375, 0.10089111328125, 0.0733642578125, 0.17431640625, 0.028228759765625, 0.140869140625, 0.161865234375, ...
embed
29636770_c0
29636770
lisp
0
Title: Delete all Occurrences Problem title: Delete all Occurrences Tags: common-lisp, lisp Problem: Delete all Occurrences Delete all occurrences Problem 5 (0 / 32) Define a function deleteAll that has two input argument x and L, where x is an atom and L is a list that contains atomic elements and sublists to any leve...
Delete all Occurrences Delete all Occurrences common-lisp lisp Delete Occurrences Delete all Occurrences Delete all occurrences Problem 5 (0 / 32) Define a function deleteAll that has two input argument x and L, where x is an atom and L is a list that contains atomic elements and sublists to any level, and the function...
[ -0.006317138671875, 0.026123046875, 0.00005507469177246094, 0.00604248046875, 0.01007080078125, 0.021484375, 0.010986328125, 0.001068115234375, 0.00010442733764648438, -0.0223388671875, 0.01312255859375, 0.01214599609375, 0.029541015625, 0.00897216796875, 0.014892578125, 0.002914428710...
[ 262, 46485, 756, 180, 238, 64240, 69098, 39210, 4086, 254, 400, 7008, 74918, 42, 15649, 190, 22085, 2789, 64552, 32354, 154109, 43512, 1556, 6626, 107730, 10750, 1022, 136, 339, 83, 34627, 5303, 70541, 1771, 80854, 1614, 6562, 2499, 17366, ...
[ 0.166748046875, 0.28271484375, 0.212158203125, 0.0762939453125, 0.077392578125, 0.1949462890625, 0.037994384765625, 0.1175537109375, 0.04266357421875, 0.1258544921875, 0.046966552734375, 0.1329345703125, 0.148193359375, 0.09381103515625, 0.192138671875, 0.08837890625, 0.0172119140625...
embed
29563451_c0
29563451
lisp
0
Title: Combining two list in lisp to output certain item Problem title: Combining two list in lisp to output certain item Tags: common-lisp, lisp, list Problem: Combining two list in lisp to output certain item I currently have solved the rucksack problem and and have two lists like below List 1 ((hat 10 5) (clothes 10...
Combining two list in lisp to output certain item Combining two list in lisp to output certain item common-lisp lisp list Combining Combining two list in lisp to output certain item I currently have solved the rucksack problem and and have two lists like below List 1 ((hat 10 5) (clothes 10 10) (tent 40 70) ) List 2 ((...
[ 0.00384521484375, 0.010986328125, -0.00958251953125, 0.0252685546875, -0.0169677734375, 0.03369140625, 0.0027008056640625, 0.006072998046875, 0.006439208984375, 0.031005859375, 0.00762939453125, -0.0159912109375, 0.026123046875, 0.0196533203125, -0.0152587890625, 0.01171875, 0.002456...
[ 106935, 6626, 5303, 23, 400, 7008, 47, 140992, 24233, 35735, 39210, 4086, 254, 86869, 3114, 22824, 11, 2594, 2967, 32036, 106, 2943, 209, 21162, 63499, 2347, 25352, 1112, 2358, 116, 757, 85520, 129507, 2389, 33636, 2174, 39958, 707, 959, ...
[ 0.2138671875, 0.1693115234375, 0.2493896484375, 0.057525634765625, 0.130859375, 0.2154541015625, 0.019683837890625, 0.1756591796875, 0.04815673828125, 0.1854248046875, 0.0809326171875, 0.09478759765625, 0.1431884765625, 0.055419921875, 0.0361328125, 0.058197021484375, 0.0938720703125...
embed
6047098_c0
6047098
lisp
0
Title: Any Lisp extensions for CUDA? Problem title: Any Lisp extensions for CUDA? Tags: cuda, gpgpu, lisp, parallel-processing, simd Problem: Any Lisp extensions for CUDA? I just noted that one of the first languages for the Connection-Machine of W.D. Hillis was *Lisp, an extension of Common Lisp with parallel construc...
Any Lisp extensions for CUDA? Any Lisp extensions for CUDA? cuda gpgpu lisp parallel-processing simd Any Lisp CUDA Any Lisp extensions for CUDA? I just noted that one of the first languages for the Connection-Machine of W.D. Hillis was *Lisp, an extension of Common Lisp with parallel constructs. The Connection-Machine ...
[ 0.0184326171875, 0.01513671875, 0.00982666015625, -0.000335693359375, 0.0081787109375, 0.00958251953125, -0.002655029296875, -0.01031494140625, -0.00982666015625, -0.03857421875, -0.0009918212890625, -0.023681640625, -0.0038299560546875, -0.00775146484375, -0.01312255859375, 0.00637817...
[ 28541, 1261, 7008, 111938, 7, 100, 313, 82302, 314, 85, 78872, 1766, 400, 95103, 63923, 10777, 71, 5117, 46876, 62448, 1830, 4613, 99326, 397, 37639, 164, 9506, 151301, 64549, 13909, 40288, 159958, 5744, 162808, 126381, 41206, 202444, 47, 5...
[ 0.0821533203125, 0.1881103515625, 0.265869140625, 0.2227783203125, 0.08349609375, 0.076904296875, 0.054840087890625, 0.2412109375, 0.1114501953125, 0.114990234375, 0.034637451171875, 0.1170654296875, 0.135009765625, 0.1549072265625, 0.04248046875, 0.1107177734375, 0.07177734375, 0....
embed
19895954_c0
19895954
lisp
0
Title: Add lists to a list lisp Problem title: Add lists to a list lisp Tags: lisp, list Problem: Add lists to a list lisp I'm new to Lisp and I'm having trouble figuring out how I add a list to another list. I start with an empty list, and I have to add new lists, each containing three elements. For example, (add '(1 ...
Add lists to a list lisp Add lists to a list lisp lisp list Add Add lists to a list lisp I'm new to Lisp and I'm having trouble figuring out how I add a list to another list. I start with an empty list, and I have to add new lists, each containing three elements. For example, (add '(1 2 3) '()) would return ((1 2 3)) [...
[ -0.000514984130859375, 0.016845703125, -0.00445556640625, 0.01025390625, -0.01708984375, 0.034912109375, -0.0111083984375, -0.012451171875, -0.00408935546875, -0.0294189453125, 0.01019287109375, -0.0208740234375, 0.0079345703125, 0.021728515625, -0.00086212158203125, -0.000926971435546...
[ 29117, 5303, 7, 47, 10, 400, 7008, 3525, 1261, 63134, 26747, 3642, 87, 15190, 15700, 4034, 201505, 70541, 17262, 80854, 11, 4028, 41600, 116, 8439, 132, 2806, 30646, 6562, 154107, 903, 105801, 190, 35914, 48322, 2060, 20903, 271, 1257, 94...
[ 0.1773681640625, 0.263916015625, 0.106201171875, 0.160888671875, 0.07073974609375, 0.1392822265625, 0.208740234375, 0.0914306640625, 0.1435546875, 0.07281494140625, 0.07379150390625, 0.04510498046875, 0.002105712890625, 0.1806640625, 0.11083984375, 0.044189453125, 0.12548828125, 0....
embed
54895917_c0
54895917
lisp
0
Title: How to compare two lists in Lisp Problem title: How to compare two lists in Lisp Tags: list, common-lisp, lisp Problem: How to compare two lists in Lisp I am still extremely raw in lisp and looking for a lisp way to solve a particular problem. I have two lists : Setq list-a '(2,3)) Setq list-b '(1,2,3)) I need t...
How to compare two lists in Lisp How to compare two lists in Lisp list common-lisp lisp How Lisp Setq How to compare two lists in Lisp I am still extremely raw in lisp and looking for a lisp way to solve a particular problem. I have two lists : I need to find out if elements of list a appear in list b i.e. 2 and 3 shou...
[ 0.0029296875, 0.01446533203125, -0.005889892578125, 0.04248046875, -0.019287109375, 0.0390625, 0.00640869140625, 0.0118408203125, 0.0216064453125, 0.0021820068359375, 0.01300048828125, 0.032470703125, 0.00933837890625, 0.0078125, -0.015869140625, -0.0157470703125, 0.0185546875, -0....
[ 11249, 69101, 6626, 5303, 7, 23, 1261, 7008, 47, 39210, 4086, 254, 400, 19943, 864, 49649, 86869, 2967, 7413, 1810, 80854, 108975, 876, 116, 136, 138, 5608, 148390, 64977, 63262, 5117, 12830, 12765, 31913, 51359, 84046, 978, 24908, 32354, ...
[ 0.054779052734375, 0.2147216796875, 0.1669921875, 0.218017578125, 0.07080078125, 0.039215087890625, 0.138427734375, 0.1878662109375, 0.011993408203125, 0.06512451171875, 0.0816650390625, 0.1123046875, 0.07354736328125, 0.102783203125, 0.112060546875, 0.0467529296875, 0.05740356445312...
embed
76078905_c0
76078905
lisp
0
Title: Looping over strings gives wrong type argument error in Emacs Lisp Problem title: Looping over strings gives wrong type argument error in Emacs Lisp Tags: quote, elisp, emacs, lisp, list Problem: Looping over strings gives wrong type argument error in Emacs Lisp I am trying to loop over a list of strings with do...
Looping over strings gives wrong type argument error in Emacs Lisp Looping over strings gives wrong type argument error in Emacs Lisp quote elisp emacs lisp list Looping Emacs Lisp Wrong Looping over strings gives wrong type argument error in Emacs Lisp I am trying to loop over a list of strings with dolist , and join ...
[ 0.0057373046875, 0.0034332275390625, -0.019775390625, 0.010009765625, -0.033935546875, 0.0174560546875, 0.00335693359375, 0.0194091796875, 0.00274658203125, -0.00133514404296875, -0.007415771484375, -0.028564453125, -0.0032501220703125, -0.0003376007080078125, -0.0201416015625, 0.00915...
[ 199694, 214, 645, 79315, 7, 76199, 44691, 10644, 10750, 18499, 85269, 4439, 1261, 7008, 66747, 15296, 352, 2263, 400, 5303, 35133, 31577, 40956, 54, 6562, 33284, 12830, 183114, 513, 1614, 42, 425, 28282, 601, 40, 26513, 16615, 915, 25632, ...
[ 0.1907958984375, 0.0538330078125, 0.208251953125, 0.2403564453125, 0.040924072265625, 0.049560546875, 0.1812744140625, 0.2015380859375, 0.228515625, 0.1915283203125, 0.1383056640625, 0.1429443359375, 0.1175537109375, 0.1849365234375, 0.1331787109375, 0.006500244140625, 0.043487548828...
embed
13331001_c0
13331001
lisp
0
Title: Nested structures in Lisp Problem title: Nested structures in Lisp Tags: common-lisp, field, lisp, nested, struct Problem: Nested structures in Lisp I'm starting with Lisp and I need to know if it is possible to use nested structures. Here is my try: (defstruct casilla i j) (defstruct tablero caballo reina t1 t2...
Nested structures in Lisp Nested structures in Lisp common-lisp field lisp nested struct Nested Lisp Nested structures in Lisp I'm starting with Lisp and I need to know if it is possible to use nested structures. Here is my try: And if I have to access to the field i : Is that right? It seems it isn't because caballo-c...
[ 0.0030670166015625, 0.01397705078125, -0.00311279296875, 0.0107421875, 0.01019287109375, 0.0228271484375, 0.0076904296875, -0.002716064453125, -0.00518798828125, -0.00860595703125, -0.000400543212890625, 0.013427734375, 0.00775146484375, 0.0255126953125, -0.00148773193359375, -0.005187...
[ 28701, 71, 45646, 23, 1261, 7008, 7, 39210, 4086, 254, 44457, 400, 8512, 36716, 72134, 678, 3871, 3714, 7722, 47, 4527, 9790, 17203, 17, 450, 7108, 109524, 365, 9381, 2298, 14, 9232, 5983, 129745 ]
[ 0.26953125, 0.158935546875, 0.2379150390625, 0.0631103515625, 0.16455078125, 0.2457275390625, 0.049652099609375, 0.1185302734375, 0.1326904296875, 0.2015380859375, 0.1973876953125, 0.12841796875, 0.259765625, 0.185546875, 0.05999755859375, 0.0205230712890625, 0.00847625732421875, 0...
embed
66328652_c0
66328652
lisp
0
Title: Lisp IDE Portacle tells me "lisp connection closed unexpectedly connection broken by remote peer" Problem title: Lisp IDE Portacle tells me "lisp connection closed unexpectedly connection broken by remote peer" Tags: common-lisp, connection, lisp Problem: Lisp IDE Portacle tells me "lisp conn...
Lisp IDE Portacle tells me "lisp connection closed unexpectedly connection broken by remote peer" Lisp IDE Portacle tells me "lisp connection closed unexpectedly connection broken by remote peer" common-lisp connection lisp Lisp IDE Portacle Lisp IDE Portacle tells me "lisp connection closed unexpec...
[ 0.01611328125, 0.0213623046875, -0.031005859375, 0.01214599609375, -0.0211181640625, -0.00445556640625, -0.01318359375, 0.01708984375, -0.0089111328125, -0.0294189453125, 0.0030364990234375, -0.01153564453125, -0.005859375, 0.01300048828125, 0.004913330078125, -0.001617431640625, -0....
[ 1261, 7008, 36497, 57979, 11030, 14192, 163, 4086, 254, 94878, 155738, 241957, 148431, 148814, 280, 56, 538, 390, 39210, 400, 11907, 1733, 9790, 11675, 18151, 5117, 26008, 122116, 162711, 30022, 26859, 42135, 66820, 136, 53912, 605, 1284, 173...
[ 0.1602783203125, 0.2412109375, 0.1898193359375, 0.166259765625, 0.22021484375, 0.05145263671875, 0.0196533203125, 0.1553955078125, 0.209716796875, 0.1729736328125, 0.173828125, 0.141845703125, 0.157958984375, 0.153076171875, 0.1419677734375, 0.113525390625, 0.006011962890625, 0.052...
embed
42039650_c0
42039650
lisp
0
Title: inner and outer reduction, same result? Problem title: inner and outer reduction, same result? Tags: racket, lisp, operator-precedence Problem: inner and outer reduction, same result? Does inner and outer reduction always create the same value, if not what would cause different ones? I am talking about Racket, a...
inner and outer reduction, same result? inner and outer reduction, same result? racket lisp operator-precedence inner and outer reduction, same result? Does inner and outer reduction always create the same value, if not what would cause different ones? I am talking about Racket, a functional language. There are I know ...
[ 0.00830078125, 0.003509521484375, 0.00001919269561767578, 0.03857421875, 0.0201416015625, 0.0029754638671875, -0.0023193359375, -0.01019287109375, -0.001495361328125, -0.010009765625, -0.01043701171875, 0.004364013671875, -0.00787353515625, -0.02001953125, 0.025634765625, -0.0068054199...
[ 75414, 136, 1810, 56, 456, 77391, 5701, 16750, 673, 27853, 400, 7008, 39933, 37534, 11343, 28282, 34292, 22304, 12921, 64333, 2552, 123309, 46876, 3714, 97370, 1286, 93766, 216806, 7225, 12319, 7722, 169907 ]
[ 0.197265625, 0.1031494140625, 0.1802978515625, 0.118408203125, 0.164306640625, 0.187255859375, 0.088623046875, 0.1475830078125, 0.04534912109375, 0.185302734375, 0.050994873046875, 0.11572265625, 0.155029296875, 0.062164306640625, 0.0870361328125, 0.12841796875, 0.140869140625, 0.1...
embed
42867010_c0
42867010
lisp
0
Title: Write a scheme that returns a list of even numbers Problem title: Write a scheme that returns a list of even numbers Tags: lisp, scheme, list Problem: Write a scheme that returns a list of even numbers Write a Scheme function that returns the list of even numbers in a given list of integer numbers.The list may n...
Write a scheme that returns a list of even numbers Write a scheme that returns a list of even numbers lisp scheme list Write Write a scheme that returns a list of even numbers Write a Scheme function that returns the list of even numbers in a given list of integer numbers.The list may not be simple,nested lists can occ...
[ -0.017333984375, 0.032958984375, -0.0030975341796875, 0.0050048828125, -0.0016937255859375, 0.0380859375, 0.005340576171875, 0.006591796875, -0.00616455078125, -0.01300048828125, 0.01220703125, -0.0279541015625, -0.0133056640625, 0.0074462890625, 0.0029754638671875, 0.030029296875, 0...
[ 601, 18781, 10, 150370, 450, 30646, 5303, 111, 3853, 101935, 7, 400, 7008, 34702, 282, 32354, 34475, 892, 1505, 8781, 86, 14437, 831, 74918, 3871, 7413, 70, 46132, 202001, 25585, 26301, 6562, 14012, 237, 14361, 20949, 16750, 927, 1884, 12...
[ 0.075927734375, 0.10601806640625, 0.025970458984375, 0.23291015625, 0.02044677734375, 0.17626953125, 0.17529296875, 0.0301666259765625, 0.2471923828125, 0.1925048828125, 0.0186004638671875, 0.10565185546875, 0.19384765625, 0.1761474609375, 0.15380859375, 0.1591796875, 0.0414123535156...
embed
61397203_c0
61397203
lisp
0
Title: Map function with index as one of arguments in LISP Problem title: Map function with index as one of arguments in LISP Tags: lisp, racket, scheme Problem: Map function with index as one of arguments in LISP Is there any built-in function in LISP languages (or Racket in particular) that would work like map, but p...
Map function with index as one of arguments in LISP Map function with index as one of arguments in LISP lisp racket scheme Map LISP Map function with index as one of arguments in LISP Is there any built-in function in LISP languages (or Racket in particular) that would work like map, but pass index of the element as on...
[ -0.00885009765625, 0.030029296875, 0.002655029296875, -0.006988525390625, -0.0145263671875, 0.00714111328125, -0.01092529296875, 0.00592041015625, 0.00701904296875, -0.041259765625, 0.0050048828125, -0.00872802734375, -0.032470703125, 0.02294921875, 0.006988525390625, -0.00273132324218...
[ 42719, 32354, 678, 63262, 237, 1632, 10750, 16970, 9434, 400, 7008, 673, 27853, 150370, 2685, 2499, 88303, 73, 46876, 2552, 2806, 4488, 1884, 22288, 1284, 27875, 111, 12830, 47, 291, 26783, 89536, 959, 4552, 93766, 208124, 8060, 48716, 5303...
[ 0.272216796875, 0.207763671875, 0.043792724609375, 0.245361328125, 0.03228759765625, 0.0589599609375, 0.219970703125, 0.12890625, 0.2164306640625, 0.08880615234375, 0.1295166015625, 0.0662841796875, 0.2081298828125, 0.12548828125, 0.010345458984375, 0.032073974609375, 0.13330078125, ...
embed
65544299_c0
65544299
lisp
0
Title: Emacs Re-Indent File Problem title: Emacs Re-Indent File Tags: prolog, emacs, lisp, auto-indent Problem: Emacs Re-Indent File I have two files one .pl .lisp I have written them using the emacs editor inside SWi and Lispwork, while I was coding I have set auto-fill-mode and used the editor in the default mode. I ...
Emacs Re-Indent File Emacs Re-Indent File prolog emacs lisp auto-indent Emacs Re-Indent File Emacs Re-Indent File I have two files one .pl .lisp I have written them using the emacs editor inside SWi and Lispwork, while I was coding I have set auto-fill-mode and used the editor in the default mode. I would like to reind...
[ 0.005859375, -0.01214599609375, -0.0023956298828125, 0.0201416015625, -0.016357421875, 0.01544189453125, -0.0101318359375, 0.014404296875, 0.0027313232421875, 0.0093994140625, -0.005096435546875, -0.00135040283203125, -0.0390625, 0.0113525390625, 0.0011138916015625, -0.008056640625, ...
[ 85269, 4439, 853, 4153, 37379, 42724, 502, 4867, 352, 2263, 400, 7008, 1809, 21704, 18, 6626, 102158, 5, 2424, 4086, 254, 59121, 7, 30391, 46132, 61595, 14, 1261, 18244, 552, 116115, 61170, 114977, 13736, 1884, 47, 19574, 756, 18151, 23, ...
[ 0.1663818359375, 0.1822509765625, 0.1766357421875, 0.0941162109375, 0.218505859375, 0.1563720703125, 0.114013671875, 0.15869140625, 0.09375, 0.145751953125, 0.07183837890625, 0.15478515625, 0.1365966796875, 0.15380859375, 0.14794921875, 0.0721435546875, 0.17138671875, 0.01655578613...
embed
50818808_c0
50818808
lisp
0
Title: How can I write this Clojure macro more idiomatically? Problem title: How can I write this Clojure macro more idiomatically? Tags: macros, lisp, lisp-macros, clojure Problem: How can I write this Clojure macro more idiomatically? (defmacro get-color [color-name] `@(thi.ng.color.core/as-int32 (var-get (resolve (s...
How can I write this Clojure macro more idiomatically? How can I write this Clojure macro more idiomatically? macros lisp lisp-macros clojure How Clojure thi.ng.color.core as-int32 How can I write this Clojure macro more idiomatically? I like to avoid using the (var-get (resolve (symbol ... (str '~parem)))) . Something...
[ -0.0301513671875, -0.006988525390625, -0.01055908203125, 0.0164794921875, -0.013427734375, 0.020751953125, -0.01318359375, 0.00830078125, -0.00139617919921875, -0.0283203125, 0.007720947265625, 0.00860595703125, -0.00494384765625, -0.0076904296875, 0.018310546875, 0.0010986328125, -0...
[ 11249, 831, 33022, 903, 51053, 461, 107, 111789, 1286, 49666, 18, 71407, 400, 7008, 35572, 3666, 20450, 6117, 449, 46133, 30854, 237, 4288, 6460, 1884, 71864, 17368, 1961, 3794, 86918, 176726, 9297, 2306, 2500, 195, 80126, 5, 11627, 6, 19...
[ 0.062225341796875, 0.0413818359375, 0.18115234375, 0.094482421875, 0.173828125, 0.197998046875, 0.14892578125, 0.2401123046875, 0.12890625, 0.171142578125, 0.099609375, 0.1163330078125, 0.0618896484375, 0.1641845703125, 0.03363037109375, 0.121337890625, 0.146240234375, 0.1119384765...
embed
41814906_c0
41814906
lisp
0
Title: Common lisp: How to implement reduce Problem title: Common lisp: How to implement reduce Tags: lisp, reduce, list, functional-programming, common-lisp Problem: Common lisp: How to implement reduce I've been looking for this for days, basically I need to implement a function that does the same thing that the syst...
Common lisp: How to implement reduce Common lisp: How to implement reduce lisp reduce list functional-programming common-lisp Common How NIL Common lisp: How to implement reduce I've been looking for this for days, basically I need to implement a function that does the same thing that the system function reduce does. T...
[ -0.00762939453125, 0.0111083984375, 0.023193359375, 0.024658203125, -0.01904296875, 0.0133056640625, -0.0220947265625, -0.005706787109375, 0.002838134765625, -0.044189453125, 0.0159912109375, -0.0005340576171875, 0.0096435546875, -0.006988525390625, 0.0028228759765625, -0.0026702880859...
[ 151301, 400, 7008, 11249, 47, 29479, 34390, 5303, 123309, 28966, 39210, 4086, 254, 541, 16444, 16487, 13312, 3871, 32354, 14602, 5701, 13580, 5426, 2060, 15490, 61475, 34292, 4488, 18151, 155965, 60899, 12620, 19364, 5608, 30646, 6528 ]
[ 0.1549072265625, 0.1336669921875, 0.17724609375, 0.08441162109375, 0.0625, 0.2344970703125, 0.2880859375, 0.1185302734375, 0.11767578125, 0.09027099609375, 0.1126708984375, 0.0958251953125, 0.123046875, 0.04425048828125, 0.1148681640625, 0.007598876953125, 0.011749267578125, 0.0623...
embed
7279974_c0
7279974
lisp
0
Title: Modify Alt+f in Emacs for tex-mode Problem title: Modify Alt+f in Emacs for tex-mode Tags: lisp, emacs, elisp Problem: Modify Alt+f in Emacs for tex-mode Alt+f in emacs when writing in tex mode seems to not include the . as part of the word. So how do I modify the alt+f behavior to remain the same exact when goi...
Modify Alt+f in Emacs for tex-mode Modify Alt+f in Emacs for tex-mode lisp emacs elisp Modify Alt Emacs Modify Alt+f in Emacs for tex-mode Alt+f in emacs when writing in tex mode seems to not include the . as part of the word. So how do I modify the alt+f behavior to remain the same exact when going forward if there is...
[ 0.00579833984375, 0.00058746337890625, -0.0021820068359375, -0.0196533203125, -0.0115966796875, -0.00225830078125, -0.003143310546875, 0.00180816650390625, -0.004730224609375, 0.00213623046875, 0.0194091796875, 0.021728515625, -0.002197265625, 0.01446533203125, -0.0002899169921875, -0....
[ 16269, 40383, 10544, 1328, 420, 23, 85269, 4439, 100, 24371, 61170, 400, 7008, 352, 2263, 15296, 32562, 13736, 959, 26698, 5, 2831, 2565, 3642, 2811, 2641, 123166, 47143, 5701, 24763, 7730, 40225, 33595, 14, 84797, 11435, 72367, 104250, 363...
[ 0.149169921875, 0.1553955078125, 0.185791015625, 0.193115234375, 0.2249755859375, 0.06109619140625, 0.1812744140625, 0.2152099609375, 0.03302001953125, 0.1771240234375, 0.1295166015625, 0.044525146484375, 0.1241455078125, 0.1207275390625, 0.1468505859375, 0.041961669921875, 0.1246337...
embed
8252264_c0
8252264
lisp
0
Title: Property lists in LISP: are they used in real-life? Problem title: Property lists in LISP: are they used in real-life? Tags: lisp, list, properties Problem: Property lists in LISP: are they used in real-life? Learning LISP I discovered that any object in LISP can have its own set of properties defined via proper...
Property lists in LISP: are they used in real-life? Property lists in LISP: are they used in real-life? lisp list properties Property LISP property1 value1 Property lists in LISP: are they used in real-life? Learning LISP I discovered that any object in LISP can have its own set of properties defined via property list....
[ 0.0203857421875, 0.006317138671875, 0.0162353515625, -0.000690460205078125, -0.0005645751953125, 0.0142822265625, -0.006317138671875, 0.00811767578125, -0.0026702880859375, -0.02294921875, 0.004058837890625, 0.016845703125, -0.01434326171875, -0.01177978515625, -0.009033203125, 0.01586...
[ 206984, 5303, 7, 23, 16970, 9434, 1836, 11814, 2773, 24804, 621, 400, 7008, 183871, 57266, 34292, 114344, 134053, 2499, 36746, 831, 765, 10002, 5423, 61924, 1829, 56037, 6275, 21455, 1274, 112, 45646, 190659, 1884, 6528, 204105, 3229, 10, 5...
[ 0.2303466796875, 0.2340087890625, 0.0626220703125, 0.05859375, 0.131591796875, 0.2032470703125, 0.037506103515625, 0.141357421875, 0.13037109375, 0.1656494140625, 0.002593994140625, 0.11669921875, 0.175537109375, 0.2174072265625, 0.2232666015625, 0.109619140625, 0.053314208984375, ...
embed
55694300_c0
55694300
lisp
0
Title: clojure: what's the equivalent of scheme's `set!` Problem title: clojure: what's the equivalent of scheme's `set!` Tags: lisp, clojure Problem: clojure: what's the equivalent of scheme's `set!` I'm trying to to the exercises of Structure and interpretation of computer programs in clojure. How...
clojure: what's the equivalent of scheme's `set!` clojure: what's the equivalent of scheme's `set!` lisp clojure clojure: what's the equivalent of scheme's `set!` I'm trying to to the exercises of Structure and interpretation of computer programs in clojure. However, in multiple places it uses schem...
[ 0.01031494140625, 0.035888671875, -0.00152587890625, 0.004913330078125, 0.00787353515625, -0.007080078125, -0.0001373291015625, -0.0027618408203125, 0.017822265625, -0.019287109375, -0.0009918212890625, 0.031494140625, -0.003448486328125, -0.017578125, 0.024169921875, 0.00506591796875,...
[ 20450, 461, 107, 2367, 3768, 70, 183234, 150370, 3509, 38, 7, 400, 7008, 12, 111, 25, 9473, 31577, 81979, 63667, 238, 6644, 136, 206019, 13909, 103391, 33306, 4, 23, 48716, 44677, 4527, 5423, 3129, 65572, 34292, 77336, 46132, 10, 170224, ...
[ 0.1800537109375, 0.1898193359375, 0.162841796875, 0.08056640625, 0.0909423828125, 0.044342041015625, 0.22265625, 0.257080078125, 0.29443359375, 0.138427734375, 0.08673095703125, 0.0953369140625, 0.163818359375, 0.0086669921875, 0.024261474609375, 0.0665283203125, 0.000213623046875, ...
embed
33608778_c0
33608778
lisp
0
Title: Optimization of Lisp function calls Problem title: Optimization of Lisp function calls Tags: lisp, optimization Problem: Optimization of Lisp function calls If my code is calling a function, and one of the function's arguments will vary based on a certain condition, is it more efficient to have the conditional s...
Optimization of Lisp function calls Optimization of Lisp function calls lisp optimization Optimization Lisp Optimization of Lisp function calls If my code is calling a function, and one of the function's arguments will vary based on a certain condition, is it more efficient to have the conditional statement as an argum...
[ 0.0030364990234375, 0.0145263671875, -0.0079345703125, 0.013671875, -0.01025390625, -0.00946044921875, 0.005767822265625, -0.0024566650390625, -0.0166015625, -0.00921630859375, 0.007080078125, -0.00128936767578125, -0.017333984375, -0.00118255615234375, 0.004913330078125, 0.01354980468...
[ 43938, 47691, 1261, 7008, 32354, 11782, 400, 87235, 18151, 159029, 10750, 285, 35509, 35431, 1286, 93766, 765, 289, 63805, 237, 48716, 20028, 23, 27781, 2773, 106117, 101935, 2806, 91995, 4989, 27140, 125195, 4393, 77336, 2174, 13648, 64457, ...
[ 0.13427734375, 0.055389404296875, 0.141357421875, 0.1944580078125, 0.1666259765625, 0.1741943359375, 0.1278076171875, 0.176513671875, 0.1387939453125, 0.137451171875, 0.2215576171875, 0.135986328125, 0.059295654296875, 0.210693359375, 0.103515625, 0.181396484375, 0.0272979736328125, ...
embed
12206710_c0
12206710
lisp
0
Title: Theoretical foundations of Lisp Problem title: Theoretical foundations of Lisp Tags: language-theory, racket, lisp Problem: Theoretical foundations of Lisp I've just started learning a dialect of lisp ( Racket ) and I'd like to know if some one has a link or can point me to the theoretical foundations of the fam...
Theoretical foundations of Lisp Theoretical foundations of Lisp language-theory racket lisp Theoretical Lisp Theoretical foundations of Lisp I've just started learning a dialect of lisp ( Racket ) and I'd like to know if some one has a link or can point me to the theoretical foundations of the family of lisp languages,...
[ 0.01708984375, 0.04052734375, -0.0128173828125, 0.02490234375, -0.0086669921875, 0.00946044921875, -0.00469970703125, -0.0017242431640625, -0.01287841796875, -0.06591796875, 0.007415771484375, -0.017333984375, -0.0223388671875, 0.00958251953125, 0.01025390625, 0.00836181640625, 0.005...
[ 19635, 107, 70760, 137374, 7, 111, 1261, 7008, 46876, 2347, 30675, 673, 27853, 400, 26859, 52080, 220734, 2552, 1884, 3714, 3126, 6275, 70, 4524, 14449, 65514, 15122, 38440, 42840, 5351, 114141, 140363, 23755, 4527, 64549, 39933, 103608, 5980...
[ 0.1309814453125, 0.1402587890625, 0.056396484375, 0.2445068359375, 0.0275421142578125, 0.006134033203125, 0.1695556640625, 0.2239990234375, 0.1942138671875, 0.09246826171875, 0.0693359375, 0.0750732421875, 0.211181640625, 0.1483154296875, 0.0164947509765625, 0.0687255859375, 0.176757...
embed
18805847_c1
18805847
lisp
1
original example. Haven't figured out how to fix the nested list thing yet. (defun permutations (coll) (if (= 1 (length coll)) (print (list (first coll))) (loop for el in coll collect (map 'list #'(lambda (combos) (list el combos)) (permutations (remove el coll)) )))) EDIT: Ok, thanks everyone for the help here! Here ...
original example. Haven't figured out how to fix the nested list thing yet. (defun permutations (coll) (if (= 1 (length coll)) (print (list (first coll))) (loop for el in coll collect (map 'list #'(lambda (combos) (list el combos)) (permutations (remove el coll)) )))) EDIT: Ok, thanks everyone for the help here! Here ...
[ 0.00390625, 0.0284423828125, 0.003936767578125, -0.0087890625, -0.008544921875, 0.017822265625, -0.0191650390625, -0.0084228515625, -0.01324462890625, -0.0279541015625, -0.0035247802734375, 0.011474609375, 0.017333984375, 0.0107421875, -0.0228271484375, 0.0021820068359375, -0.0089111...
[ 7311, 27781, 26366, 30022, 8512, 71, 5303, 13580, 112, 16498, 117, 14311, 21094, 587, 1181, 3190, 106, 23986, 927, 122907, 35662, 6562, 13448, 271, 28354, 88, 23, 43799, 62346, 468, 6492, 85, 277, 16091, 375, 1264, 26973, 272, 80126, 4358...
[ 0.0732421875, 0.2108154296875, 0.023681640625, 0.1424560546875, 0.25732421875, 0.1387939453125, 0.2454833984375, 0.068115234375, 0.165283203125, 0.2239990234375, 0.102783203125, 0.2178955078125, 0.061187744140625, 0.0501708984375, 0.1243896484375, 0.13134765625, 0.069580078125, 0.0...
embed
67227098_c0
67227098
lisp
0
Title: Extracting and executing a closure/lambda from a plist macro body Problem title: Extracting and executing a closure/lambda from a plist macro body Tags: common-lisp, lisp-macros, lisp Problem: Extracting and executing a closure/lambda from a plist macro body I'm trying to create a macro ( bar ) that should be us...
Extracting and executing a closure/lambda from a plist macro body Extracting and executing a closure/lambda from a plist macro body common-lisp lisp-macros lisp a Extracting Extracting and executing a closure/lambda from a plist macro body I'm trying to create a macro ( bar ) that should be used like this: The macro sh...
[ 0.022216796875, 0.01556396484375, -0.00830078125, -0.00909423828125, 0.0068359375, 0.016845703125, 0.01348876953125, 0.00067138671875, 0.01019287109375, -0.0235595703125, -0.01177978515625, 0.00154876708984375, -0.0013885498046875, 0.0031585693359375, 0.007720947265625, -0.015991210937...
[ 31501, 238, 1916, 136, 71924, 170224, 143, 6492, 85, 1295, 4655, 271, 111789, 14361, 39210, 4086, 254, 400, 7008, 35572, 3666, 31577, 28282, 1909, 5608, 11814, 1884, 903, 198343, 136258, 441, 66437, 21, 35971, 54133, 61784, 15426, 1257, 329...
[ 0.1986083984375, 0.09637451171875, 0.04449462890625, 0.0653076171875, 0.2091064453125, 0.22314453125, 0.067626953125, 0.200439453125, 0.18798828125, 0.10693359375, 0.1864013671875, 0.1370849609375, 0.2376708984375, 0.1922607421875, 0.0943603515625, 0.0706787109375, 0.1146240234375, ...
embed
21356845_c1
21356845
lisp
1
n x)) 2.0d0))) ((< (abs (- (* x x) n)) eps) x)))) I then get double precision no matter how I feed it: > (sr 2 0.00001) 1.4142156862745097d0 And now feeding it a smaller eps works due to the increased precision: > (sr 2 0.00000001) 1.4142135623746899d0 So my question is: is the precision applied by the function totall...
n x)) 2.0d0))) ((< (abs (- (* x x) n)) eps) x)))) I then get double precision no matter how I feed it: > (sr 2 0.00001) 1.4142156862745097d0 And now feeding it a smaller eps works due to the increased precision: > (sr 2 0.00000001) 1.4142135623746899d0 So my question is: is the precision applied by the function totall...
[ -0.0164794921875, -0.006317138671875, -0.000553131103515625, -0.030029296875, 0.015869140625, 0.0135498046875, 0.0113525390625, 0.00994873046875, 0.009033203125, 0.000202178955078125, 0.0150146484375, 0.0068359375, -0.024169921875, -0.0235595703125, -0.00162506103515625, 0.019775390625...
[ 653, 1022, 16, 16655, 71, 2389, 32149, 60494, 16093, 2055, 7, 9, 75402, 28, 6423, 80126, 87, 2046, 41929, 22619, 1830, 26866, 3642, 61590, 442, 977, 42, 116, 89678, 188735, 48733, 152837, 1837, 178475, 3768, 60450, 14773, 164917, 43240, 1...
[ 0.1064453125, 0.1375732421875, 0.008941650390625, 0.192626953125, 0.05828857421875, 0.1365966796875, 0.14501953125, 0.00311279296875, 0.1531982421875, 0.08843994140625, 0.042694091796875, 0.092041015625, 0.0367431640625, 0.0784912109375, 0.212646484375, 0.0889892578125, 0.03863525390...
embed
15322716_c0
15322716
lisp
0
Title: LISP - How to get the average length for nested lists? Problem title: LISP - How to get the average length for nested lists? Tags: average, clisp, lisp, list, nested Problem: LISP - How to get the average length for nested lists? I have a problem. I need to get average length from this list: (1 (2 3 4) 5 (6 7) 8...
LISP - How to get the average length for nested lists? LISP - How to get the average length for nested lists? average clisp lisp list nested LISP How list1 list2 list3 list4 LISP - How to get the average length for nested lists? I have a problem. I need to get average length from this list: (1 (2 3 4) 5 (6 7) 8 (9)) . ...
[ -0.009521484375, 0.0181884765625, -0.00909423828125, 0.020263671875, -0.00860595703125, 0.0341796875, 0.021240234375, 0.00811767578125, 0.0189208984375, -0.039794921875, 0.0081787109375, -0.0152587890625, 0.00775146484375, 0.0177001953125, -0.004180908203125, -0.0078125, 0.0189208984...
[ 16970, 9434, 11249, 2046, 70, 83080, 140909, 100, 8512, 71, 5303, 7, 95701, 7008, 400, 418, 304, 363, 617, 47, 2967, 3871, 1295, 2858, 138, 13956, 49413, 382, 11438, 5608, 186, 787, 6528, 4034, 116, 77816, 165523, 107, 106357, 3611, 116...
[ 0.112060546875, 0.2059326171875, 0.067138671875, 0.111328125, 0.056640625, 0.218505859375, 0.22119140625, 0.0654296875, 0.2384033203125, 0.1539306640625, 0.259521484375, 0.057037353515625, 0.0899658203125, 0.1768798828125, 0.1053466796875, 0.007476806640625, 0.040283203125, 0.07409...
embed
47360827_c0
47360827
lisp
0
Title: How to create a file upload button in Racket? Problem title: How to create a file upload button in Racket? Tags: racket, lisp, scheme Problem: How to create a file upload button in Racket? So I'm writing a small Racket application that will parse a (very poorly formatted) .txt file and output a .csv that can be ...
How to create a file upload button in Racket? How to create a file upload button in Racket? racket lisp scheme How Racket How to create a file upload button in Racket? So I'm writing a small Racket application that will parse a (very poorly formatted) .txt file and output a .csv that can be worked with in Excel. The fi...
[ 0.0032196044921875, 0.006439208984375, 0.006103515625, 0.0341796875, -0.006561279296875, 0.0223388671875, 0.00823974609375, -0.0152587890625, -0.00567626953125, -0.0089111328125, 0.0026092529296875, -0.04638671875, 0.003936767578125, 0.005859375, 0.01361083984375, -0.0228271484375, 0...
[ 11249, 28282, 11435, 70622, 77679, 23, 2552, 27853, 673, 400, 7008, 150370, 32562, 19336, 38415, 366, 184, 104643, 70425, 9384, 124326, 140992, 5, 4439, 334, 79786, 30326, 5117, 3444, 54, 9803, 76896, 26519, 38937, 36849, 117176, 1528, 83184,...
[ 0.06689453125, 0.17138671875, 0.199951171875, 0.2451171875, 0.2322998046875, 0.0672607421875, 0.148193359375, 0.241943359375, 0.0938720703125, 0.0181427001953125, 0.102783203125, 0.11376953125, 0.0609130859375, 0.0292205810546875, 0.1004638671875, 0.057220458984375, 0.044677734375, ...
embed
652901_c0
652901
lisp
0
Title: Lisp evaluation of let statements Problem title: Lisp evaluation of let statements Tags: interpreter, lisp, scheme Problem: Lisp evaluation of let statements I am writing a Scheme interpreter, and I am faced with a valid let statement such as: ;; should print 7 (let ((a 4) (b 3)) (let ((a (* a a)) (b (* b b))) (...
Lisp evaluation of let statements Lisp evaluation of let statements interpreter lisp scheme Lisp Lisp evaluation of let statements I am writing a Scheme interpreter, and I am faced with a valid let statement such as: My interpreter implements only a purely functional subset of Scheme, so there will be no side effects s...
[ 0.006072998046875, 0.0206298828125, -0.00022220611572265625, 0.024169921875, -0.011962890625, 0.003509521484375, 0.006134033203125, 0.0016021728515625, -0.015869140625, -0.004364013671875, -0.0157470703125, 0.000728607177734375, -0.004730224609375, 0.01116943359375, 0.0028533935546875, ...
[ 1261, 7008, 219836, 2633, 63805, 111, 29481, 56, 400, 150370, 7, 32562, 34702, 282, 2577, 35604, 29479, 4734, 34166, 123309, 1614, 3509, 1221, 110, 5609, 93425, 5423, 38, 46876, 15400, 63769, 48716, 125195, 46132, 36917, 31635, 151575, 23937,...
[ 0.1776123046875, 0.21142578125, 0.233154296875, 0.256103515625, 0.263671875, 0.010833740234375, 0.2022705078125, 0.120849609375, 0.1278076171875, 0.155029296875, 0.0472412109375, 0.0860595703125, 0.1180419921875, 0.1014404296875, 0.0206756591796875, 0.1427001953125, 0.1285400390625, ...
embed
13838139_c0
13838139
lisp
0
Title: In Emacs Lisp, some of the keywords are not defined Problem title: In Emacs Lisp, some of the keywords are not defined Tags: lisp, emacs, keyword Problem: In Emacs Lisp, some of the keywords are not defined I recently picked up an old book on lisp and I'm trying to learn lisp using emacs. I am using both the iel...
In Emacs Lisp, some of the keywords are not defined In Emacs Lisp, some of the keywords are not defined lisp emacs keyword Emacs Lisp In Emacs Lisp, some of the keywords are not defined I recently picked up an old book on lisp and I'm trying to learn lisp using emacs. I am using both the ielm mode and interactive-mode,...
[ 0.012939453125, 0.0152587890625, 0.000640869140625, -0.006011962890625, -0.00836181640625, 0.0184326171875, -0.00787353515625, 0.00653076171875, -0.016357421875, 0.01171875, -0.005828857421875, -0.01220703125, -0.0166015625, 0.013916015625, 0.003814697265625, -0.004119873046875, -0.0...
[ 360, 85269, 4439, 1261, 7008, 3060, 111, 166117, 7, 621, 959, 61924, 71, 400, 352, 2263, 171739, 12877, 31889, 13736, 212398, 61170, 2967, 8035, 25632, 27781, 68018, 202001, 25585, 110500, 159641, 181204, 24057, 418, 24762, 4488, 2737, 20503,...
[ 0.0316162109375, 0.1502685546875, 0.1629638671875, 0.1446533203125, 0.2205810546875, 0.06005859375, 0.00823974609375, 0.2418212890625, 0.1094970703125, 0.03564453125, 0.126220703125, 0.226806640625, 0.048797607421875, 0.1109619140625, 0.0723876953125, 0.126953125, 0.003173828125, 0...
embed
29731597_c0
29731597
lisp
0
Title: terpri, princ &amp; co. vs format Problem title: terpri, princ &amp; co. vs format Tags: common-lisp, lisp Problem: terpri, princ & co. vs format Chapter 9.10 of Common Lisp: A Gentle Introduction To Symbolic Computation claims: The primitive i/o functions TERPRI, PRIN1, PRINC and PRINT were defined in Lisp 1.5 ...
terpri, princ &amp; co. vs format terpri, princ &amp; co. vs format common-lisp lisp terpri, princ & co. vs format Chapter 9.10 of Common Lisp: A Gentle Introduction To Symbolic Computation claims: This implies that you do not neet princ & co. any more and that, in modern code, you only should rely on format instead. A...
[ -0.0225830078125, 0.0213623046875, -0.00634765625, 0.0228271484375, 0.00726318359375, -0.014892578125, 0.0128173828125, 0.01153564453125, 0.0191650390625, 0.0234375, 0.0150146484375, -0.01611328125, 0.0159912109375, -0.005035400390625, -0.0030364990234375, 0.004913330078125, 0.020751...
[ 704, 5293, 2448, 238, 619, 25133, 552, 20209, 9384, 39210, 4086, 254, 400, 7008, 3569, 963, 151301, 1261, 44704, 131899, 1771, 159415, 140526, 35388, 959, 108, 126, 1286, 5744, 18151, 456, 538, 64457, 6392, 71, 2187, 92674, 69307, 43240, ...
[ 0.1082763671875, 0.25732421875, 0.140380859375, 0.14404296875, 0.1400146484375, 0.093505859375, 0.1337890625, 0.1514892578125, 0.252685546875, 0.10009765625, 0.067138671875, 0.1060791015625, 0.06024169921875, 0.1563720703125, 0.040252685546875, 0.0777587890625, 0.115478515625, 0.09...
embed
59603931_c0
59603931
lisp
0
Title: unexpected result from listp Problem title: unexpected result from listp Tags: predicate, lisp, common-lisp Problem: unexpected result from listp I have a struct spider: (defstruct spider omegas values k) And an instance spider : (set '*spider* (make-spider :omegas '() :values (list *input*) :k '(#'omegashift #'...
unexpected result from listp unexpected result from listp predicate lisp common-lisp listp OMEGASHIFT NIL unexpected result from listp I have a struct spider: And an instance spider : But when I run the expression: (listp (car (spider-k *spider*)) on Emacs and SBCL (and SLIME is involved but I'm not sure what it is.) T...
[ -0.000293731689453125, 0.013671875, -0.0011444091796875, -0.003692626953125, -0.01409912109375, 0.006500244140625, 0.0162353515625, -0.002227783203125, -0.0113525390625, -0.0230712890625, 0.0133056640625, 0.01904296875, -0.0106201171875, -0.00506591796875, 0.000286102294921875, 0.02697...
[ 241957, 16750, 1295, 5303, 254, 1653, 2063, 400, 7008, 39210, 4086, 34172, 50371, 69939, 25217, 541, 16444, 36716, 16195, 820, 110527, 11675, 125195, 6562, 3284, 44689, 9, 92, 98, 85269, 4439, 90944, 37486, 42135, 66820, 75412, 9077, 9069, ...
[ 0.183837890625, 0.172607421875, 0.040008544921875, 0.221435546875, 0.216552734375, 0.0760498046875, 0.1212158203125, 0.0567626953125, 0.1541748046875, 0.059539794921875, 0.05230712890625, 0.107177734375, 0.1253662109375, 0.1373291015625, 0.1527099609375, 0.05621337890625, 0.143066406...
embed
36959816_c0
36959816
lisp
0
Title: Insertion Sort of a list in common LISP Problem title: Insertion Sort of a list in common LISP Tags: lisp, insertion-sort, common-lisp Problem: Insertion Sort of a list in common LISP I have a code on insertion sort of a list in LISP. I have no IDEA why this is not working.. HELP (defun insertionSort (myList) (i...
Insertion Sort of a list in common LISP Insertion Sort of a list in common LISP lisp insertion-sort common-lisp Insertion Sort LISP Insertion Sort of a list in common LISP I have a code on insertion sort of a list in LISP. I have no IDEA why this is not working.. HELP
[ -0.01470947265625, 0.0076904296875, 0.00787353515625, -0.006256103515625, -0.01226806640625, 0.01495361328125, -0.02294921875, -0.0203857421875, -0.01007080078125, -0.022705078125, 0.007049560546875, -0.00592041015625, -0.00390625, -0.02685546875, -0.0006103515625, 0.0057373046875, -...
[ 360, 2189, 1363, 53666, 111, 5303, 23, 39210, 16970, 9434, 10, 400, 7008, 241860, 62351, 4086, 254, 18151, 12096, 124290, 15400, 903, 959, 20697, 70686 ]
[ 0.07403564453125, 0.178955078125, 0.0638427734375, 0.2108154296875, 0.1153564453125, 0.1650390625, 0.0718994140625, 0.1490478515625, 0.105712890625, 0.194091796875, 0.004222869873046875, 0.08807373046875, 0.1505126953125, 0.1947021484375, 0.2109375, 0.10577392578125, 0.1610107421875,...
embed
34002062_c0
34002062
lisp
0
Title: How to transform a list into a set in LISP? Problem title: How to transform a list into a set in LISP? Tags: common-lisp, lisp, list, set Problem: How to transform a list into a set in LISP? I have been trying to transform a linear list into a set but with no avail. Everytime I run this, I get some weird compila...
How to transform a list into a set in LISP? How to transform a list into a set in LISP? common-lisp lisp list set How LISP How to transform a list into a set in LISP? I have been trying to transform a linear list into a set but with no avail. Everytime I run this, I get some weird compilation errors like "badly formed ...
[ -0.001800537109375, 0.0238037109375, 0.02587890625, -0.018310546875, 0.00579833984375, -0.004730224609375, -0.0189208984375, 0.0155029296875, 0.005767822265625, -0.017333984375, -0.01495361328125, 0.01495361328125, -0.000682830810546875, 0.013671875, -0.00732421875, 0.0206298828125, ...
[ 11249, 47, 27198, 10, 5303, 3934, 5423, 23, 16970, 9434, 39210, 4086, 254, 400, 7008, 31577, 192617, 25820, 87769, 6032, 11675, 179459, 98352, 18499, 12283, 100, 4806, 6492, 85, 26847, 3917, 4527, 114689, 71, 18151, 87388, 171763, 1636 ]
[ 0.0799560546875, 0.033447265625, 0.2130126953125, 0.0806884765625, 0.25634765625, 0.1258544921875, 0.24609375, 0.07342529296875, 0.130615234375, 0.2313232421875, 0.095947265625, 0.0831298828125, 0.1424560546875, 0.10748291015625, 0.1793212890625, 0.054931640625, 0.1392822265625, 0....
embed
15484399_c0
15484399
lisp
0
Title: How to access a context of RESTAS submodules from other RESTAS modules Problem title: How to access a context of RESTAS submodules from other RESTAS modules Tags: lisp, hunchentoot, common-lisp, web Problem: How to access a context of RESTAS submodules from other RESTAS modules Let's say, I define a dynamic vari...
How to access a context of RESTAS submodules from other RESTAS modules How to access a context of RESTAS submodules from other RESTAS modules lisp hunchentoot common-lisp web other How RESTAS restas:with-context How to access a context of RESTAS submodules from other RESTAS modules Let's say, I define a dynamic variabl...
[ 0.00885009765625, -0.002716064453125, 0.00933837890625, 0.0260009765625, 0.0113525390625, 0.0032501220703125, -0.00897216796875, -0.0033416748046875, -0.005096435546875, -0.0634765625, 0.0166015625, 0.0184326171875, 0.00176239013671875, -0.00006961822509765625, 0.01336669921875, 0.0023...
[ 11249, 17203, 43701, 61661, 36195, 1614, 83279, 1295, 3789, 88996, 400, 7008, 1926, 4834, 188, 818, 39210, 254, 1467, 21105, 7, 76228, 2271, 22829, 61924, 84079, 77336, 46132, 121147, 418, 304, 2046, 34292, 138, 5036, 347, 82424, 85526 ]
[ 0.01751708984375, 0.16796875, 0.2587890625, 0.156005859375, 0.1964111328125, 0.1383056640625, 0.1510009765625, 0.0963134765625, 0.05926513671875, 0.166259765625, 0.0245208740234375, 0.1097412109375, 0.006927490234375, 0.023956298828125, 0.01055908203125, 0.04571533203125, 0.056701660...
embed
15933957_c0
15933957
lisp
0
Title: Emacs lisp high-order function support Problem title: Emacs lisp high-order function support Tags: lisp, functional-programming, emacs, elisp Problem: Emacs lisp high-order function support I am trying to implement Haskell-like high-order function in Elisp, using closures. ;;; -*- lexical-binding: t -*- (defun f...
Emacs lisp high-order function support Emacs lisp high-order function support lisp functional-programming emacs elisp Emacs Invalid Emacs lisp high-order function support I am trying to implement Haskell-like high-order function in Elisp, using closures. Problem is that last line returns error Invalid function . So, it...
[ 0.01275634765625, 0.0037994384765625, -0.00152587890625, -0.01373291015625, -0.0101318359375, 0.0213623046875, -0.0213623046875, 0.000827789306640625, -0.01129150390625, -0.030517578125, 0.0079345703125, 0.00396728515625, -0.0303955078125, -0.01080322265625, 0.005340576171875, -0.03857...
[ 85269, 4439, 400, 7008, 11192, 80596, 32354, 8060, 123309, 28966, 352, 2263, 15296, 360, 7013, 31577, 29479, 20625, 142508, 5062, 25318, 170224, 15649, 4568, 13315, 30646, 18499, 959, 90698, 57, 86, 7464, 831, 4527, 64240, 53, 468, 25, 3584...
[ 0.1427001953125, 0.154296875, 0.106689453125, 0.225341796875, 0.1180419921875, 0.2169189453125, 0.198486328125, 0.215087890625, 0.1685791015625, 0.08660888671875, 0.046112060546875, 0.0595703125, 0.053558349609375, 0.037933349609375, 0.204345703125, 0.032379150390625, 0.1116943359375...
embed
12151869_c0
12151869
lisp
0
Title: I don&#x27;t know how lisp macro construct its expansion? what&#x27;s the exact step? Problem title: I don&#x27;t know how lisp macro construct its expansion? what&#x27;s the exact step? Tags: macros, lisp, expansion, emacs Problem: I don't know how lisp macro construct its expansion? what's the exact step? I tr...
I don&#x27;t know how lisp macro construct its expansion? what&#x27;s the exact step? I don&#x27;t know how lisp macro construct its expansion? what&#x27;s the exact step? macros lisp expansion emacs times_two I don't know how lisp macro construct its expansion? what's the exact step? I tried to write a macro and execu...
[ 0.01263427734375, 0.02392578125, -0.000110626220703125, 0.01104736328125, 0.01483154296875, 0.0517578125, -0.02294921875, 0.0234375, 0.004638671875, -0.044921875, 0.006988525390625, -0.0169677734375, -0.00555419921875, 0.0024871826171875, -0.020263671875, -0.0220947265625, -0.0039062...
[ 3768, 18, 3714, 3642, 400, 7008, 111789, 64549, 14700, 66, 6889, 24763, 29954, 352, 2263, 7, 20028, 55547, 2301, 6863, 37842, 33022, 71924, 28960, 165523, 47, 209521, 75402, 116, 22183, 4958, 7103, 16750, 2289, 15400, 85269, 4439, 23009, 74...
[ 0.0160369873046875, 0.021575927734375, 0.07861328125, 0.0196380615234375, 0.1561279296875, 0.228515625, 0.228759765625, 0.1827392578125, 0.129150390625, 0.180908203125, 0.1319580078125, 0.111083984375, 0.1646728515625, 0.049285888671875, 0.08251953125, 0.014739990234375, 0.1099853515...
embed
68036136_c0
68036136
lisp
0
Title: Alternating upcase/downcase for a string in Common Lisp Problem title: Alternating upcase/downcase for a string in Common Lisp Tags: lisp, common-lisp Problem: Alternating upcase/downcase for a string in Common Lisp I want to write a function that will return a string formatted with alternative upcase/downcase i...
Alternating upcase/downcase for a string in Common Lisp Alternating upcase/downcase for a string in Common Lisp lisp common-lisp Alternating Common Lisp CL-USER Alternating upcase/downcase for a string in Common Lisp I want to write a function that will return a string formatted with alternative upcase/downcase in Comm...
[ -0.01129150390625, 0.01275634765625, 0.0050048828125, -0.005859375, 0.0225830078125, 0.01513671875, 0.0047607421875, 0.00860595703125, 0.00836181640625, 0.011962890625, 0.00811767578125, 0.0024566650390625, 0.01068115234375, 0.0169677734375, 0.00726318359375, 0.00482177734375, -0.002...
[ 108419, 1916, 1257, 58437, 64, 34695, 100, 79315, 23, 151301, 1261, 7008, 400, 39210, 4086, 254, 46323, 1062, 50184, 3444, 33022, 32354, 1221, 30646, 9384, 678, 30700, 22, 33558, 590, 2594, 5465, 118664, 5608, 37455, 39450, 12110, 26455, 10...
[ 0.18115234375, 0.033050537109375, 0.167724609375, 0.2685546875, 0.061859130859375, 0.207275390625, 0.04473876953125, 0.223876953125, 0.039459228515625, 0.175537109375, 0.153564453125, 0.177734375, 0.123779296875, 0.099609375, 0.10528564453125, 0.121337890625, 0.0848388671875, 0.141...
embed
11582023_c0
11582023
lisp
0
Title: clojure 101 combining vectors into a map Problem title: clojure 101 combining vectors into a map Tags: vector, lisp, functional-programming, dictionary, clojure Problem: clojure 101 combining vectors into a map I'm very new to Clojure and can't seem to find a way to do something that I'm sure is trivial. I've lo...
clojure 101 combining vectors into a map clojure 101 combining vectors into a map vector lisp functional-programming dictionary clojure clojure 101 combining vectors into a map I'm very new to Clojure and can't seem to find a way to do something that I'm sure is trivial. I've looked at the assoc function as I think thi...
[ -0.0096435546875, 0.01507568359375, -0.0113525390625, 0.0181884765625, -0.0029449462890625, 0.0022430419921875, -0.00238037109375, -0.01116943359375, 0.01287841796875, -0.048095703125, -0.0093994140625, 0.0020904541015625, 0.00927734375, 0.008544921875, -0.0186767578125, -0.01965332031...
[ 20450, 461, 107, 21027, 375, 964, 22834, 22230, 3934, 22288, 173, 18770, 7008, 123309, 28966, 10763, 4552, 3525, 51053, 48903, 3917, 54, 9844, 9077, 686, 63927, 238, 32354, 35166, 4488, 765, 3444, 28282, 111, 12638, 33342, 1884, 30563, 7857...
[ 0.1248779296875, 0.1729736328125, 0.1427001953125, 0.20263671875, 0.072998046875, 0.14794921875, 0.1953125, 0.1431884765625, 0.07366943359375, 0.19482421875, 0.1689453125, 0.2017822265625, 0.0897216796875, 0.0972900390625, 0.047149658203125, 0.0201416015625, 0.019561767578125, 0.06...
embed
67679182_c0
67679182
lisp
0
Title: How to debug scheme if statment Problem title: How to debug scheme if statment Tags: sicp, scheme, lisp Problem: How to debug scheme if statment I find myself often wanting to examine statements and print what's going on there. For example, using this basic example: (define (example-debug lst) (if (null? lst) '(...
How to debug scheme if statment How to debug scheme if statment sicp scheme lisp How example_debug End Element How to debug scheme if statment I find myself often wanting to examine statements and print what's going on there. For example, using this basic example: How could I put displays in both parts of the if statem...
[ 0.0023651123046875, 0.007476806640625, 0.001983642578125, 0.04052734375, -0.00007390975952148438, 0.01434326171875, 0.0146484375, 0.00537109375, -0.0023345947265625, -0.0042724609375, 0.006195068359375, -0.032470703125, -0.0108642578125, 0.00445556640625, 0.0152587890625, 0.02258300781...
[ 11249, 47, 8, 85779, 150370, 2174, 13254, 674, 26536, 254, 400, 7008, 27781, 112, 18878, 48325, 27983, 3444, 160477, 63805, 28412, 7730, 62822, 5809, 3884, 44116, 7, 15044, 63920, 17198, 50828, 46622, 36917, 351, 103391, 56104, 978, 134229 ]
[ 0.0518798828125, 0.041168212890625, 0.155517578125, 0.27587890625, 0.2420654296875, 0.1964111328125, 0.2059326171875, 0.1240234375, 0.07666015625, 0.1214599609375, 0.0234527587890625, 0.1282958984375, 0.1494140625, 0.1396484375, 0.123046875, 0.146484375, 0.038848876953125, 0.026840...
embed
37516414_c0
37516414
lisp
0
Title: What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? Problem title: What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? Tags: mit-scheme, scheme, sicp, lisp Problem: What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? I am on exercise 2.32 which presents...
What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? mit-scheme scheme sicp lisp What SICP MIT Scheme What is the equivalent of the rest procedure in SICP in MIT Scheme 9.2? I am on exercise 2.32 which presents the following code...
[ -0.006378173828125, 0.0267333984375, 0.0245361328125, 0.01171875, -0.0283203125, 0.01312255859375, 0.0033721923828125, -0.00860595703125, 0.00970458984375, -0.017822265625, 0.008056640625, 0.007354736328125, -0.0185546875, -0.0186767578125, -0.005645751953125, 0.004547119140625, 0.01...
[ 4865, 83, 183234, 10588, 50491, 159, 198993, 78999, 34702, 282, 151309, 23, 491, 7560, 150370, 26536, 254, 400, 7008, 70, 81979, 787, 6460, 13379, 18151, 9790, 11782, 22027, 18, 125296, 21373, 31089, 678, 17324, 12877, 91995, 5744, 18822, 5...
[ 0.07073974609375, 0.022552490234375, 0.209716796875, 0.2509765625, 0.225830078125, 0.1051025390625, 0.222412109375, 0.2244873046875, 0.1964111328125, 0.155029296875, 0.262939453125, 0.025482177734375, 0.1641845703125, 0.12353515625, 0.1578369140625, 0.0999755859375, 0.14599609375, ...
embed
24098510_c0
24098510
lisp
0
Title: How to make serve with more threads with Hunchentoot Problem title: How to make serve with more threads with Hunchentoot Tags: lisp, hunchentoot, concurrency, web-services Problem: How to make serve with more threads with Hunchentoot I am using Hunchentoot for a web app to be a high traffic db driven app, also d...
How to make serve with more threads with Hunchentoot How to make serve with more threads with Hunchentoot lisp hunchentoot concurrency web-services How Hunchentoot How to make serve with more threads with Hunchentoot I am using Hunchentoot for a web app to be a high traffic db driven app, also depends on web sockets pr...
[ -0.00174713134765625, 0.00225830078125, -0.00104522705078125, 0.006988525390625, -0.00970458984375, 0.002197265625, 0.0059814453125, -0.00335693359375, -0.0084228515625, -0.0712890625, -0.004791259765625, -0.0213623046875, 0.00927734375, 0.003326416015625, 0.01416015625, -0.02624511718...
[ 11249, 3249, 21265, 678, 1286, 86997, 10453, 4834, 188, 818, 400, 7008, 1926, 108636, 982, 1467, 22584, 17368, 4027, 11192, 83629, 40041, 22648, 56566, 27853, 91363, 7767, 50336, 240057, 2241, 1430, 1563, 836, 4382, 94878, 168398, 105876, 111...
[ 0.040313720703125, 0.0810546875, 0.1968994140625, 0.0965576171875, 0.1712646484375, 0.2264404296875, 0.1405029296875, 0.1427001953125, 0.1617431640625, 0.17724609375, 0.048980712890625, 0.08807373046875, 0.1063232421875, 0.169677734375, 0.1036376953125, 0.04620361328125, 0.1080322265...
embed
66587730_c0
66587730
lisp
0
Title: What is the purpose of returning function from function? Problem title: What is the purpose of returning function from function? Tags: sicp, racket, lisp, higher-order-functions, scheme Problem: What is the purpose of returning function from function? I'm studying SICP, and I didnt exactly get the idea behind fu...
What is the purpose of returning function from function? What is the purpose of returning function from function? sicp racket lisp higher-order-functions scheme function What What is the purpose of returning function from function? I'm studying SICP, and I didnt exactly get the idea behind function return. Code above w...
[ 0.0064697265625, 0.005706787109375, -0.003326416015625, -0.018310546875, 0.012451171875, 0.00012063980102539062, 0.033447265625, -0.0001201629638671875, 0.00153350830078125, -0.0291748046875, -0.0137939453125, -0.01519775390625, -0.0198974609375, -0.01116943359375, -0.0093994140625, 0....
[ 4865, 83, 70, 60042, 111, 30646, 214, 32354, 1295, 26536, 254, 673, 27853, 400, 7008, 77546, 80596, 137175, 150370, 159, 198993, 6528, 50155, 28864, 36917, 11814, 237, 820, 4371, 108047, 209, 15400, 45767, 18151, 8781, 42, 151575, 16750, 10...
[ 0.09759521484375, 0.08203125, 0.10394287109375, 0.2379150390625, 0.1138916015625, 0.290771484375, 0.1585693359375, 0.2347412109375, 0.251953125, 0.06866455078125, 0.12255859375, 0.0216064453125, 0.137451171875, 0.038482666015625, 0.12890625, 0.03363037109375, 0.1064453125, 0.122436...
embed
19977714_c0
19977714
lisp
0
Title: With case, which is the best of these methods for expressing the cases? Problem title: With case, which is the best of these methods for expressing the cases? Tags: lisp, common-lisp Problem: With case, which is the best of these methods for expressing the cases? These all work: (defun testcaseexpr (thecase) (ca...
With case, which is the best of these methods for expressing the cases? With case, which is the best of these methods for expressing the cases? lisp common-lisp With case, which is the best of these methods for expressing the cases? These all work: Which of these three expressions is considered the idiomatic way? And p...
[ 0.00927734375, -0.0135498046875, -0.002349853515625, 0.00011777877807617188, 0.01007080078125, -0.0106201171875, 0.01171875, 0.00775146484375, 0.0157470703125, 0.01031494140625, -0.006988525390625, 0.006103515625, -0.01531982421875, -0.0213623046875, 0.00152587890625, 0.01495361328125,...
[ 17106, 7225, 2965, 6097, 150624, 36510, 214, 50218, 400, 7008, 39210, 4086, 254, 111, 100, 756, 4488, 17262, 125195, 90698, 49666, 9523, 3917, 15400, 20697, 123019, 959, 5701, 86531, 43701, 765, 12921, 484, 109109, 5303, 54881, 68782, 66747, ...
[ 0.154541015625, 0.272705078125, 0.124755859375, 0.0248565673828125, 0.16748046875, 0.1650390625, 0.042205810546875, 0.21435546875, 0.1075439453125, 0.1888427734375, 0.138916015625, 0.09637451171875, 0.19091796875, 0.00469970703125, 0.005889892578125, 0.0202484130859375, 0.09838867187...
embed
3858746_c0
3858746
lisp
0
Title: Audacity Nyquist Plugin Problem title: Audacity Nyquist Plugin Tags: plugins, lisp, audacity Problem: Audacity Nyquist Plugin I am playing around with Audacity and have been trying to generate tones with harmonics. Audacity does not seem to support it directly, but you can write a plugin to do it. The plugins ar...
Audacity Nyquist Plugin Audacity Nyquist Plugin plugins lisp audacity Audacity Nyquist Plugin Audacity Nyquist Plugin I am playing around with Audacity and have been trying to generate tones with harmonics. Audacity does not seem to support it directly, but you can write a plugin to do it. The plugins are written in Ny...
[ -0.00897216796875, 0.017333984375, -0.01556396484375, 0.013916015625, -0.0203857421875, 0.02685546875, 0.0115966796875, -0.023681640625, 0.000911712646484375, -0.041259765625, -0.0240478515625, -0.025390625, -0.00628662109375, 0.007781982421875, 0.0032958984375, -0.02880859375, -0.00...
[ 62, 6874, 60089, 2949, 28694, 18, 187364, 69993, 400, 7008, 531, 85, 75169, 10932, 31577, 139392, 47, 1444, 678, 22313, 4439, 8060, 105237, 831, 33022, 59121, 23, 20117, 19336, 57143, 16981, 3444, 76465, 135932, 17957, 33079, 717, 86, 60213...
[ 0.06878662109375, 0.2451171875, 0.1947021484375, 0.10382080078125, 0.2001953125, 0.1533203125, 0.257080078125, 0.2724609375, 0.107666015625, 0.146484375, 0.1005859375, 0.1563720703125, 0.06060791015625, 0.053985595703125, 0.033050537109375, 0.210205078125, 0.1522216796875, 0.104919...
embed
60356211_c1
60356211
lisp
1
8496 707088 293986768 16419 1 0,8032 4 13432 21 0 1141 70 955593760 838624 2000000 14594 0 0,2673 5 0 0 0 0 0 0 0 2000000 0 0 0,0000 6 741 184 34 28 0 63259792 1424240 2000000 987 0 0,0000 7 0 0 0 0 0 0 0 2000000 0 0 0,0000 Total bytes allocated = 2094182048 Dynamic-space-size bytes = 2097152000 GC control variables: *...
8496 707088 293986768 16419 1 0,8032 4 13432 21 0 1141 70 955593760 838624 2000000 14594 0 0,2673 5 0 0 0 0 0 0 0 2000000 0 0 0,0000 6 741 184 34 28 0 63259792 1424240 2000000 987 0 0,0000 7 0 0 0 0 0 0 0 2000000 0 0 0,0000 Total bytes allocated = 2094182048 Dynamic-space-size bytes = 2097152000 GC control variables: *...
[ 0.00124359130859375, 0.000972747802734375, 0.001739501953125, 0.000621795654296875, -0.00115966796875, -0.0028533935546875, -0.000698089599609375, 0.01220703125, 0.022705078125, -0.01104736328125, 0.0009918212890625, 0.0072021484375, 0.01318359375, -0.038818359375, 0.006439208984375, 0...
[ 382, 186410, 2358, 5757, 12772, 1702, 363, 204225, 84453, 84900, 2947, 106, 101202, 9513, 304, 201, 61586, 6460, 952, 757, 534, 8894, 483, 87357, 110216, 105742, 2357, 116, 197094, 616, 204216, 81690, 195192, 190, 28568, 305, 70642, 4442, 1...
[ 0.1053466796875, 0.2276611328125, 0.1092529296875, 0.11279296875, 0.1846923828125, 0.1434326171875, 0.154052734375, 0.1287841796875, 0.1597900390625, 0.209716796875, 0.203857421875, 0.08447265625, 0.1175537109375, 0.15185546875, 0.134765625, 0.1341552734375, 0.1419677734375, 0.1447...
embed
23692188_c0
23692188
lisp
0
Title: How to eval twice in lisp (without using eval) Problem title: How to eval twice in lisp (without using eval) Tags: common-lisp, eval, lisp Problem: How to eval twice in lisp (without using eval) How can I eval something a second time while keeping the lexical context? * (defvar form '(+ 1 2)) form * form (+ 1 2)...
How to eval twice in lisp (without using eval) How to eval twice in lisp (without using eval) common-lisp eval lisp eval How How to eval twice in lisp (without using eval) How can I eval something a second time while keeping the lexical context? For an example of the problem where the lexical scope is needed How do I e...
[ 0.0155029296875, 0.0091552734375, 0.00872802734375, 0.0020904541015625, 0.00213623046875, -0.000919342041015625, 0.01239013671875, 0.00872802734375, -0.00164031982421875, -0.06640625, -0.00011777877807617188, 0.0174560546875, 0.0059814453125, 0.0028228759765625, 0.017822265625, 0.00781...
[ 11249, 47, 28, 1405, 186351, 23, 400, 7008, 6056, 17368, 39210, 4086, 254, 831, 87, 9844, 17932, 1733, 12960, 120260, 75675, 21533, 43701, 2967, 70820, 44841, 54, 3173, 5701, 237, 5941, 20028, 3444, 90944, 37486, 32354, 388, 111789, 1974, ...
[ 0.07415771484375, 0.04962158203125, 0.0985107421875, 0.263916015625, 0.2344970703125, 0.049468994140625, 0.0970458984375, 0.182861328125, 0.0623779296875, 0.028594970703125, 0.057952880859375, 0.07464599609375, 0.121826171875, 0.04443359375, 0.023681640625, 0.034149169921875, 0.17883...
embed
40988989_c0
40988989
lisp
0
Title: Which solutions for background job processing exist for Common Lisp? Problem title: Which solutions for background job processing exist for Common Lisp? Tags: common-lisp, lisp, quicklisp Problem: Which solutions for background job processing exist for Common Lisp? I need a solution for background job processing...
Which solutions for background job processing exist for Common Lisp? Which solutions for background job processing exist for Common Lisp? common-lisp lisp quicklisp Which Common Lisp Which solutions for background job processing exist for Common Lisp? I need a solution for background job processing. A task queue, where...
[ 0.006134033203125, 0.0198974609375, 0.001220703125, 0.00726318359375, -0.02392578125, 0.0191650390625, -0.0030975341796875, -0.01177978515625, 0.01226806640625, -0.015869140625, -0.01483154296875, 0.0107421875, 0.006317138671875, 0.006011962890625, -0.005523681640625, 0.0281982421875, ...
[ 130078, 51347, 100, 76615, 12447, 9433, 214, 32316, 151301, 1261, 7008, 39210, 4086, 254, 400, 63773, 3871, 10, 29806, 66211, 41, 13388, 133325, 831, 148814, 12921, 116491, 14037, 4734, 113441, 65656, 71909, 959, 170198, 36049, 6044, 90638, 4...
[ 0.0701904296875, 0.2120361328125, 0.0579833984375, 0.2259521484375, 0.214599609375, 0.1806640625, 0.1270751953125, 0.1368408203125, 0.1995849609375, 0.2000732421875, 0.239013671875, 0.12939453125, 0.150390625, 0.1563720703125, 0.134033203125, 0.107666015625, 0.0701904296875, 0.0301...
embed
19560063_c0
19560063
lisp
0
Title: How to mutate global variable passed to and mutated inside function? Problem title: How to mutate global variable passed to and mutated inside function? Tags: common-lisp, lisp Problem: How to mutate global variable passed to and mutated inside function? I'm wondering how to permanently alter the value of a glob...
How to mutate global variable passed to and mutated inside function? How to mutate global variable passed to and mutated inside function? common-lisp lisp How test1 How to mutate global variable passed to and mutated inside function? I'm wondering how to permanently alter the value of a global variable from inside a fu...
[ -0.0008697509765625, 0.014404296875, -0.0017547607421875, -0.00738525390625, 0.0283203125, 0.00628662109375, -0.017578125, 0.01495361328125, 0.00787353515625, -0.0057373046875, 0.01611328125, 0.02685546875, 0.000934600830078125, 0.0003223419189453125, 0.049560546875, -0.001457214355468...
[ 11249, 47, 31158, 13, 7964, 77336, 115081, 136, 297, 46132, 32354, 39210, 4086, 254, 400, 7008, 3034, 149016, 3642, 28123, 538, 37264, 34292, 1295, 15490, 17368, 9351, 129551, 20594, 36917 ]
[ 0.1019287109375, 0.1439208984375, 0.2001953125, 0.16845703125, 0.18017578125, 0.254638671875, 0.129638671875, 0.1002197265625, 0.07672119140625, 0.1749267578125, 0.173828125, 0.0965576171875, 0.06109619140625, 0.129638671875, 0.07037353515625, 0.1500244140625, 0.130126953125, 0.029...
embed
16534125_c0
16534125
lisp
0
Title: Understanding objects with local state -- Scheme Problem title: Understanding objects with local state -- Scheme Tags: mit-scheme, scheme, lisp Problem: Understanding objects with local state -- Scheme i'm studying for my scheme final and objects with local state has always been a tough subject. Here is a questi...
Understanding objects with local state -- Scheme Understanding objects with local state -- Scheme mit-scheme scheme lisp Understanding Scheme Understanding objects with local state -- Scheme i'm studying for my scheme final and objects with local state has always been a tough subject. Here is a question from my final e...
[ 0.0096435546875, 0.0233154296875, 0.00109100341796875, 0.02490234375, 0.019775390625, 0.0113525390625, -0.0059814453125, -0.00970458984375, 0.0020294189453125, -0.0303955078125, 0.0032958984375, -0.01031494140625, 0.01043701171875, -0.002532958984375, 0.03125, -0.017822265625, -0.012...
[ 9626, 144057, 36746, 678, 4000, 11341, 34702, 282, 7, 491, 7560, 150370, 400, 7008, 2704, 11343, 143033, 9655, 42276, 3871, 4358, 15400, 3229, 10, 35839, 17932, 1733, 30646, 106, 16487, 18151, 653, 642, 8337, 442, 1031, 68746, 54, 37076, ...
[ 0.10516357421875, 0.130126953125, 0.1898193359375, 0.1041259765625, 0.1259765625, 0.1712646484375, 0.140625, 0.078125, 0.03839111328125, 0.145263671875, 0.0921630859375, 0.146484375, 0.04345703125, 0.143310546875, 0.09625244140625, 0.0872802734375, 0.059967041015625, 0.055969238281...
embed
12427818_c1
12427818
lisp
1
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test Lisp Web</title> </head> <body> <h1>Lisp web开发实例</h1> hi, <!-- TMPL_VAR name --> </body> </html> When I start-web, I can not access localhost:4444/hello, but I can not firgure where the problem is. I searched the Internet, some people s...
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test Lisp Web</title> </head> <body> <h1>Lisp web开发实例</h1> hi, <!-- TMPL_VAR name --> </body> </html> When I start-web, I can not access localhost:4444/hello, but I can not firgure where the problem is. I searched the Internet, some people s...
[ -0.005828857421875, 0.00921630859375, -0.007354736328125, 0.0106201171875, -0.0174560546875, -0.004913330078125, 0.00396728515625, -0.005401611328125, 0.005615234375, -0.054443359375, -0.00445556640625, -0.02490234375, 0.01361083984375, 0.0003223419189453125, 0.01470947265625, -0.01416...
[ 977, 35273, 1621, 3181, 25352, 196707, 10941, 22829, 7693, 21441, 3509, 1003, 420, 17376, 5440, 111337, 1261, 7008, 4002, 31251, 37873, 9506, 1467, 15160, 12272, 13506, 1274, 50523, 21130, 61784, 9351, 14847, 87, 4034, 14051, 831, 959, 17203,...
[ 0.019744873046875, 0.1435546875, 0.1300048828125, 0.0229949951171875, 0.09918212890625, 0.171630859375, 0.103515625, 0.00396728515625, 0.1297607421875, 0.08453369140625, 0.02899169921875, 0.008331298828125, 0.125, 0.150390625, 0.0140228271484375, 0.1776123046875, 0.185791015625, 0....
embed
63865300_c0
63865300
lisp
0
Title: Need help understanding an error (F3 &#x27;(6 3 4 1)) is not a real number Lisp code Problem title: Need help understanding an error (F3 &#x27;(6 3 4 1)) is not a real number Lisp code Tags: lisp, common-lisp, clisp Problem: Need help understanding an error (F3 '(6 3 4 1)) is not a real number Lisp code This is ...
Need help understanding an error (F3 &#x27;(6 3 4 1)) is not a real number Lisp code Need help understanding an error (F3 &#x27;(6 3 4 1)) is not a real number Lisp code lisp common-lisp clisp Need Lisp Need help understanding an error (F3 '(6 3 4 1)) is not a real number Lisp code This is my lisp code. I’m trying to s...
[ -0.00152587890625, 0.00543212890625, -0.0123291015625, -0.01092529296875, 0.0078125, 0.0238037109375, -0.00048065185546875, 0.005523681640625, 0.005584716796875, 0.005584716796875, 0.0062255859375, -0.04052734375, 0.00128173828125, 0.010986328125, 0.00921630859375, 0.0103759765625, 0...
[ 52889, 4358, 100094, 18499, 919, 363, 54764, 3768, 139303, 138, 201, 4879, 83, 959, 10, 2773, 14012, 1261, 7008, 18151, 16, 400, 39210, 4086, 254, 95701, 142, 15, 242, 3293, 759, 31577, 86869, 2967, 5646, 70, 87, 39, 179933, 2301, 18, ...
[ 0.0908203125, 0.140625, 0.1961669921875, 0.2274169921875, 0.14501953125, 0.25341796875, 0.01348876953125, 0.1473388671875, 0.1614990234375, 0.2239990234375, 0.258544921875, 0.1546630859375, 0.1348876953125, 0.2100830078125, 0.08453369140625, 0.1749267578125, 0.196533203125, 0.15002...
embed
74580351_c1
74580351
lisp
1
seems to me that I have been right at least in this assumption. Am I? I have tried: (setq my-date "20041002152952") (date-with-no-separator my-date) and by running clisp test.lisp I got the output 14 14 and then I have done some failing attempts that you can see below with ANY LUCK: (setq my-date "2004") ; (setf (get ...
seems to me that I have been right at least in this assumption. Am I? I have tried: (setq my-date "20041002152952") (date-with-no-separator my-date) and by running clisp test.lisp I got the output 14 14 and then I have done some failing attempts that you can see below with ANY LUCK: (setq my-date "2004") ; (setf (get ...
[ -0.01348876953125, 0.002593994140625, 0.00787353515625, 0.01263427734375, -0.02197265625, -0.003631591796875, 0.0010223388671875, 0.02734375, 0.01300048828125, -0.00885009765625, -0.01068115234375, -0.00048065185546875, -0.0264892578125, 0.0018768310546875, -0.004547119140625, -0.01507...
[ 37202, 163, 87, 765, 2809, 7108, 19713, 903, 237259, 2022, 37842, 3509, 864, 759, 17489, 30416, 3559, 304, 1837, 4235, 12744, 76228, 157, 184, 6276, 1290, 51042, 95701, 7008, 3034, 4086, 254, 4163, 140992, 616, 35782, 214, 81887, 93333, 3...
[ 0.08642578125, 0.022796630859375, 0.035247802734375, 0.05908203125, 0.0670166015625, 0.113525390625, 0.0604248046875, 0.0217132568359375, 0.1380615234375, 0.04705810546875, 0.1346435546875, 0.1312255859375, 0.1419677734375, 0.1265869140625, 0.2030029296875, 0.2369384765625, 0.0681152...
embed
42181933_c0
42181933
lisp
0
Title: Why is my lisp function returning &#x27;NIL&#x27; Problem title: Why is my lisp function returning &#x27;NIL&#x27; Tags: clisp, common-lisp, lisp, list Problem: Why is my lisp function returning 'NIL' I am writing a lisp function, that will determine if a word is a palindrome without using the 'reverse' function...
Why is my lisp function returning &#x27;NIL&#x27; Why is my lisp function returning &#x27;NIL&#x27; clisp common-lisp lisp list Why NIL Why is my lisp function returning 'NIL' I am writing a lisp function, that will determine if a word is a palindrome without using the 'reverse' function. I am fairly new to lisp and I ...
[ -0.007354736328125, 0.0078125, 0.00156402587890625, -0.000873565673828125, -0.00830078125, 0.038330078125, 0.0213623046875, -0.00185394287109375, -0.0037078857421875, -0.00634765625, 0.0185546875, -0.000934600830078125, 0.00390625, -0.01409912109375, -0.002960205078125, 0.0091552734375...
[ 44084, 83, 759, 400, 7008, 32354, 30646, 214, 3768, 7787, 866, 95701, 39210, 4086, 254, 5303, 541, 16444, 32562, 83324, 2174, 2565, 17923, 19, 102851, 15490, 17368, 107, 37676, 180663, 3525, 27689, 23755, 11907, 1733, 3034, 25647, 15400, 12...
[ 0.151123046875, 0.055572509765625, 0.0654296875, 0.1552734375, 0.205322265625, 0.193115234375, 0.176513671875, 0.067138671875, 0.0633544921875, 0.17431640625, 0.1934814453125, 0.05096435546875, 0.07330322265625, 0.097412109375, 0.123779296875, 0.107666015625, 0.1304931640625, 0.202...
embed
52545043_c0
52545043
lisp
0
Title: Lisp program that duplicates an element of a list using a list of integers Problem title: Lisp program that duplicates an element of a list using a list of integers Tags: syntax, common-lisp, duplicates, lisp, list Problem: Lisp program that duplicates an element of a list using a list of integers I'm working on...
Lisp program that duplicates an element of a list using a list of integers Lisp program that duplicates an element of a list using a list of integers syntax common-lisp duplicates lisp list a Lisp COPY Lisp program that duplicates an element of a list using a list of integers I'm working on a program that takes a list ...
[ -0.006866455078125, 0.0185546875, -0.00445556640625, 0.040283203125, -0.0177001953125, 0.02294921875, -0.00128936767578125, 0.00457763671875, 0.005645751953125, 0.00238037109375, 0.0002460479736328125, -0.0191650390625, 0.000720977783203125, -0.00138092041015625, -0.00341796875, -0.003...
[ 1261, 7008, 1528, 450, 171763, 1636, 12830, 5303, 17368, 892, 26255, 6002, 86531, 39210, 4086, 254, 400, 153003, 1723, 20697, 51776, 80854, 12638, 11651, 35509, 1505, 70541, 116, 2208, 111, 8035, 3674, 390, 2806, 765, 2060, 4734, 1916, 1100...
[ 0.148193359375, 0.212158203125, 0.2008056640625, 0.03314208984375, 0.2314453125, 0.1173095703125, 0.1728515625, 0.178466796875, 0.073486328125, 0.12158203125, 0.1090087890625, 0.06951904296875, 0.1058349609375, 0.1397705078125, 0.126708984375, 0.1708984375, 0.1300048828125, 0.11059...
embed
56330015_c0
56330015
lisp
0
Title: How to temporarily define a condition, within a block? Problem title: How to temporarily define a condition, within a block? Tags: control-flow, common-lisp, conditional-statements, lisp, exception Problem: How to temporarily define a condition, within a block? In Common Lisp (specifically SBCL in my case), it i...
How to temporarily define a condition, within a block? How to temporarily define a condition, within a block? control-flow common-lisp conditional-statements lisp exception How How to temporarily define a condition, within a block? In Common Lisp (specifically SBCL in my case), it is common to define exceptions (known ...
[ 0.00653076171875, 0.0225830078125, -0.01263427734375, -0.0238037109375, 0.01068115234375, -0.00141143798828125, 0.0040283203125, -0.00433349609375, 0.00579833984375, -0.013427734375, -0.004058837890625, 0.0150146484375, 0.0030670166015625, -0.0172119140625, 0.0174560546875, 0.009582519...
[ 11249, 142458, 20102, 61924, 35431, 28032, 46389, 6226, 118664, 39210, 4086, 254, 289, 61340, 400, 7008, 131527, 151301, 1261, 90944, 37486, 126940, 111789, 7964, 43581, 98169, 3917, 10, 4000, 70820, 49666, 170176, 21286, 82230, 678, 34292, 165...
[ 0.05059814453125, 0.21337890625, 0.139892578125, 0.2376708984375, 0.26904296875, 0.16162109375, 0.2061767578125, 0.127685546875, 0.1552734375, 0.07318115234375, 0.057464599609375, 0.09423828125, 0.025146484375, 0.081298828125, 0.041717529296875, 0.17041015625, 0.20263671875, 0.1052...
embed
19160858_c1
19160858
lisp
1
this expression (by calling parse ) causes an error like the one above, even though the function is definitely defined within the very same macro expansion: (DEFUN #:G75735 (#:G75742 #:G75743 #:G75744) (DECLARE (OPTIMIZE (DEBUG 2))) (DECLARE (LEXER #:G75742) (CONS #:G75743 #:G75744)) (MULTIPLE-VALUE-BIND (#:G75745 #:G...
this expression (by calling parse ) causes an error like the one above, even though the function is definitely defined within the very same macro expansion: (DEFUN #:G75735 (#:G75742 #:G75743 #:G75744) (DECLARE (OPTIMIZE (DEBUG 2))) (DECLARE (LEXER #:G75742) (CONS #:G75743 #:G75744)) (MULTIPLE-VALUE-BIND (#:G75745 #:G...
[ 0.01153564453125, 0.0106201171875, -0.000881195068359375, 0.0087890625, -0.01068115234375, 0.01263427734375, -0.0068359375, -0.007293701171875, 0.00762939453125, -0.031982421875, -0.0023956298828125, 0.00775146484375, 0.00823974609375, -0.0191650390625, 0.0213623046875, -0.000625610351...
[ 903, 125195, 159029, 366, 184, 113660, 142, 18499, 1884, 36917, 32354, 58621, 61924, 71, 28032, 4552, 5701, 111789, 14700, 66, 6889, 202001, 14006, 724, 178785, 5843, 6873, 184376, 11548, 116553, 8399, 37486, 23711, 20880, 618, 62350, 19157, ...
[ 0.08056640625, 0.24658203125, 0.11669921875, 0.129150390625, 0.1705322265625, 0.1116943359375, 0.0166015625, 0.220947265625, 0.032684326171875, 0.0264434814453125, 0.206787109375, 0.07476806640625, 0.1683349609375, 0.012054443359375, 0.0400390625, 0.003753662109375, 0.1260986328125, ...
embed
58271454_c0
58271454
lisp
0
Title: Scheme - Deriviative using table Problem title: Scheme - Deriviative using table Tags: lisp, racket, scheme Problem: Scheme - Deriviative using table I am trying to get the derivative in scheme using the code below. Would anyone be able to tell me where I am going wrong? I have been trying to figure it out for a...
Scheme - Deriviative using table Scheme - Deriviative using table lisp racket scheme table Scheme Deriviative BINARY Scheme - Deriviative using table I am trying to get the derivative in scheme using the code below. Would anyone be able to tell me where I am going wrong? I have been trying to figure it out for a while ...
[ 0.025146484375, 0.0242919921875, 0.0020904541015625, -0.007354736328125, 0.01324462890625, 0.00015354156494140625, 0.00421142578125, 0.0111083984375, 0.00135040283203125, -0.024169921875, -0.0213623046875, -0.004180908203125, -0.009521484375, -0.003936767578125, -0.0093994140625, 0.021...
[ 34702, 282, 1310, 14681, 45023, 17368, 23180, 400, 7008, 673, 27853, 150370, 119603, 123275, 31577, 2046, 70, 30057, 4935, 23, 18151, 35064, 14192, 7730, 44691, 26366, 12960, 11675, 32354, 25632, 18499, 107730, 71, 363, 242, 88746, 116, 1022 ...
[ 0.191162109375, 0.1453857421875, 0.09967041015625, 0.17578125, 0.179931640625, 0.0789794921875, 0.207763671875, 0.0338134765625, 0.1544189453125, 0.0465087890625, 0.1488037109375, 0.222412109375, 0.096435546875, 0.0970458984375, 0.06280517578125, 0.08355712890625, 0.03924560546875, ...
embed
66064278_c0
66064278
lisp
0
Title: Trying to compute gross pay Problem title: Trying to compute gross pay Tags: clisp, common-lisp, lisp Problem: Trying to compute gross pay I'm trying to create a program that will compute for weekly the gross-pay of an employee. and here's my code (princ"Enter working hours: ") (defparameter workhours(read)) (if...
Trying to compute gross pay Trying to compute gross pay clisp common-lisp lisp Trying Enter HPrate Regular Gross Pay Hours Rate Overtime Over Time Trying to compute gross pay I'm trying to create a program that will compute for weekly the gross-pay of an employee. and here's my code I'm having difficulty in constructin...
[ -0.00029754638671875, 0.0038299560546875, 0.0035400390625, -0.009765625, -0.01312255859375, 0.031005859375, 0.00140380859375, 0.01495361328125, 0.024658203125, 0.00872802734375, -0.004058837890625, -0.0169677734375, -0.0169677734375, -0.00087738037109375, -0.00885009765625, 0.012634277...
[ 40858, 9969, 6743, 55215, 8783, 214, 95701, 7008, 39210, 4086, 254, 400, 60816, 17957, 47881, 78822, 17166, 133250, 131182, 9578, 6032, 19055, 31577, 28282, 1528, 100, 5895, 538, 21284, 188183, 3688, 7, 759, 18151, 34844, 64549, 903, 1112, ...
[ 0.08221435546875, 0.09759521484375, 0.1265869140625, 0.1597900390625, 0.208251953125, 0.0286407470703125, 0.10552978515625, 0.1954345703125, 0.10626220703125, 0.088623046875, 0.1488037109375, 0.1024169921875, 0.0709228515625, 0.208251953125, 0.1390380859375, 0.11383056640625, 0.17724...
embed
61072023_c0
61072023
lisp
0
Title: Lisp Loop Largest Number Problem title: Lisp Loop Largest Number Tags: lisp, common-lisp, loops Problem: Lisp Loop Largest Number I've been fiddling with Lisp programs for a little while and one thing that I can never seem to figure out is how to use a loop on a list inside a function. I'm trying to create a fun...
Lisp Loop Largest Number Lisp Loop Largest Number lisp common-lisp loops Lisp Loop Largest Number a_list Lisp Loop Largest Number I've been fiddling with Lisp programs for a little while and one thing that I can never seem to figure out is how to use a loop on a list inside a function. I'm trying to create a function t...
[ 0.005706787109375, 0.0228271484375, 0.01068115234375, 0.0264892578125, -0.006561279296875, 0.0283203125, 0.007232666015625, 0.0162353515625, 0.0302734375, -0.0301513671875, 0.000209808349609375, -0.023193359375, -0.0186767578125, 0.005340576171875, 0.017578125, 0.00077056884765625, 0...
[ 1261, 7008, 199694, 181268, 271, 103332, 400, 39210, 4086, 254, 40956, 10, 6562, 4028, 2069, 103391, 10176, 12960, 831, 8306, 48903, 26366, 3642, 4527, 98, 5303, 46132, 32354, 31577, 28282, 5646, 237, 171859, 17368, 54, 27, 2174, 63805, 387...
[ 0.1439208984375, 0.1953125, 0.2091064453125, 0.155029296875, 0.09228515625, 0.1409912109375, 0.1024169921875, 0.09228515625, 0.105224609375, 0.175537109375, 0.261962890625, 0.06591796875, 0.18359375, 0.016754150390625, 0.01025390625, 0.1080322265625, 0.014129638671875, 0.0231018066...
embed
14647798_c0
14647798
lisp
0
Title: undefined variable in let* Problem title: undefined variable in let* Tags: let, lisp, variables Problem: undefined variable in let* For some reason, when I try to C-c C-k the program containing the code: (defun give-rank-vec (file-1 file-2) (let* ((cm-size (array-dimension (Swc (make-ff-array file-1) (make-ff-ar...
undefined variable in let* undefined variable in let* let lisp variables file-1 file-2 Swc Sbc undefined variable in let* For some reason, when I try to C-c C-k the program containing the code: I get an error message saying that "the variable rank-dump-vec is undefined". I'm not sure why this is- I believe the backquot...
[ 0.01446533203125, 0.022705078125, -0.0262451171875, 0.0093994140625, -0.0086669921875, 0.003021240234375, -0.01275634765625, 0.004913330078125, -0.004302978515625, -0.00128173828125, -0.0169677734375, -0.0184326171875, 0.0045166015625, -0.01141357421875, -0.019287109375, -0.0224609375,...
[ 9232, 5983, 297, 77336, 2633, 1639, 23, 400, 7008, 11435, 5428, 434, 238, 65037, 9790, 313, 9, 92, 1528, 70541, 18151, 18499, 26008, 2347, 30648, 693, 2676, 35259, 83, 4420, 68726, 96117, 14315, 132283 ]
[ 0.1314697265625, 0.20068359375, 0.11846923828125, 0.28857421875, 0.2001953125, 0.180419921875, 0.00940704345703125, 0.0789794921875, 0.1795654296875, 0.10809326171875, 0.01029205322265625, 0.0178070068359375, 0.06414794921875, 0.12109375, 0.050323486328125, 0.0548095703125, 0.0305480...
embed
25601022_c0
25601022
lisp
0
Title: Creating a list of lists passed as arguments to the function in LISP Problem title: Creating a list of lists passed as arguments to the function in LISP Tags: common-lisp, list, lisp Problem: Creating a list of lists passed as arguments to the function in LISP I'm writing a code in LISP where I am taking 3 diffe...
Creating a list of lists passed as arguments to the function in LISP Creating a list of lists passed as arguments to the function in LISP common-lisp list lisp Creating LISP list1 CL-USER Creating a list of lists passed as arguments to the function in LISP I'm writing a code in LISP where I am taking 3 different lists ...
[ 0.0228271484375, 0.01171875, -0.0005035400390625, -0.01361083984375, 0.003082275390625, 0.031494140625, 0.004974365234375, 0.000759124755859375, -0.0169677734375, -0.0277099609375, -0.00335693359375, -0.0220947265625, 0.006866455078125, 0.00152587890625, -0.002044677734375, 0.011108398...
[ 56781, 5303, 111, 7, 115081, 10750, 47, 32354, 16970, 9434, 237, 39210, 4086, 254, 400, 7008, 46323, 1062, 50184, 32562, 18151, 35971, 138, 12921, 1295, 38937, 3444, 28282, 3525, 8781, 552, 104851, 140992, 54397, 11675, 64457, 68772, 71, 83...
[ 0.1309814453125, 0.214599609375, 0.042633056640625, 0.057342529296875, 0.09765625, 0.2052001953125, 0.05377197265625, 0.1376953125, 0.1290283203125, 0.19384765625, 0.0435791015625, 0.064453125, 0.0792236328125, 0.134033203125, 0.0789794921875, 0.129150390625, 0.0491943359375, 0.091...
embed
28473770_c0
28473770
lisp
0
Title: Basic Lisp function - sum of even minus sum of odd Problem title: Basic Lisp function - sum of even minus sum of odd Tags: common-lisp, lisp, sum Problem: Basic Lisp function - sum of even minus sum of odd I'm trying to write a function which takes as parameter a List and calculates the sum of even numbers minus...
Basic Lisp function - sum of even minus sum of odd Basic Lisp function - sum of even minus sum of odd common-lisp lisp sum Basic Lisp List ATOM CAR CDR LISTP Basic Lisp function - sum of even minus sum of odd I'm trying to write a function which takes as parameter a List and calculates the sum of even numbers minus the...
[ -0.021484375, 0.041748046875, 0.0093994140625, -0.0010833740234375, -0.0303955078125, 0.02490234375, 0.0019378662109375, 0.0146484375, 0.0174560546875, -0.006195068359375, 0.01171875, -0.032958984375, 0.0111083984375, -0.0034637451171875, 0.006622314453125, 0.02197265625, -0.00650024...
[ 91692, 1261, 7008, 32354, 10554, 111, 3853, 26948, 70270, 39210, 4086, 254, 400, 32036, 117032, 42476, 23498, 195977, 683, 31577, 33022, 51776, 237, 171859, 74481, 101935, 208124, 110, 29786, 15400, 959, 20697, 84751, 5122, 44691 ]
[ 0.159423828125, 0.1407470703125, 0.1990966796875, 0.178466796875, 0.1949462890625, 0.07080078125, 0.181396484375, 0.2315673828125, 0.1883544921875, 0.0994873046875, 0.1065673828125, 0.12890625, 0.1060791015625, 0.1697998046875, 0.12432861328125, 0.113525390625, 0.09564208984375, 0....
embed
40812080_c0
40812080
lisp
0
Title: Nested Loops Using Loop Macro in Common Lisp Problem title: Nested Loops Using Loop Macro in Common Lisp Tags: macros, common-lisp, lisp, loops, nested Problem: Nested Loops Using Loop Macro in Common Lisp I am trying to implement a basic nested loop in CL, but the Loop macro is resisting this. Basically, I woul...
Nested Loops Using Loop Macro in Common Lisp Nested Loops Using Loop Macro in Common Lisp macros common-lisp lisp loops nested Nested Loops Using Loop Macro Common Lisp NIL Nested Loops Using Loop Macro in Common Lisp I am trying to implement a basic nested loop in CL, but the Loop macro is resisting this. Basically, I...
[ 0.01611328125, 0.009521484375, 0.0023956298828125, 0.01092529296875, -0.010986328125, 0.037841796875, -0.009033203125, 0.0018157958984375, 0.00830078125, -0.0223388671875, -0.0162353515625, -0.019775390625, 0.0087890625, 0.0012969970703125, -0.000606536865234375, -0.0166015625, -0.00...
[ 28701, 71, 199694, 345, 6953, 4727, 516, 23, 151301, 1261, 7008, 111789, 39210, 4086, 254, 400, 40956, 8512, 541, 16444, 31577, 29479, 62822, 46323, 1284, 39746, 214, 903, 2806, 1884, 7413, 756, 7722, 38742, 5691, 4803, 217, 101935, 183278,...
[ 0.25146484375, 0.14892578125, 0.226806640625, 0.0806884765625, 0.03057861328125, 0.08575439453125, 0.0733642578125, 0.0228729248046875, 0.134521484375, 0.1256103515625, 0.1744384765625, 0.1817626953125, 0.10614013671875, 0.1072998046875, 0.1312255859375, 0.09521484375, 0.219848632812...
embed
47857414_c0
47857414
lisp
0
Title: Lisp board count pieces Problem title: Lisp board count pieces Tags: lisp, function, common-lisp Problem: Lisp board count pieces I need to make a function in lisp that counts the pieces in my board. Let me explain my issue/game: i have a board (10x10) like so: ( (0 0 0 0 0 0 0 0 0 0) (0 0 0 0 0 0 0 0 0 0) (0 0 ...
Lisp board count pieces Lisp board count pieces lisp function common-lisp Lisp Lisp board count pieces I need to make a function in lisp that counts the pieces in my board. Let me explain my issue/game: i have a board (10x10) like so: in this board we will represent two types of pieces: 1 by 1 squares 2 by 2 squares th...
[ 0.00122833251953125, 0.0009765625, -0.0223388671875, -0.01141357421875, -0.0123291015625, 0.00775146484375, -0.004241943359375, -0.0008697509765625, 0.003814697265625, -0.03857421875, -0.0184326171875, 0.00927734375, 0.0264892578125, -0.00982666015625, -0.005401611328125, 0.00689697265...
[ 1261, 7008, 45443, 54529, 126371, 400, 32354, 39210, 4086, 254, 3871, 23, 73342, 35311, 15094, 425, 50258, 33636, 6626, 52895, 106, 390, 108047, 116, 19069, 27781, 22759, 4317, 1272, 5759, 5428, 5941, 10644, 63847, 765, 35839, 71013, 111242, ...
[ 0.1519775390625, 0.199951171875, 0.2105712890625, 0.204833984375, 0.2509765625, 0.1314697265625, 0.1851806640625, 0.09002685546875, 0.1021728515625, 0.1226806640625, 0.032196044921875, 0.03387451171875, 0.0279083251953125, 0.06048583984375, 0.04913330078125, 0.0306549072265625, 0.105...
embed
12045299_c0
12045299
lisp
0
Title: What is difference between tail calls and tail recursion? Problem title: What is difference between tail calls and tail recursion? Tags: scheme, lisp Problem: What is difference between tail calls and tail recursion? I understand that tail recursion, is a special case where a function makes tail calls to itself....
What is difference between tail calls and tail recursion? What is difference between tail calls and tail recursion? scheme lisp What What is difference between tail calls and tail recursion? I understand that tail recursion, is a special case where a function makes tail calls to itself. But I do not understand how tail...
[ 0.00860595703125, 0.0027313232421875, 0.00567626953125, 0.011962890625, -0.004241943359375, -0.00872802734375, -0.00396728515625, -0.025146484375, -0.00726318359375, 0.020263671875, 0.0093994140625, -0.0291748046875, -0.01202392578125, 0.01226806640625, 0.022705078125, -0.0086059570312...
[ 4865, 83, 60212, 17721, 46741, 11782, 7, 136, 195625, 1830, 150370, 400, 7008, 28219, 5361, 7225, 32354, 30482, 47, 68034, 12921, 36290, 56, 5844, 46876, 29479, 384, 9688, 9874, 379, 26265, 43938, 1884, 34702, 282, 26950, 959, 18588, 177261...
[ 0.0523681640625, 0.06353759765625, 0.2376708984375, 0.1611328125, 0.27783203125, 0.265625, 0.10662841796875, 0.1016845703125, 0.2459716796875, 0.16650390625, 0.1650390625, 0.052947998046875, 0.1455078125, 0.069580078125, 0.055419921875, 0.03289794921875, 0.1588134765625, 0.08099365...
embed
12800789_c1
12800789
lisp
1
4) (5 2)) How should I edit the code to make it work right? UPD (29.10.12): My final solution: (define A '(a (b (c (d e (f) k 1 5) e)))) (define (atom? x) (and (not (pair? x)) (not (null? x)))) (define (unite L res) (if (null? L) (reverse res) (unite (cdr L) (cons (car L) res)))) (define (count-atoms L answ) (cond ((nu...
4) (5 2)) How should I edit the code to make it work right? UPD (29.10.12): My final solution: (define A '(a (b (c (d e (f) k 1 5) e)))) (define (atom? x) (and (not (pair? x)) (not (null? x)))) (define (unite L res) (if (null? L) (reverse res) (unite (cdr L) (cons (car L) res)))) (define (count-atoms L answ) (cond ((nu...
[ 0.00634765625, 0.037109375, -0.004730224609375, 0.01312255859375, 0.00927734375, 0.0078125, -0.0260009765625, -0.0052490234375, 0.00946044921875, -0.0458984375, 0.0079345703125, -0.01458740234375, 0.01708984375, 0.006988525390625, 0.00115203857421875, -0.001953125, -0.002655029296875...
[ 13956, 11516, 4958, 16, 11249, 5608, 87, 27211, 70, 18151, 47, 3249, 442, 4488, 7108, 27560, 397, 76152, 10179, 55102, 2646, 2704, 29806, 112, 64552, 62, 242, 11, 275, 15, 238, 71, 28, 420, 472, 106, 21162, 80126, 5928, 1022, 2940, 10...
[ 0.17724609375, 0.16064453125, 0.1524658203125, 0.0160064697265625, 0.0772705078125, 0.0965576171875, 0.05902099609375, 0.255126953125, 0.06744384765625, 0.272705078125, 0.02349853515625, 0.098876953125, 0.07843017578125, 0.139892578125, 0.178955078125, 0.0273284912109375, 0.047546386...
embed
39943429_c1
39943429
lisp
1
(logior ws_visible ws_child lbs_notify) cw_usedefault cw_usedefault cw_usedefault cw_usedefault 0 0 200 100))) (fli:with-foreign-string (msg ec bc :external-format (external-format)) "item1" (sendmessage lstbx LB_ADDSTRING 0 msg )))))) ;;0 0 (GetModuleHandle-current 0) 0)))) ;;(createwindowex "listbox4test" hwnd)) ;;(...
(logior ws_visible ws_child lbs_notify) cw_usedefault cw_usedefault cw_usedefault cw_usedefault 0 0 200 100))) (fli:with-foreign-string (msg ec bc :external-format (external-format)) "item1" (sendmessage lstbx LB_ADDSTRING 0 msg )))))) ;;0 0 (GetModuleHandle-current 0) 0)))) ;;(createwindowex "listbox4test" hwnd)) ;;(...
[ 0.0211181640625, 0.0142822265625, -0.0040283203125, -0.004425048828125, 0.00176239013671875, 0.01275634765625, 0.0103759765625, 0.0096435546875, 0.0031585693359375, -0.025390625, -0.000949859619140625, -0.0286865234375, 0.00830078125, 0.01251220703125, -0.0026397705078125, 0.0084228515...
[ 15, 128178, 42, 148, 7, 99017, 206, 38472, 96, 16145, 10869, 40383, 434, 4032, 214810, 757, 1781, 805, 32149, 36361, 76228, 2472, 38529, 91693, 4432, 177, 50061, 65037, 31586, 51727, 217, 195, 418, 39285, 74157, 425, 48097, 12351, 90345, ...
[ 0.03570556640625, 0.1981201171875, 0.1610107421875, 0.1180419921875, 0.1153564453125, 0.295166015625, 0.110595703125, 0.173583984375, 0.056640625, 0.174560546875, 0.14501953125, 0.1563720703125, 0.142333984375, 0.126220703125, 0.25341796875, 0.1087646484375, 0.105224609375, 0.15332...
embed
26706107_c0
26706107
lisp
0
Title: Capture value of variable on lambda creation Problem title: Capture value of variable on lambda creation Tags: lambda, lisp, scope, variables, common-lisp Problem: Capture value of variable on lambda creation If we assign a value to a variable: (setf i 10) and then a create a lambda function closing over it: (se...
Capture value of variable on lambda creation Capture value of variable on lambda creation lambda lisp scope variables common-lisp Capture Capture value of variable on lambda creation If we assign a value to a variable: and then a create a lambda function closing over it: We have the behavior Instead, I would like the f...
[ 0.01416015625, 0.00091552734375, -0.0157470703125, 0.00506591796875, -0.0101318359375, 0.006134033203125, 0.010009765625, 0.019775390625, 0.00098419189453125, -0.031982421875, -0.0206298828125, -0.01708984375, -0.0155029296875, -0.012451171875, 0.037109375, 0.004150390625, -0.0201416...
[ 14304, 6644, 34292, 77336, 98, 21, 6492, 85, 166635, 400, 7008, 70820, 39210, 4086, 254, 95486, 28282, 32354, 20450, 6953, 645, 123166, 2806, 1884, 47, 11343, 30646, 111, 17, 1733, 75935, 179769, 15504, 3934, 15659, 289, 46132, 14361, 7722,...
[ 0.1357421875, 0.0897216796875, 0.1624755859375, 0.2314453125, 0.00836181640625, 0.069580078125, 0.201904296875, 0.132568359375, 0.1513671875, 0.084716796875, 0.2098388671875, 0.1156005859375, 0.112060546875, 0.097412109375, 0.1488037109375, 0.167724609375, 0.1451416015625, 0.156127...
embed
9832069_c0
9832069
lisp
0
Title: Neater way of prying a DECLARE from a &amp;body Problem title: Neater way of prying a DECLARE from a &amp;body Tags: common-lisp, lisp, macros Problem: Neater way of prying a DECLARE from a &body I'm writing a macro that generates a DEFUN call—accordingly, I want to ensure that any DECLARE s in the body to the m...
Neater way of prying a DECLARE from a &amp;body Neater way of prying a DECLARE from a &amp;body common-lisp lisp macros a Neater DECLARE DEFUN cl:declare bordeaux-threads:with-lock-held Neater way of prying a DECLARE from a &body I'm writing a macro that generates a DEFUN call—accordingly, I want to ensure that any DEC...
[ 0.003997802734375, 0.029296875, -0.0016632080078125, -0.00872802734375, -0.0189208984375, 0.0120849609375, 0.00078582763671875, -0.0284423828125, 0.007659912109375, -0.024658203125, -0.00897216796875, 0.026123046875, -0.01470947265625, -0.0240478515625, 0.0120849609375, 0, -0.0222167...
[ 799, 46429, 3917, 78829, 214, 125508, 16271, 647, 1295, 25133, 37873, 619, 39210, 4086, 254, 400, 7008, 111789, 202001, 14006, 33139, 50718, 38103, 38638, 10442, 39116, 76228, 21135, 100038, 32562, 139392, 11782, 3444, 63284, 2499, 91, 23, 14...
[ 0.1522216796875, 0.252197265625, 0.09283447265625, 0.205810546875, 0.051361083984375, 0.162353515625, 0.228271484375, 0.1898193359375, 0.16796875, 0.04571533203125, 0.2286376953125, 0.0911865234375, 0.08984375, 0.0869140625, 0.1368408203125, 0.06988525390625, 0.1539306640625, 0.201...
embed
14254110_c0
14254110
lisp
0
Title: Iteratively create local variables? Problem title: Iteratively create local variables? Tags: common-lisp, macros, lisp, let Problem: Iteratively create local variables? I have created a function that takes an arbitrarily long list of numbers as an argument. From this list, I wish to create matrices locally using...
Iteratively create local variables? Iteratively create local variables? common-lisp macros lisp let Iteratively arg2 Iteratively create local variables? I have created a function that takes an arbitrarily long list of numbers as an argument. From this list, I wish to create matrices locally using let . The matrices wil...
[ 0.00628662109375, -0.0034942626953125, -0.019287109375, 0.007568359375, 0.00007104873657226562, 0.0172119140625, -0.000331878662109375, 0.0130615234375, 0.01953125, -0.005889892578125, -0.01043701171875, -0.00518798828125, 0.0274658203125, -0.01385498046875, -0.0033111572265625, -0.016...
[ 87, 720, 45023, 538, 28282, 4000, 77336, 7, 39210, 4086, 254, 111789, 400, 7008, 2633, 79459, 304, 75935, 32354, 51776, 61799, 416, 4989, 5303, 101935, 10750, 28090, 32599, 50944, 5170, 17368, 15555, 316, 35509, 14012, 5117, 425, 158208, 66...
[ 0.0254364013671875, 0.168212890625, 0.1630859375, 0.013275146484375, 0.18701171875, 0.182373046875, 0.24365234375, 0.08746337890625, 0.06549072265625, 0.06292724609375, 0.1361083984375, 0.1864013671875, 0.089599609375, 0.17822265625, 0.244140625, 0.10791015625, 0.0936279296875, 0.0...
embed
17665322_c1
17665322
lisp
1
-convert #'identity)) (with-open-file (fout fileout :direction :output :if-exists :supersede :external-format :utf8) (with-open-file (fin filein :external-format :utf8) (loop for line = (read-line fin nil) while line do (handler-case (let* ((line (ppcre:regex-replace "^.*{jsonTweet=" line "{\"jsonTweet\":")) (data (get...
-convert #'identity)) (with-open-file (fout fileout :direction :output :if-exists :supersede :external-format :utf8) (with-open-file (fin filein :external-format :utf8) (loop for line = (read-line fin nil) while line do (handler-case (let* ((line (ppcre:regex-replace "^.*{jsonTweet=" line "{\"jsonTweet\":")) (data (get...
[ 0, -0.01080322265625, 0.01104736328125, 0.01348876953125, 0.01361083984375, 0.000171661376953125, 0.01177978515625, 0.028564453125, -0.01312255859375, 0.01239013671875, -0.0017852783203125, 0.0159912109375, -0.005340576171875, -0.02001953125, 0.043212890625, 0.0103759765625, 0.017578...
[ 20, 2271, 11549, 468, 25, 52128, 2481, 16, 15, 76228, 59636, 29822, 420, 6056, 11435, 936, 58994, 7077, 3190, 54376, 59104, 184, 112, 31586, 51727, 1003, 50490, 5983, 73, 152, 28354, 13315, 39116, 2256, 2270, 17324, 12960, 54, 74258, 5843...
[ 0.06365966796875, 0.1390380859375, 0.263916015625, 0.08001708984375, 0.047119140625, 0.2734375, 0.207275390625, 0.0279083251953125, 0.035430908203125, 0.137939453125, 0.1795654296875, 0.1558837890625, 0.0970458984375, 0.160888671875, 0.15966796875, 0.050537109375, 0.095458984375, 0...
embed
36774086_c0
36774086
lisp
0
Title: Convert code from Common Lisp to Scheme Problem title: Convert code from Common Lisp to Scheme Tags: lisp, common-lisp, mit-scheme, scheme Problem: Convert code from Common Lisp to Scheme I made a program in Common Lisp and I am trying to make it work in Scheme as well, but it is not working. I am new to Scheme ...
Convert code from Common Lisp to Scheme Convert code from Common Lisp to Scheme lisp common-lisp mit-scheme scheme Common Convert Lisp Scheme Convert code from Common Lisp to Scheme I made a program in Common Lisp and I am trying to make it work in Scheme as well, but it is not working. I am new to Scheme and MIT/GNU S...
[ -0.013916015625, 0.04248046875, -0.0012359619140625, 0.025146484375, -0.015869140625, -0.01495361328125, -0.00110626220703125, 0.0079345703125, 0.00188446044921875, -0.025634765625, 0.00150299072265625, 0.0166015625, -0.02197265625, 0.006561279296875, -0.01190185546875, 0.0019989013671...
[ 1657, 11549, 18151, 1295, 151301, 1261, 7008, 47, 34702, 282, 400, 39210, 4086, 254, 491, 7560, 150370, 10, 1528, 23, 31577, 4488, 237, 4, 1284, 83, 959, 20697, 3525, 78999, 33261, 11853, 5885, 18244, 7, 11814, 100, 2367, 2046, 98 ]
[ 0.0677490234375, 0.158203125, 0.2325439453125, 0.0789794921875, 0.19091796875, 0.16845703125, 0.2098388671875, 0.09185791015625, 0.225341796875, 0.1912841796875, 0.1141357421875, 0.13916015625, 0.103515625, 0.13037109375, 0.133056640625, 0.1448974609375, 0.2039794921875, 0.03424072...
embed
23556827_c0
23556827
lisp
0
Title: how to get defun to accept a list as its argument Problem title: how to get defun to accept a list as its argument Tags: lisp Problem: how to get defun to accept a list as its argument I am trying to learn lisp and searched the question and found a response I couldnt understand. Could someone help me with what I...
how to get defun to accept a list as its argument how to get defun to accept a list as its argument lisp Append ROTATE SETQ how to get defun to accept a list as its argument I am trying to learn lisp and searched the question and found a response I couldnt understand. Could someone help me with what I am trying. SO I h...
[ 0.001708984375, 0.017822265625, 0.02099609375, 0.00872802734375, -0.0086669921875, 0.003570556640625, -0.0233154296875, 0.0021820068359375, 0.0135498046875, -0.01025390625, 0.00106048583984375, 0.004638671875, -0.004669189453125, 0.010986328125, -0.016357421875, 0.026611328125, -0.00...
[ 3642, 47, 2046, 8, 16498, 26946, 5303, 237, 6863, 10750, 400, 7008, 5659, 627, 54496, 8241, 128565, 2737, 10, 30698, 28219, 31577, 75935, 62822, 32354, 146283, 67, 866, 5646, 30646, 3525, 36770, 5117, 12830, 24209, 4568, 831, 18, 5423, 33...
[ 0.078125, 0.0848388671875, 0.119384765625, 0.2105712890625, 0.264892578125, 0.232666015625, 0.2200927734375, 0.121826171875, 0.10888671875, 0.24169921875, 0.1219482421875, 0.1798095703125, 0.04144287109375, 0.0882568359375, 0.14306640625, 0.1300048828125, 0.1781005859375, 0.1921386...
embed
8017532_c0
8017532
lisp
0
Title: finding the character frequency in common lisp Problem title: finding the character frequency in common lisp Tags: lisp, common-lisp Problem: finding the character frequency in common lisp For example if i enter sequence of characters "Hello world" H = 1 e = 1 l = 3 o - 2 r = 1 w = 1 d = 1 can some one help me I...
finding the character frequency in common lisp finding the character frequency in common lisp lisp common-lisp 32 1 test.lisp finding the character frequency in common lisp For example if i enter sequence of characters "Hello world" H = 1 e = 1 l = 3 o - 2 r = 1 w = 1 d = 1 can some one help me I found this code online...
[ 0.0247802734375, -0.0009307861328125, -0.0135498046875, 0.0076904296875, 0.0107421875, -0.014892578125, 0.0166015625, -0.003936767578125, 0.001373291015625, -0.00885009765625, -0.00836181640625, -0.00445556640625, 0.00933837890625, 0.0289306640625, -0.01129150390625, -0.01312255859375,...
[ 90791, 70, 62816, 12478, 944, 27771, 23, 39210, 400, 7008, 4086, 254, 2789, 106, 3034, 30957, 3956, 124850, 841, 13817, 8999, 572, 2203, 28, 96, 138, 36, 1690, 148, 104, 4358, 18151, 28219 ]
[ 0.1177978515625, 0.028778076171875, 0.2349853515625, 0.18359375, 0.1748046875, 0.10546875, 0.057098388671875, 0.1717529296875, 0.1357421875, 0.187744140625, 0.0648193359375, 0.1376953125, 0.1138916015625, 0.04742431640625, 0.147705078125, 0.1370849609375, 0.00384521484375, 0.178222...
embed
78109957_c1
78109957
lisp
1
x acc))) ((null alist) acc) (format t "current: ~a~%" x))) --output:-- CL-USER> (my-reverse '(10 20 30)) current: 10 current: 10 current: 10 (10 10 10) Okay, x needs a stepper: (defun my-reverse (my-list) (do* ((alist my-list (cdr alist)) (x (car alist) (car alist)) (acc nil (cons x acc))) ((null alist) acc) (format t...
x acc))) ((null alist) acc) (format t "current: ~a~%" x))) --output:-- CL-USER> (my-reverse '(10 20 30)) current: 10 current: 10 current: 10 (10 10 10) Okay, x needs a stepper: (defun my-reverse (my-list) (do* ((alist my-list (cdr alist)) (x (car alist) (car alist)) (acc nil (cons x acc))) ((null alist) acc) (format t...
[ -0.005523681640625, 0.0380859375, 0.01202392578125, 0.0191650390625, -0.007232666015625, 0.04052734375, 0.01513671875, 0.0208740234375, 0.01708984375, -0.0106201171875, 0.018798828125, 0.034912109375, 0.004302978515625, -0.0004482269287109375, 0.019287109375, -0.00060272216796875, -0...
[ 1022, 50015, 32149, 139550, 10, 6562, 51727, 808, 163812, 11, 3949, 6056, 46323, 9, 1062, 50184, 1176, 107, 37676, 90980, 387, 496, 43581, 209, 15094, 112285, 27117, 2288, 8079, 112, 16498, 759, 246, 7569, 425, 3284, 10060, 17324, 25553, ...
[ 0.160400390625, 0.2086181640625, 0.09844970703125, 0.1947021484375, 0.093017578125, 0.22998046875, 0.1790771484375, 0.0850830078125, 0.1712646484375, 0.038360595703125, 0.07135009765625, 0.052978515625, 0.146728515625, 0.04150390625, 0.19873046875, 0.204345703125, 0.12158203125, 0....
embed
20095818_c0
20095818
lisp
0
Title: matcher association list lisp Problem title: matcher association list lisp Tags: lisp, matcher Problem: matcher association list lisp Hi everyone I am new to programming and I have to work with association list like this ((course (john .math) (jim .english) (carl .biology) ) (year (john .2) (jim. 1) (carl .3)) (...
matcher association list lisp matcher association list lisp lisp matcher matcher association list lisp Hi everyone I am new to programming and I have to work with association list like this I am supposed to use the matcher to work like that with a function lookup Now I am new to programming and completely new to Lisp a...
[ 0.00787353515625, 0.0035858154296875, 0.00445556640625, 0.0096435546875, -0.003753662109375, 0.0025482177734375, 0.01239013671875, 0.033935546875, 0.005157470703125, -0.02294921875, 0.00799560546875, -0.000652313232421875, -0.0157470703125, -0.022705078125, 0.007354736328125, -0.003997...
[ 110394, 125413, 5303, 400, 7008, 2673, 30309, 444, 3525, 47, 56037, 449, 4488, 678, 1884, 903, 134598, 4527, 70, 32354, 6713, 2037, 64557, 1261, 3871, 100, 10696, 14240, 28484, 29806, 63559, 25647, 167934, 765, 21208, 2060, 1284, 34739, 591...
[ 0.305419921875, 0.2344970703125, 0.2257080078125, 0.1502685546875, 0.1973876953125, 0.0188751220703125, 0.098876953125, 0.0251007080078125, 0.08673095703125, 0.03704833984375, 0.1195068359375, 0.046630859375, 0.081298828125, 0.0179595947265625, 0.05438232421875, 0.0310211181640625, 0...
embed
37910055_c0
37910055
lisp
0
Title: (list ...) vs &#x27;(...) in Lisp Problem title: (list ...) vs &#x27;(...) in Lisp Tags: evaluation, common-lisp, list, quote, lisp Problem: (list ...) vs '(...) in Lisp When I have a function definition make-cd and execute the function to get the wrong answer. (defun make-cd (title artist rating ripped) '(:titl...
(list ...) vs &#x27;(...) in Lisp (list ...) vs &#x27;(...) in Lisp evaluation common-lisp list quote lisp Lisp Roses Kathy Mattea TITLE ARTIST RATING RIPPED (list ...) vs '(...) in Lisp When I have a function definition make-cd and execute the function to get the wrong answer. I should have used (list ...) to get a co...
[ 0.017578125, 0.036376953125, -0.0009002685546875, -0.00154876708984375, 0.000629425048828125, 0.01336669921875, -0.00762939453125, 0.0037689208984375, 0.0037384033203125, 0.003082275390625, -0.0087890625, -0.027099609375, -0.00054168701171875, 0.0162353515625, -0.0166015625, 0.00373840...
[ 6562, 153, 20209, 3768, 139666, 23, 1261, 7008, 54764, 219836, 39210, 4086, 254, 5303, 66747, 400, 24009, 7291, 3038, 7656, 17615, 131514, 57161, 35602, 19400, 68151, 30976, 17487, 17610, 242, 32354, 80934, 3249, 71574, 71924, 44691, 35166, 5...
[ 0.2181396484375, 0.150634765625, 0.1739501953125, 0.11029052734375, 0.20556640625, 0.0745849609375, 0.1624755859375, 0.24560546875, 0.0201873779296875, 0.1644287109375, 0.05511474609375, 0.113525390625, 0.15234375, 0.195068359375, 0.1318359375, 0.10223388671875, 0.114501953125, 0.0...
embed
54168402_c0
54168402
lisp
0
Title: Arguments to APPLY in Lisp Problem title: Arguments to APPLY in Lisp Tags: apply, map-function, lisp, common-lisp Problem: Arguments to APPLY in Lisp I am having the following trouble: when trying to use APPLY function with a MAPCAR call, the lambda function passed to APPLY, which contains only one parameter, th...
Arguments to APPLY in Lisp Arguments to APPLY in Lisp apply map-function lisp common-lisp Arguments APPLY Lisp EVAL LAMBDA DEFUN COND NUMBERP ATOM NIL LISTP Lst LAST MAPCAR WRITE Arguments to APPLY in Lisp I am having the following trouble: when trying to use APPLY function with a MAPCAR call, the lambda function passe...
[ 0.00885009765625, 0.0108642578125, 0.015869140625, 0.00005602836608886719, -0.0174560546875, 0.0213623046875, 0.000004112720489501953, -0.0037689208984375, 0.0013427734375, 0.005035400390625, -0.00061798095703125, -0.032958984375, -0.005828857421875, 0.00799560546875, -0.0052490234375, ...
[ 112140, 7, 47, 66440, 19917, 23, 1261, 7008, 59911, 22288, 137175, 400, 39210, 4086, 254, 241, 61152, 3358, 12689, 6538, 202001, 14006, 14452, 397, 109020, 683, 117032, 541, 16444, 195977, 172905, 105748, 80076, 115055, 25216, 63134, 31577, 3...
[ 0.263671875, 0.04803466796875, 0.04901123046875, 0.1993408203125, 0.2261962890625, 0.0806884765625, 0.1729736328125, 0.264404296875, 0.169189453125, 0.1448974609375, 0.1507568359375, 0.123779296875, 0.07830810546875, 0.1221923828125, 0.1646728515625, 0.048675537109375, 0.224853515625...
embed
34242488_c0
34242488
lisp
0
Title: How to convert a byte array to a string Problem title: How to convert a byte array to a string Tags: lisp, common-lisp Problem: How to convert a byte array to a string I need to produce a string of bytes from a list of integers (in order to send them to a C program via a socket connection). I'm trying to replica...
How to convert a byte array to a string How to convert a byte array to a string lisp common-lisp struct How struct.pack HHHH x01 x00 x02 x03 x04 ql:quickload pack:pack How to convert a byte array to a string I need to produce a string of bytes from a list of integers (in order to send them to a C program via a socket c...
[ 0.00897216796875, 0.004302978515625, -0.01171875, 0.0218505859375, -0.03369140625, 0.0262451171875, 0.00156402587890625, -0.005859375, 0.01092529296875, 0.02587890625, 0.011962890625, -0.0196533203125, -0.004302978515625, 0.003021240234375, -0.0169677734375, -0.0206298828125, -0.0043...
[ 11249, 47, 96760, 390, 67, 10298, 53, 10, 79315, 400, 7008, 39210, 4086, 254, 36716, 29102, 78288, 6746, 7049, 9550, 9513, 7709, 99247, 63033, 43824, 3871, 27489, 111, 1636, 5303, 892, 26255, 25379, 313, 1528, 27853, 94878, 143126, 145581, ...
[ 0.055755615234375, 0.124755859375, 0.1707763671875, 0.134033203125, 0.1387939453125, 0.215576171875, 0.1595458984375, 0.09014892578125, 0.282470703125, 0.10308837890625, 0.1903076171875, 0.0892333984375, 0.0946044921875, 0.156005859375, 0.208740234375, 0.17578125, 0.12890625, 0.071...
embed
64759312_c0
64759312
lisp
0
Title: How the computer read the program Problem title: How the computer read the program Tags: lisp, scheme Problem: How the computer read the program It is a quite elementary but general question when I am reading SICP. I get puzzled about how the computer read the program. I understand the computer read the program ...
How the computer read the program How the computer read the program lisp scheme How Insufficient How the computer read the program It is a quite elementary but general question when I am reading SICP. I get puzzled about how the computer read the program. I understand the computer read the program as a layer or nested ...
[ -0.013427734375, 0.0185546875, 0.00128936767578125, 0.014892578125, -0.01153564453125, 0.039794921875, 0.007598876953125, 0.0152587890625, 0.00109100341796875, -0.0098876953125, 0.0211181640625, -0.020263671875, -0.010986328125, -0.01544189453125, 0.0185546875, -0.02880859375, 0.0033...
[ 11249, 13909, 12301, 1528, 70, 400, 7008, 150370, 360, 129980, 131830, 4537, 9655, 16454, 159, 198993, 104192, 3642, 28219, 237, 135355, 8512, 5426, 92319, 831, 35735, 1295, 1407, 56, 162520, 959, 29568, 190647, 1957, 40197, 85689, 7464, 4469...
[ 0.098876953125, 0.2437744140625, 0.2308349609375, 0.2108154296875, 0.044677734375, 0.0933837890625, 0.200927734375, 0.1915283203125, 0.055511474609375, 0.2076416015625, 0.07208251953125, 0.053436279296875, 0.0592041015625, 0.1026611328125, 0.0638427734375, 0.2203369140625, 0.09130859...
embed
62741639_c0
62741639
lisp
0
Title: How to write a power function in Lisp(scheme)? What&#x27;s wrong with my program here? Problem title: How to write a power function in Lisp(scheme)? What&#x27;s wrong with my program here? Tags: lisp, function, algorithm, scheme Problem: How to write a power function in Lisp(scheme)? What's wrong with my program...
How to write a power function in Lisp(scheme)? What&#x27;s wrong with my program here? How to write a power function in Lisp(scheme)? What&#x27;s wrong with my program here? lisp function algorithm scheme How Lisp What YOUR-DOC-HERE How to write a power function in Lisp(scheme)? What's wrong with my program here? Here ...
[ -0.0164794921875, 0.01300048828125, 0.01397705078125, -0.00726318359375, 0.003265380859375, 0.0166015625, -0.024169921875, -0.0150146484375, -0.0029754638671875, -0.007537841796875, 0.0196533203125, -0.01470947265625, -0.0225830078125, 0.002288818359375, 0.019775390625, -0.011291503906...
[ 11249, 33022, 14537, 32354, 23, 1261, 7008, 7560, 282, 4865, 3768, 44691, 678, 1528, 3688, 400, 234873, 150370, 213942, 13223, 441, 841, 30096, 47, 10, 6626, 11389, 18151, 459, 8962, 227066, 5117, 38132, 195625, 1830, 168867, 204839, 18499, ...
[ 0.07763671875, 0.1754150390625, 0.2406005859375, 0.2161865234375, 0.07135009765625, 0.1502685546875, 0.232421875, 0.1605224609375, 0.1563720703125, 0.0263214111328125, 0.03668212890625, 0.157470703125, 0.044036865234375, 0.1282958984375, 0.0447998046875, 0.112060546875, 0.15612792968...
embed
11683143_c0
11683143
lisp
0
Title: valid characters for lisp symbols Problem title: valid characters for lisp symbols Tags: common-lisp, lisp, scheme Problem: valid characters for lisp symbols First of all, as I understand it variable identifiers are called symbols in common lisp. I noted that while in languages like C variable identifiers can on...
valid characters for lisp symbols valid characters for lisp symbols common-lisp lisp scheme valid characters for lisp symbols First of all, as I understand it variable identifiers are called symbols in common lisp. I noted that while in languages like C variable identifiers can only be alphanumberics and underscores, C...
[ 0.025146484375, -0.007476806640625, 0.002288818359375, 0.0245361328125, -0.015625, -0.00154876708984375, -0.01318359375, 0.00135040283203125, 0.010009765625, -0.008056640625, 0.017333984375, -0.0177001953125, 0.008544921875, 0.004364013671875, -0.0380859375, 0.0142822265625, -0.01586...
[ 35604, 124850, 100, 400, 7008, 26582, 39210, 4086, 254, 150370, 28219, 77336, 42485, 1314, 35839, 23, 46876, 313, 831, 4734, 68743, 316, 1297, 28021, 1379, 12064, 151301, 1261, 114864, 5941, 1286, 11814, 1884, 1639, 19713, 3714, 4393, 5423, ...
[ 0.21337890625, 0.2410888671875, 0.0689697265625, 0.1566162109375, 0.194091796875, 0.2353515625, 0.163818359375, 0.1265869140625, 0.135009765625, 0.1895751953125, 0.007843017578125, 0.2435302734375, 0.189208984375, 0.0980224609375, 0.06561279296875, 0.021759033203125, 0.1259765625, ...
embed
55767876_c0
55767876
lisp
0
Title: Haskell analog of lisp backquoting and splicing Problem title: Haskell analog of lisp backquoting and splicing Tags: haskell, lisp, template-haskell, quasiquotes Problem: Haskell analog of lisp backquoting and splicing In some lisps (e.g. elisp , common lisp ) there is a feature called backquoting. It allows to ...
Haskell analog of lisp backquoting and splicing Haskell analog of lisp backquoting and splicing haskell lisp template-haskell quasiquotes Haskell Haskell analog of lisp backquoting and splicing In some lisps (e.g. elisp , common lisp ) there is a feature called backquoting. It allows to construct a list while evaluatin...
[ 0.00677490234375, 0.034912109375, 0.002838134765625, -0.0101318359375, -0.0211181640625, 0.007659912109375, -0.0068359375, -0.0028076171875, -0.00009822845458984375, -0.0244140625, -0.00836181640625, -0.0098876953125, 0.0164794921875, -0.013671875, -0.000797271728515625, 0.013610839843...
[ 20625, 142508, 60223, 400, 7008, 4420, 41502, 214, 136, 91, 55992, 1556, 110934, 10557, 12404, 68726, 3060, 7, 6423, 15296, 39210, 60213, 35839, 114864, 64549, 5303, 12960, 151575, 707, 3934, 80854, 23, 1614, 3509, 5809, 6713, 1884, 32195, ...
[ 0.152587890625, 0.26513671875, 0.1883544921875, 0.1363525390625, 0.198974609375, 0.2276611328125, 0.2462158203125, 0.146240234375, 0.0311279296875, 0.0450439453125, 0.20556640625, 0.0853271484375, 0.14697265625, 0.0565185546875, 0.10711669921875, 0.1845703125, 0.0258026123046875, 0...
embed
41082141_c0
41082141
lisp
0
Title: Checking multiple outputs with one test in Racket Problem title: Checking multiple outputs with one test in Racket Tags: lisp, racket, unit-testing Problem: Checking multiple outputs with one test in Racket I am trying to use the library rackunit to do some tests. However, I would like to check many outputs with...
Checking multiple outputs with one test in Racket Checking multiple outputs with one test in Racket lisp racket unit-testing rackunit Checking Racket add1 Checking multiple outputs with one test in Racket I am trying to use the library rackunit to do some tests. However, I would like to check many outputs with a single...
[ -0.018798828125, 0.005645751953125, -0.0189208984375, 0.02197265625, -0.0177001953125, -0.00860595703125, -0.0023345947265625, -0.029296875, 0.006561279296875, 0, -0.00078582763671875, -0.0098876953125, 0.0191650390625, 0.00445556640625, 0.0087890625, -0.0086669921875, 0.01513671875,...
[ 38679, 48716, 140992, 1632, 3034, 2552, 27853, 7, 678, 400, 7008, 673, 25072, 6954, 28779, 6262, 217, 15190, 418, 23, 35773, 109921, 12765, 5941, 11001, 35299, 27875, 756, 787, 35782, 6002, 86531, 2967, 3917, 54, 36998, 50491, 30646, 34292,...
[ 0.18310546875, 0.2109375, 0.260498046875, 0.1141357421875, 0.229248046875, 0.0943603515625, 0.2091064453125, 0.037841796875, 0.05108642578125, 0.00439453125, 0.09130859375, 0.06781005859375, 0.075927734375, 0.1595458984375, 0.07733154296875, 0.031005859375, 0.1561279296875, 0.09045...
embed
26372948_c0
26372948
lisp
0
Title: Ignore empty strings in mapconcat? Problem title: Ignore empty strings in mapconcat? Tags: lisp, elisp Problem: Ignore empty strings in mapconcat? I'm trying to insert a comma-separated string generated from a few values input by the user. If a particular value is empty, I don't want to insert that value. My pro...
Ignore empty strings in mapconcat? Ignore empty strings in mapconcat? lisp elisp Ignore Ignore empty strings in mapconcat? I'm trying to insert a comma-separated string generated from a few values input by the user. If a particular value is empty, I don't want to insert that value. My problem is that mapconcat is still...
[ -0.00390625, -0.0172119140625, 0.00958251953125, 0.0021209716796875, -0.0296630859375, 0.027099609375, 0.0223388671875, -0.006134033203125, 0.007415771484375, 0.0189208984375, -0.0181884765625, -0.017578125, -0.0004520416259765625, 0.0191650390625, -0.0238037109375, 0.00341796875, -0...
[ 11137, 107, 201505, 79315, 7, 22288, 2271, 4460, 23, 400, 7008, 15296, 31577, 183540, 96117, 184, 6276, 139392, 10846, 142424, 107730, 38937, 34292, 2301, 18, 3444, 2967, 7464, 38310, 748, 32354, 30646, 17324, 117934, 6226, 5303, 3584, 31, ...
[ 0.14794921875, 0.08758544921875, 0.2198486328125, 0.239501953125, 0.05078125, 0.1729736328125, 0.1278076171875, 0.2303466796875, 0.01019287109375, 0.0386962890625, 0.11865234375, 0.03631591796875, 0.009490966796875, 0.171142578125, 0.1744384765625, 0.00946044921875, 0.1116943359375, ...
embed
66193011_c0
66193011
lisp
0
Title: Average of entered numbers Problem title: Average of entered numbers Tags: clisp, common-lisp, lisp Problem: Average of entered numbers In this program I want to get the average of the entered numbers not only the sum but I can't get the average and the "Enter a number: " keeps repeating. here's my code (princ"E...
Average of entered numbers Average of entered numbers clisp common-lisp lisp Average Enter Sum Average of entered numbers In this program I want to get the average of the entered numbers not only the sum but I can't get the average and the "Enter a number: " keeps repeating. here's my code
[ -0.001312255859375, -0.0096435546875, -0.002838134765625, 0.0245361328125, -0.01513671875, 0.025146484375, 0.0166015625, 0.00982666015625, 0.00005555152893066406, -0.042236328125, -0.0029449462890625, -0.025146484375, -0.021484375, 0.0002574920654296875, 0.01416015625, -0.0008735656738...
[ 40168, 29838, 111, 30957, 297, 101935, 95701, 7008, 39210, 4086, 254, 400, 60816, 36335, 1528, 3444, 2046, 83080, 10554, 831, 155581, 14012, 13695, 119140, 214, 18151 ]
[ 0.15283203125, 0.142578125, 0.052398681640625, 0.183349609375, 0.092529296875, 0.1610107421875, 0.06951904296875, 0.15576171875, 0.07476806640625, 0.039520263671875, 0.132080078125, 0.053314208984375, 0.181396484375, 0.1710205078125, 0.1416015625, 0.056488037109375, 0.047821044921875...
embed
4451854_c0
4451854
lisp
0
Title: Common Lisp -- List unpacking? (similar to Python) Problem title: Common Lisp -- List unpacking? (similar to Python) Tags: lisp, common-lisp, iterable-unpacking, list, python Problem: Common Lisp -- List unpacking? (similar to Python) In Python, assuming the following function is defined: def function(a, b, c): ...
Common Lisp -- List unpacking? (similar to Python) Common Lisp -- List unpacking? (similar to Python) lisp common-lisp iterable-unpacking list python Common Lisp List Python Common Lisp -- List unpacking? (similar to Python) In Python, assuming the following function is defined: I am able to use the function using Pyth...
[ 0.01263427734375, 0.0277099609375, 0.00848388671875, 0.00811767578125, -0.01141357421875, 0.0194091796875, -0.007110595703125, 0.0032196044921875, -0.000324249267578125, -0.01177978515625, 0.007080078125, -0.0068359375, 0.0213623046875, 0.021728515625, -0.0196533203125, 0.0186767578125...
[ 151301, 1261, 7008, 4210, 32036, 51, 29102, 214, 62318, 320, 145581, 400, 39210, 4086, 254, 720, 2886, 309, 5303, 17198, 50828, 47, 360, 66596, 32354, 61924, 19048, 4527, 40, 944, 3956, 21373, 123309, 32316, 138, 80854, 72546, 237, 171859, ...
[ 0.1927490234375, 0.1868896484375, 0.2069091796875, 0.0221710205078125, 0.2218017578125, 0.1221923828125, 0.2286376953125, 0.0821533203125, 0.0787353515625, 0.04730224609375, 0.2247314453125, 0.105712890625, 0.1202392578125, 0.07647705078125, 0.1087646484375, 0.085205078125, 0.0299224...
embed
916978_c0
916978
lisp
0
Title: Python equivalent of maplist? Problem title: Python equivalent of maplist? Tags: functional-programming, lisp, python Problem: Python equivalent of maplist? What's the best Python equivalent of Common Lisp's maplist function? From the maplist documentation : maplist is like mapcar except that function is applied...
Python equivalent of maplist? Python equivalent of maplist? functional-programming lisp python Python Python equivalent of maplist? What's the best Python equivalent of Common Lisp's maplist function? From the maplist documentation : Example (pseudoy-code, not tested): Note : the arguments passed to p in the example ab...
[ 0.006317138671875, 0.0177001953125, 0.00897216796875, -0.007415771484375, -0.03125, 0.0167236328125, 0.0027923583984375, -0.00335693359375, -0.003997802734375, -0.037109375, 0.005401611328125, 0.00067901611328125, -0.00080108642578125, -0.0014801025390625, -0.0107421875, 0.004211425781...
[ 145581, 183234, 111, 22288, 6562, 123309, 28966, 400, 7008, 17198, 50828, 4865, 2965, 151301, 1261, 32354, 209806, 89536, 45616, 11547, 53, 40899, 959, 3034, 10750, 115081, 47, 915, 27781, 2806, 5303, 116, 138, 190659, 80854 ]
[ 0.2744140625, 0.2359619140625, 0.07781982421875, 0.207763671875, 0.257568359375, 0.133056640625, 0.073974609375, 0.0911865234375, 0.1883544921875, 0.10394287109375, 0.1279296875, 0.002288818359375, 0.1220703125, 0.101318359375, 0.1221923828125, 0.159423828125, 0.0257568359375, 0.05...
embed
9666701_c0
9666701
lisp
0
Title: clisp, CLOS: retyping an object, later Problem title: clisp, CLOS: retyping an object, later Tags: lisp, common-lisp, clos Problem: clisp, CLOS: retyping an object, later Suppose I have a class animal , with subclasses horse , duck , and rabbit . Suppose I use make-instance to make several objects of class anima...
clisp, CLOS: retyping an object, later clisp, CLOS: retyping an object, later lisp common-lisp clos CLOS clisp, CLOS: retyping an object, later Suppose I have a class animal , with subclasses horse , duck , and rabbit . Suppose I use make-instance to make several objects of class animal . Much later, I discover, for ea...
[ 0.005126953125, 0.01519775390625, 0.0257568359375, 0.0179443359375, 0.0023040771484375, -0.005645751953125, -0.019287109375, 0.01025390625, -0.0016632080078125, 0.0050048828125, -0.00872802734375, -0.01123046875, 0.0076904296875, -0.01055908203125, 0.0025177001953125, -0.0179443359375,...
[ 95701, 7008, 4, 313, 92933, 12, 456, 46280, 214, 36746, 14432, 400, 39210, 4086, 254, 20450, 7, 121691, 765, 18507, 26249, 1614, 67413, 90, 111649, 115, 2594, 136, 152131, 18, 4527, 3249, 9, 116071, 40368, 103882, 12638, 6097, 20653, 10, ...
[ 0.2174072265625, 0.285888671875, 0.03778076171875, 0.04608154296875, 0.2088623046875, 0.0249481201171875, 0.1680908203125, 0.2744140625, 0.1358642578125, 0.218505859375, 0.1004638671875, 0.1103515625, 0.1336669921875, 0.1314697265625, 0.2264404296875, 0.1737060546875, 0.0333862304687...
embed
11491112_c0
11491112
lisp
0
Title: Common Lisp: making rules about input values Problem title: Common Lisp: making rules about input values Tags: predicate, lisp, common-lisp Problem: Common Lisp: making rules about input values While coding a predicate that tests whether or not a number is divisible by all integers across a certain range, I was ...
Common Lisp: making rules about input values Common Lisp: making rules about input values predicate lisp common-lisp Common Lisp Common Lisp: making rules about input values While coding a predicate that tests whether or not a number is divisible by all integers across a certain range, I was wondering if it is possible...
[ -0.0262451171875, 0.007415771484375, 0.00433349609375, 0.005859375, -0.007110595703125, 0.0211181640625, 0.0250244140625, 0.00726318359375, -0.006103515625, -0.01263427734375, 0.00555419921875, 0.0103759765625, 0.0034942626953125, -0.01263427734375, 0.006988525390625, 0.01397705078125,...
[ 151301, 1261, 7008, 20662, 91736, 1672, 107730, 142424, 1653, 2063, 400, 39210, 4086, 254, 552, 6238, 109921, 959, 14012, 45, 99017, 390, 756, 892, 26255, 36880, 24233, 37457, 149016, 7722, 3249, 8305, 50718, 38103, 26582, 28864, 1884, 40140,...
[ 0.1533203125, 0.1412353515625, 0.1671142578125, 0.10394287109375, 0.2281494140625, 0.10675048828125, 0.2265625, 0.16845703125, 0.1424560546875, 0.1900634765625, 0.0870361328125, 0.11962890625, 0.07159423828125, 0.1016845703125, 0.1468505859375, 0.007293701171875, 0.1558837890625, 0...
embed
48375042_c0
48375042
lisp
0
Title: Doubling every item in list while limiting cons calls in Lisp Problem title: Doubling every item in list while limiting cons calls in Lisp Tags: lisp, common-lisp Problem: Doubling every item in list while limiting cons calls in Lisp I have a function that doubles every item in a list: (defun double (L) (cond ((...
Doubling every item in list while limiting cons calls in Lisp Doubling every item in list while limiting cons calls in Lisp lisp common-lisp Doubling Lisp double2 Doubling every item in list while limiting cons calls in Lisp I have a function that doubles every item in a list: How could I accomplish the same result whi...
[ -0.005279541015625, 0.01275634765625, 0.0174560546875, -0.007080078125, 0.02197265625, 0.03759765625, -0.02197265625, -0.00775146484375, 0.00634765625, -0.041015625, 0.01953125, -0.0172119140625, 0.017333984375, -0.015625, -0.00189208984375, 0.031005859375, 0.006744384765625, 0.019...
[ 40641, 79298, 11907, 35735, 5303, 12960, 17475, 158, 7, 11782, 1261, 7008, 23, 400, 39210, 4086, 254, 41929, 304, 32354, 5809, 163846, 5701, 16750, 61998, 449, 390, 116, 14012, 20028, 27781, 305, 54, 678, 138, 4734, 43240 ]
[ 0.1278076171875, 0.125732421875, 0.1160888671875, 0.1468505859375, 0.1624755859375, 0.02862548828125, 0.1595458984375, 0.19775390625, 0.1160888671875, 0.12255859375, 0.1419677734375, 0.189453125, 0.0247955322265625, 0.1025390625, 0.060211181640625, 0.0960693359375, 0.11962890625, 0...
embed