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
76793012_c1
76793012
lisp
1
test suite TEST-ENCRYPTION Running test FEATURE . Running test BASE64-1 f Running test BASE64-2 f Did 3 checks. Pass: 1 (33%) Skip: 0 ( 0%) Fail: 2 (66%) Failure Details: -------------------------------- BASE64-2 in TEST-ENCRYPTION []: (CL-BASE64:USB8-ARRAY-TO-BASE64-STRING (STDUTILS:STRING-TO-USB8-ARRAY "abcd£")) eva...
test suite TEST-ENCRYPTION Running test FEATURE . Running test BASE64-1 f Running test BASE64-2 f Did 3 checks. Pass: 1 (33%) Skip: 0 ( 0%) Fail: 2 (66%) Failure Details: -------------------------------- BASE64-2 in TEST-ENCRYPTION []: (CL-BASE64:USB8-ARRAY-TO-BASE64-STRING (STDUTILS:STRING-TO-USB8-ARRAY "abcd£")) eva...
[ 0.002899169921875, -0.019775390625, -0.01611328125, -0.00347900390625, -0.01171875, -0.015869140625, -0.004547119140625, -0.00017261505126953125, 0.00634765625, 0.08056640625, -0.0196533203125, 0.0341796875, -0.005462646484375, 0.0167236328125, 0.00531005859375, 0.01275634765625, 0.0...
[ 3034, 14947, 384, 21828, 9, 11572, 22578, 94588, 35213, 28398, 592, 563, 24040, 165471, 335, 76783, 13307, 5759, 1238, 5428, 37307, 138, 12765, 28872, 12, 106, 6896, 11587, 91958, 757, 83137, 190355, 116, 12187, 3408, 77658, 23, 37486, 571,...
[ 0.255615234375, 0.204833984375, 0.178466796875, 0.233154296875, 0.0943603515625, 0.1201171875, 0.2098388671875, 0.192138671875, 0.0577392578125, 0.169677734375, 0.1177978515625, 0.04119873046875, 0.120849609375, 0.045989990234375, 0.1373291015625, 0.1927490234375, 0.2587890625, 0.1...
embed
31360949_c0
31360949
lisp
0
Title: Common Lisp output file streams SBCL Problem title: Common Lisp output file streams SBCL Tags: common-lisp, stream, sbcl, lisp Problem: Common Lisp output file streams SBCL I am on SBCL on debian. For some reason if I use this: (with-open-file (output (open #p"file.txt" :direction :output :if-exists :overwrite))...
Common Lisp output file streams SBCL Common Lisp output file streams SBCL common-lisp stream sbcl lisp Common Lisp SBCL file.txt SB-SYS:FD-STREAM Common Lisp output file streams SBCL I am on SBCL on debian. For some reason if I use this: Where file.txt is a plain text file. I get the error Even using :element-type 'cha...
[ 0.027099609375, 0.0234375, -0.003326416015625, -0.02783203125, -0.0031890869140625, -0.00909423828125, 0.005462646484375, -0.00811767578125, -0.007415771484375, 0.0245361328125, 0.0023193359375, -0.01141357421875, 0.0289306640625, 0.01220703125, -0.00030517578125, 0.0020599365234375, ...
[ 151301, 1261, 7008, 140992, 11435, 75973, 90944, 37486, 39210, 4086, 254, 91, 275, 34937, 400, 124326, 26947, 98553, 56564, 8, 62806, 4527, 903, 78662, 5, 83, 10, 111719, 7986, 70, 18499, 31267, 17368, 152, 62766, 50986, 9254, 2263, 22027, ...
[ 0.1578369140625, 0.12744140625, 0.1766357421875, 0.1619873046875, 0.1885986328125, 0.189697265625, 0.123779296875, 0.1767578125, 0.1204833984375, 0.071533203125, 0.1356201171875, 0.0107421875, 0.06976318359375, 0.098876953125, 0.05731201171875, 0.242919921875, 0.1278076171875, 0.12...
embed
8360386_c0
8360386
lisp
0
Title: SBCL Switches print and read order (lisp) Problem title: SBCL Switches print and read order (lisp) Tags: printing, lisp, sbcl Problem: SBCL Switches print and read order (lisp) I'm still learning lisp, so, when I came across this problem, it confused me. I have a simple function where I want to print first and t...
SBCL Switches print and read order (lisp) SBCL Switches print and read order (lisp) printing lisp sbcl SBCL Switches SBCL Switches print and read order (lisp) I'm still learning lisp, so, when I came across this problem, it confused me. I have a simple function where I want to print first and then read the input: So, w...
[ -0.01190185546875, -0.00244140625, 0.0038604736328125, -0.01116943359375, -0.0107421875, 0.003997802734375, 0.015625, -0.0086669921875, -0.0252685546875, -0.0159912109375, 0.01397705078125, 0.0084228515625, 0.000888824462890625, -0.01055908203125, 0.000270843505859375, -0.0120849609375...
[ 90944, 37486, 106101, 90, 28412, 136, 12301, 12989, 4086, 254, 2448, 1916, 400, 7008, 91, 275, 34937, 52080, 2967, 55681, 8781, 32354, 3444, 5117, 7068, 107730, 13028, 678, 313, 67616, 683, 168360, 2367, 84751, 297, 705, 5701, 13315, 5809, ...
[ 0.1431884765625, 0.2193603515625, 0.230712890625, 0.039886474609375, 0.23388671875, 0.0858154296875, 0.2203369140625, 0.2188720703125, 0.0916748046875, 0.16552734375, 0.1805419921875, 0.041656494140625, 0.106689453125, 0.1812744140625, 0.0170440673828125, 0.0848388671875, 0.155761718...
embed
67862564_c0
67862564
lisp
0
Title: Self-reference in function definition Problem title: Self-reference in function definition Tags: scheme, scope, sicp, lisp, y-combinator Problem: Self-reference in function definition In this explanation of Y-combinator ( https://mvanier.livejournal.com/2897.html ), (define almost-factorial (lambda (f) (lambda (...
Self-reference in function definition Self-reference in function definition scheme scope sicp lisp y-combinator Self-reference Self-reference in function definition In this explanation of Y-combinator ( https://mvanier.livejournal.com/2897.html ), it says that the definition of factorialA would go into an infinite loop...
[ 0.034423828125, 0.005401611328125, 0.0252685546875, 0.03564453125, 0.0152587890625, -0.03515625, 0.0140380859375, 0.00836181640625, 0.003997802734375, -0.022216796875, 0.003936767578125, -0.0030364990234375, -0.01611328125, 0.01068115234375, 0.0322265625, 0.006805419921875, 0.0038757...
[ 55347, 239879, 23, 32354, 80934, 150370, 70820, 254, 7008, 113, 277, 19155, 1290, 187136, 990, 32624, 56, 14773, 111, 31461, 15403, 284, 2806, 738, 3934, 54241, 40956, 5570, 29479, 76199, 18499, 62, 56112, 18, 61924, 84751, 13204, 449, 6492...
[ 0.22216796875, 0.29541015625, 0.0197296142578125, 0.199951171875, 0.2154541015625, 0.19580078125, 0.13330078125, 0.072265625, 0.1090087890625, 0.16748046875, 0.094970703125, 0.224609375, 0.1500244140625, 0.1082763671875, 0.1973876953125, 0.03204345703125, 0.03460693359375, 0.014144...
embed
67939452_c0
67939452
lisp
0
Title: Describe for LISP-Macros Problem title: Describe for LISP-Macros Tags: clisp, common-lisp, lisp, macros Problem: Describe for LISP-Macros I have used CLISP for some time now, and I'd say, that I finally came to "understand" macros. Now I have one question here: Is there something similar to describe for function...
Describe for LISP-Macros Describe for LISP-Macros clisp common-lisp lisp macros Describe LISP-Macros Describe for LISP-Macros I have used CLISP for some time now, and I'd say, that I finally came to "understand" macros. Now I have one question here: Is there something similar to describe for functions but for macros? I...
[ 0.0380859375, 0.0263671875, -0.0081787109375, -0.006805419921875, -0.005645751953125, 0.031982421875, 0.0010833740234375, 0.0179443359375, -0.006622314453125, -0.02294921875, 0.0150146484375, -0.0096435546875, -0.00555419921875, -0.005126953125, 0.005645751953125, 0.004669189453125, ...
[ 262, 34601, 100, 16970, 9434, 55450, 3666, 95701, 7008, 39210, 4086, 254, 400, 111789, 11814, 313, 67616, 683, 3060, 1733, 5036, 24658, 5165, 7, 1632, 9655, 9844, 21373, 98363, 32354, 1284, 1884, 51584, 91693, 22008, 6713, 112, 90, 92, 34...
[ 0.1298828125, 0.269775390625, 0.0853271484375, 0.1141357421875, 0.2216796875, 0.08038330078125, 0.1719970703125, 0.1353759765625, 0.2198486328125, 0.1163330078125, 0.1138916015625, 0.171142578125, 0.10986328125, 0.1968994140625, 0.051177978515625, 0.029632568359375, 0.1260986328125, ...
embed
40004790_c0
40004790
lisp
0
Title: Racket - Building the built-in member function Problem title: Racket - Building the built-in member function Tags: lisp, functional-programming, racket, sicp Problem: Racket - Building the built-in member function I like writing code to the same thing that built-in functions do. It is always a great exercise for...
Racket - Building the built-in member function Racket - Building the built-in member function lisp functional-programming racket sicp racket/trace Racket Building Racket - Building the built-in member function I like writing code to the same thing that built-in functions do. It is always a great exercise for me. In rac...
[ -0.021240234375, 0.01336669921875, 0.01025390625, 0.016357421875, -0.01123046875, 0.028564453125, 0.0078125, 0.00811767578125, 0.006622314453125, -0.0272216796875, 0.00714111328125, -0.0172119140625, 0.00201416015625, -0.005706787109375, 0, -0.01068115234375, -0.00860595703125, 0.0...
[ 2552, 27853, 104919, 88303, 73, 32786, 32354, 7008, 123309, 28966, 673, 254, 39989, 1884, 32562, 18151, 11343, 81979, 11876, 18, 39, 27417, 12765, 2174, 12830, 46132, 5303, 29568, 30646, 10588, 7569, 98320, 468, 420, 89536, 25632, 17368, 2118...
[ 0.1507568359375, 0.264892578125, 0.1085205078125, 0.10479736328125, 0.146240234375, 0.2279052734375, 0.1785888671875, 0.097412109375, 0.10693359375, 0.057891845703125, 0.1243896484375, 0.0760498046875, 0.1392822265625, 0.0806884765625, 0.1011962890625, 0.159423828125, 0.0064697265625...
embed
3657118_c0
3657118
lisp
0
Title: In clojure, is (= 'a 'a) referring to the 'same atom'? Problem title: In clojure, is (= 'a 'a) referring to the 'same atom'? Tags: scheme, clojure, lisp, java Problem: In clojure, is (= 'a 'a) referring to the 'same atom'? In some implementations of Common LISP we can say ...
In clojure, is (= 'a 'a) referring to the 'same atom'? In clojure, is (= 'a 'a) referring to the 'same atom'? scheme clojure lisp java In clojure, is (= 'a 'a) referring to the 'same atom'? In some implementations of Common LISP we can say that for the following expression Is tru...
[ 0.003753662109375, 0.0233154296875, 0.0125732421875, 0.0244140625, -0.006988525390625, 0.0167236328125, 0.020751953125, 0.008056640625, -0.004364013671875, -0.015380859375, 0.0113525390625, 0.02880859375, -0.0020294189453125, -0.0072021484375, -0.00732421875, -0.0029144287109375, -0....
[ 20450, 461, 107, 83, 78690, 3768, 74, 11, 15005, 2852, 40175, 34627, 150370, 400, 7008, 79, 330, 242, 208124, 151301, 16970, 9434, 5154, 25632, 125195, 2071, 29568, 6637, 136, 621, 113860, 5700, 128169, 12877, 41591, 111, 5701, 34292, 4343,...
[ 0.1756591796875, 0.19775390625, 0.1474609375, 0.111083984375, 0.2418212890625, 0.158935546875, 0.0247344970703125, 0.19384765625, 0.136962890625, 0.05706787109375, 0.1942138671875, 0.24560546875, 0.174072265625, 0.060089111328125, 0.1214599609375, 0.0968017578125, 0.1019287109375, ...
embed
76410694_c0
76410694
lisp
0
Title: How to make a list of atoms from a generic list in racket? Problem title: How to make a list of atoms from a generic list in racket? Tags: lisp, racket Problem: How to make a list of atoms from a generic list in racket? I basic have this code where I try to make a list of unique atoms from a list of lists of lis...
How to make a list of atoms from a generic list in racket? How to make a list of atoms from a generic list in racket? lisp racket a the How concatenar2 How to make a list of atoms from a generic list in racket? I basic have this code where I try to make a list of unique atoms from a list of lists of lists etc but my co...
[ -0.01275634765625, 0.021484375, 0.000652313232421875, 0.0120849609375, 0.01080322265625, 0.01275634765625, -0.0072021484375, 0.017578125, -0.003265380859375, -0.039306640625, -0.0011444091796875, -0.031982421875, 0.037841796875, 0.00128173828125, -0.015869140625, 0.016845703125, -0.0...
[ 11249, 47, 3249, 5303, 34627, 7, 1295, 189534, 23, 673, 27853, 400, 7008, 158, 33478, 2322, 304, 10, 111, 62822, 18151, 9790, 36998, 21543, 44691, 30022, 71864, 9007, 3611, 55300 ]
[ 0.0882568359375, 0.026947021484375, 0.10003662109375, 0.1981201171875, 0.2191162109375, 0.06695556640625, 0.095947265625, 0.213623046875, 0.05108642578125, 0.100341796875, 0.22265625, 0.0289764404296875, 0.1142578125, 0.0196075439453125, 0.0860595703125, 0.0740966796875, 0.0714111328...
embed
12460355_c0
12460355
lisp
0
Title: Why is (commandp '(customize-option 'foo)) nil? Problem title: Why is (commandp '(customize-option 'foo)) nil? Tags: elisp, lisp, emacs Problem: Why is (commandp '(customize-option 'foo)) nil? I want to bind customize-option for a certain variable to a key, since I need to change it rather of...
Why is (commandp '(customize-option 'foo)) nil? Why is (commandp '(customize-option 'foo)) nil? elisp lisp emacs Why f12 Why is (commandp '(customize-option 'foo)) nil? I want to bind customize-option for a certain variable to a key, since I need to change it rather often. I have two options: The fi...
[ -0.00341796875, -0.00469970703125, 0.020263671875, -0.011962890625, -0.000591278076171875, 0.0341796875, 0.004974365234375, -0.00372314453125, -0.0050048828125, 0.0072021484375, -0.01153564453125, 0.002105712890625, -0.006622314453125, -0.0096435546875, -0.0263671875, 0.0048828125, -...
[ 44084, 83, 277, 12018, 254, 3768, 11680, 188, 70811, 109585, 3584, 31, 17324, 15296, 7008, 400, 352, 2263, 1238, 1530, 68557, 178036, 13, 77336, 47, 22799, 15549, 43257, 27983, 6626, 50717, 43240, 959, 75101, 186992, 10, 212398, 32354, 5608...
[ 0.1231689453125, 0.0853271484375, 0.063720703125, 0.1668701171875, 0.1724853515625, 0.033203125, 0.091064453125, 0.137939453125, 0.16650390625, 0.256591796875, 0.16259765625, 0.18701171875, 0.1995849609375, 0.031524658203125, 0.1304931640625, 0.0262908935546875, 0.010772705078125, ...
embed
13693041_c1
13693041
lisp
1
0) 15))) However, this returns the (rather annoying).. > (attendance 4.90) => 134.99999999999994 So after trying the (pretty much identical) solution from the text book.. (define (attendance price) (+ (* (/ 15 .10) (- 5.00 price)) 120)) I got exactly the same error. Is this something specific with my local system? I'm ...
0) 15))) However, this returns the (rather annoying).. > (attendance 4.90) => 134.99999999999994 So after trying the (pretty much identical) solution from the text book.. (define (attendance price) (+ (* (/ 15 .10) (- 5.00 price)) 120)) I got exactly the same error. Is this something specific with my local system? I'm ...
[ -0.015380859375, 0.004547119140625, -0.010498046875, 0.0004119873046875, -0.007781982421875, -0.0059814453125, -0.0115966796875, 0.0184326171875, 0.00537109375, -0.0291748046875, -0.00927734375, -0.0098876953125, -0.0198974609375, 0.025146484375, -0.004241943359375, -0.00885009765625, ...
[ 757, 16, 423, 32149, 33306, 903, 30646, 9319, 8668, 38543, 977, 68918, 7154, 1398, 108504, 44357, 61586, 65040, 14889, 31577, 5045, 31943, 29806, 7986, 12877, 64552, 27167, 22183, 75402, 5, 50258, 9, 82683, 5390, 4163, 66161, 5701, 18499, 2...
[ 0.1400146484375, 0.045623779296875, 0.220947265625, 0.2310791015625, 0.05279541015625, 0.041015625, 0.1387939453125, 0.050537109375, 0.1329345703125, 0.105224609375, 0.1046142578125, 0.2376708984375, 0.1893310546875, 0.1142578125, 0.23779296875, 0.07672119140625, 0.18359375, 0.0903...
embed
39083908_c0
39083908
lisp
0
Title: Duplicate system symbols ASDF Common Lisp Problem title: Duplicate system symbols ASDF Common Lisp Tags: lisp, asdf, build, common-lisp Problem: Duplicate system symbols ASDF Common Lisp If I'm using ASDF to build my Common Lisp system and have multiple projects in my ASDF path, how can I avoid naming collisions...
Duplicate system symbols ASDF Common Lisp Duplicate system symbols ASDF Common Lisp lisp asdf build common-lisp Duplicate ASDF Common Lisp Duplicate system symbols ASDF Common Lisp If I'm using ASDF to build my Common Lisp system and have multiple projects in my ASDF path, how can I avoid naming collisions for my syste...
[ -0.0196533203125, 0.004241943359375, 0.00238037109375, 0.00018405914306640625, -0.01397705078125, 0.0003566741943359375, -0.01611328125, 0.005401611328125, -0.0107421875, -0.004180908203125, -0.00628662109375, 0.0191650390625, 0.0093994140625, 0.00909423828125, 0.0087890625, 0.00521850...
[ 786, 52721, 67, 5426, 26582, 6483, 38997, 151301, 1261, 7008, 400, 237, 71, 420, 45367, 39210, 4086, 254, 17368, 48716, 77635, 60875, 3642, 71864, 147453, 61770, 63239, 100, 123055, 13452, 11, 136, 275, 15044, 4527, 19537, 12921, 7413, 2678...
[ 0.1351318359375, 0.2291259765625, 0.0614013671875, 0.1695556640625, 0.2257080078125, 0.1405029296875, 0.259521484375, 0.152587890625, 0.1378173828125, 0.151611328125, 0.0655517578125, 0.0780029296875, 0.0888671875, 0.0972900390625, 0.136962890625, 0.119384765625, 0.0863037109375, 0...
embed
63649893_c0
63649893
lisp
0
Title: How to read lines as SIMPLE-BASE-STRING? Problem title: How to read lines as SIMPLE-BASE-STRING? Tags: common-lisp, sbcl, lisp Problem: How to read lines as SIMPLE-BASE-STRING? So, the following code (defun read-8bit-lines (path) (with-open-file (stream path :element-type 'base-char :external-format :ascii) (loo...
How to read lines as SIMPLE-BASE-STRING? How to read lines as SIMPLE-BASE-STRING? common-lisp sbcl lisp How SIMPLE-BASE-STRING read-8bit-lines SIMPLE-ARRAY-CHARACTER How to read lines as SIMPLE-BASE-STRING? So, the following code reads in a file as a list of strings of type SIMPLE-ARRAY-CHARACTER . I want to have SIMPL...
[ 0.0179443359375, -0.007659912109375, -0.011474609375, 0.0159912109375, 0.006439208984375, 0.00982666015625, 0.019287109375, 0.027099609375, -0.004974365234375, 0.0023651123046875, -0.01007080078125, -0.0191650390625, -0.01531982421875, 0.0150146484375, -0.012451171875, -0.0014419555664...
[ 11249, 47, 12301, 124519, 237, 40288, 103084, 571, 76783, 8545, 90345, 39210, 4086, 254, 275, 34937, 400, 7008, 17376, 3137, 59801, 166007, 1723, 51036, 126349, 9, 25632, 18151, 11435, 5303, 79315, 10644, 3444, 765, 64457, 552, 56, 329, 391...
[ 0.06781005859375, 0.0518798828125, 0.236083984375, 0.217529296875, 0.1085205078125, 0.1640625, 0.158935546875, 0.1571044921875, 0.141845703125, 0.052703857421875, 0.1597900390625, 0.09954833984375, 0.04425048828125, 0.1346435546875, 0.0286865234375, 0.1600341796875, 0.043212890625, ...
embed
73202015_c0
73202015
lisp
0
Title: How to use Aquamacs for SBCL development? Problem title: How to use Aquamacs for SBCL development? Tags: aquamacs, lisp, emacs, common-lisp Problem: How to use Aquamacs for SBCL development? I'm new to Lisp. Working on a Mac, SBCL was installed with brew. I have done Lisp exercises in the terminal, writing files...
How to use Aquamacs for SBCL development? How to use Aquamacs for SBCL development? aquamacs lisp emacs common-lisp How Aquamacs SBCL How to use Aquamacs for SBCL development? I'm new to Lisp. Working on a Mac, SBCL was installed with brew. I have done Lisp exercises in the terminal, writing files with BBEdit and runni...
[ 0.020263671875, -0.00732421875, -0.0086669921875, 0.01708984375, -0.01318359375, 0.01904296875, 0.0208740234375, 0.01385498046875, -0.00164031982421875, 0.0118408203125, 0.00408935546875, 0.0042724609375, 0.00122833251953125, 0.005279541015625, -0.00160980224609375, -0.02587890625, -...
[ 11249, 47, 4527, 47173, 35572, 7, 100, 90944, 37486, 34754, 50895, 400, 7008, 352, 2263, 39210, 4086, 254, 3525, 1261, 27985, 4727, 20600, 678, 143006, 81979, 33949, 32562, 102158, 40746, 125270, 51042, 92940, 11522, 65998, 63773, 42135, 6682...
[ 0.1121826171875, 0.048736572265625, 0.16357421875, 0.2012939453125, 0.259765625, 0.1785888671875, 0.05975341796875, 0.1336669921875, 0.1961669921875, 0.16796875, 0.1519775390625, 0.10174560546875, 0.197509765625, 0.040435791015625, 0.1214599609375, 0.09759521484375, 0.10235595703125,...
embed
232486_c0
232486
lisp
0
Title: Best Common Lisp IDE Problem title: Best Common Lisp IDE Tags: emacs, lisp, common-lisp, ide Problem: Best Common Lisp IDE I've used Slime within Emacs as my primary development environment for Common Lisp (or Aquamacs on OS X), but are there other compelling choices out there? I've heard about Lispworks, but is...
Best Common Lisp IDE Best Common Lisp IDE emacs lisp common-lisp ide Best Common Lisp IDE Best Common Lisp IDE I've used Slime within Emacs as my primary development environment for Common Lisp (or Aquamacs on OS X), but are there other compelling choices out there? I've heard about Lispworks, but is that [or something...
[ 0.01275634765625, -0.0033111572265625, -0.0086669921875, 0.0079345703125, -0.01202392578125, 0.02294921875, -0.0000934600830078125, -0.00124359130859375, 0.00823974609375, -0.0108642578125, 0.0167236328125, 0.0079345703125, -0.0101318359375, 0.005706787109375, -0.00115203857421875, -0....
[ 11345, 151301, 1261, 7008, 36497, 352, 2263, 7, 400, 39210, 4086, 254, 5415, 11814, 82344, 13, 28032, 85269, 4439, 237, 158978, 34754, 65998, 47173, 35572, 11787, 1193, 3789, 9969, 44126, 2685, 49782, 1672, 18244, 1284, 9844, 41965, 16487, ...
[ 0.168212890625, 0.1876220703125, 0.194580078125, 0.2308349609375, 0.265625, 0.0830078125, 0.1148681640625, 0.04827880859375, 0.15087890625, 0.1468505859375, 0.1448974609375, 0.1685791015625, 0.1815185546875, 0.109130859375, 0.1964111328125, 0.2261962890625, 0.086181640625, 0.176513...
embed
61269754_c0
61269754
lisp
0
Title: Understanding a construction (para . contents) and continuing education Problem title: Understanding a construction (para . contents) and continuing education Tags: syntax, scheme, function, functional-programming, lisp Problem: Understanding a construction (para . contents) and continuing education I've just st...
Understanding a construction (para . contents) and continuing education Understanding a construction (para . contents) and continuing education syntax scheme function functional-programming lisp Understanding Understanding a construction (para . contents) and continuing education I've just started the Scheme Lisp learn...
[ -0.00860595703125, 0.0308837890625, -0.033447265625, 0.019287109375, -0.0074462890625, -0.00531005859375, -0.01470947265625, -0.000873565673828125, 0.002716064453125, -0.031982421875, 0.00384521484375, -0.0272216796875, -0.01483154296875, -0.01031494140625, 0.00164031982421875, -0.0200...
[ 9626, 144057, 50961, 6276, 5, 10941, 7, 136, 19686, 214, 53019, 10, 6002, 86531, 150370, 32354, 123309, 28966, 400, 7008, 34702, 282, 1261, 52080, 44841, 166116, 5962, 93, 58134, 1764, 104155, 1478, 155247, 1234, 1340, 20605, 7693, 157, 196...
[ 0.11474609375, 0.1212158203125, 0.220458984375, 0.1812744140625, 0.1380615234375, 0.25, 0.0518798828125, 0.0233306884765625, 0.1278076171875, 0.039794921875, 0.1221923828125, 0.031280517578125, 0.08984375, 0.198974609375, 0.1512451171875, 0.195068359375, 0.1378173828125, 0.08850097...
embed
34183658_c0
34183658
lisp
0
Title: Inorder traversal in lisp Problem title: Inorder traversal in lisp Tags: tree, traversal, common-lisp, inorder, lisp Problem: Inorder traversal in lisp I am trying to iterate through a tree inorder in Lisp. So far, I managed building the Postorder traversal but inorder gives me headaches.. The tree's format is t...
Inorder traversal in lisp Inorder traversal in lisp tree traversal common-lisp inorder lisp Inorder POSTORDER Inorder traversal in lisp I am trying to iterate through a tree inorder in Lisp. So far, I managed building the Postorder traversal but inorder gives me headaches.. The tree's format is this:
[ 0.0126953125, 0.0166015625, 0.0052490234375, -0.006378173828125, -0.006103515625, 0.028564453125, -0.036376953125, -0.00531005859375, -0.00994873046875, -0.049072265625, 0.0002765655517578125, -0.01068115234375, -0.0118408203125, -0.0174560546875, 0.00677490234375, 0.01226806640625, ...
[ 360, 80596, 37317, 289, 23, 400, 7008, 53201, 39210, 4086, 254, 54602, 27010, 18044, 31577, 8560, 8305, 1261, 2060, 145755, 33976, 2795, 1284, 76199, 163, 10336, 934, 90, 7, 9384, 83, 903 ]
[ 0.1043701171875, 0.275634765625, 0.1827392578125, 0.1009521484375, 0.10662841796875, 0.143310546875, 0.2205810546875, 0.183837890625, 0.09588623046875, 0.119140625, 0.16650390625, 0.1099853515625, 0.0916748046875, 0.1600341796875, 0.059051513671875, 0.13671875, 0.059326171875, 0.13...
embed
5902847_c0
5902847
lisp
0
Title: How do I apply "or" to a list in elisp Problem title: How do I apply "or" to a list in elisp Tags: elisp, lisp Problem: How do I apply "or" to a list in elisp In elisp I can evaluate or as a function just like +. (or nil 0 nil) ==> 0 (+ 1 0 1) ==> 2 I can use apply to apply + to a list (apply...
How do I apply "or" to a list in elisp How do I apply "or" to a list in elisp elisp lisp How How do I apply "or" to a list in elisp In elisp I can evaluate or as a function just like +. I can use apply to apply + to a list So, I would think or would work the same way, but it doesn't. I imagine this ...
[ -0.005889892578125, 0.010986328125, 0.024658203125, -0.0172119140625, -0.00823974609375, 0.0198974609375, -0.0034637451171875, 0.0135498046875, 0.00299072265625, -0.0191650390625, 0.004241943359375, -0.00182342529296875, -0.01708984375, -0.00518798828125, -0.0213623046875, -0.010253906...
[ 11249, 54, 87, 59911, 41502, 748, 1230, 74, 47, 5303, 23, 15296, 7008, 10, 400, 360, 831, 151575, 707, 237, 32354, 1884, 997, 4527, 5351, 4488, 5701, 22027, 18, 28987, 70796, 49846, 29479, 16610, 82063, 7143, 219836, 71924, 41018, 645, ...
[ 0.081787109375, 0.0194549560546875, 0.008392333984375, 0.2435302734375, 0.0596923828125, 0.27294921875, 0.03582763671875, 0.00164794921875, 0.1358642578125, 0.22265625, 0.08465576171875, 0.125244140625, 0.2203369140625, 0.03399658203125, 0.10675048828125, 0.0186767578125, 0.015808105...
embed
8424114_c0
8424114
lisp
0
Title: error in a lisp function Problem title: error in a lisp function Tags: lisp Problem: error in a lisp function Here' a function I have. (defun add-word-2 (n line) (let ((temp-word (make-array 0 :element-type 'character :fill-pointer 0 :adjustable t))) (vector-push-extend (char line n) temp-word) (loop (if (or (ch...
error in a lisp function error in a lisp function lisp add-word-2 word-array-2 Error Illegal INCF TYPE-ERROR error in a lisp function Here' a function I have. I believe it's getting down to the bottom inside the if function after an evaluation to false. The error I get is: Is this a scope issue, does the n still exist ...
[ -0.01953125, -0.001068115234375, -0.0118408203125, 0.0101318359375, -0.0137939453125, 0.027587890625, 0.000598907470703125, -0.0045166015625, -0.006866455078125, -0.012451171875, 0.0196533203125, -0.01953125, 0.00225830078125, -0.0264892578125, -0.0123291015625, 0.0045166015625, -0.0...
[ 18499, 23, 400, 7008, 32354, 10, 15190, 47416, 5428, 2565, 19305, 53, 212059, 891, 86966, 108416, 919, 95267, 12501, 14255, 20949, 7565, 47, 70, 103136, 46132, 2174, 219836, 98320, 2046, 903, 70820, 31089, 653, 7464, 32316, 2633, 26950 ]
[ 0.210693359375, 0.058135986328125, 0.1502685546875, 0.240966796875, 0.2073974609375, 0.0023193359375, 0.112548828125, 0.134033203125, 0.1326904296875, 0.081298828125, 0.039306640625, 0.0086669921875, 0.1612548828125, 0.0323486328125, 0.1397705078125, 0.0772705078125, 0.1473388671875,...
embed
16498897_c1
16498897
lisp
1
I have no idea what macroexpand1(which macroexpand call) do, does it call some function from within Clojure's implementation? If so, then I still have to implement it inside Haskell. If we look at how functions are evaluated: eval env (List (op:args)) = do func <- eval env op args <- mapM (eval env) args apply func ar...
I have no idea what macroexpand1(which macroexpand call) do, does it call some function from within Clojure's implementation? If so, then I still have to implement it inside Haskell. If we look at how functions are evaluated: eval env (List (op:args)) = do func <- eval env op args <- mapM (eval env) args apply func ar...
[ -0.000247955322265625, 0.007537841796875, -0.0005035400390625, 0.004364013671875, 0.0130615234375, 0.0283203125, 0.006683349609375, -0.0034942626953125, 0.0303955078125, -0.0234375, -0.00726318359375, -0.01129150390625, -0.006256103515625, -0.028076171875, 0.002899169921875, -0.0235595...
[ 6528, 111789, 83613, 2940, 418, 143321, 11782, 54, 32354, 28032, 51053, 461, 107, 208124, 7464, 29479, 46132, 20625, 142508, 3642, 151575, 28, 1405, 22, 334, 154663, 2146, 61477, 7477, 233, 79459, 22288, 594, 59911, 60075, 10287, 17780, 18468...
[ 0.02789306640625, 0.25244140625, 0.178955078125, 0.21533203125, 0.1396484375, 0.05499267578125, 0.154296875, 0.041107177734375, 0.19287109375, 0.07708740234375, 0.149169921875, 0.16748046875, 0.1199951171875, 0.129150390625, 0.0217742919921875, 0.165283203125, 0.07928466796875, 0.0...
embed
60196820_c0
60196820
lisp
0
Title: How to access a Lisp symbol function cell Problem title: How to access a Lisp symbol function cell Tags: symbols, lisp Problem: How to access a Lisp symbol function cell If I create this function (defun a (&rest x) x) I have a new function that imitates the list function. As I have read, I have done something to...
How to access a Lisp symbol function cell How to access a Lisp symbol function cell symbols lisp How Lisp Symbol How to access a Lisp symbol function cell If I create this function I have a new function that imitates the list function. As I have read, I have done something to the "function cell" of the symbol a . Befor...
[ 0.01251220703125, 0.0096435546875, 0.0081787109375, 0.01953125, -0.00188446044921875, 0.0191650390625, 0.004486083984375, 0.0014801025390625, 0.0089111328125, 0.0179443359375, 0.0001220703125, 0.01239013671875, -0.007171630859375, 0.01239013671875, 0.00244140625, 0.001922607421875, -...
[ 11249, 47, 17203, 1261, 7008, 26582, 32354, 38750, 400, 131899, 28282, 97751, 5303, 137175, 10, 75935, 151575, 4263, 2806, 37842, 275, 3917, 1957, 66161, 2367, 70541, 16401, 4655, 271, 34292, 2053, 45646, 33284, 738, 3934, 45258, 15296 ]
[ 0.06634521484375, 0.0218963623046875, 0.2291259765625, 0.1693115234375, 0.2137451171875, 0.24755859375, 0.1644287109375, 0.2442626953125, 0.1129150390625, 0.227783203125, 0.0684814453125, 0.0938720703125, 0.1212158203125, 0.1492919921875, 0.09027099609375, 0.0162200927734375, 0.02500...
embed
55786801_c1
55786801
lisp
1
-1 2) (change dynamic variable name). Then recompile whole file (no dynamic variable called test-out this time, and test1 argument's name is test-out ), problem disappears. After 3 , I call (defvar test-out 2) , and (test1 test-out) . This time, it prints out right answers: 1 and 2 . After 4 , I recompile test1 again, ...
-1 2) (change dynamic variable name). Then recompile whole file (no dynamic variable called test-out this time, and test1 argument's name is test-out ), problem disappears. After 3 , I call (defvar test-out 2) , and (test1 test-out) . This time, it prints out right answers: 1 and 2 . After 4 , I recompile test1 again, ...
[ 0.01507568359375, -0.007415771484375, -0.005950927734375, 0.00994873046875, -0.0013275146484375, 0.026123046875, -0.03955078125, 0.037353515625, 0.008056640625, -0.0035858154296875, -0.0096435546875, -0.009521484375, -0.01287841796875, 0.004852294921875, 0.0322265625, -0.00370788574218...
[ 68940, 4958, 152028, 84079, 77336, 9351, 456, 58875, 1340, 28271, 11435, 3034, 6056, 1733, 418, 10750, 2967, 213566, 138, 11782, 112, 420, 1961, 6954, 28412, 1810, 7108, 35166, 106, 136, 116, 201, 13438, 11675, 135179, 9969, 49725, 37067, 2...
[ 0.1214599609375, 0.116455078125, 0.1326904296875, 0.19921875, 0.2305908203125, 0.072998046875, 0.08660888671875, 0.1195068359375, 0.18017578125, 0.031646728515625, 0.1260986328125, 0.2076416015625, 0.2017822265625, 0.0139923095703125, 0.0843505859375, 0.1949462890625, 0.1214599609375...
embed
36079915_c0
36079915
lisp
0
Title: How to format lisp code? Problem title: How to format lisp code? Tags: code-formatting, lisp, scheme Problem: How to format lisp code? Consider this iterative factorial procedure from SICP. (define (fact-iter product counter max-count) (if (> counter max-count) product (fact-iter (* counter product) (+ counter 1...
How to format lisp code? How to format lisp code? code-formatting lisp scheme How How to format lisp code? Consider this iterative factorial procedure from SICP. Here, we see: The declaration of factorial doesn't have leading spaces. I think that's normal. The body of the function requires two leading spaces each line....
[ 0.003387451171875, 0.0252685546875, -0.02197265625, 0.01409912109375, -0.0206298828125, -0.0038909912109375, 0.0084228515625, 0.002777099609375, -0.0076904296875, 0.000698089599609375, 0.01287841796875, -0.0211181640625, -0.036376953125, -0.0185546875, -0.004180908203125, -0.0084838867...
[ 11249, 47, 9384, 400, 7008, 18151, 51727, 150370, 720, 45023, 31461, 15403, 50491, 198993, 21635, 18, 765, 105207, 32628, 3638, 14361, 32354, 144570, 6626, 12638, 13315, 15190, 22759, 5117, 70731, 86595, 17932, 2174, 63805, 305, 534, 1286, 45...
[ 0.0518798828125, 0.04266357421875, 0.25732421875, 0.15625, 0.23876953125, 0.261474609375, 0.15771484375, 0.1370849609375, 0.09027099609375, 0.04302978515625, 0.1396484375, 0.1522216796875, 0.11328125, 0.1500244140625, 0.1383056640625, 0.013427734375, 0.01275634765625, 0.13916015625...
embed
9719852_c0
9719852
lisp
0
Title: Common Lisp: getting all keys of a given hash table as a list Problem title: Common Lisp: getting all keys of a given hash table as a list Tags: lisp, hashtable, common-lisp, key, hashmap Problem: Common Lisp: getting all keys of a given hash table as a list I wonder if there is a less verbose way than using a l...
Common Lisp: getting all keys of a given hash table as a list Common Lisp: getting all keys of a given hash table as a list lisp hashtable common-lisp key hashmap Common Lisp Common Lisp: getting all keys of a given hash table as a list I wonder if there is a less verbose way than using a loop. Anyway this works for me...
[ -0.007354736328125, -0.00775146484375, 0.0076904296875, -0.0224609375, -0.01043701171875, -0.0181884765625, 0.0164794921875, -0.0020751953125, 0.003875732421875, -0.0284423828125, 0.0185546875, 0.0255126953125, -0.0021820068359375, 0.019287109375, 0.0031585693359375, 0.01806640625, -...
[ 151301, 1261, 7008, 20949, 756, 22799, 7, 34475, 1556, 127, 23180, 237, 5303, 111, 10, 400, 22819, 39210, 4086, 254, 256, 80425, 32195, 40715, 57823, 3917, 17368, 40956, 903, 43240, 313, 67616, 683, 22288, 126234, 183278, 1916, 12638, 3934,...
[ 0.1536865234375, 0.138427734375, 0.1854248046875, 0.1370849609375, 0.1434326171875, 0.2257080078125, 0.06500244140625, 0.0955810546875, 0.1607666015625, 0.11669921875, 0.1788330078125, 0.133056640625, 0.1978759765625, 0.030670166015625, 0.055908203125, 0.08160400390625, 0.12158203125...
embed
12549344_c0
12549344
lisp
0
Title: Simple LISP code won&#x27;t catch input errors Problem title: Simple LISP code won&#x27;t catch input errors Tags: recursion, lisp, factorial, error-handling Problem: Simple LISP code won't catch input errors I am writing a very simple lisp code for the recursive factorial function. When called using a number, i...
Simple LISP code won&#x27;t catch input errors Simple LISP code won&#x27;t catch input errors recursion lisp factorial error-handling Simple LISP FactorialRec Argument Simple LISP code won't catch input errors I am writing a very simple lisp code for the recursive factorial function. When called using a number, it work...
[ -0.02783203125, 0.0242919921875, -0.006561279296875, 0.01080322265625, 0.01806640625, 0.01318359375, 0.0106201171875, -0.0003662109375, -0.017578125, -0.01446533203125, 0.0010528564453125, -0.043701171875, -0.00445556640625, 0.01422119140625, 0.02294921875, 0.021484375, 0.01489257812...
[ 60552, 16970, 9434, 18151, 23742, 3768, 18, 105556, 107730, 18499, 195625, 400, 7008, 31461, 15403, 54885, 117969, 4332, 238, 112140, 32562, 8781, 5844, 32354, 35839, 14012, 43240, 5885, 9790, 11782, 17368, 9844, 959, 10, 212059, 34224, 5646, ...
[ 0.16845703125, 0.1131591796875, 0.1993408203125, 0.17578125, 0.031982421875, 0.0718994140625, 0.04144287109375, 0.1756591796875, 0.1690673828125, 0.1983642578125, 0.1378173828125, 0.11083984375, 0.16650390625, 0.1168212890625, 0.0909423828125, 0.0885009765625, 0.1195068359375, 0.01...
embed
9286014_c0
9286014
lisp
0
Title: unfold function in scheme Problem title: unfold function in scheme Tags: lisp, racket, scheme Problem: unfold function in scheme Goal: implement unfold function using only two arguments. The arguments: the first argument is f which takes an initial value of some type I and returns nil or a cons pair of two eleme...
unfold function in scheme unfold function in scheme lisp racket scheme unfold function in scheme Goal: implement unfold function using only two arguments. The arguments: the first argument is f which takes an initial value of some type I and returns nil or a cons pair of two elements (the first of these two is the next...
[ 0.005157470703125, 0.025390625, 0.0245361328125, 0.013671875, -0.00531005859375, 0.0125732421875, -0.019775390625, -0.01226806640625, 0.0036468505859375, -0.019287109375, 0.017578125, -0.016357421875, -0.000537872314453125, 0.00921630859375, -0.01239013671875, 0.01019287109375, 0.015...
[ 51, 42822, 32354, 23, 150370, 400, 7008, 673, 27853, 2016, 289, 29479, 17368, 4734, 6626, 10750, 5117, 1238, 51776, 61475, 34292, 10644, 87, 30646, 17324, 158, 7, 80836, 80854, 11737, 12830, 5303, 62, 17932, 55769, 2060, 15400, 442, 959, ...
[ 0.1461181640625, 0.286376953125, 0.1826171875, 0.059814453125, 0.2188720703125, 0.051055908203125, 0.123291015625, 0.045074462890625, 0.1492919921875, 0.1182861328125, 0.007232666015625, 0.12158203125, 0.0291290283203125, 0.091796875, 0.1634521484375, 0.2325439453125, 0.0515441894531...
embed
40270625_c0
40270625
lisp
0
Title: When to use ~&#x27;some-symbol in Clojure Macro? Problem title: When to use ~&#x27;some-symbol in Clojure Macro? Tags: clojurescript, lisp, macros, clojure, functional-programming Problem: When to use ~'some-symbol in Clojure Macro? When I was reading The Joy of Clojure I came across some code. (fn [~'key ~'r ol...
When to use ~&#x27;some-symbol in Clojure Macro? When to use ~&#x27;some-symbol in Clojure Macro? clojurescript lisp macros clojure functional-programming When Clojure Macro When to use ~'some-symbol in Clojure Macro? When I was reading The Joy of Clojure I came across some code. What is the exact behaviour of this dec...
[ 0.007354736328125, 0.0098876953125, 0.0064697265625, 0.000400543212890625, -0.01287841796875, 0.00003814697265625, -0.0023956298828125, 0.015869140625, -0.00799560546875, 0.01165771484375, -0.004241943359375, -0.015625, 0.000949859619140625, -0.00099945068359375, -0.01385498046875, -0....
[ 14847, 4527, 6780, 3768, 43452, 176726, 51053, 461, 107, 4727, 516, 23, 20450, 32032, 7008, 111789, 123309, 28966, 84015, 111, 18151, 224833, 21635, 18234, 3060, 4904, 2306, 126340, 4650, 6619 ]
[ 0.08465576171875, 0.10595703125, 0.08251953125, 0.07958984375, 0.186767578125, 0.259765625, 0.09722900390625, 0.149658203125, 0.079345703125, 0.0843505859375, 0.12841796875, 0.0194244384765625, 0.044921875, 0.07733154296875, 0.048370361328125, 0.1290283203125, 0.032470703125, 0.014...
embed
4063148_c0
4063148
lisp
0
Title: Binomial Coefficient using Tail Recursion in LISP Problem title: Binomial Coefficient using Tail Recursion in LISP Tags: binomial-coefficients, lisp, recursion, tail-recursion Problem: Binomial Coefficient using Tail Recursion in LISP I want to program a function to find C(n,k) using tail recursion, and I would ...
Binomial Coefficient using Tail Recursion in LISP Binomial Coefficient using Tail Recursion in LISP binomial-coefficients lisp recursion tail-recursion Tail Binomial Coefficient Recursion LISP NIL Binomial Coefficient using Tail Recursion in LISP I want to program a function to find C(n,k) using tail recursion, and I w...
[ -0.004974365234375, 0.0152587890625, 0.00830078125, -0.022705078125, 0.000591278076171875, 0.00909423828125, 0.00311279296875, -0.0185546875, 0.00067901611328125, -0.00469970703125, 0.0025177001953125, -0.0194091796875, -0.01495361328125, -0.0067138671875, 0.0203857421875, -0.006561279...
[ 1843, 1687, 15403, 1311, 13, 24500, 45964, 17368, 1218, 379, 165428, 42, 6889, 23, 16970, 9434, 333, 587, 4240, 11044, 400, 7008, 195625, 1830, 46741, 107, 48650, 541, 16444, 3444, 1528, 32354, 7413, 313, 132, 19, 4, 92, 77947, 4358, 15...
[ 0.1077880859375, 0.16357421875, 0.1246337890625, 0.1292724609375, 0.06671142578125, 0.1513671875, 0.0743408203125, 0.1080322265625, 0.1834716796875, 0.156005859375, 0.154541015625, 0.142822265625, 0.1103515625, 0.0251312255859375, 0.1190185546875, 0.2176513671875, 0.1103515625, 0.0...
embed
16285405_c0
16285405
lisp
0
Title: Scheme namespace use convention. Compared with Javascript Problem title: Scheme namespace use convention. Compared with Javascript Tags: javascript, lisp, functional-programming, namespaces, scheme Problem: Scheme namespace use convention. Compared with Javascript Had to learn javascript for a project, do not mi...
Scheme namespace use convention. Compared with Javascript Scheme namespace use convention. Compared with Javascript javascript lisp functional-programming namespaces scheme Scheme Compared Javascript Scheme namespace use convention. Compared with Javascript Had to learn javascript for a project, do not miss it one bit!...
[ 0.003082275390625, 0.025146484375, -0.0086669921875, 0.01141357421875, -0.01220703125, -0.0017852783203125, 0.00775146484375, 0.00811767578125, -0.006195068359375, -0.00909423828125, 0.01806640625, -0.00836181640625, 0.000621795654296875, -0.000518798828125, 0.00762939453125, -0.002716...
[ 34702, 282, 210716, 4527, 101805, 113307, 74181, 136951, 400, 7008, 123309, 28966, 150370, 678, 28129, 30698, 13452, 24725, 86983, 10723, 14288, 32628, 8966, 119140, 5915, 163136, 8331, 959, 160, 16591, 7964, 169022, 89397, 28219, 83, 5759, 316...
[ 0.241943359375, 0.20751953125, 0.289794921875, 0.1298828125, 0.21875, 0.125732421875, 0.2117919921875, 0.232421875, 0.0914306640625, 0.2034912109375, 0.134765625, 0.08587646484375, 0.2705078125, 0.0268402099609375, 0.011688232421875, 0.051025390625, 0.054290771484375, 0.07427978515...
embed
18554863_c0
18554863
lisp
0
Title: Change the format of a word in Emacs-AUCTeX without actually selecting it Problem title: Change the format of a word in Emacs-AUCTeX without actually selecting it Tags: emacs, lisp, auctex Problem: Change the format of a word in Emacs-AUCTeX without actually selecting it One nice feature of modern word processor...
Change the format of a word in Emacs-AUCTeX without actually selecting it Change the format of a word in Emacs-AUCTeX without actually selecting it emacs lisp auctex Change Emacs-AUCTeX C-c C-f C-i Change the format of a word in Emacs-AUCTeX without actually selecting it One nice feature of modern word processors is th...
[ -0.03125, 0.01104736328125, -0.0113525390625, -0.0101318359375, -0.015625, 0.0038909912109375, 0.003265380859375, 0.01275634765625, 0.0036163330078125, 0.027587890625, 0.00811767578125, 0.0240478515625, -0.02880859375, -0.0012664794921875, -0.0029144287109375, -0.014892578125, 0.0017...
[ 87377, 70, 9384, 111, 2565, 23, 85269, 4439, 20000, 43379, 13, 1542, 15490, 20653, 36849, 10, 9, 352, 2263, 400, 7008, 531, 238, 24371, 313, 420, 14, 442, 26267, 60213, 5744, 14543, 4295, 831, 15549, 1295, 6315, 85530, 27117, 3687, 7986...
[ 0.2371826171875, 0.02734375, 0.293212890625, 0.0301971435546875, 0.206298828125, 0.061004638671875, 0.1893310546875, 0.195556640625, 0.124755859375, 0.08966064453125, 0.1497802734375, 0.178955078125, 0.1409912109375, 0.1051025390625, 0.1544189453125, 0.00030517578125, 0.0635375976562...
embed
25389640_c0
25389640
lisp
0
Title: SICP terminology : difference between procedure and operation Problem title: SICP terminology : difference between procedure and operation Tags: terminology, lisp, scheme, sicp Problem: SICP terminology : difference between procedure and operation Is the term "procedure" synonymous with the term "operation" in S...
SICP terminology : difference between procedure and operation SICP terminology : difference between procedure and operation terminology lisp scheme sicp SICP SICP terminology : difference between procedure and operation Is the term "procedure" synonymous with the term "operation" in SICP or not? (For example in the cha...
[ 0.0036163330078125, 0.01470947265625, 0.00341796875, 0.0016021728515625, -0.0272216796875, 0.0118408203125, 0.005523681640625, 0.001708984375, -0.00872802734375, -0.005218505859375, 0.00067901611328125, -0.005340576171875, -0.01141357421875, -0.017822265625, -0.0029754638671875, -0.007...
[ 159, 198993, 18614, 25443, 60212, 17721, 50491, 41018, 7008, 150370, 26536, 254, 136, 13579, 232578, 164661, 10821, 678, 21473, 1363, 23, 959, 139539, 35064, 5701, 15400, 277, 771, 7030, 15612, 31, 170470, 62548, 12877, 117615, 123996, 155370, ...
[ 0.06982421875, 0.2205810546875, 0.10595703125, 0.09930419921875, 0.16748046875, 0.05633544921875, 0.23681640625, 0.23583984375, 0.1090087890625, 0.0997314453125, 0.05780029296875, 0.0877685546875, 0.0106201171875, 0.1226806640625, 0.2432861328125, 0.11083984375, 0.0323486328125, 0....
embed
39691566_c0
39691566
lisp
0
Title: Common Lisp, &quot;defined but never used&quot; Problem title: Common Lisp, &quot;defined but never used&quot; Tags: lisp, lisp-2, funcall, common-lisp Problem: Common Lisp, "defined but never used" This function compiles with warnings, fn is defined and never used in the first line, and that fn is an undefined ...
Common Lisp, &quot;defined but never used&quot; Common Lisp, &quot;defined but never used&quot; lisp lisp-2 funcall common-lisp Common Lisp test.lisp:9:1 PROGN SB-IMPL DEFUN SB-INT:NAMED-LAMBDA TEST-FUNCTION BLOCK FUNCALL test.lisp:10:3 SB-C lisp-2 Common Lisp, "defined but never used" This function compiles with warni...
[ 0.017333984375, 0.0211181640625, -0.01287841796875, 0.0224609375, -0.0274658203125, -0.00836181640625, 0.0078125, -0.00677490234375, -0.004608154296875, -0.0400390625, -0.01080322265625, -0.00823974609375, -0.0228271484375, 0.009765625, 0.00634765625, 0.00897216796875, -0.00325012207...
[ 151301, 1261, 7008, 112, 5983, 297, 1284, 8306, 11814, 400, 5428, 7477, 85763, 39210, 4086, 254, 3034, 88858, 866, 202001, 182512, 6538, 384, 21828, 175560, 124448, 136258, 66437, 90944, 32354, 9969, 1340, 678, 1631, 6977, 14783, 61924, 136, ...
[ 0.1817626953125, 0.16357421875, 0.190185546875, 0.045379638671875, 0.1845703125, 0.07037353515625, 0.1328125, 0.1639404296875, 0.174072265625, 0.0823974609375, 0.0799560546875, 0.0249481201171875, 0.067626953125, 0.1029052734375, 0.05194091796875, 0.0845947265625, 0.10791015625, 0....
embed
23103244_c0
23103244
lisp
0
Title: How to grab read-write-lock without releasing it in Lisp? Problem title: How to grab read-write-lock without releasing it in Lisp? Tags: readwritelock, multithreading, lisp, ccl Problem: How to grab read-write-lock without releasing it in Lisp? I'm using Clozure CL to write an app. In the app, I need to write se...
How to grab read-write-lock without releasing it in Lisp? How to grab read-write-lock without releasing it in Lisp? readwritelock multithreading lisp ccl How Lisp How to grab read-write-lock without releasing it in Lisp? I'm using Clozure CL to write an app. In the app, I need to write several files, so I made a read-w...
[ -0.0022125244140625, 0.0157470703125, -0.0133056640625, -0.02587890625, -0.01904296875, -0.01397705078125, 0.0179443359375, -0.005401611328125, 0.0004863739013671875, -0.01031494140625, -0.0108642578125, 0.00183868408203125, -0.016845703125, 0.00885009765625, 0.029541015625, 0.00878906...
[ 11249, 59102, 12301, 434, 18781, 9, 21135, 15490, 47130, 162, 1261, 7008, 23, 3869, 65847, 400, 34937, 47, 442, 51053, 1667, 107, 46323, 33022, 4027, 40368, 102158, 12638, 11435, 31577, 569, 18, 32354, 12765, 756, 32562, 28484, 43240, 1884,...
[ 0.04754638671875, 0.233154296875, 0.199462890625, 0.0987548828125, 0.1871337890625, 0.038177490234375, 0.252685546875, 0.0977783203125, 0.086669921875, 0.0709228515625, 0.14697265625, 0.2227783203125, 0.013397216796875, 0.02447509765625, 0.0692138671875, 0.086669921875, 0.11535644531...
embed
5321097_c0
5321097
lisp
0
Title: what does the dot in the following emacs command mean Problem title: what does the dot in the following emacs command mean Tags: elisp, emacs, lisp Problem: what does the dot in the following emacs command mean Here is some doco I'm creating but... I'm not sure what the dot '.' between the extension and the mode...
what does the dot in the following emacs command mean what does the dot in the following emacs command mean elisp emacs lisp what does the dot in the following emacs command mean Here is some doco I'm creating but... I'm not sure what the dot '.' between the extension and the mode is for though in the following: File A...
[ 0.00109100341796875, 0.0120849609375, 0.0017852783203125, -0.000316619873046875, -0.00494384765625, 0.0211181640625, -0.007568359375, 0.0272216796875, 0.004852294921875, -0.01116943359375, 0.012939453125, 0.0029449462890625, -0.01171875, -0.01416015625, -0.0185546875, -0.02294921875, ...
[ 2367, 70, 20633, 25632, 352, 2263, 7, 75101, 29459, 15296, 7008, 400, 54, 587, 105233, 9077, 5, 17721, 111938, 136, 13736, 100, 21208, 42724, 56187, 89536, 228214, 661, 2276, 71, 16188, 34695, 61170, 6562, 45388, 5303, 1556, 22819, 1809, ...
[ 0.008209228515625, 0.0251312255859375, 0.251708984375, 0.1458740234375, 0.1072998046875, 0.1407470703125, 0.1416015625, 0.190673828125, 0.10400390625, 0.067626953125, 0.18505859375, 0.06549072265625, 0.000762939453125, 0.0723876953125, 0.0205078125, 0.0025634765625, 0.1607666015625, ...
embed
78988679_c0
78988679
lisp
0
Title: Can you auto-continue on continuable error with clisp (or sbcl)? Problem title: Can you auto-continue on continuable error with clisp (or sbcl)? Tags: clisp, lisp, common-lisp Problem: Can you auto-continue on continuable error with clisp (or sbcl)? This seems like an obvious question but my Googling suggests th...
Can you auto-continue on continuable error with clisp (or sbcl)? Can you auto-continue on continuable error with clisp (or sbcl)? clisp lisp common-lisp Can auxfns.lsp Continuable Error DEFUN DEFMACRO DEBUG PACKAGE COMMON-LISP Ignore Can you auto-continue on continuable error with clisp (or sbcl)? This seems like an ob...
[ 0.0026397705078125, 0.0157470703125, 0.007232666015625, -0.00836181640625, -0.0262451171875, 0.01348876953125, 0.01513671875, 0.0037841796875, -0.00531005859375, -0.03076171875, -0.012939453125, -0.00787353515625, 0.0005035400390625, 0.0162353515625, 0.006317138671875, -0.0065002441406...
[ 4171, 1809, 133891, 13, 98, 9454, 2661, 18499, 678, 95701, 7008, 91, 275, 34937, 400, 39210, 4086, 254, 2970, 14783, 50343, 212059, 202001, 1514, 59370, 14255, 15639, 11107, 20572, 82707, 67616, 683, 11137, 107, 398, 162520, 230596, 110, 18...
[ 0.0859375, 0.242431640625, 0.2379150390625, 0.129638671875, 0.1141357421875, 0.1591796875, 0.14208984375, 0.21337890625, 0.0986328125, 0.139404296875, 0.190673828125, 0.042327880859375, 0.05780029296875, 0.14892578125, 0.0360107421875, 0.08251953125, 0.042938232421875, 0.1258544921...
embed
9622162_c0
9622162
lisp
0
Title: Common Lisp Unbound Variable Problem title: Common Lisp Unbound Variable Tags: clos, common-lisp, lisp Problem: Common Lisp Unbound Variable Is it possible to use an uninitialized variable as a function argument? For an assignment, I have to use the CLOS to write a semantic network system, and my professor inclu...
Common Lisp Unbound Variable Common Lisp Unbound Variable clos common-lisp lisp Common Lisp Unbound Variable Human Error Attempt Common Lisp Unbound Variable Is it possible to use an uninitialized variable as a function argument? For an assignment, I have to use the CLOS to write a semantic network system, and my profe...
[ 0.03369140625, 0.03662109375, 0.00897216796875, 0.00009584426879882812, -0.00555419921875, -0.00885009765625, 0.017333984375, -0.006134033203125, -0.020263671875, -0.040771484375, -0.001983642578125, -0.0172119140625, 0.000377655029296875, 0.022216796875, 0.018798828125, -0.00799560546...
[ 151301, 1261, 7008, 992, 99091, 84572, 2886, 20450, 7, 39210, 4086, 254, 400, 28076, 212059, 34224, 7722, 4527, 51, 943, 118, 289, 29367, 77336, 237, 10, 32354, 10750, 95486, 313, 92933, 33022, 484, 109109, 33120, 5426, 16030, 3034, 140992,...
[ 0.1424560546875, 0.151123046875, 0.1534423828125, 0.0938720703125, 0.2012939453125, 0.2020263671875, 0.07568359375, 0.1619873046875, 0.0278472900390625, 0.1151123046875, 0.09979248046875, 0.09173583984375, 0.09942626953125, 0.1827392578125, 0.1947021484375, 0.18603515625, 0.131591796...
embed
45659321_c0
45659321
lisp
0
Title: Debugging live stack frames in Common Lisp ( SBCL) .How does the debugger/compiler implement this capability? Problem title: Debugging live stack frames in Common Lisp ( SBCL) .How does the debugger/compiler implement this capability? Tags: sbcl, lisp Problem: Debugging live stack frames in Common Lisp ( SBCL) ....
Debugging live stack frames in Common Lisp ( SBCL) .How does the debugger/compiler implement this capability? Debugging live stack frames in Common Lisp ( SBCL) .How does the debugger/compiler implement this capability? sbcl lisp Debugging Common Lisp SBCL How Debugging live stack frames in Common Lisp ( SBCL) .How doe...
[ 0.01202392578125, 0.0269775390625, -0.00531005859375, -0.0019378662109375, -0.0062255859375, 0.006195068359375, 0.0087890625, 0.03515625, -0.0125732421875, -0.034423828125, 0.002960205078125, -0.0111083984375, 0.00007104873657226562, 0.00677490234375, 0.025634765625, 0.006927490234375,...
[ 262, 978, 36659, 6867, 177261, 2674, 90, 151301, 1261, 7008, 90944, 37486, 81826, 8, 21407, 58875, 34759, 29479, 3540, 41159, 91, 275, 34937, 400, 11249, 23, 114864, 456, 33180, 18151, 20271, 27024, 84079, 23468, 89817, 26582, 137272, 55300, ...
[ 0.1358642578125, 0.2335205078125, 0.09161376953125, 0.1649169921875, 0.1793212890625, 0.162841796875, 0.0302276611328125, 0.150390625, 0.17822265625, 0.231689453125, 0.1141357421875, 0.2191162109375, 0.025787353515625, 0.1361083984375, 0.114501953125, 0.1337890625, 0.111083984375, ...
embed
72329565_c0
72329565
lisp
0
Title: How does a Lisp macro extend the syntax and semantics of the Lisp programming language? Problem title: How does a Lisp macro extend the syntax and semantics of the Lisp programming language? Tags: common-lisp, lisp Problem: How does a Lisp macro extend the syntax and semantics of the Lisp programming language? A...
How does a Lisp macro extend the syntax and semantics of the Lisp programming language? How does a Lisp macro extend the syntax and semantics of the Lisp programming language? common-lisp lisp How Lisp How does a Lisp macro extend the syntax and semantics of the Lisp programming language? A book [1] that I am reading s...
[ 0.00080108642578125, 0.037841796875, 0.011962890625, 0.035888671875, -0.00262451171875, 0.0177001953125, -0.017333984375, 0.004852294921875, -0.005889892578125, -0.0296630859375, -0.00153350830078125, -0.0234375, 0.000286102294921875, -0.00885009765625, 0.005950927734375, -0.0134277343...
[ 11249, 1261, 7008, 111789, 65042, 6002, 86531, 484, 109109, 56037, 46876, 39210, 4086, 254, 400, 14602, 10, 136, 12877, 16454, 27781, 187136, 30675, 2392, 6953, 194927, 15612, 49725, 497, 73094, 9318 ]
[ 0.06884765625, 0.172607421875, 0.22119140625, 0.20849609375, 0.1890869140625, 0.08551025390625, 0.149169921875, 0.086669921875, 0.11962890625, 0.1217041015625, 0.0936279296875, 0.04888916015625, 0.097900390625, 0.1297607421875, 0.109619140625, 0.055419921875, 0.0198516845703125, 0....
embed
23394648_c0
23394648
lisp
0
Title: Non-recursive symbol-macrolet Problem title: Non-recursive symbol-macrolet Tags: lisp, macros, metaprogramming, common-lisp Problem: Non-recursive symbol-macrolet I'd like to expand all symbols x in a certain fragment into (value x) . E.g. (lambda () (* x x)) should become (lambda () (* (value x) (value x))) A s...
Non-recursive symbol-macrolet Non-recursive symbol-macrolet lisp macros metaprogramming common-lisp Non-recursive Non-recursive symbol-macrolet I'd like to expand all symbols x in a certain fragment into (value x) . E.g. should become A simple use of symbol-macrolet wouldn't work, because explodes into infinite recursi...
[ -0.0152587890625, 0.01031494140625, 0.00958251953125, 0.0023956298828125, -0.00244140625, 0.02734375, -0.0012969970703125, 0.0135498046875, 0.011962890625, -0.0283203125, -0.018310546875, 0.01202392578125, 0.00421142578125, 0.0034942626953125, 0.0186767578125, -0.0015716552734375, -0...
[ 3775, 107, 48650, 26582, 192, 15322, 1974, 5844, 400, 7008, 111789, 23550, 28966, 39210, 4086, 254, 1884, 47, 71062, 756, 7, 1022, 23, 24233, 38551, 3934, 27494, 5608, 24209, 8781, 4527, 68746, 18, 4488, 24649, 988, 54241, 195625, 1830, 2...
[ 0.1287841796875, 0.046539306640625, 0.1446533203125, 0.2216796875, 0.05938720703125, 0.1259765625, 0.220458984375, 0.03851318359375, 0.05218505859375, 0.1248779296875, 0.1375732421875, 0.08935546875, 0.1038818359375, 0.0712890625, 0.039794921875, 0.1163330078125, 0.098388671875, 0....
embed
58460770_c0
58460770
lisp
0
Title: Unusual Scheme `let` binding, what is `f`? Problem title: Unusual Scheme `let` binding, what is `f`? Tags: syntax, scheme, binding, let, lisp Problem: Unusual Scheme `let` binding, what is `f`? In "The Scheme Programming Language 4th Edition" section 3.3 Continuations the following example is given: (define prod...
Unusual Scheme `let` binding, what is `f`? Unusual Scheme `let` binding, what is `f`? syntax scheme binding let lisp Unusual Scheme body1 body2 Unusual Scheme `let` binding, what is `f`? In "The Scheme Programming Language 4th Edition" section 3.3 Continuations the following example is given: I can confirm it works in ...
[ -0.00201416015625, 0.019287109375, -0.01116943359375, -0.003631591796875, -0.0191650390625, 0.00750732421875, 0.00439453125, -0.0003643035888671875, -0.00714111328125, 0.01251220703125, -0.0103759765625, -0.007080078125, -0.0255126953125, 0.00518798828125, 0.0078125, -0.0107421875, -...
[ 56979, 64010, 34702, 282, 1974, 128239, 2367, 83, 420, 6002, 86531, 150370, 2633, 400, 7008, 14361, 304, 27958, 83658, 201, 44965, 80308, 50343, 27781, 39563, 43240, 19998, 7560, 4865, 1238, 36917, 44084, 34475, 96, 7, 95486, 47, 68034, 148...
[ 0.1351318359375, 0.203857421875, 0.222900390625, 0.13427734375, 0.2421875, 0.25048828125, 0.0819091796875, 0.09130859375, 0.224609375, 0.0333251953125, 0.1148681640625, 0.18017578125, 0.188232421875, 0.0293731689453125, 0.1376953125, 0.1553955078125, 0.04144287109375, 0.0859375, ...
embed
47045655_c0
47045655
lisp
0
Title: apply in Common Lisp: is the function called once, or once for every element of the list? Problem title: apply in Common Lisp: is the function called once, or once for every element of the list? Tags: lisp, common-lisp Problem: apply in Common Lisp: is the function called once, or once for every element of the l...
apply in Common Lisp: is the function called once, or once for every element of the list? apply in Common Lisp: is the function called once, or once for every element of the list? lisp common-lisp Common Lisp sum2 apply in Common Lisp: is the function called once, or once for every element of the list? I am trying to f...
[ -0.0079345703125, 0.00909423828125, 0.025634765625, 0.00131988525390625, -0.008544921875, 0.01190185546875, 0.0098876953125, 0.0103759765625, 0.03369140625, -0.041015625, 0.0283203125, -0.006378173828125, 0.0004673004150390625, -0.00173187255859375, 0.0107421875, 0.0240478515625, 0.0...
[ 59911, 23, 151301, 1261, 7008, 83, 32354, 35839, 24145, 707, 100, 11907, 12830, 5303, 400, 39210, 4086, 254, 10554, 304, 28219, 3917, 43240, 34735, 187136, 12647, 1459, 4046, 38869, 11, 79983, 9007, 538, 420, 25632, 11782, 54, 33022, 66161,...
[ 0.3037109375, 0.06683349609375, 0.177978515625, 0.138427734375, 0.189697265625, 0.043548583984375, 0.2222900390625, 0.14599609375, 0.242919921875, 0.07879638671875, 0.09844970703125, 0.1170654296875, 0.1507568359375, 0.1856689453125, 0.0823974609375, 0.1226806640625, 0.07012939453125...
embed
31236374_c0
31236374
lisp
0
Title: Sending HTTP POST in Racket Problem title: Sending HTTP POST in Racket Tags: http, lisp, network-programming, post, racket Problem: Sending HTTP POST in Racket I am trying to send a string via http/post in Racket, this is what I tried so far after reading the Racket HTTP Client Documentation #lang racket (requir...
Sending HTTP POST in Racket Sending HTTP POST in Racket http lisp network-programming post racket net/http-client Sending HTTP POST Racket something.com Hello www.w3.org Sending HTTP POST in Racket I am trying to send a string via http/post in Racket, this is what I tried so far after reading the Racket HTTP Client Doc...
[ -0.005828857421875, 0.00775146484375, 0.002105712890625, 0.033203125, 0.0023651123046875, -0.00970458984375, -0.00445556640625, -0.00238037109375, -0.023681640625, -0.0269775390625, 0.0303955078125, -0.03173828125, -0.0186767578125, -0.0179443359375, -0.0218505859375, -0.0084228515625,...
[ 24044, 214, 135913, 81903, 23, 2552, 27853, 1621, 400, 7008, 33120, 28966, 1305, 673, 2043, 5475, 222978, 9844, 277, 35378, 434, 363, 1478, 31577, 25379, 79315, 1829, 4594, 37842, 91732, 43101, 53299, 25632, 18499, 678, 40368, 12921, 37276, ...
[ 0.130126953125, 0.0194854736328125, 0.257568359375, 0.1954345703125, 0.07379150390625, 0.15087890625, 0.2376708984375, 0.1558837890625, 0.0400390625, 0.1282958984375, 0.07708740234375, 0.073974609375, 0.0743408203125, 0.0904541015625, 0.033905029296875, 0.109375, 0.1302490234375, 0...
embed
51851231_c1
51851231
lisp
1
step 2) and the listRet should be returned. Function: (defun sort-by-freq (listUnord listOrdFreqs &optional startList) (print startList) (let ((listRet startList)) ;; step 1 (if (equal (length listUnord) 1) ;;step 2 ;;(print listRet) (push (car listUnord) listRet) (loop for pair in listUnord ;;step 3 do (if (and (equa...
step 2) and the listRet should be returned. Function: (defun sort-by-freq (listUnord listOrdFreqs &optional startList) (print startList) (let ((listRet startList)) ;; step 1 (if (equal (length listUnord) 1) ;;step 2 ;;(print listRet) (push (car listUnord) listRet) (loop for pair in listUnord ;;step 3 do (if (and (equa...
[ 0.0146484375, 0.01446533203125, 0.00201416015625, -0.00848388671875, 0.000782012939453125, 0.01043701171875, -0.00604248046875, -0.023193359375, 0.0186767578125, 0.0177001953125, 0.0274658203125, 0.01470947265625, 0.0225830078125, -0.01324462890625, -0.0030517578125, -0.02978515625, ...
[ 29954, 4958, 5303, 4332, 18, 5608, 176377, 28670, 10763, 112, 16498, 12096, 9, 1272, 12176, 864, 6562, 14256, 6651, 143045, 107, 109585, 4034, 154663, 35662, 1974, 106, 3190, 13, 71723, 23986, 4879, 95528, 7332, 3284, 28354, 80836, 138, 756...
[ 0.1663818359375, 0.1109619140625, 0.1585693359375, 0.1519775390625, 0.160400390625, 0.051300048828125, 0.178466796875, 0.1409912109375, 0.036376953125, 0.1080322265625, 0.170166015625, 0.2083740234375, 0.00537109375, 0.145751953125, 0.205322265625, 0.0908203125, 0.156982421875, 0.0...
embed
10008887_c0
10008887
lisp
0
Title: How to make slime work in LispCabinet using sbcl? Problem title: How to make slime work in LispCabinet using sbcl? Tags: lisp, sbcl, slime, emacs Problem: How to make slime work in LispCabinet using sbcl? I found out LispCabinet includes slime after installation when I run the clozure-cl version of it (starting ...
How to make slime work in LispCabinet using sbcl? How to make slime work in LispCabinet using sbcl? lisp sbcl slime emacs sbcl How LispCabinet Polling DOKUME Administrator LOKALE Temp slime.2788 Abort M-x How to make slime work in LispCabinet using sbcl? I found out LispCabinet includes slime after installation when I ...
[ 0.0027923583984375, 0.0184326171875, 0.0010528564453125, 0.0087890625, -0.01904296875, 0.0223388671875, 0.00408935546875, 0.02197265625, 0.000576019287109375, -0.0224609375, 0.00009012222290039062, -0.0026397705078125, 0.00180816650390625, 0.00188446044921875, 0.0052490234375, -0.01489...
[ 11249, 3249, 34264, 13, 4488, 1261, 7008, 441, 14508, 1179, 17368, 91, 275, 34937, 23, 400, 2263, 663, 30319, 9092, 118173, 107185, 37446, 146406, 3157, 19135, 276, 9, 425, 96853, 59720, 11675, 20450, 1667, 107, 11389, 17137, 138, 4216, 7...
[ 0.04486083984375, 0.078857421875, 0.2235107421875, 0.221435546875, 0.142822265625, 0.13330078125, 0.1815185546875, 0.04376220703125, 0.1995849609375, 0.170166015625, 0.04791259765625, 0.048187255859375, 0.096435546875, 0.2022705078125, 0.035888671875, 0.08935546875, 0.064697265625, ...
embed
61300570_c0
61300570
lisp
0
Title: problems with lisp and do construct with itterating Problem title: problems with lisp and do construct with itterating Tags: lisp, common-lisp Problem: problems with lisp and do construct with itterating Firstly, I am having this problem. The code I generated isn't iterating thru each word, but instead thru the ...
problems with lisp and do construct with itterating problems with lisp and do construct with itterating lisp common-lisp set_isa Verb Talk Run Trace JUMP NIL HASH-TABLE TEST FASTHASH-EQL problems with lisp and do construct with itterating Firstly, I am having this problem. The code I generated isn't iterating thru each...
[ 0.00119781494140625, -0.0037078857421875, -0.0164794921875, 0.0079345703125, -0.031982421875, 0.0126953125, 0.01092529296875, -0.000873565673828125, 0.0047607421875, -0.00811767578125, 0.01556396484375, -0.00787353515625, 0.0098876953125, -0.0002727508544921875, -0.0067138671875, 0.014...
[ 44402, 678, 400, 7008, 136, 54, 64549, 17, 3055, 26518, 39210, 4086, 254, 5423, 4542, 1446, 75113, 28398, 4937, 329, 821, 149101, 541, 16444, 11666, 618, 183057, 384, 21828, 101413, 841, 19441, 2967, 18151, 139392, 56112, 18, 67, 98767, 8...
[ 0.156005859375, 0.120849609375, 0.1192626953125, 0.197265625, 0.090576171875, 0.10888671875, 0.19189453125, 0.0743408203125, 0.1798095703125, 0.1358642578125, 0.0889892578125, 0.1142578125, 0.1607666015625, 0.102783203125, 0.087158203125, 0.09814453125, 0.133544921875, 0.0352172851...
embed
12591258_c0
12591258
lisp
0
Title: How to get SLIME to autocomplete symbols from loaded other packages? Problem title: How to get SLIME to autocomplete symbols from loaded other packages? Tags: slime, lisp, emacs, common-lisp Problem: How to get SLIME to autocomplete symbols from loaded other packages? I think this used to work out of the box in ...
How to get SLIME to autocomplete symbols from loaded other packages? How to get SLIME to autocomplete symbols from loaded other packages? slime lisp emacs common-lisp loaded How SLIME How to get SLIME to autocomplete symbols from loaded other packages? I think this used to work out of the box in Emacs 23, but in 24 it ...
[ 0.0035400390625, -0.01214599609375, -0.006683349609375, 0.0107421875, -0.036376953125, 0.0230712890625, 0.01104736328125, 0.0322265625, 0.0101318359375, -0.023681640625, 0.02734375, -0.003753662109375, -0.01495361328125, -0.006500244140625, -0.00634765625, 0.00396728515625, -0.015869...
[ 11249, 2046, 42135, 66820, 47, 1809, 277, 131801, 26582, 7, 1295, 72367, 3789, 98169, 297, 34264, 13, 400, 7008, 352, 2263, 39210, 4086, 254, 4488, 16530, 85269, 4439, 24645, 744, 99737, 399, 89038, 11675, 64240, 53, 9069, 21130, 7413, 32...
[ 0.058746337890625, 0.08636474609375, 0.2301025390625, 0.296630859375, 0.07537841796875, 0.2003173828125, 0.1669921875, 0.23779296875, 0.241943359375, 0.004791259765625, 0.10430908203125, 0.1787109375, 0.1103515625, 0.215087890625, 0.0501708984375, 0.22314453125, 0.1824951171875, 0....
embed
56408489_c0
56408489
lisp
0
Title: In ABCL how do I break from a runaway function without killing LISP? Problem title: In ABCL how do I break from a runaway function without killing LISP? Tags: common-lisp, abcl, break, control-c, lisp Problem: In ABCL how do I break from a runaway function without killing LISP? In ABCL, during development I some...
In ABCL how do I break from a runaway function without killing LISP? In ABCL how do I break from a runaway function without killing LISP? common-lisp abcl break control-c lisp a ABCL LISP How In ABCL how do I break from a runaway function without killing LISP? In ABCL, during development I sometimes get runaway functio...
[ -0.0032958984375, 0.0054931640625, -0.00665283203125, -0.006256103515625, -0.014404296875, -0.0111083984375, 0.0181884765625, 0.0037994384765625, -0.01068115234375, -0.036376953125, -0.006500244140625, -0.0029754638671875, -0.0269775390625, 0.0125732421875, 0.0140380859375, 0.002639770...
[ 47457, 866, 3642, 36356, 1295, 11675, 72274, 32354, 15490, 200, 16970, 9434, 360, 39210, 4086, 254, 1563, 34937, 6226, 238, 400, 7008, 10, 11249, 30319, 34754, 68018, 3444, 7279, 71924, 30646, 2663, 17366, 1375, 47599, 9433, 352, 2263, 1280...
[ 0.1322021484375, 0.1732177734375, 0.051971435546875, 0.2080078125, 0.169677734375, 0.1029052734375, 0.2288818359375, 0.2164306640625, 0.1090087890625, 0.09295654296875, 0.135009765625, 0.2139892578125, 0.038116455078125, 0.098388671875, 0.064697265625, 0.1343994140625, 0.050415039062...
embed
11070985_c0
11070985
lisp
0
Title: How do I convert a string to a symbol for use as a key in the Lisp &quot;assoc&quot; function? Problem title: How do I convert a string to a symbol for use as a key in the Lisp &quot;assoc&quot; function? Tags: lisp, common-lisp, symbols Problem: How do I convert a string to a symbol for use as a key in the Lisp...
How do I convert a string to a symbol for use as a key in the Lisp &quot;assoc&quot; function? How do I convert a string to a symbol for use as a key in the Lisp &quot;assoc&quot; function? lisp common-lisp symbols How Lisp CL-USER NIL How do I convert a string to a symbol for use as a key in the Lisp "assoc" function?...
[ -0.005645751953125, -0.004913330078125, -0.0021209716796875, 0.00037384033203125, -0.020263671875, 0.0206298828125, -0.00982666015625, 0.0027618408203125, 0.0140380859375, -0.0152587890625, 0.01116943359375, -0.0089111328125, -0.00154876708984375, 0.017822265625, -0.0177001953125, 0.00...
[ 11249, 54, 87, 96760, 79315, 47, 10, 26582, 4527, 237, 22799, 1261, 7008, 73395, 238, 32354, 400, 39210, 4086, 254, 46323, 1062, 50184, 541, 16444, 125413, 6562, 151301, 11782, 63927, 10750, 10644, 80836, 284, 5, 757, 11, 304, 38478 ]
[ 0.046875, 0.00946044921875, 0.006591796875, 0.1827392578125, 0.2744140625, 0.0975341796875, 0.0618896484375, 0.257568359375, 0.085205078125, 0.05535888671875, 0.201904296875, 0.149169921875, 0.1976318359375, 0.1505126953125, 0.1656494140625, 0.1234130859375, 0.0762939453125, 0.0981...
embed
3680980_c0
3680980
lisp
0
Title: Emulating lisp cons cells in Tcl Problem title: Emulating lisp cons cells in Tcl Tags: tcl, lisp, dynamic-scope Problem: Emulating lisp cons cells in Tcl A list in lisp is a series of cons cells, but in Tcl, a list is a string with whitespace separating the elements. For translating code from lisp to tcl, one mi...
Emulating lisp cons cells in Tcl Emulating lisp cons cells in Tcl tcl lisp dynamic-scope Emulating Tcl Results Emulating lisp cons cells in Tcl A list in lisp is a series of cons cells, but in Tcl, a list is a string with whitespace separating the elements. For translating code from lisp to tcl, one might simply take l...
[ 0.005584716796875, 0.0218505859375, 0.006011962890625, 0.0341796875, 0.0037994384765625, 0.00811767578125, -0.02587890625, 0.00994873046875, -0.010498046875, -0.013916015625, 0.006866455078125, 0.02880859375, -0.0078125, 0.0194091796875, 0.00897216796875, 0.005889892578125, 0.0091552...
[ 241, 19908, 1916, 400, 7008, 158, 7, 38750, 23, 384, 34937, 808, 84079, 70820, 146104, 5303, 83, 36549, 79315, 35011, 65421, 38310, 214, 80854, 3900, 143, 18151, 1295, 47, 63134, 5609, 21543, 36880, 98169, 11522, 352, 72403, 18645, 23468, ...
[ 0.033477783203125, 0.1873779296875, 0.009521484375, 0.134521484375, 0.205810546875, 0.1761474609375, 0.07421875, 0.20361328125, 0.047637939453125, 0.0875244140625, 0.2388916015625, 0.0538330078125, 0.141357421875, 0.12841796875, 0.07672119140625, 0.18994140625, 0.0263214111328125, ...
embed
40539929_c0
40539929
lisp
0
Title: List of Leaves in Racket Problem title: List of Leaves in Racket Tags: typed-racket, scheme, racket, lisp, functional-programming Problem: List of Leaves in Racket I am trying to create a list of leaves of a tree in Racket. (define-struct (Some T) ([value : T])) (define-type (Option T) (U 'None (Some T))) (defin...
List of Leaves in Racket List of Leaves in Racket typed-racket scheme racket lisp functional-programming left List Leaves Racket Some Option None BST Integer Listof List of Leaves in Racket I am trying to create a list of leaves of a tree in Racket. The above function however does not work. I get a list of all the leav...
[ 0.0194091796875, 0.0107421875, 0.005340576171875, -0.004486083984375, 0.033447265625, 0.01165771484375, -0.01190185546875, -0.03955078125, 0.00518798828125, -0.000278472900390625, 0.00102996826171875, -0.0216064453125, 0.0115966796875, 0.002044677734375, 0.006011962890625, 0.0104370117...
[ 32036, 111, 64819, 7, 23, 2552, 27853, 10644, 219, 150370, 673, 400, 7008, 123309, 28966, 25737, 86769, 8545, 44401, 1261, 36834, 31577, 28282, 5303, 31358, 53201, 36917, 32354, 49903, 14602, 959, 4488, 2046, 756, 70, 1284, 6863, 82800, 214...
[ 0.18603515625, 0.049285888671875, 0.258544921875, 0.1207275390625, 0.1209716796875, 0.1553955078125, 0.2454833984375, 0.103515625, 0.09942626953125, 0.1253662109375, 0.1143798828125, 0.06439208984375, 0.1463623046875, 0.13525390625, 0.1041259765625, 0.1588134765625, 0.1209716796875, ...
embed
71026129_c0
71026129
lisp
0
Title: Lisp: How to get the reference (not the value) of an element in a 2D Matrix represented as a List of Lists? Problem title: Lisp: How to get the reference (not the value) of an element in a 2D Matrix represented as a List of Lists? Tags: common-lisp, lisp Problem: Lisp: How to get the reference (not the value) of...
Lisp: How to get the reference (not the value) of an element in a 2D Matrix represented as a List of Lists? Lisp: How to get the reference (not the value) of an element in a 2D Matrix represented as a List of Lists? common-lisp lisp Lisp How Matrix List Lists Lisp: How to get the reference (not the value) of an element...
[ 0.00689697265625, 0.031982421875, 0.022216796875, 0.000598907470703125, -0.0037841796875, 0.00811767578125, 0.00946044921875, 0.007354736328125, 0.006866455078125, 0.0032958984375, 0.0166015625, 0.0037078857421875, -0.0016632080078125, 0.00994873046875, -0.01141357421875, -0.0043334960...
[ 1261, 7008, 11249, 2046, 91067, 10869, 34292, 12830, 116, 397, 194234, 33636, 32036, 47, 237, 39210, 4086, 254, 400, 23, 297, 31577, 29458, 5303, 111, 5423, 757, 11675, 18151, 35064, 25632, 140992, 37202, 114453, 17569, 653, 927, 55300, 831...
[ 0.1285400390625, 0.1968994140625, 0.06134033203125, 0.123046875, 0.281494140625, 0.1072998046875, 0.1231689453125, 0.1793212890625, 0.08233642578125, 0.0921630859375, 0.1925048828125, 0.1500244140625, 0.2049560546875, 0.07391357421875, 0.03216552734375, 0.067138671875, 0.069152832031...
embed
47845275_c0
47845275
lisp
0
Title: Parameter increments after every iteration when using macro Problem title: Parameter increments after every iteration when using macro Tags: lisp, macros, common-lisp Problem: Parameter increments after every iteration when using macro So i have this macro (basically a for loop): (defmacro for ((parameter start-...
Parameter increments after every iteration when using macro Parameter increments after every iteration when using macro lisp macros common-lisp macro Parameter NIL Parameter increments after every iteration when using macro So i have this macro (basically a for loop): And i want to test it with this: What i get now is:...
[ 0.00347900390625, 0.0023193359375, -0.00775146484375, 0.003997802734375, -0.01202392578125, 0.0291748046875, 0.0152587890625, -0.004241943359375, -0.0036468505859375, -0.0284423828125, -0.00142669677734375, -0.01007080078125, 0.002716064453125, -0.00049591064453125, 0.0286865234375, -0...
[ 1720, 29089, 158661, 7, 7103, 11907, 17, 720, 2320, 3229, 17368, 111789, 400, 7008, 39210, 4086, 254, 541, 16444, 100, 40956, 3034, 903, 5036, 29954, 6, 12638, 3444, 442, 47, 4734, 24145, 86595, 140992, 44691 ]
[ 0.138671875, 0.1796875, 0.2496337890625, 0.05780029296875, 0.1292724609375, 0.1451416015625, 0.0657958984375, 0.2193603515625, 0.06170654296875, 0.038238525390625, 0.09326171875, 0.22216796875, 0.0968017578125, 0.1517333984375, 0.1119384765625, 0.08209228515625, 0.1358642578125, 0....
embed
44376495_c0
44376495
lisp
0
Title: modify plist inside list? Problem title: modify plist inside list? Tags: common-lisp, lisp, sbcl Problem: modify plist inside list? I have a list of plists such as '((:atom Toddler :visited nil :on-clauses (0 1)) (:atom Child :visited nil :on-clauses 1)) how should I change the :onclauses property on a given :at...
modify plist inside list? modify plist inside list? common-lisp lisp sbcl Toddler Child ATOMS modify plist inside list? I have a list of plists such as how should I change the :onclauses property on a given :atom ? I'd like to update this property, e.g. making the second plist (:atom Child :visited nil :on-clauses (1 2...
[ -0.01300048828125, 0.03466796875, 0.011474609375, -0.010986328125, 0.00128936767578125, -0.0030059814453125, 0.00110626220703125, -0.0023651123046875, 0.0133056640625, 0.006866455078125, -0.0022735595703125, 0.011962890625, 0.019287109375, -0.0042724609375, 0.01300048828125, 0.00885009...
[ 2811, 40383, 4655, 271, 46132, 5303, 32, 39210, 4086, 254, 400, 7008, 34937, 717, 4028, 603, 123829, 17672, 144309, 6456, 64370, 3642, 5608, 15549, 152, 191, 18347, 29001, 57266, 34475, 11, 5928, 1884, 47, 28350, 20662, 17932, 169697, 17324...
[ 0.1927490234375, 0.162109375, 0.2119140625, 0.15966796875, 0.2261962890625, 0.2359619140625, 0.00433349609375, 0.08612060546875, 0.041259765625, 0.104248046875, 0.048492431640625, 0.1212158203125, 0.02325439453125, 0.0292205810546875, 0.1285400390625, 0.08642578125, 0.174560546875, ...
embed
27194007_c0
27194007
lisp
0
Title: read-line reads only 1 character on WINDOWS Problem title: read-line reads only 1 character on WINDOWS Tags: common-lisp, lisp, windows Problem: read-line reads only 1 character on WINDOWS My goal is a function that collects info from the user. So far I have this: (defun prompt-read (prompt) (format *query-io* "...
read-line reads only 1 character on WINDOWS read-line reads only 1 character on WINDOWS common-lisp lisp windows WINDOWS CG-USER read-line reads only 1 character on WINDOWS My goal is a function that collects info from the user. So far I have this: Witch outputs: There are 2 things I dont understand here: 1 - Why is re...
[ 0.00830078125, -0.002960205078125, 0.006744384765625, 0.015869140625, -0.0289306640625, 0.00543212890625, 0.019775390625, -0.006317138671875, -0.0128173828125, -0.031005859375, -0.0024566650390625, -0.0128173828125, -0.011474609375, 0.0030364990234375, -0.00125885009765625, 0.006317138...
[ 12301, 9, 2256, 4734, 106, 62816, 98, 108568, 13223, 39210, 4086, 254, 400, 7008, 54825, 56367, 1062, 50184, 52143, 69236, 32354, 43799, 3004, 1295, 38937, 2060, 52334, 206, 140992, 7, 116, 8966, 13319, 28219, 44084, 20949, 5117, 24234, 116...
[ 0.251953125, 0.095703125, 0.25, 0.103515625, 0.13134765625, 0.228759765625, 0.039794921875, 0.067138671875, 0.078857421875, 0.0469970703125, 0.026580810546875, 0.086669921875, 0.0380859375, 0.1085205078125, 0.1318359375, 0.06866455078125, 0.05926513671875, 0.00994873046875, 0.025...
embed
13212494_c0
13212494
lisp
0
Title: nested list average Problem title: nested list average Tags: list, lisp Problem: nested list average Hi everyone I have implemented a solution to find the average for a nested list. So I was wondering if you could think of a better solution or any possible errors with mine cheers. ; takes a nested list and retur...
nested list average nested list average list lisp nested list average Hi everyone I have implemented a solution to find the average for a nested list. So I was wondering if you could think of a better solution or any possible errors with mine cheers.
[ -0.0076904296875, 0.007293701171875, 0.00799560546875, -0.006103515625, 0.004364013671875, 0.027099609375, 0.006622314453125, 0.00482177734375, 0.0019683837890625, -0.0201416015625, -0.00250244140625, -0.03076171875, 0.014404296875, 0.00262451171875, -0.00188446044921875, 0.01733398437...
[ 8512, 71, 5303, 83080, 400, 7008, 2673, 30309, 765, 29479, 29806, 7413, 70, 100, 149016, 5351, 11522, 7722, 18499, 5665, 290, 1314 ]
[ 0.24560546875, 0.1480712890625, 0.24169921875, 0.24609375, 0.065673828125, 0.119140625, 0.0296173095703125, 0.0870361328125, 0.01415252685546875, 0.1318359375, 0.1295166015625, 0.1043701171875, 0.056732177734375, 0.02899169921875, 0.06103515625, 0.0408935546875, 0.050018310546875, ...
embed
20692953_c0
20692953
lisp
0
Title: Elements removal from list Problem title: Elements removal from list Tags: lisp Problem: Elements removal from list What I have to do is removing some elements from the list,the 1st,2nd,4th,8th,elements on positions power of 2.I figured out that the easyest way for me to solve this is to construct how the result...
Elements removal from list Elements removal from list lisp list Elements Elements removal from list What I have to do is removing some elements from the list,the 1st,2nd,4th,8th,elements on positions power of 2.I figured out that the easyest way for me to solve this is to construct how the result list should look like ...
[ -0.00335693359375, 0.01153564453125, -0.0098876953125, 0.015869140625, -0.015869140625, 0.011962890625, -0.01025390625, 0.015625, -0.0023651123046875, -0.0067138671875, -0.00616455078125, -0.00286865234375, -0.000537872314453125, -0.00494384765625, -0.0054931640625, 0.00848388671875, ...
[ 48325, 7, 49146, 1405, 1295, 5303, 400, 7008, 6496, 3060, 80854, 271, 617, 1019, 62766, 19069, 14537, 787, 26366, 23468, 86869, 64549, 70, 16750, 6713, 1884, 15490, 163684, 18151, 4488, 14373, 10644, 18499, 158, 1290, 3714, 678, 12830, 1054...
[ 0.2235107421875, 0.011932373046875, 0.1334228515625, 0.06781005859375, 0.127685546875, 0.20458984375, 0.0750732421875, 0.1591796875, 0.07818603515625, 0.00665283203125, 0.19482421875, 0.006103515625, 0.08642578125, 0.127685546875, 0.18408203125, 0.1326904296875, 0.1451416015625, 0....
embed
19722240_c0
19722240
lisp
0
Title: Why doesn&#x27;t this quoted form evaluate as expected Problem title: Why doesn&#x27;t this quoted form evaluate as expected Tags: lisp, common-lisp Problem: Why doesn't this quoted form evaluate as expected I have a simple function that works: (defun ifelse (the-test) (cond (the-test (format t "passed test, tru...
Why doesn&#x27;t this quoted form evaluate as expected Why doesn&#x27;t this quoted form evaluate as expected lisp common-lisp Why NIL CL-USER Why doesn't this quoted form evaluate as expected I have a simple function that works: If I do this, I get what you'd expect: I'm curious why this doesn't also result in a "fail...
[ 0.0167236328125, 0.0203857421875, 0.00799560546875, 0.01104736328125, -0.004608154296875, -0.01470947265625, 0.0291748046875, 0.01397705078125, -0.0069580078125, -0.005126953125, 0.004180908203125, 0.0011138916015625, -0.0289306640625, 0.003936767578125, 0.0029754638671875, 0.010498046...
[ 44084, 22027, 3768, 18, 903, 66747, 71, 3173, 151575, 13, 237, 84751, 400, 7008, 39210, 4086, 254, 541, 16444, 46323, 1062, 50184, 8781, 32354, 43240, 41206, 15400, 16750, 120540, 3408, 47644, 7477, 85763, 3687, 30646, 34292, 2174, 5557, 64...
[ 0.1351318359375, 0.078125, 0.03753662109375, 0.122802734375, 0.08056640625, 0.183837890625, 0.06671142578125, 0.209228515625, 0.1705322265625, 0.056915283203125, 0.074951171875, 0.1646728515625, 0.108154296875, 0.18505859375, 0.1229248046875, 0.09686279296875, 0.12255859375, 0.0631...
embed
35977973_c0
35977973
lisp
0
Title: Can I write this macro without using eval? Problem title: Can I write this macro without using eval? Tags: eval, lisp, macros, clojure Problem: Can I write this macro without using eval? I'm trying to write a macro which will catch a compile time error in Clojure. Specifically, I would like to catch exceptions t...
Can I write this macro without using eval? Can I write this macro without using eval? eval lisp macros clojure CompilerException eval Can clojure.lang.Compiler$CompilerException Exception Can I write this macro without using eval? I'm trying to write a macro which will catch a compile time error in Clojure. Specificall...
[ -0.0181884765625, 0.030517578125, -0.00110626220703125, -0.006561279296875, 0.01177978515625, 0.00750732421875, 0.005218505859375, -0.0159912109375, -0.00994873046875, -0.040771484375, -0.037353515625, -0.010009765625, 0.004913330078125, -0.0157470703125, 0.0252685546875, -0.0303955078...
[ 4171, 33022, 903, 111789, 15490, 17368, 28, 1405, 400, 7008, 20450, 461, 107, 15612, 34759, 63928, 3066, 108161, 4369, 19279, 5443, 31577, 105556, 9969, 1340, 1733, 18499, 51053, 1884, 131527, 104250, 91363, 55300, 959, 29479, 50986, 35839, 1...
[ 0.068603515625, 0.130615234375, 0.04656982421875, 0.2095947265625, 0.1221923828125, 0.07183837890625, 0.0765380859375, 0.257080078125, 0.0252685546875, 0.116943359375, 0.1109619140625, 0.1195068359375, 0.1241455078125, 0.06317138671875, 0.1357421875, 0.1519775390625, 0.06390380859375...
embed
66801220_c0
66801220
lisp
0
Title: Lisp lexical closure - function declaration Problem title: Lisp lexical closure - function declaration Tags: common-lisp, sbcl, lisp Problem: Lisp lexical closure - function declaration I have a function, format-ls : (defun format-ls (ls) (let (( acc ())) (dolist (elt ls) (push "(~A . " acc)) acc)) You can notic...
Lisp lexical closure - function declaration Lisp lexical closure - function declaration common-lisp sbcl lisp Lisp Lisp lexical closure - function declaration I have a function, format-ls : You can notice that there is a missing parenthesis in the closing line, acc)) . Yet my Lisp REPL(sbcl 2.1.1) interprets this expre...
[ 0.01348876953125, 0.0225830078125, -0.00848388671875, 0.006378173828125, -0.01080322265625, 0.017333984375, 0.0177001953125, 0.021240234375, -0.00640869140625, 0.00177001953125, 0.01239013671875, 0.000946044921875, -0.0155029296875, 0.0009002685546875, 0.03857421875, 0.005523681640625,...
[ 1261, 7008, 75675, 21533, 170224, 32354, 21635, 39210, 4086, 254, 275, 34937, 400, 765, 9384, 9, 8080, 831, 60322, 83, 132283, 49129, 160291, 7, 20450, 6953, 13315, 50015, 9069, 21130, 116, 83783, 29481, 125195, 15490, 18499, 14315, 15190, ...
[ 0.17919921875, 0.2191162109375, 0.1187744140625, 0.1065673828125, 0.215087890625, 0.2047119140625, 0.2008056640625, 0.09246826171875, 0.1116943359375, 0.1546630859375, 0.0233001708984375, 0.1614990234375, 0.11962890625, 0.007965087890625, 0.1990966796875, 0.02642822265625, 0.18518066...
embed
1626104_c0
1626104
lisp
0
Title: What does this xkcd code do? Problem title: What does this xkcd code do? Tags: scheme, lisp Problem: What does this xkcd code do? On the xkcd site today, the following appeared as a joke in a <script language="scheme"> tag so what does the following code do / represent? (define (eval exp env) (cond ((self-evalua...
What does this xkcd code do? What does this xkcd code do? scheme lisp What Common Lisp Netscape Navigator Required What does this xkcd code do? On the xkcd site today, the following appeared as a joke in a <script language="scheme"> tag so what does the following code do / represent?
[ 0.00677490234375, 0.025146484375, -0.01129150390625, 0.0289306640625, -0.0125732421875, 0.0130615234375, 0.017578125, 0.007659912109375, 0.000885009765625, -0.0113525390625, -0.007598876953125, -0.01531982421875, -0.0164794921875, -0.007293701171875, -0.0098876953125, 0.01519775390625,...
[ 4865, 14602, 903, 1022, 92, 71574, 18151, 54, 150370, 400, 7008, 151301, 1261, 10086, 98224, 65290, 4597, 853, 3181, 2822, 1764, 18925, 25632, 118775, 237, 122122, 32032, 46876, 7560, 282, 7909, 2367, 33636 ]
[ 0.09716796875, 0.08990478515625, 0.108154296875, 0.09814453125, 0.1309814453125, 0.228759765625, 0.2012939453125, 0.11572265625, 0.2037353515625, 0.07879638671875, 0.189697265625, 0.1168212890625, 0.1058349609375, 0.0292510986328125, 0.1656494140625, 0.1661376953125, 0.09967041015625...
embed
30051013_c0
30051013
lisp
0
Title: Common-LISP debugging (code included) Problem title: Common-LISP debugging (code included) Tags: debugging, lisp, common-lisp Problem: Common-LISP debugging (code included) I hope to get a quick fix to my code, which takes in a list of numbers, numberlist, and a threshold and return the number of items in number...
Common-LISP debugging (code included) Common-LISP debugging (code included) debugging lisp common-lisp Common-LISP Common-LISP debugging (code included) I hope to get a quick fix to my code, which takes in a list of numbers, numberlist, and a threshold and return the number of items in numberlist that are greater than ...
[ 0.0146484375, 0.01123046875, -0.009765625, -0.005706787109375, 0.01141357421875, 0.001678466796875, -0.00045013427734375, 0.00921630859375, 0.005157470703125, -0.01123046875, 0.0166015625, -0.00732421875, 0.0078125, 0.01263427734375, 0.01507568359375, 0.017578125, -0.021728515625, ...
[ 151301, 9, 67616, 683, 8, 978, 36659, 40899, 99201, 400, 7008, 39210, 4086, 254, 15673, 63773, 30022, 759, 18151, 51776, 5303, 101935, 14012, 6562, 159399, 16200, 30646, 55769, 117396, 3501, 831, 26366, 2367, 44691, 16031, 4552, 3525, 177261,...
[ 0.1593017578125, 0.013153076171875, 0.144287109375, 0.174560546875, 0.1314697265625, 0.20654296875, 0.10443115234375, 0.1419677734375, 0.1112060546875, 0.103271484375, 0.1668701171875, 0.1080322265625, 0.106689453125, 0.0941162109375, 0.0911865234375, 0.06756591796875, 0.121704101562...
embed
25777280_c0
25777280
lisp
0
Title: Every other letter in a list? LISP Problem title: Every other letter in a list? LISP Tags: list, letter, lisp Problem: Every other letter in a list? LISP I am relatively new to LISP and am trying some new things for a Lisp program I am trying to create for a presentation. I need to be able to print every other c...
Every other letter in a list? LISP Every other letter in a list? LISP list letter lisp Every LISP Every other letter in a list? LISP I am relatively new to LISP and am trying some new things for a Lisp program I am trying to create for a presentation. I need to be able to print every other character in a list, for exam...
[ -0.004730224609375, 0.039306640625, -0.00799560546875, 0.024658203125, 0.007568359375, 0.03564453125, 0.006988525390625, 0.002044677734375, 0.003936767578125, -0.006805419921875, -0.00191497802734375, -0.0263671875, -0.0050048828125, 0.00958251953125, 0.002960205078125, 0.0238037109375...
[ 87769, 3789, 31330, 23, 10, 5303, 16970, 9434, 400, 7008, 35845, 3525, 31577, 1261, 1528, 28282, 92252, 3871, 19048, 28412, 11907, 62816, 563, 2806, 30646, 284, 313, 241, 72546, 55681, 3638, 41925, 12921, 195625, 1830, 124519, 4358, 77947, ...
[ 0.1907958984375, 0.208740234375, 0.214111328125, 0.104736328125, 0.0506591796875, 0.20458984375, 0.1617431640625, 0.23876953125, 0.119140625, 0.1844482421875, 0.0089111328125, 0.016326904296875, 0.0369873046875, 0.11962890625, 0.1163330078125, 0.0236968994140625, 0.1099853515625, 0...
embed
10767407_c1
10767407
lisp
1
Fn (a -> FnOrDat a b) apply :: (FnOrDat a b) -> [a] -> (FnOrDat a b) apply x [] = x apply (Fn f) (x:xs) = apply (f x) xs apply (Dat _) _ = error "Cannot apply something which is not a function!" add a = Fn (\b -> Dat (a + b)) main = putStrLn $ show $ x where Dat x = apply (Fn add) [5,1] This works, but it hardly count...
Fn (a -> FnOrDat a b) apply :: (FnOrDat a b) -> [a] -> (FnOrDat a b) apply x [] = x apply (Fn f) (x:xs) = apply (f x) xs apply (Dat _) _ = error "Cannot apply something which is not a function!" add a = Fn (\b -> Dat (a + b)) main = putStrLn $ show $ x where Dat x = apply (Fn add) [5,1] This works, but it hardly count...
[ 0.00958251953125, 0.02197265625, 0.0052490234375, 0.00946044921875, 0.00177001953125, 0.00970458984375, 0.0081787109375, 0.006591796875, 0.01708984375, -0.043212890625, -0.00171661376953125, -0.01519775390625, -0.015869140625, 0.024169921875, -0.01092529296875, -0.017333984375, 0.000...
[ 563, 19, 11, 33079, 19060, 397, 257, 10, 876, 59911, 1984, 919, 1022, 1238, 425, 18499, 54694, 10869, 9844, 3129, 83, 959, 32354, 15190, 275, 7716, 997, 5201, 3884, 71713, 3650, 7639, 758, 43240, 7941, 54529, 831, 27875, 3638, 4527, 591...
[ 0.078125, 0.0855712890625, 0.04510498046875, 0.072998046875, 0.141357421875, 0.049713134765625, 0.1148681640625, 0.07672119140625, 0.09600830078125, 0.255859375, 0.00848388671875, 0.047760009765625, 0.06573486328125, 0.1038818359375, 0.08056640625, 0.1129150390625, 0.08123779296875, ...
embed
19851152_c0
19851152
lisp
0
Title: What does this Lisp code mean? Problem title: What does this Lisp code mean? Tags: common-lisp, lambda, lisp Problem: What does this Lisp code mean? In https://www.thc.org/root/phun/unmaintain.html Lisp is regarded such that "LISP is a dream language for the writer of unmaintainable code." and then proceeds to p...
What does this Lisp code mean? What does this Lisp code mean? common-lisp lambda lisp What Lisp What does this Lisp code mean? In https://www.thc.org/root/phun/unmaintain.html Lisp is regarded such that "LISP is a dream language for the writer of unmaintainable code." and then proceeds to provide some code examples. Th...
[ 0.0152587890625, 0.028076171875, -0.007476806640625, -0.0016021728515625, -0.0133056640625, 0.0079345703125, 0.015869140625, -0.00023555755615234375, 0.007415771484375, -0.01177978515625, -0.01336669921875, -0.0166015625, -0.0103759765625, -0.006134033203125, -0.01104736328125, 0.00360...
[ 4865, 14602, 903, 1261, 7008, 18151, 29459, 39210, 4086, 254, 21, 6492, 85, 400, 148920, 63470, 19, 309, 24931, 25500, 7693, 28601, 67616, 683, 83, 48869, 46876, 100, 70035, 51, 2886, 27781, 218500, 12301, 217064, 17932, 35672, 52922, 19336...
[ 0.07122802734375, 0.03912353515625, 0.09619140625, 0.1944580078125, 0.244384765625, 0.2142333984375, 0.158447265625, 0.1219482421875, 0.1456298828125, 0.1995849609375, 0.043731689453125, 0.1976318359375, 0.1556396484375, 0.14599609375, 0.0794677734375, 0.05694580078125, 0.03472900390...
embed
24144210_c0
24144210
lisp
0
Title: Equality predicates for hash tables Problem title: Equality predicates for hash tables Tags: predicate, common-lisp, comparison, lisp, hashtable Problem: Equality predicates for hash tables As a result of this investigation, we know that using special functions (optimized for certain types of data) is a good ide...
Equality predicates for hash tables Equality predicates for hash tables predicate common-lisp comparison lisp hashtable Equality Equality predicates for hash tables As a result of this investigation, we know that using special functions (optimized for certain types of data) is a good idea. I would like to create a hash...
[ -0.0106201171875, -0.00469970703125, 0.002471923828125, -0.0029144287109375, -0.0167236328125, -0.007568359375, 0.035400390625, -0.000926971435546875, 0.00299072265625, 0.0012969970703125, 0.0017852783203125, 0.00897216796875, -0.004241943359375, -0.0017852783203125, 0.0078125, 0.01623...
[ 241, 161789, 1653, 2063, 100, 1556, 127, 23180, 39210, 4086, 254, 225490, 400, 7008, 22819, 145456, 17368, 5361, 32354, 100433, 24233, 52895, 2053, 4127, 6528, 1884, 28282, 31344, 6165, 38352, 1257, 1528, 4488, 79315, 4527, 13, 71723, 110, ...
[ 0.1055908203125, 0.240234375, 0.1583251953125, 0.1737060546875, 0.009674072265625, 0.141845703125, 0.121337890625, 0.2086181640625, 0.0633544921875, 0.095458984375, 0.14404296875, 0.1312255859375, 0.07684326171875, 0.1663818359375, 0.17041015625, 0.006103515625, 0.07855224609375, 0...
embed
14423472_c0
14423472
lisp
0
Title: count the number of disks that have moved in Towers of hanoi Lisp Problem title: count the number of disks that have moved in Towers of hanoi Lisp Tags: lisp, recursion Problem: count the number of disks that have moved in Towers of hanoi Lisp I want to count the number of moves of the diskc. but Instead As a re...
count the number of disks that have moved in Towers of hanoi Lisp count the number of disks that have moved in Towers of hanoi Lisp lisp recursion to the help Towers Lisp count the number of disks that have moved in Towers of hanoi Lisp I want to count the number of moves of the diskc. but Instead As a result I get som...
[ 0.0032501220703125, 0.0152587890625, 0.00010776519775390625, 0.0260009765625, 0.01324462890625, 0.022216796875, -0.0047607421875, 0.00628662109375, 0.00927734375, -0.033203125, -0.011962890625, -0.00921630859375, 0.0130615234375, 0.0189208984375, 0.0118408203125, 0.000774383544921875, ...
[ 54529, 14012, 28338, 7, 450, 765, 109133, 23, 68718, 111, 777, 5380, 1261, 7008, 400, 195625, 1830, 4358, 3444, 47, 25813, 238, 175399, 16750, 2046, 9844, 37076, 11675, 15400, 83, 1632, 64457, 361, 11907, 5844, 11782, 456, 89840, 34292, 1...
[ 0.1912841796875, 0.111083984375, 0.18408203125, 0.1312255859375, 0.0287322998046875, 0.1234130859375, 0.16357421875, 0.05401611328125, 0.1759033203125, 0.12060546875, 0.1539306640625, 0.164306640625, 0.1334228515625, 0.1817626953125, 0.10595703125, 0.166015625, 0.07281494140625, 0....
embed
8337008_c0
8337008
lisp
0
Title: Instance variables in Lisp? Problem title: Instance variables in Lisp? Tags: lisp, clisp Problem: Instance variables in Lisp? I'm writing a function for a CLOS class that reverses the list element of an object of said class. I have a method that will return the reverse list, but how do I make it set the object's...
Instance variables in Lisp? Instance variables in Lisp? lisp clisp Instance Lisp Instance variables in Lisp? I'm writing a function for a CLOS class that reverses the list element of an object of said class. I have a method that will return the reverse list, but how do I make it set the object's list to that list? Can ...
[ -0.0084228515625, 0.033935546875, 0.0208740234375, 0.0036773681640625, -0.004302978515625, 0.0169677734375, -0.01104736328125, 0.0135498046875, 0.002105712890625, -0.018310546875, -0.00665283203125, 0.0228271484375, 0.01470947265625, 0.00060272216796875, 0.004119873046875, 0.0038146972...
[ 360, 116071, 77336, 7, 23, 1261, 7008, 400, 95701, 32562, 32354, 92933, 18507, 39531, 5908, 5303, 12830, 36746, 55300, 30646, 184, 3642, 3249, 5423, 47, 110527, 4343, 99156, 237, 5036, 115081, 141, 759, 6562, 97841, 42, 2806, 1176, 8080, ...
[ 0.04736328125, 0.21533203125, 0.2978515625, 0.07989501953125, 0.07421875, 0.1644287109375, 0.2529296875, 0.1094970703125, 0.075927734375, 0.07666015625, 0.1375732421875, 0.1905517578125, 0.1236572265625, 0.19384765625, 0.1083984375, 0.1932373046875, 0.132080078125, 0.185791015625, ...
embed
18033190_c0
18033190
lisp
0
Title: Start emacs from shell with predefined lisp code Problem title: Start emacs from shell with predefined lisp code Tags: emacs, shell, lisp Problem: Start emacs from shell with predefined lisp code It is possible to start emacs from the shell and tell it to execute a lisp function, e.g. emacs -f some-lisp-function...
Start emacs from shell with predefined lisp code Start emacs from shell with predefined lisp code emacs shell lisp shell Start my_file.py Start emacs from shell with predefined lisp code It is possible to start emacs from the shell and tell it to execute a lisp function, e.g. However, I would like to pass also lisp fun...
[ 0.00138092041015625, 0.009521484375, -0.028564453125, -0.00000959634780883789, -0.01300048828125, 0.01483154296875, 0.012451171875, -0.005706787109375, -0.01116943359375, -0.036376953125, 0.01434326171875, 0.03173828125, -0.0120849609375, 0.01397705078125, -0.000896453857421875, -0.016...
[ 13794, 352, 2263, 7, 1295, 128019, 678, 1653, 13, 5983, 400, 7008, 18151, 759, 29822, 6493, 7722, 4034, 14192, 71924, 32354, 1884, 27875, 10750, 2965, 8999, 1286, 27140, 48716, 11782, 3714, 3642, 151575, 11435, 10002, 373, 18234, 73432, 416...
[ 0.137939453125, 0.1173095703125, 0.199462890625, 0.173095703125, 0.124267578125, 0.2344970703125, 0.05401611328125, 0.1246337890625, 0.0869140625, 0.1807861328125, 0.1553955078125, 0.2086181640625, 0.2061767578125, 0.10205078125, 0.155029296875, 0.155517578125, 0.079833984375, 0.16...
embed
4093845_c0
4093845
lisp
0
Title: Is there a common lisp macro for popping the nth element from a list? Problem title: Is there a common lisp macro for popping the nth element from a list? Tags: macros, lisp, common-lisp Problem: Is there a common lisp macro for popping the nth element from a list? I'm pretty fresh to the Common Lisp scene and I...
Is there a common lisp macro for popping the nth element from a list? Is there a common lisp macro for popping the nth element from a list? macros lisp common-lisp a Is there a common lisp macro for popping the nth element from a list? I'm pretty fresh to the Common Lisp scene and I can't seem to find an quick way to g...
[ -0.004669189453125, -0.00384521484375, 0.017578125, -0.0167236328125, -0.01397705078125, 0.027587890625, 0.00171661376953125, -0.00238037109375, -0.01007080078125, -0.045166015625, 0.006011962890625, -0.0111083984375, -0.01007080078125, -0.04052734375, -0.01318359375, -0.0240478515625,...
[ 2071, 2685, 10, 39210, 400, 7008, 111789, 100, 160, 26783, 653, 927, 12830, 1295, 5303, 4086, 254, 70, 63335, 151301, 1261, 28302, 63773, 2046, 87388, 5701, 28875, 71, 6183, 1884, 33554, 17932, 171859, 19, 757, 186, 68991, 11853, 169624, ...
[ 0.01177978515625, 0.0271453857421875, 0.08203125, 0.1904296875, 0.1473388671875, 0.195556640625, 0.233642578125, 0.0474853515625, 0.177734375, 0.1553955078125, 0.2103271484375, 0.211669921875, 0.1890869140625, 0.1456298828125, 0.2015380859375, 0.1046142578125, 0.12841796875, 0.0292...
embed
25115876_c0
25115876
lisp
0
Title: Conditional variable binding in Common Lisp Problem title: Conditional variable binding in Common Lisp Tags: lisp, common-lisp, conditional-binding Problem: Conditional variable binding in Common Lisp I want to execute a function with 2 local variables, but the values of these of these variables should depend on...
Conditional variable binding in Common Lisp Conditional variable binding in Common Lisp lisp common-lisp conditional-binding Conditional Common Lisp Conditional variable binding in Common Lisp I want to execute a function with 2 local variables, but the values of these of these variables should depend on some condition...
[ -0.000225067138671875, 0.02197265625, -0.004119873046875, -0.00299072265625, -0.00848388671875, 0.01470947265625, -0.00726318359375, 0.00799560546875, -0.00836181640625, 0.009765625, 0.00127410888671875, 0.0218505859375, 0.0030975341796875, -0.00035858154296875, 0.0322265625, 0.0169677...
[ 46347, 43315, 77336, 128239, 23, 151301, 1261, 7008, 400, 39210, 4086, 254, 35431, 289, 3444, 71924, 32354, 678, 116, 4000, 142424, 5608, 56566, 1022, 136, 113, 202317, 46132, 2633, 2174, 977, 142458, 31158, 11341, 47014, 420, 18151, 6713, ...
[ 0.2286376953125, 0.1356201171875, 0.273193359375, 0.2301025390625, 0.0421142578125, 0.159423828125, 0.175537109375, 0.2039794921875, 0.11279296875, 0.0989990234375, 0.098388671875, 0.1146240234375, 0.2364501953125, 0.076904296875, 0.06866455078125, 0.1380615234375, 0.1422119140625, ...
embed
77391857_c0
77391857
lisp
0
Title: Disassembling SBCL functions by address rather than name Problem title: Disassembling SBCL functions by address rather than name Tags: sbcl, common-lisp, lisp Problem: Disassembling SBCL functions by address rather than name One can disassemble functions in SBCL by using disassemble , for example: (print (disass...
Disassembling SBCL functions by address rather than name Disassembling SBCL functions by address rather than name sbcl common-lisp lisp Disassembling SBCL Size Origin x52A7BB1D TEST R11 JEQ MOV RBX R14 LEA RAX RBX-15 A801 JNE CMP A80F BYTE PTR JNBE RSI BB02000000 EBX EB3D JMP NOP RBP-8 RBP-16 RBP-24 RDI NEG RDX E8C24FF...
[ 0.016357421875, -0.01422119140625, -0.00543212890625, 0.01239013671875, 0.0009918212890625, 0.00927734375, -0.0081787109375, 0.01092529296875, -0.01031494140625, -0.0419921875, -0.00015163421630859375, 0.0179443359375, 0.003997802734375, 0.005462646484375, 0.03271484375, -0.00002181529...
[ 72956, 89845, 79298, 90944, 37486, 32354, 390, 29823, 43257, 3501, 9351, 91, 275, 34937, 39210, 4086, 254, 400, 7008, 80378, 119862, 1022, 12744, 22312, 397, 384, 21828, 627, 1662, 17754, 2737, 276, 31719, 45176, 1542, 2592, 110376, 19400, ...
[ 0.1380615234375, 0.215576171875, 0.065185546875, 0.179443359375, 0.2314453125, 0.2396240234375, 0.1099853515625, 0.1900634765625, 0.09954833984375, 0.03729248046875, 0.14208984375, 0.03692626953125, 0.1395263671875, 0.1690673828125, 0.1025390625, 0.063232421875, 0.1480712890625, 0....
embed
76244590_c1
76244590
lisp
1
) rows-len matrix i pivot) (below-pivot (+ from-index 1) rows-len matrix pivot i)))) (define (factor-rec j rows-len matrix i pivot) (if (= j rows-len) matrix (begin (let ([factor (/ (list-ref (list-ref matrix j) i) pivot)]) (elimination i i rows-len matrix j factor))))) (define (elimination k i rows-len matrix j factor...
) rows-len matrix i pivot) (below-pivot (+ from-index 1) rows-len matrix pivot i)))) (define (factor-rec j rows-len matrix i pivot) (if (= j rows-len) matrix (begin (let ([factor (/ (list-ref (list-ref matrix j) i) pivot)]) (elimination i i rows-len matrix j factor))))) (define (elimination k i rows-len matrix j factor...
[ -0.01336669921875, 0.0228271484375, 0.00186920166015625, -0.003204345703125, 0.0009918212890625, -0.0203857421875, -0.01239013671875, 0.014892578125, 0.002471923828125, -0.007354736328125, -0.000797271728515625, -0.01806640625, 0.003814697265625, -0.002410888671875, -0.0296630859375, -...
[ 1388, 15555, 7, 9, 1977, 50944, 425, 17, 80953, 18, 372, 17336, 965, 22183, 1295, 4711, 4879, 80126, 112, 64552, 144810, 31688, 1647, 3190, 6820, 1974, 6562, 29087, 6169, 91407, 31461, 472, 117008, 54936, 7569, 75402, 25553, 3525, 46741, ...
[ 0.062469482421875, 0.214599609375, 0.07470703125, 0.048248291015625, 0.201416015625, 0.2061767578125, 0.111328125, 0.2061767578125, 0.2257080078125, 0.1329345703125, 0.0087890625, 0.1590576171875, 0.127197265625, 0.132568359375, 0.072509765625, 0.13623046875, 0.038238525390625, 0.1...
embed
3128943_c0
3128943
lisp
0
Title: Scheme symbolic equivalence Problem title: Scheme symbolic equivalence Tags: symbols, scheme, racket, equivalence, lisp Problem: Scheme symbolic equivalence The platform i'm working with is DrScheme. I've seen that a pair (a b) [constructed by (cons a b) ] is implemented within the language like a procedure that...
Scheme symbolic equivalence Scheme symbolic equivalence symbols scheme racket equivalence lisp Scheme Scheme symbolic equivalence The platform i'm working with is DrScheme. I've seen that a pair (a b) [constructed by (cons a b) ] is implemented within the language like a procedure that looks like this: and the selector...
[ 0.00174713134765625, 0.032470703125, 0.0002841949462890625, 0.025390625, -0.00421142578125, 0.00872802734375, -0.010498046875, -0.0093994140625, 0.0004024505615234375, -0.032470703125, 0.00048828125, 0.0030670166015625, 0.009765625, -0.00579833984375, -0.0098876953125, -0.0045166015625...
[ 34702, 282, 128201, 238, 224743, 3956, 26582, 150370, 673, 27853, 400, 7008, 13651, 20697, 1773, 25452, 12549, 51592, 80836, 11, 876, 36716, 390, 25553, 10, 29479, 28032, 46876, 1884, 50491, 33342, 36849, 25251, 5303, 64549, 125195, 501, 2821...
[ 0.2049560546875, 0.1561279296875, 0.264404296875, 0.08099365234375, 0.194091796875, 0.04364013671875, 0.280029296875, 0.251220703125, 0.043182373046875, 0.159423828125, 0.053070068359375, 0.1441650390625, 0.1458740234375, 0.044097900390625, 0.0841064453125, 0.129150390625, 0.18005371...
embed
65104710_c0
65104710
lisp
0
Title: Running jwacs (lisp program) under 64 bit windows Problem title: Running jwacs (lisp program) under 64 bit windows Tags: javascript, common-lisp, lisp, preprocessor Problem: Running jwacs (lisp program) under 64 bit windows For years I have been using the javascript-preprocessor jwacs. I use it as a commandline ...
Running jwacs (lisp program) under 64 bit windows Running jwacs (lisp program) under 64 bit windows javascript common-lisp lisp preprocessor Running Running jwacs (lisp program) under 64 bit windows For years I have been using the javascript-preprocessor jwacs. I use it as a commandline utility (jwacs.exe). Jwacs is wr...
[ -0.004150390625, 0.0062255859375, -0.00933837890625, -0.0146484375, -0.0072021484375, 0.0213623046875, 0.0206298828125, 0.0030517578125, 0.006805419921875, -0.036865234375, 0.0225830078125, 0.0218505859375, 0.01251220703125, -0.00775146484375, 0.0157470703125, 0.006500244140625, 0.01...
[ 28398, 1647, 634, 4439, 4086, 254, 1528, 1379, 7911, 4785, 54825, 136951, 39210, 400, 7008, 479, 63923, 5369, 17368, 4692, 748, 4527, 75101, 19537, 170, 46480, 821, 59121, 23, 11389, 581, 2967, 765, 14602, 959, 4488, 25632, 18499, 44622, ...
[ 0.09405517578125, 0.1544189453125, 0.204833984375, 0.2479248046875, 0.12548828125, 0.185302734375, 0.1134033203125, 0.1529541015625, 0.2412109375, 0.1732177734375, 0.1357421875, 0.2001953125, 0.07928466796875, 0.1134033203125, 0.190673828125, 0.094482421875, 0.119384765625, 0.04367...
embed
3672880_c0
3672880
lisp
0
Title: More generic lisp code to generate combinations of pairs Problem title: More generic lisp code to generate combinations of pairs Tags: cartesian, lisp, common-lisp Problem: More generic lisp code to generate combinations of pairs Given this sad thing below, which generates all pairs of only two ranges - [53]> (s...
More generic lisp code to generate combinations of pairs More generic lisp code to generate combinations of pairs cartesian lisp common-lisp More NIL More generic lisp code to generate combinations of pairs Given this sad thing below, which generates all pairs of only two ranges - Or, put another way, this generates so...
[ -0.0091552734375, 0.0181884765625, -0.006500244140625, 0.0012054443359375, 0.006866455078125, 0.026611328125, -0.017822265625, -0.01446533203125, 0.00701904296875, -0.03173828125, -0.00592041015625, 0.0191650390625, 0.0198974609375, -0.0162353515625, -0.015625, -0.0103759765625, -0.0...
[ 5455, 189534, 400, 7008, 18151, 139392, 162515, 7, 80836, 129912, 3378, 39210, 4086, 254, 541, 16444, 17110, 13580, 35064, 756, 111, 4734, 6626, 37457, 157955, 81604, 108802, 11249, 2806, 1672, 33976, 12096, 48281, 1916, 34739, 61799, 101935, ...
[ 0.07440185546875, 0.1690673828125, 0.13037109375, 0.1767578125, 0.2183837890625, 0.158447265625, 0.1959228515625, 0.04449462890625, 0.260498046875, 0.0859375, 0.0452880859375, 0.08203125, 0.1031494140625, 0.1468505859375, 0.01031494140625, 0.092529296875, 0.09552001953125, 0.040802...
embed
48134454_c0
48134454
lisp
0
Title: LISP - atom after every occurrence of search atom Problem title: LISP - atom after every occurrence of search atom Tags: elisp, lisp Problem: LISP - atom after every occurrence of search atom I am trying to add a new atom after the search atom in the list. when I try to call the function appendConst recursively,...
LISP - atom after every occurrence of search atom LISP - atom after every occurrence of search atom elisp lisp LISP OLD APPENDCONST EVAL APPLY Too ABORT Break LISP - atom after every occurrence of search atom I am trying to add a new atom after the search atom in the list. when I try to call the function appendConst re...
[ -0.00762939453125, 0.0157470703125, 0.01116943359375, 0.01458740234375, 0.02197265625, 0.011962890625, 0.00081634521484375, 0.01416015625, 0.002105712890625, -0.023193359375, 0.005035400390625, -0.019287109375, -0.0028839111328125, -0.0062255859375, 0.016357421875, -0.00390625, 0.008...
[ 16970, 9434, 34627, 7103, 11907, 74918, 42, 6620, 33938, 15296, 7008, 400, 180, 30693, 66440, 39015, 77980, 8545, 241, 61152, 19917, 56374, 105259, 131904, 31577, 15190, 3525, 23, 5303, 9790, 11782, 32354, 114689, 71, 11935, 271, 195625, 5844...
[ 0.1654052734375, 0.248779296875, 0.2359619140625, 0.1597900390625, 0.1597900390625, 0.1390380859375, 0.1002197265625, 0.0213623046875, 0.19140625, 0.05462646484375, 0.1842041015625, 0.12451171875, 0.010284423828125, 0.07525634765625, 0.0924072265625, 0.124267578125, 0.07171630859375,...
embed
33029165_c0
33029165
lisp
0
Title: Substituting item to every occurance in a list Problem title: Substituting item to every occurance in a list Tags: replace, recursion, list, common-lisp, lisp Problem: Substituting item to every occurance in a list I'm just beginning to learn Lisp. My problem is that I am trying to substitute an item every time ...
Substituting item to every occurance in a list Substituting item to every occurance in a list replace recursion list common-lisp lisp Substituting NIL Substituting item to every occurance in a list I'm just beginning to learn Lisp. My problem is that I am trying to substitute an item every time it occurs in the list. I...
[ -0.0234375, 0.01708984375, 0.00860595703125, -0.006622314453125, 0.0145263671875, 0.00787353515625, -0.010009765625, 0.000728607177734375, -0.004913330078125, 0.023681640625, 0.00982666015625, 0.0123291015625, 0.0059814453125, 0.00335693359375, 0.0057373046875, 0.00836181640625, 0.01...
[ 8273, 13480, 1916, 35735, 47, 11907, 74918, 7154, 23, 5303, 91995, 195625, 1830, 39210, 4086, 254, 400, 7008, 541, 16444, 86595, 30698, 1261, 2967, 31577, 161740, 13, 1733, 765, 17368, 136, 15490, 40956, 32354, 4034, 1810, 237, 196842, 1022...
[ 0.140869140625, 0.2008056640625, 0.0648193359375, 0.21142578125, 0.144287109375, 0.16943359375, 0.1917724609375, 0.11181640625, 0.034942626953125, 0.194580078125, 0.1776123046875, 0.1856689453125, 0.07666015625, 0.07568359375, 0.0823974609375, 0.13671875, 0.08685302734375, 0.183593...
embed
66141625_c0
66141625
lisp
0
Title: Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? Problem title: Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? Tags: sicp, lisp, scheme Problem: Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? Throughout chapter 2 of SICP and particularly section 2.2. and its co...
Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? sicp lisp scheme Why Why is (not? (pair? x) [...]) beneficial over ((pair? x) [...])? Throughout chapter 2 of SICP and particularly section 2.2. and its corresponding solutions on the Scheme...
[ 0.000728607177734375, 0.0380859375, -0.0010528564453125, -0.0162353515625, 0.00043487548828125, 0.017822265625, -0.00262451171875, -0.018798828125, -0.0003662109375, 0.0115966796875, 0.005828857421875, -0.01708984375, -0.0001430511474609375, -0.02001953125, 0.0042724609375, 0.003326416...
[ 44084, 83, 10869, 32, 109637, 1022, 1449, 48588, 141, 645, 26536, 254, 400, 7008, 150370, 60494, 139539, 116, 159, 198993, 41187, 51347, 34702, 282, 34356, 186085, 103510, 184017, 53201, 45646, 17932, 13315, 103351, 31344, 169463, 46876, 41206,...
[ 0.149658203125, 0.1080322265625, 0.292236328125, 0.03228759765625, 0.27734375, 0.1273193359375, 0.0992431640625, 0.22705078125, 0.1572265625, 0.1439208984375, 0.07843017578125, 0.129638671875, 0.06988525390625, 0.17431640625, 0.1585693359375, 0.03387451171875, 0.0106201171875, 0.01...
embed
62469847_c0
62469847
lisp
0
Title: Can ABCL&#x27;s Interpreter load Lisp source from an InputStream? Problem title: Can ABCL&#x27;s Interpreter load Lisp source from an InputStream? Tags: abcl, common-lisp, lisp, java Problem: Can ABCL's Interpreter load Lisp source from an InputStream? I've just started looking at ABCL to mix some Lisp into Java...
Can ABCL&#x27;s Interpreter load Lisp source from an InputStream? Can ABCL&#x27;s Interpreter load Lisp source from an InputStream? abcl common-lisp lisp java an Can ABCL Interpreter Lisp InputStream Interpreter.createInstance interpreter.eval lispfunctions.lisp Can ABCL's Interpreter load Lisp source from an InputStre...
[ 0.0040283203125, 0.01190185546875, 0.0123291015625, 0.00897216796875, -0.01007080078125, -0.0126953125, 0.0361328125, 0.0118408203125, 0.004241943359375, -0.056640625, 0.015625, -0.0029296875, 0.00555419921875, -0.0179443359375, 0.0018157958984375, -0.01470947265625, -0.021240234375,...
[ 4171, 47457, 866, 3768, 5337, 56359, 56, 72367, 1261, 7008, 31344, 1295, 360, 7077, 115061, 1563, 34937, 39210, 4086, 254, 400, 79, 330, 7612, 116071, 29481, 1405, 137175, 16487, 17664, 3934, 41925, 11435, 129980, 27781, 103510, 33976, 911, ...
[ 0.06793212890625, 0.147216796875, 0.18359375, 0.043121337890625, 0.125244140625, 0.2164306640625, 0.078857421875, 0.1942138671875, 0.1773681640625, 0.21826171875, 0.1878662109375, 0.030426025390625, 0.10009765625, 0.170166015625, 0.2080078125, 0.050811767578125, 0.166015625, 0.0760...
embed
38944947_c0
38944947
lisp
0
Title: define scheme macro for xor Problem title: define scheme macro for xor Tags: scheme, mit-scheme, macros, lisp Problem: define scheme macro for xor Notice the following macro is working. (define-syntax xor (syntax-rules () ((xor a1 a2) (if a1 (false? a2) (true? a2))) ((xor a1 a2 a3 ...) (let ((a (xor a1 a2))) (xo...
define scheme macro for xor define scheme macro for xor scheme mit-scheme macros lisp define scheme macro for xor Notice the following macro is working. However it seems if I leave out the a3 in the parameter list of the general case, it won't work properly. Thus I am wondering what is going on exactly to the ellipsis ...
[ -0.0125732421875, 0.044189453125, -0.0045166015625, -0.0208740234375, -0.01220703125, 0.0106201171875, -0.0029296875, -0.004547119140625, -0.0123291015625, -0.00019073486328125, -0.0179443359375, -0.01007080078125, 0.01123046875, -0.02587890625, 0.01483154296875, -0.01385498046875, 0...
[ 61924, 150370, 111789, 100, 74706, 491, 7560, 282, 400, 7008, 24494, 20697, 31358, 1810, 10, 363, 171859, 5303, 4537, 7225, 4488, 155965, 149016, 88, 150, 74988, 17932, 12638, 39041, 36998, 11675, 107730, 94240, 27489, 18, 420, 29481, 56, 7...
[ 0.137939453125, 0.23583984375, 0.2142333984375, 0.0657958984375, 0.2352294921875, 0.1259765625, 0.1566162109375, 0.09765625, 0.041748046875, 0.1502685546875, 0.0164794921875, 0.07867431640625, 0.07708740234375, 0.053558349609375, 0.0672607421875, 0.1226806640625, 0.1590576171875, 0...
embed
73870387_c1
73870387
lisp
1
cbrt x) (cbrt-iter 1.0 x)) ;Value: cbrt 1 ]=> (define (cbrt-iter guess x) (if (good-enough? guess x) guess (cbrt-iter (improve guess x) x))) ;Value: cbrt-iter 1 ]=> (define (good-enough? guess x) (< (- guess (improve guess x)) 0.00001)) ;Value: good-enough? 1 ]=> (define (improve guess x) (/ (+ (/ x (* guess guess)) (*...
cbrt x) (cbrt-iter 1.0 x)) ;Value: cbrt 1 ]=> (define (cbrt-iter guess x) (if (good-enough? guess x) guess (cbrt-iter (improve guess x) x))) ;Value: cbrt-iter 1 ]=> (define (good-enough? guess x) (< (- guess (improve guess x)) 0.00001)) ;Value: good-enough? 1 ]=> (define (improve guess x) (/ (+ (/ x (* guess guess)) (*...
[ -0.0042724609375, 0.0036468505859375, 0.004241943359375, 0.00008058547973632812, 0.033935546875, 0.0244140625, 0.0201416015625, -0.004547119140625, 0.00098419189453125, -0.0008697509765625, 0.0020599365234375, -0.019287109375, -0.017822265625, -0.00726318359375, -0.005645751953125, -0....
[ 501, 3267, 18, 1022, 238, 9, 16840, 53855, 856, 50770, 106, 64552, 57767, 3190, 70810, 33, 72089, 32, 128659, 13, 16093, 89678, 188735, 4127, 22183, 116, 8439, 52295, 1438, 615, 65034, 88235, 18878, 107730, 75973, 157578, 2795, 502, 52853, ...
[ 0.009246826171875, 0.147216796875, 0.1634521484375, 0.1678466796875, 0.007415771484375, 0.00213623046875, 0.2467041015625, 0.1429443359375, 0.04302978515625, 0.1021728515625, 0.08935546875, 0.0743408203125, 0.236328125, 0.124267578125, 0.16162109375, 0.116943359375, 0.2509765625, 0...
embed
53797016_c0
53797016
lisp
0
Title: SLIME and CCL minibuffer documentation in Emacs Problem title: SLIME and CCL minibuffer documentation in Emacs Tags: slime, lisp, common-lisp, clozure-cl Problem: SLIME and CCL minibuffer documentation in Emacs When using Emacs, SLIME and Clozure CL I have a minor gripe: The function signature for aref (I have n...
SLIME and CCL minibuffer documentation in Emacs SLIME and CCL minibuffer documentation in Emacs slime lisp common-lisp clozure-cl SLIME CCL Emacs SLIME and CCL minibuffer documentation in Emacs When using Emacs, SLIME and Clozure CL I have a minor gripe: The function signature for aref (I have not yet seen any other in...
[ 0.01904296875, 0.0018310546875, 0.002960205078125, 0.017822265625, -0.019287109375, 0.020751953125, 0.01495361328125, -0.00055694580078125, -0.0030517578125, 0.01171875, 0.015625, -0.01385498046875, -0.0206298828125, 0.006195068359375, 0.02734375, -0.02587890625, -0.021240234375, -...
[ 42135, 66820, 136, 37486, 7665, 123759, 56, 209806, 85269, 4439, 34264, 13, 400, 7008, 39210, 4086, 254, 20450, 1667, 107, 34937, 17368, 51053, 46323, 43967, 40158, 32354, 138256, 621, 420, 14373, 51592, 3789, 110527, 127887, 4734, 237, 11, ...
[ 0.1925048828125, 0.27294921875, 0.0207977294921875, 0.18115234375, 0.1123046875, 0.170654296875, 0.041046142578125, 0.197509765625, 0.1466064453125, 0.18701171875, 0.193359375, 0.1568603515625, 0.091552734375, 0.131103515625, 0.08636474609375, 0.08905029296875, 0.088623046875, 0.05...
embed
14857355_c0
14857355
lisp
0
Title: Disjunction distribution property in lisp Problem title: Disjunction distribution property in lisp Tags: lisp, functional-programming Problem: Disjunction distribution property in lisp Basically I need to represent this property down below as a function in lisp (p and q) or (r and t) = (p or r) and (p or t) and ...
Disjunction distribution property in lisp Disjunction distribution property in lisp lisp functional-programming Disjunction Disjunction distribution property in lisp Basically I need to represent this property down below as a function in lisp (p and q) or (r and t) = (p or r) and (p or t) and (q or r) and (q or t) The ...
[ 0.029296875, 0.0247802734375, -0.0023345947265625, -0.0031585693359375, -0.00537109375, 0.000476837158203125, 0.0023193359375, 0.0196533203125, -0.016357421875, -0.00341796875, -0.00933837890625, -0.017578125, 0.000637054443359375, -0.0126953125, -0.018798828125, -0.00787353515625, 0...
[ 6206, 17043, 10763, 113068, 57266, 400, 7008, 23, 123309, 28966, 3871, 33636, 7565, 35064, 237, 32354, 254, 136, 8096, 707, 42, 808, 1690, 864, 15917, 67, 9, 748, 420, 150598, 51776, 10750, 26168, 10644, 876, 501, 27198, 2940, 2967, 18, ...
[ 0.1072998046875, 0.244140625, 0.07769775390625, 0.275634765625, 0.2421875, 0.1605224609375, 0.209228515625, 0.0582275390625, 0.13525390625, 0.1240234375, 0.04937744140625, 0.1905517578125, 0.106689453125, 0.168212890625, 0.049591064453125, 0.180419921875, 0.0684814453125, 0.1383056...
embed
43283408_c0
43283408
lisp
0
Title: How can I write a MEMBER function using the DO macro in Common Lisp? Problem title: How can I write a MEMBER function using the DO macro in Common Lisp? Tags: lisp, common-lisp Problem: How can I write a MEMBER function using the DO macro in Common Lisp? I am trying to make a function which works like MEMBER fun...
How can I write a MEMBER function using the DO macro in Common Lisp? How can I write a MEMBER function using the DO macro in Common Lisp? lisp common-lisp the How MEMBER Common Lisp How can I write a MEMBER function using the DO macro in Common Lisp? I am trying to make a function which works like MEMBER function in Co...
[ -0.0081787109375, 0.00604248046875, 0.0081787109375, 0.002044677734375, -0.0223388671875, 0.01806640625, 0.00958251953125, 0.0108642578125, 0.0098876953125, -0.035400390625, 0.033447265625, 0.020263671875, 0.0213623046875, 0.00127410888671875, 0.0130615234375, 0.00787353515625, -0.03...
[ 11249, 831, 33022, 276, 108582, 32354, 17368, 6197, 111789, 151301, 1261, 7008, 23, 400, 39210, 4086, 254, 70, 10, 31577, 3249, 43240, 1884, 3444, 4488, 66161, 5701, 3642, 35431, 4527, 13223, 18151, 59121, 22027, 18, 86869 ]
[ 0.09893798828125, 0.048004150390625, 0.1749267578125, 0.1307373046875, 0.264892578125, 0.20556640625, 0.05670166015625, 0.2056884765625, 0.1925048828125, 0.1590576171875, 0.1556396484375, 0.193115234375, 0.0207672119140625, 0.05401611328125, 0.077880859375, 0.0389404296875, 0.0751342...
embed
33159712_c0
33159712
lisp
0
Title: Recursive macro in Common Lisp Problem title: Recursive macro in Common Lisp Tags: macros, lisp, common-lisp, recursion Problem: Recursive macro in Common Lisp I have to write recursive macro in Common Lisp. I have a function that searches maximal element in list. For example it returns 45 for list (2 4 6 42 5 4...
Recursive macro in Common Lisp Recursive macro in Common Lisp macros lisp common-lisp recursion Recursive Common Lisp Recursive macro in Common Lisp I have to write recursive macro in Common Lisp. I have a function that searches maximal element in list. For example it returns 45 for list (2 4 6 42 5 45 3) . Now I'm abo...
[ -0.0162353515625, 0.0164794921875, 0.00714111328125, 0.006011962890625, 0.004730224609375, 0.032470703125, -0.0015869140625, -0.0027618408203125, 0.004302978515625, -0.035400390625, -0.00909423828125, -0.01153564453125, 0.004669189453125, -0.0164794921875, 0.025634765625, -0.0251464843...
[ 853, 48650, 5844, 111789, 23, 151301, 1261, 7008, 400, 39210, 4086, 254, 195625, 1830, 33022, 32354, 33938, 111340, 12830, 5303, 30646, 2678, 100, 4700, 201, 305, 4828, 190, 8439, 1672, 96760, 47, 18151, 22027, 18, 4488, 15612, 14, 18499, ...
[ 0.10791015625, 0.24853515625, 0.16552734375, 0.255126953125, 0.07464599609375, 0.1861572265625, 0.15869140625, 0.196533203125, 0.1043701171875, 0.1396484375, 0.09326171875, 0.1365966796875, 0.25244140625, 0.001068115234375, 0.081787109375, 0.1351318359375, 0.14794921875, 0.23937988...
embed
71773958_c0
71773958
lisp
0
Title: Rewriting a common function using tail-end recursion Problem title: Rewriting a common function using tail-end recursion Tags: recursion, racket, lisp, tail-recursion Problem: Rewriting a common function using tail-end recursion I've been trying to tinker with this code to rewrite a "repeat" function using tail-...
Rewriting a common function using tail-end recursion Rewriting a common function using tail-end recursion recursion racket lisp tail-recursion tail-end Rewriting Rewriting a common function using tail-end recursion I've been trying to tinker with this code to rewrite a "repeat" function using tail-end recursion but hav...
[ -0.01495361328125, 0.02587890625, 0.0025634765625, 0.0125732421875, 0.0091552734375, 0.00836181640625, -0.00848388671875, -0.0133056640625, 0.016845703125, -0.01556396484375, 0.0091552734375, -0.016845703125, 0.006134033203125, 0.005615234375, 0.0164794921875, 0.01007080078125, 0.033...
[ 853, 199332, 39210, 32354, 17368, 46741, 3611, 195625, 1830, 673, 27853, 400, 7008, 107, 48650, 31577, 49947, 18151, 456, 434, 18781, 1081, 257, 4785, 179933, 81887, 7311, 37317, 8305, 19, 20, 106, 90926, 114689, 6468, 425, 5303, 78301, 584...
[ 0.1236572265625, 0.2388916015625, 0.1646728515625, 0.1966552734375, 0.077880859375, 0.2138671875, 0.1539306640625, 0.225341796875, 0.09442138671875, 0.06597900390625, 0.1875, 0.07879638671875, 0.1632080078125, 0.07769775390625, 0.16064453125, 0.0168304443359375, 0.056640625, 0.0718...
embed
47911645_c0
47911645
lisp
0
Title: Reading and Understanding Common Lisp (HyperSpec) Documentation Problem title: Reading and Understanding Common Lisp (HyperSpec) Documentation Tags: ebnf, lisp, hyperspec, common-lisp Problem: Reading and Understanding Common Lisp (HyperSpec) Documentation In trying to gather a deeper familiarity with Common Lis...
Reading and Understanding Common Lisp (HyperSpec) Documentation Reading and Understanding Common Lisp (HyperSpec) Documentation ebnf lisp hyperspec common-lisp Reading Understanding Common Lisp HyperSpec Documentation Reading and Understanding Common Lisp (HyperSpec) Documentation In trying to gather a deeper familiari...
[ 0.017578125, 0.0135498046875, -0.0186767578125, 0.0086669921875, -0.0177001953125, 0.0269775390625, -0.00592041015625, -0.0208740234375, 0.00537109375, -0.016357421875, 0.018798828125, -0.03369140625, -0.01458740234375, -0.006378173828125, 0.0084228515625, -0.0147705078125, -0.000347...
[ 104951, 136, 9626, 144057, 151301, 1261, 7008, 60977, 1264, 294, 47107, 43101, 61320, 420, 400, 59058, 16711, 39210, 4086, 254, 92179, 16031, 72977, 237875, 16454, 209806, 34844, 232460, 127689, 111789, 6713, 1884, 16916, 54, 1961, 58745, 73, ...
[ 0.1650390625, 0.01007080078125, 0.1290283203125, 0.0372314453125, 0.19970703125, 0.191650390625, 0.2169189453125, 0.048919677734375, 0.114990234375, 0.03802490234375, 0.1971435546875, 0.1661376953125, 0.02392578125, 0.09600830078125, 0.1201171875, 0.1585693359375, 0.2178955078125, ...
embed
29329568_c0
29329568
lisp
0
Title: regarding continuation in OnLisp Problem title: regarding continuation in OnLisp Tags: common-lisp, on-lisp, lisp Problem: regarding continuation in OnLisp I am still interested in the question which has been answered. continuation in common lisp by macros — regarding an implemetation in OnLisp What will happen ...
regarding continuation in OnLisp regarding continuation in OnLisp common-lisp on-lisp lisp OnLisp regarding continuation in OnLisp I am still interested in the question which has been answered. continuation in common lisp by macros — regarding an implemetation in OnLisp What will happen if Paul Graham's assumption is c...
[ -0.00726318359375, 0.017578125, -0.002471923828125, -0.0206298828125, -0.006988525390625, 0.00970458984375, 0.0299072265625, -0.007232666015625, 0.00020694732666015625, -0.0274658203125, -0.032470703125, 0.01177978515625, -0.0002117156982421875, 0.0146484375, 0.019287109375, -0.0108642...
[ 118861, 9454, 1363, 2161, 9506, 7008, 39210, 4086, 254, 98, 400, 7464, 60892, 390, 111789, 7, 21980, 14230, 22062, 53383, 10208, 147756, 237259, 26785, 15549, 1295, 21162, 47, 571, 4879, 22832, 99091, 169463, 53418, 1957, 128239, 80934, 2203,...
[ 0.0186767578125, 0.203369140625, 0.061065673828125, 0.1583251953125, 0.137451171875, 0.1868896484375, 0.103515625, 0.0784912109375, 0.1002197265625, 0.08880615234375, 0.1087646484375, 0.001495361328125, 0.04705810546875, 0.002838134765625, 0.146240234375, 0.0258941650390625, 0.079284...
embed
56154962_c0
56154962
lisp
0
Title: How to count the occurences of different characters and return all of them as a table Problem title: How to count the occurences of different characters and return all of them as a table Tags: common-lisp, lisp Problem: How to count the occurences of different characters and return all of them as a table Here's ...
How to count the occurences of different characters and return all of them as a table How to count the occurences of different characters and return all of them as a table common-lisp lisp a How COUNT-BASES How to count the occurences of different characters and return all of them as a table Here's the exact question: ...
[ 0.0021514892578125, -0.004852294921875, -0.00008392333984375, 0.00009679794311523438, 0.00665283203125, -0.0155029296875, 0.00830078125, -0.020751953125, 0.01556396484375, -0.0167236328125, -0.003631591796875, 0.0040283203125, 0.00823974609375, 0.03271484375, -0.0186767578125, 0.010131...
[ 11249, 54529, 74918, 69098, 111, 12921, 124850, 30646, 756, 237, 23180, 47, 136, 39210, 4086, 254, 400, 7008, 10, 8244, 64163, 9, 8031, 65596, 24763, 9655, 14012, 51039, 12638, 10644, 11001, 41929, 58526, 27583, 16750, 59121, 32354, 759, 71...
[ 0.0550537109375, 0.246826171875, 0.2080078125, 0.20849609375, 0.040283203125, 0.190185546875, 0.2060546875, 0.201416015625, 0.08477783203125, 0.089111328125, 0.2379150390625, 0.013275146484375, 0.03125, 0.088623046875, 0.050567626953125, 0.10601806640625, 0.048095703125, 0.12377929...
embed
71353425_c0
71353425
lisp
0
Title: why is this racket code giving me a function call error? Problem title: why is this racket code giving me a function call error? Tags: function-call, racket, function, lisp Problem: why is this racket code giving me a function call error? i am working through this online book //htdp.org/2021-11-15/Book/index.htm...
why is this racket code giving me a function call error? why is this racket code giving me a function call error? function-call racket function lisp why is this racket code giving me a function call error? i am working through this online book //htdp.org/2021-11-15/Book/index.html to learn the racket.as i progressed th...
[ -0.0203857421875, -0.006622314453125, -0.0264892578125, 0.05126953125, 0.006317138671875, 0.01708984375, -0.0032806396484375, -0.00109100341796875, 0.0024871826171875, 0.005706787109375, 0.002349853515625, -0.0264892578125, -0.0185546875, -0.014404296875, 0.0206298828125, 0.00848388671...
[ 15400, 83, 903, 673, 27853, 18151, 68772, 163, 32354, 11782, 18499, 85763, 400, 7008, 20697, 1118, 12877, 1478, 128607, 37975, 30698, 42658, 36880, 660, 759, 37170, 15549, 678, 79315, 35064, 73197, 40140, 11675, 2046, 444, 132283, 4358 ]
[ 0.154296875, 0.051849365234375, 0.09283447265625, 0.124267578125, 0.2408447265625, 0.1859130859375, 0.0841064453125, 0.069580078125, 0.2142333984375, 0.2052001953125, 0.2064208984375, 0.1617431640625, 0.0848388671875, 0.164794921875, 0.008087158203125, 0.02392578125, 0.072998046875, ...
embed
11109082_c0
11109082
lisp
0
Title: common lisp: eval a top-level form only once for a lisp session Problem title: common lisp: eval a top-level form only once for a lisp session Tags: macros, lisp, common-lisp Problem: common lisp: eval a top-level form only once for a lisp session I'm doing more interactive development with the REPL lately, and ...
common lisp: eval a top-level form only once for a lisp session common lisp: eval a top-level form only once for a lisp session macros lisp common-lisp common lisp: eval a top-level form only once for a lisp session I'm doing more interactive development with the REPL lately, and I have a section of code that pushes a ...
[ 0.009033203125, 0.000335693359375, 0.007232666015625, -0.0203857421875, -0.024658203125, 0.007232666015625, 0.0087890625, 0.0167236328125, 0.0028533935546875, -0.06494140625, -0.0137939453125, 0.003448486328125, -0.0079345703125, -0.0269775390625, 0.00775146484375, 0.033203125, -0.02...
[ 39210, 400, 7008, 28, 1405, 2663, 67919, 3173, 4734, 24145, 56002, 111789, 4086, 254, 100, 10, 212398, 34754, 9069, 21130, 18151, 25944, 26582, 188, 7964, 84079, 77336, 5303, 2053, 45646, 15649, 119140, 456, 63033, 11435, 12638, 1733, 15700, ...
[ 0.144775390625, 0.1519775390625, 0.1995849609375, 0.03887939453125, 0.2227783203125, 0.1251220703125, 0.1744384765625, 0.1883544921875, 0.106689453125, 0.21826171875, 0.1893310546875, 0.1572265625, 0.092529296875, 0.147705078125, 0.0413818359375, 0.0169830322265625, 0.049468994140625...
embed
42144068_c0
42144068
lisp
0
Title: How do foldl and foldr work, broken down in an example? Problem title: How do foldl and foldr work, broken down in an example? Tags: racket, lisp, scheme, fold Problem: How do foldl and foldr work, broken down in an example? Okay, I am new with scheme/racket/lisp. I am practicing creating my own functions, synta...
How do foldl and foldr work, broken down in an example? How do foldl and foldr work, broken down in an example? racket lisp scheme fold How How do foldl and foldr work, broken down in an example? Okay, I am new with scheme/racket/lisp. I am practicing creating my own functions, syntax, and recursion, so I want to make ...
[ -0.015380859375, 0.00689697265625, -0.00909423828125, 0.0045166015625, -0.03466796875, 0.01397705078125, -0.0196533203125, -0.00457763671875, -0.013671875, -0.0081787109375, 0.00872802734375, -0.0380859375, -0.007293701171875, 0.0106201171875, 0.003143310546875, -0.022705078125, -0.0...
[ 11249, 54, 18344, 20469, 136, 7569, 4488, 148431, 7565, 27781, 23, 673, 27853, 400, 7008, 150370, 42822, 3525, 219, 4086, 254, 74082, 105233, 10002, 32354, 86531, 195625, 3249, 66161, 1653, 5983, 11389, 831, 28219, 3642, 6097, 2046, 32399, ...
[ 0.0904541015625, 0.0963134765625, 0.1968994140625, 0.262451171875, 0.1671142578125, 0.2459716796875, 0.191650390625, 0.101318359375, 0.134765625, 0.2213134765625, 0.0144805908203125, 0.052581787109375, 0.1636962890625, 0.071533203125, 0.1605224609375, 0.16162109375, 0.25048828125, ...
embed
19499757_c0
19499757
lisp
0
Title: emacs major-mode font-lock between characters (parenthesis, quotes, etc) Problem title: emacs major-mode font-lock between characters (parenthesis, quotes, etc) Tags: mode, syntax, syntax-highlighting, lisp, emacs Problem: emacs major-mode font-lock between characters (parenthesis, quotes, etc) I'm trying to set...
emacs major-mode font-lock between characters (parenthesis, quotes, etc) emacs major-mode font-lock between characters (parenthesis, quotes, etc) mode syntax syntax-highlighting lisp emacs emacs major-mode font-lock between characters (parenthesis, quotes, etc) I'm trying to setup an emacs major-mode which essentially ...
[ -0.010009765625, -0.005462646484375, -0.0234375, -0.01177978515625, 0.007537841796875, 0.03369140625, 0.0223388671875, 0.01318359375, 0.0166015625, 0.01116943359375, 0.004730224609375, -0.01080322265625, -0.0235595703125, -0.0025177001953125, 0.00927734375, -0.0208740234375, -0.01104...
[ 352, 2263, 7, 13036, 61170, 12401, 21135, 17721, 124850, 99547, 160291, 66747, 13736, 6002, 86531, 84396, 177476, 400, 7008, 169581, 127308, 7986, 71358, 12921, 104988, 108047, 1620, 27853, 20697, 9790, 456, 133266, 378, 136, 3789, 7279, 68807,...
[ 0.1068115234375, 0.15966796875, 0.127685546875, 0.1365966796875, 0.193115234375, 0.166259765625, 0.2115478515625, 0.143310546875, 0.14794921875, 0.0916748046875, 0.131591796875, 0.15966796875, 0.1695556640625, 0.041473388671875, 0.1214599609375, 0.08880615234375, 0.1226806640625, 0...
embed
37369965_c0
37369965
lisp
0
Title: Recursion in Lisp and making my own length function Problem title: Recursion in Lisp and making my own length function Tags: control-flow, function, lisp Problem: Recursion in Lisp and making my own length function I am trying to make my own length/2 function(which allows you to find the length of a list) in lis...
Recursion in Lisp and making my own length function Recursion in Lisp and making my own length function control-flow function lisp Recursion Lisp list.equal Recursion in Lisp and making my own length function I am trying to make my own length/2 function(which allows you to find the length of a list) in lisp and am havi...
[ -0.0126953125, 0.034912109375, 0.00787353515625, 0.033447265625, 0.002838134765625, 0.01251220703125, 0.0087890625, 0.010009765625, 0.023193359375, -0.0299072265625, 0.005889892578125, -0.0260009765625, -0.0069580078125, 0.0186767578125, 0.0269775390625, 0.0036468505859375, 0.0133666...
[ 165428, 42, 6889, 23, 1261, 7008, 20662, 10002, 140909, 32354, 6226, 118664, 400, 5303, 71723, 31577, 3249, 12477, 114864, 7413, 111, 31089, 1528, 79, 330, 28282, 7964, 63262, 77336, 55300, 6002, 86531, 15421, 62775, 59911, 5201, 2174, 7, 4...
[ 0.15185546875, 0.1695556640625, 0.1414794921875, 0.0804443359375, 0.1676025390625, 0.2349853515625, 0.04559326171875, 0.1265869140625, 0.2255859375, 0.1839599609375, 0.170654296875, 0.1795654296875, 0.1473388671875, 0.214599609375, 0.1246337890625, 0.1124267578125, 0.061614990234375,...
embed
44250919_c0
44250919
lisp
0
Title: Equal function in Lisp Problem title: Equal function in Lisp Tags: common-lisp, lisp Problem: Equal function in Lisp I want to write an equal function that tell that any two numbers are equal, and that a symbol is equal only to itself. Also two lists should be equal if all their elements are recursively equal. I...
Equal function in Lisp Equal function in Lisp common-lisp lisp Equal Lisp NIL Equal function in Lisp I want to write an equal function that tell that any two numbers are equal, and that a symbol is equal only to itself. Also two lists should be equal if all their elements are recursively equal. I wrote a small equal fu...
[ 0.0021514892578125, 0.02197265625, 0.0201416015625, 0.0029296875, -0.00921630859375, 0.00848388671875, -0.0024261474609375, 0.0086669921875, -0.00848388671875, -0.0159912109375, 0.0166015625, 0.004913330078125, 0.01275634765625, 0.013427734375, 0.006866455078125, 0.00634765625, -0.01...
[ 241, 71723, 32354, 23, 1261, 7008, 39210, 4086, 254, 400, 541, 16444, 3444, 33022, 105950, 14192, 450, 2499, 6626, 101935, 26582, 83, 4734, 47, 68034, 5303, 5608, 756, 80854, 195625, 54397, 19336, 35064, 69307, 109921, 50218, 40407, 4527, 6...
[ 0.068603515625, 0.2314453125, 0.2064208984375, 0.06939697265625, 0.154541015625, 0.2247314453125, 0.068603515625, 0.10791015625, 0.1456298828125, 0.1016845703125, 0.030517578125, 0.1339111328125, 0.083740234375, 0.1190185546875, 0.2386474609375, 0.111328125, 0.00799560546875, 0.023...
embed
18675913_c0
18675913
lisp
0
Title: Lisp: How to get all possible combinations of the elements from lists contained in a list? Problem title: Lisp: How to get all possible combinations of the elements from lists contained in a list? Tags: common-lisp, lisp, list, algorithm, combinations Problem: Lisp: How to get all possible combinations of the el...
Lisp: How to get all possible combinations of the elements from lists contained in a list? Lisp: How to get all possible combinations of the elements from lists contained in a list? common-lisp lisp list algorithm combinations lists Lisp How Lisp: How to get all possible combinations of the elements from lists containe...
[ -0.0247802734375, 0.049072265625, -0.005126953125, 0.0128173828125, -0.0172119140625, 0.026611328125, -0.005279541015625, -0.004119873046875, -0.005462646484375, -0.025634765625, -0.01068115234375, 0.00994873046875, 0.019775390625, 0.0184326171875, -0.03076171875, 0.0211181640625, 0....
[ 1261, 7008, 11249, 2046, 756, 7722, 162515, 80854, 1295, 5303, 70541, 297, 23, 39210, 4086, 254, 400, 234873, 12, 47, 111, 33022, 32354, 151301, 9506, 51776, 30646, 1614, 6562, 159029, 4958, 1884, 4879, 107730, 2499, 140909, 142027, 5701, 8...
[ 0.164306640625, 0.2117919921875, 0.094970703125, 0.1494140625, 0.1361083984375, 0.190673828125, 0.26025390625, 0.1815185546875, 0.119384765625, 0.212646484375, 0.1517333984375, 0.05194091796875, 0.07513427734375, 0.0673828125, 0.08740234375, 0.1387939453125, 0.09356689453125, 0.157...
embed
5282089_c0
5282089
lisp
0
Title: Listing directories in CLISP Problem title: Listing directories in CLISP Tags: common-lisp, clisp, lisp, directory Problem: Listing directories in CLISP I've been trying to see get a list of all files within a directory in CLISP, but I've only been able to get all non-directory files within a directory. I'm curr...
Listing directories in CLISP Listing directories in CLISP common-lisp clisp lisp directory Listing CLISP Download Listing directories in CLISP I've been trying to see get a list of all files within a directory in CLISP, but I've only been able to get all non-directory files within a directory. I'm currently trying this...
[ 0.0191650390625, 0.0203857421875, 0.0281982421875, 0.021484375, -0.008544921875, 0.027587890625, -0.000766754150390625, 0.000606536865234375, -0.0093994140625, -0.032470703125, -0.0091552734375, 0.008056640625, -0.00933837890625, 0.0162353515625, -0.01470947265625, 0.0052490234375, -...
[ 32036, 214, 14364, 3387, 23, 313, 67616, 683, 39210, 4086, 254, 95701, 7008, 400, 53, 4857, 31577, 1957, 2046, 5303, 756, 102158, 28032, 4734, 19048, 351, 80581, 82424, 3773, 361, 678, 19932, 177, 9494, 79507, 50339, 28875, 3525, 16970, 9...
[ 0.2037353515625, 0.0982666015625, 0.1778564453125, 0.1622314453125, 0.103271484375, 0.1119384765625, 0.21240234375, 0.2412109375, 0.1336669921875, 0.1676025390625, 0.2113037109375, 0.1719970703125, 0.232177734375, 0.1429443359375, 0.02294921875, 0.20751953125, 0.05499267578125, 0.0...
embed
71579254_c1
71579254
lisp
1
: #lang slideshow (struct 24HourClock (hours minutes) #:transparent #:mutable #:guard (lambda (hours minutes err_name) (if (not (and (>= hours 0) (< hours 24))) (error err_name "Hours must be between 0 and 24") (if (not (and (>= minutes 0) (< minutes 60))) (error err_name "Minutes must be between 0 and 60") (values hou...
: #lang slideshow (struct 24HourClock (hours minutes) #:transparent #:mutable #:guard (lambda (hours minutes err_name) (if (not (and (>= hours 0) (< hours 24))) (error err_name "Hours must be between 0 and 24") (if (not (and (>= minutes 0) (< minutes 60))) (error err_name "Minutes must be between 0 and 60") (values hou...
[ 0.0003223419189453125, -0.0027008056640625, 0.01446533203125, 0.01483154296875, 0.0032806396484375, -0.007476806640625, -0.0177001953125, -0.007568359375, 0.01483154296875, 0.039306640625, 0.0084228515625, -0.012451171875, 0.01470947265625, -0.0086669921875, 0.007171630859375, 0.000808...
[ 152, 468, 3066, 122753, 31374, 36716, 744, 11193, 474, 441, 21135, 497, 12824, 14633, 30145, 99547, 561, 22819, 32116, 6492, 85, 72, 42, 11627, 3190, 10869, 21974, 757, 32149, 188800, 8110, 17721, 136, 1496, 169929, 27494, 80126, 9677, 64, ...
[ 0.04241943359375, 0.0894775390625, 0.2032470703125, 0.1881103515625, 0.2388916015625, 0.1976318359375, 0.2005615234375, 0.1700439453125, 0.146728515625, 0.034912109375, 0.216552734375, 0.107177734375, 0.164306640625, 0.248291015625, 0.06689453125, 0.152099609375, 0.03033447265625, ...
embed
15125772_c0
15125772
lisp
0
Title: Lisp - Displaying a String to List Problem title: Lisp - Displaying a String to List Tags: string, list, lisp, common-lisp Problem: Lisp - Displaying a String to List I've been looking for a way to convert user input (read-line) to a list of atoms that I can manipulate more easily. For example: SendInput() This ...
Lisp - Displaying a String to List Lisp - Displaying a String to List string list lisp common-lisp Lisp Displaying List Lisp - Displaying a String to List I've been looking for a way to convert user input (read-line) to a list of atoms that I can manipulate more easily. For example: and I want to get back.. (This is my...
[ -0.00811767578125, 0.00787353515625, -0.0028076171875, 0.020263671875, -0.01513671875, 0.0294189453125, 0.0181884765625, -0.00592041015625, -0.01611328125, -0.01031494140625, 0.006927490234375, 0.000797271728515625, -0.0169677734375, 0.000720977783203125, -0.0218505859375, 0.0236816406...
[ 1261, 7008, 90045, 214, 23351, 47, 32036, 20, 10, 79315, 5303, 400, 39210, 4086, 254, 16487, 3917, 96760, 38937, 107730, 39116, 2256, 34627, 7, 831, 45258, 1286, 72546, 27781, 136, 87, 3444, 2046, 4420, 73243, 240095, 43240, 215100, 6397, ...
[ 0.16650390625, 0.247802734375, 0.1907958984375, 0.155029296875, 0.210693359375, 0.13818359375, 0.252197265625, 0.004180908203125, 0.011993408203125, 0.21630859375, 0.2064208984375, 0.123779296875, 0.1236572265625, 0.1051025390625, 0.167724609375, 0.054595947265625, 0.055694580078125,...
embed
35775319_c0
35775319
lisp
0
Title: Recursive function not working &#x27;&quot;Wrong type argument in procedure car&quot; Problem title: Recursive function not working &#x27;&quot;Wrong type argument in procedure car&quot; Tags: scheme, sisc, recursion, lisp, cdr Problem: Recursive function not working '"Wrong type argument in procedure car" I am ...
Recursive function not working &#x27;&quot;Wrong type argument in procedure car&quot; Recursive function not working &#x27;&quot;Wrong type argument in procedure car&quot; scheme sisc recursion lisp cdr Recursive Wrong e155-11e5-9605-aa00009baa05 main.scheme:2:21 Recursive function not working '"Wrong type argument in ...
[ -0.0087890625, 0.0322265625, -0.0045166015625, 0.01318359375, -0.015380859375, 0.006927490234375, -0.01953125, -0.0020751953125, -0.007354736328125, -0.02880859375, 0.00015163421630859375, -0.0157470703125, -0.00909423828125, -0.0101318359375, 0.0142822265625, -0.01019287109375, 0.00...
[ 853, 48650, 5844, 32354, 959, 20697, 3768, 35133, 10644, 10750, 50491, 2258, 150370, 78, 10382, 195625, 7008, 42, 119477, 91230, 28568, 8194, 5201, 7560, 25619, 23, 32562, 51776, 12830, 62, 136, 5303, 339, 30646, 105950, 11907, 74918, 184750,...
[ 0.0682373046875, 0.222900390625, 0.159912109375, 0.1748046875, 0.08740234375, 0.1766357421875, 0.04107666015625, 0.140625, 0.1744384765625, 0.2366943359375, 0.1912841796875, 0.1851806640625, 0.114501953125, 0.01715087890625, 0.0645751953125, 0.2176513671875, 0.09014892578125, 0.027...
embed
18895016_c0
18895016
lisp
0
Title: why notation pat ... means zero or more expressions in scheme macro pattern Problem title: why notation pat ... means zero or more expressions in scheme macro pattern Tags: macros, scheme, lisp Problem: why notation pat ... means zero or more expressions in scheme macro pattern When I'm reading the macro part of...
why notation pat ... means zero or more expressions in scheme macro pattern why notation pat ... means zero or more expressions in scheme macro pattern macros scheme lisp why notation pat ... means zero or more expressions in scheme macro pattern When I'm reading the macro part of The Scheme Programming Language , it m...
[ 0.004669189453125, 0.007781982421875, -0.01361083984375, -0.006378173828125, 0.00677490234375, -0.00482177734375, 0.005096435546875, 0.0027008056640625, 0.02099609375, -0.01336669921875, 0.0185546875, -0.043212890625, -0.01116943359375, -0.0096435546875, 0.01104736328125, -0.0162353515...
[ 15400, 110, 22062, 2340, 153, 26950, 45234, 707, 1286, 125195, 150370, 111789, 103510, 400, 7008, 34702, 282, 27958, 83658, 61924, 6002, 86531, 111938, 12654, 5608, 4527, 40140, 44084, 1632, 80934, 111, 136, 33022, 1884, 903, 3034 ]
[ 0.09674072265625, 0.15185546875, 0.10107421875, 0.2237548828125, 0.115234375, 0.104736328125, 0.1904296875, 0.0504150390625, 0.146240234375, 0.2039794921875, 0.1644287109375, 0.123291015625, 0.1796875, 0.00067138671875, 0.0880126953125, 0.07623291015625, 0.067626953125, 0.061523437...
embed