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
36814464_c0
36814464
lisp
0
Title: How to specify arguments for substitute in mapcar? Problem title: How to specify arguments for substitute in mapcar? Tags: common-lisp, lisp Problem: How to specify arguments for substitute in mapcar? For example, I have a list of "strings" : ("First" "second" "third."). And I need to replace all "s" to "a" -> (...
How to specify arguments for substitute in mapcar? How to specify arguments for substitute in mapcar? common-lisp lisp How How to specify arguments for substitute in mapcar? For example, I have a list of "strings" : ("First" "second" "third."). And I need to replace all "s" to "a" -> (("Firat")...etc I've found very be...
[ -0.0172119140625, -0.00830078125, 0.01141357421875, -0.0038909912109375, -0.004608154296875, 0.0107421875, 0.0162353515625, 0.0267333984375, 0.00433349609375, 0.00360107421875, -0.0108642578125, -0.016357421875, -0.005889892578125, 0.015380859375, -0.021728515625, -0.025390625, -0.00...
[ 11249, 47, 40140, 18929, 10750, 7, 100, 161740, 13, 23, 22288, 3284, 39210, 4086, 254, 400, 7008, 5303, 91693, 207263, 191633, 95037, 71, 3871, 91995, 756, 11, 6159, 2175, 14037, 34923, 32354, 43240, 4734, 1632, 944, 4171, 4527 ]
[ 0.0821533203125, 0.015289306640625, 0.1917724609375, 0.1162109375, 0.2578125, 0.11376953125, 0.05859375, 0.25390625, 0.137451171875, 0.07489013671875, 0.17431640625, 0.2388916015625, 0.08099365234375, 0.029815673828125, 0.078857421875, 0.050506591796875, 0.1138916015625, 0.09094238...
embed
56411900_c0
56411900
lisp
0
Title: How to insert an element in lisp? Problem title: How to insert an element in lisp? Tags: lisp, list, common-lisp Problem: How to insert an element in lisp? I want to insert an element next to the last element of the list, but I only know how to insert an element next to the first element of the list, can someone...
How to insert an element in lisp? How to insert an element in lisp? lisp list common-lisp How How to insert an element in lisp? I want to insert an element next to the last element of the list, but I only know how to insert an element next to the first element of the list, can someone help me further? Example : (insert...
[ -0.0140380859375, 0.0157470703125, 0.0001239776611328125, -0.0014495849609375, -0.0103759765625, 0.020263671875, -0.026123046875, -0.0184326171875, -0.0091552734375, -0.056396484375, 0.026611328125, -0.0242919921875, -0.002227783203125, -0.0068359375, -0.0159912109375, -0.0007476806640...
[ 11249, 47, 183540, 142, 12830, 23, 400, 7008, 5303, 39210, 4086, 254, 3444, 11737, 4568, 4734, 3714, 3642, 5117, 4358, 53333, 89536, 73, 33657, 758, 242, 41600, 138, 116, 361, 382, 77816, 5608, 140992, 44357, 190 ]
[ 0.11895751953125, 0.1170654296875, 0.263916015625, 0.060882568359375, 0.2327880859375, 0.1453857421875, 0.16357421875, 0.261474609375, 0.135009765625, 0.10986328125, 0.0987548828125, 0.1917724609375, 0.05029296875, 0.129638671875, 0.1429443359375, 0.0138702392578125, 0.05380249023437...
embed
18260277_c0
18260277
lisp
0
Title: python equivalent of quote in lisp Problem title: python equivalent of quote in lisp Tags: functional-programming, quote, python, lisp Problem: python equivalent of quote in lisp In python what is the equivalent of the quote operator? I am finding the need to delay evaluation. For example, suppose in the followi...
python equivalent of quote in lisp python equivalent of quote in lisp functional-programming quote python lisp python equivalent of quote in lisp In python what is the equivalent of the quote operator? I am finding the need to delay evaluation. For example, suppose in the following lisp psuedocode I have: What I am doi...
[ 0.017822265625, 0.0272216796875, 0.00933837890625, 0.00020694732666015625, -0.003082275390625, -0.0147705078125, 0.01348876953125, -0.00653076171875, 0.00011348724365234375, -0.02783203125, -0.01312255859375, 0.00811767578125, -0.000621795654296875, -0.0146484375, -0.01953125, 0.014892...
[ 17198, 50828, 183234, 111, 66747, 23, 400, 7008, 123309, 28966, 2367, 39933, 90791, 3871, 8, 5259, 219836, 139124, 92015, 37421, 40899, 20594, 2875, 2852, 706, 570, 14432, 1733, 63559, 3444, 61924, 6528 ]
[ 0.113037109375, 0.1553955078125, 0.18408203125, 0.047149658203125, 0.2406005859375, 0.045440673828125, 0.1083984375, 0.1854248046875, 0.116455078125, 0.0643310546875, 0.0230712890625, 0.2138671875, 0.00555419921875, 0.022613525390625, 0.117431640625, 0.1776123046875, 0.1641845703125,...
embed
7641755_c0
7641755
lisp
0
Title: Maximizing / restoring a window in emacs Problem title: Maximizing / restoring a window in emacs Tags: lisp, emacs, elisp Problem: Maximizing / restoring a window in emacs I often have my emacs split into about 4 windows so I can look at a bunch of buffers at the same time, however I'd like to be able to C-x 1 (...
Maximizing / restoring a window in emacs Maximizing / restoring a window in emacs lisp emacs elisp Maximizing Maximizing / restoring a window in emacs I often have my emacs split into about 4 windows so I can look at a bunch of buffers at the same time, however I'd like to be able to C-x 1 (make the window the same siz...
[ 0.008544921875, 0.01507568359375, 0.008056640625, -0.00323486328125, -0.01287841796875, 0.0281982421875, -0.01611328125, -0.0034637451171875, 0.01068115234375, -0.00109100341796875, -0.00885009765625, 0.00439453125, -0.0015106201171875, -0.01409912109375, 0.00543212890625, -0.023681640...
[ 46540, 84382, 248, 14359, 2852, 76896, 23, 352, 2263, 7, 400, 7008, 15296, 27983, 65450, 3934, 1672, 201, 54825, 831, 6713, 147306, 373, 18234, 5701, 1884, 19048, 47, 313, 9, 425, 106, 55898, 13267, 209303, 107, 4420, 26267, 108802, 16487...
[ 0.2254638671875, 0.1595458984375, 0.059600830078125, 0.189697265625, 0.066650390625, 0.2142333984375, 0.07513427734375, 0.1524658203125, 0.1881103515625, 0.114013671875, 0.096435546875, 0.180419921875, 0.11474609375, 0.08343505859375, 0.156005859375, 0.0804443359375, 0.00433349609375...
embed
31852323_c0
31852323
lisp
0
Title: Storing a Lisp compiled function in a database Problem title: Storing a Lisp compiled function in a database Tags: common-lisp, clisp, binary, lisp, persistence Problem: Storing a Lisp compiled function in a database CLISP allows us to do (compile nil #'(lambda(x) (+ x 1))) This returns a compiled function objec...
Storing a Lisp compiled function in a database Storing a Lisp compiled function in a database common-lisp clisp binary lisp persistence Storing Lisp COMPILED-FUNCTION NIL Storing a Lisp compiled function in a database CLISP allows us to do This returns a compiled function object: Is it possible to export this as a bina...
[ 0.02783203125, -0.00180816650390625, 0.0005340576171875, 0.003387451171875, -0.0196533203125, 0.01483154296875, -0.003631591796875, -0.0174560546875, -0.006134033203125, -0.033203125, -0.012451171875, 0.01153564453125, -0.01470947265625, 0.007659912109375, 0.003387451171875, 0.01055908...
[ 23604, 214, 1261, 7008, 375, 5974, 297, 32354, 23, 63399, 39210, 4086, 254, 95701, 2394, 400, 70560, 61898, 52099, 397, 919, 175560, 541, 16444, 313, 67616, 683, 114864, 54, 30646, 36746, 7722, 31255, 237, 6635, 79315, 12989, 47, 442, 57,...
[ 0.249267578125, 0.04547119140625, 0.1949462890625, 0.271484375, 0.08209228515625, 0.24951171875, 0.0256500244140625, 0.240478515625, 0.06005859375, 0.2178955078125, 0.09649658203125, 0.138916015625, 0.1607666015625, 0.12646484375, 0.1676025390625, 0.1505126953125, 0.2144775390625, ...
embed
24804320_c0
24804320
lisp
0
Title: How can I save the state of a Lisp compiler? Problem title: How can I save the state of a Lisp compiler? Tags: lisp, common-lisp Problem: How can I save the state of a Lisp compiler? I would like to save the state of a Lisp compiler so that I need not load my file in several minutes, but instead I would load tha...
How can I save the state of a Lisp compiler? How can I save the state of a Lisp compiler? lisp common-lisp How Lisp How can I save the state of a Lisp compiler? I would like to save the state of a Lisp compiler so that I need not load my file in several minutes, but instead I would load that image in seconds. Which Com...
[ 0.0067138671875, 0.00714111328125, -0.01153564453125, -0.00469970703125, -0.0213623046875, 0.01092529296875, -0.005279541015625, 0.000751495361328125, -0.01171875, -0.0245361328125, -0.0067138671875, 0.031005859375, 0.01275634765625, 0.017578125, 0.0123291015625, -0.01025390625, -0.0...
[ 11249, 831, 87, 30098, 70, 11341, 111, 1261, 7008, 9969, 34759, 400, 39210, 4086, 254, 1884, 3871, 959, 72367, 11435, 40368, 14633, 64457, 2806, 29569, 94131, 130078, 151301, 10862, 6528, 20744, 39456, 2356, 101033, 14602, 903, 134456, 54953,...
[ 0.07891845703125, 0.0797119140625, 0.0289459228515625, 0.189697265625, 0.006378173828125, 0.183349609375, 0.02825927734375, 0.18359375, 0.2490234375, 0.1634521484375, 0.2064208984375, 0.13134765625, 0.11572265625, 0.1429443359375, 0.1851806640625, 0.06488037109375, 0.0145263671875, ...
embed
2240762_c0
2240762
lisp
0
Title: can if be a proper function rather than a special form Problem title: can if be a proper function rather than a special form Tags: special-form, function, functional-programming, lisp Problem: can if be a proper function rather than a special form I finally started learning functional languages (emacs lisp) and ...
can if be a proper function rather than a special form can if be a proper function rather than a special form special-form function functional-programming lisp can if be a proper function rather than a special form I finally started learning functional languages (emacs lisp) and it makes explicit distinction between fu...
[ 0.01177978515625, 0.01324462890625, 0.010498046875, -0.024658203125, -0.00714111328125, 0.00007677078247070312, 0.00109100341796875, 0.0030517578125, -0.0166015625, -0.0296630859375, 0.001617431640625, -0.0022125244140625, -0.01953125, -0.00982666015625, 0.00994873046875, 0.01586914062...
[ 831, 2174, 186, 10, 27798, 32354, 43257, 3501, 5361, 3173, 5037, 123309, 28966, 400, 7008, 77681, 26859, 52080, 46876, 11883, 4439, 143726, 149067, 19, 17721, 136, 86608, 6226, 20531, 4524, 31635, 15400, 7, 117781, 1295, 2499, 22691 ]
[ 0.09503173828125, 0.262939453125, 0.12030029296875, 0.04547119140625, 0.1943359375, 0.2425537109375, 0.127685546875, 0.0550537109375, 0.180419921875, 0.242919921875, 0.205078125, 0.19580078125, 0.128173828125, 0.091064453125, 0.172119140625, 0.00936126708984375, 0.0062713623046875, ...
embed
7974602_c0
7974602
lisp
0
Title: Print output into a file or not print output? Problem title: Print output into a file or not print output? Tags: common-lisp, lisp Problem: Print output into a file or not print output? I'd like to save or ignore outputs when I execute a specific function in lisp. I use Emacs and CCL. For example, (defun foo (x)...
Print output into a file or not print output? Print output into a file or not print output? common-lisp lisp Print Print output into a file or not print output? I'd like to save or ignore outputs when I execute a specific function in lisp. I use Emacs and CCL. For example, and if I execute the function, it prints out "...
[ 0.00885009765625, 0.003936767578125, 0.020263671875, -0.01080322265625, -0.00836181640625, 0.0130615234375, 0.0108642578125, 0.0024261474609375, -0.0186767578125, 0.0390625, 0.00147247314453125, 0.0010986328125, -0.000812530517578125, -0.0101318359375, 0.01025390625, 0.01324462890625, ...
[ 39754, 140992, 3934, 11435, 959, 28412, 39210, 4086, 254, 400, 7008, 10, 707, 1884, 30098, 124962, 71924, 29458, 32354, 4527, 85269, 4439, 37486, 1810, 425, 2203, 190, 3444, 6056, 23, 373, 18234, 720, 38352, 40226, 227204, 6528 ]
[ 0.23291015625, 0.272216796875, 0.1898193359375, 0.21875, 0.08746337890625, 0.2110595703125, 0.0897216796875, 0.0927734375, 0.1466064453125, 0.120849609375, 0.2259521484375, 0.0187835693359375, 0.0205535888671875, 0.059814453125, 0.1199951171875, 0.1541748046875, 0.0914306640625, 0....
embed
36681227_c0
36681227
lisp
0
Title: Loop through a string in lisp for alpha chars OR space Problem title: Loop through a string in lisp for alpha chars OR space Tags: string, space, lisp, common-lisp Problem: Loop through a string in lisp for alpha chars OR space I'm looking for how to loop through a string in LISP to check for alpha char or space...
Loop through a string in lisp for alpha chars OR space Loop through a string in lisp for alpha chars OR space string space lisp common-lisp Loop Loop through a string in lisp for alpha chars OR space I'm looking for how to loop through a string in LISP to check for alpha char or spaces. A sentence like "Coffee is Frien...
[ 0.00958251953125, -0.00445556640625, -0.00009489059448242188, 0.0264892578125, -0.022705078125, 0.0103759765625, 0.01226806640625, -0.01123046875, 0.0089111328125, -0.025146484375, 0.0186767578125, -0.0189208984375, -0.01495361328125, -0.00701904296875, -0.01513671875, 0.0098876953125,...
[ 199694, 8305, 79315, 23, 400, 7008, 100, 144, 14612, 21441, 33172, 32628, 39210, 4086, 254, 7, 16487, 40956, 16970, 9434, 12765, 149357, 10625, 16670, 13, 83, 128938, 237, 25447, 104643, 289, 9254, 587, 2965, 35782, 959, 121392 ]
[ 0.171630859375, 0.196044921875, 0.2305908203125, 0.056121826171875, 0.132568359375, 0.219482421875, 0.0792236328125, 0.118408203125, 0.2054443359375, 0.1978759765625, 0.060150146484375, 0.2186279296875, 0.07354736328125, 0.092041015625, 0.1201171875, 0.01654052734375, 0.0124206542968...
embed
27194371_c0
27194371
lisp
0
Title: Weird common lisp error (sbcl) Problem title: Weird common lisp error (sbcl) Tags: lisp Problem: Weird common lisp error (sbcl) I am having a really wierd lisp error. I am using sbcl and have written the following code. I am just hoping someone could explain. (setq x '((1 (x y) (1 2)) (3 (x z) (2 3)) (3 (x y) (1...
Weird common lisp error (sbcl) Weird common lisp error (sbcl) lisp Weird Weird common lisp error (sbcl) I am having a really wierd lisp error. I am using sbcl and have written the following code. I am just hoping someone could explain. gives the following error message ; Evaluation aborted on #. however writing it in t...
[ 0.004791259765625, 0.0252685546875, -0.014404296875, -0.01397705078125, 0.00823974609375, 0.02734375, 0.006103515625, 0.0135498046875, 0.01092529296875, -0.032958984375, -0.0029754638671875, 0.0036163330078125, 0.011962890625, 0.01171875, 0, -0.019775390625, -0.0120849609375, -0.00...
[ 82249, 39210, 400, 7008, 18499, 275, 34937, 1401, 19441, 6183, 1225, 4216, 17368, 91, 59121, 25632, 18151, 156377, 73342, 26008, 151228, 1363, 64853, 297, 98, 468, 32562, 23, 100, 76199, 2367, 41206, 214, 149016, 15400, 42551 ]
[ 0.1451416015625, 0.09735107421875, 0.1123046875, 0.1746826171875, 0.1971435546875, 0.060699462890625, 0.1734619140625, 0.006500244140625, 0.0168609619140625, 0.00439453125, 0.013885498046875, 0.0750732421875, 0.03912353515625, 0.0206146240234375, 0.051239013671875, 0.05517578125, 0.1...
embed
39477513_c0
39477513
lisp
0
Title: How do I copy a function to a new symbol? Problem title: How do I copy a function to a new symbol? Tags: scheme, lisp, first-class-functions, common-lisp Problem: How do I copy a function to a new symbol? I've got a question regarding the copy of function in Common Lisp. In Scheme I'd go with: (define (foo par1 ...
How do I copy a function to a new symbol? How do I copy a function to a new symbol? scheme lisp first-class-functions common-lisp How par1 par2 How do I copy a function to a new symbol? I've got a question regarding the copy of function in Common Lisp. In Scheme I'd go with: How can i do this with Common Lisp?
[ -0.004913330078125, 0.010986328125, -0.021728515625, 0.0126953125, -0.0108642578125, 0.001983642578125, -0.00787353515625, 0.01165771484375, 0.01531982421875, -0.0145263671875, 0.0025787353515625, -0.003997802734375, -0.003204345703125, 0.011474609375, 0.00787353515625, -0.003662109375...
[ 11249, 54, 87, 43658, 10, 32354, 47, 3525, 26582, 150370, 400, 7008, 5117, 67413, 137175, 39210, 4086, 254, 366, 418, 304, 111, 151301, 1261, 34702, 282, 678, 831, 903 ]
[ 0.09661865234375, 0.07452392578125, 0.0677490234375, 0.253173828125, 0.054901123046875, 0.2376708984375, 0.183837890625, 0.1524658203125, 0.2239990234375, 0.1514892578125, 0.05291748046875, 0.18896484375, 0.004608154296875, 0.08062744140625, 0.1573486328125, 0.08856201171875, 0.06121...
embed
19357035_c0
19357035
lisp
0
Title: Refactor this Lisp and Haskell style macro in JavaScript Problem title: Refactor this Lisp and Haskell style macro in JavaScript Tags: haskell, lisp, javascript Problem: Refactor this Lisp and Haskell style macro in JavaScript Consider this Lisp macro: (defmacro doif (x y) `(if ,x ,y)) The same in Haskell: doif ...
Refactor this Lisp and Haskell style macro in JavaScript Refactor this Lisp and Haskell style macro in JavaScript haskell lisp javascript Refactor Lisp Haskell JavaScript Just Nothing Refactor this Lisp and Haskell style macro in JavaScript Consider this Lisp macro: The same in Haskell: doif x y = if x then (Just y) el...
[ -0.005035400390625, 0.014892578125, 0.0162353515625, 0.0223388671875, -0.0009002685546875, 0.03369140625, 0.003082275390625, 0.01361083984375, -0.0026397705078125, -0.006927490234375, -0.004913330078125, -0.031494140625, -0.0211181640625, -0.013671875, 0.0023345947265625, -0.0037689208...
[ 853, 144810, 903, 1261, 7008, 136, 20625, 142508, 20623, 111789, 17925, 1556, 400, 136951, 9563, 182747, 5701, 23, 54, 3190, 1022, 113, 2203, 2174, 7068, 127794, 37076, 7722, 69307, 69443, 329, 4086, 254, 9, 53, 46876, 2347, 4527, 2565, 3...
[ 0.102294921875, 0.2294921875, 0.0960693359375, 0.166748046875, 0.2208251953125, 0.1025390625, 0.14453125, 0.2105712890625, 0.1759033203125, 0.20751953125, 0.22216796875, 0.1292724609375, 0.136962890625, 0.2020263671875, 0.0792236328125, 0.201904296875, 0.0743408203125, 0.0556030273...
embed
8895254_c0
8895254
lisp
0
Title: Trouble running Common Lisp Problem title: Trouble running Common Lisp Tags: common-lisp, lisp Problem: Trouble running Common Lisp I'm a bit of a beginner at programming and wanted to try some basic Common Lisp. However this is turning out to be a real hassle when you get down to it. I'm currently using a Mac a...
Trouble running Common Lisp Trouble running Common Lisp common-lisp lisp Trouble Common Lisp Trouble running Common Lisp I'm a bit of a beginner at programming and wanted to try some basic Common Lisp. However this is turning out to be a real hassle when you get down to it. I'm currently using a Mac and need to find so...
[ 0.01416015625, 0.016845703125, 0.000919342041015625, 0.00156402587890625, -0.0174560546875, 0.01031494140625, 0.005157470703125, -0.01092529296875, 0.00042724609375, -0.0439453125, 0.0023040771484375, 0.00531005859375, 0.0029296875, 0.018310546875, 0.0184326171875, -0.0108642578125, ...
[ 119671, 2661, 51042, 151301, 1261, 7008, 39210, 4086, 254, 400, 4785, 9842, 1679, 99, 56037, 449, 36663, 9790, 62822, 174548, 1810, 10, 2773, 1556, 7, 133, 82424, 17368, 4727, 3871, 7413, 4127, 10975, 100, 3714, 8781, 7026, 18151, 43581, ...
[ 0.186767578125, 0.1116943359375, 0.2015380859375, 0.2083740234375, 0.185546875, 0.2027587890625, 0.1387939453125, 0.11572265625, 0.1253662109375, 0.1380615234375, 0.05731201171875, 0.02239990234375, 0.045379638671875, 0.0001220703125, 0.08349609375, 0.005096435546875, 0.0426025390625...
embed
38259699_c1
38259699
lisp
1
)) The following restarts are available: Even trimming the outlist in a second function is not working: (defun comma-split2 (string) (let ( (outlist (list)) (setf outlist (comma-split string)) (dolist (str outlist) (push (string-trim str) outlist) ) (nreverse outlist) ))) > (comma-split2 " a, b ,c , d , e") *** - LET: ...
)) The following restarts are available: Even trimming the outlist in a second function is not working: (defun comma-split2 (string) (let ( (outlist (list)) (setf outlist (comma-split string)) (dolist (str outlist) (push (string-trim str) outlist) ) (nreverse outlist) ))) > (comma-split2 " a, b ,c , d , e") *** - LET: ...
[ -0.00153350830078125, 0.00897216796875, 0.003173828125, 0.022216796875, -0.006378173828125, 0.046875, 0.016845703125, 0.0252685546875, 0.0244140625, 0.0155029296875, -0.018310546875, -0.015380859375, -0.0010986328125, -0.0022125244140625, 0.01092529296875, 0.004638671875, 0.001686096...
[ 78960, 25632, 10588, 67987, 19882, 31267, 1927, 58838, 1810, 6562, 17932, 32354, 959, 20697, 112, 16498, 96117, 7008, 4353, 304, 91693, 1974, 6056, 3509, 420, 277, 192, 79315, 246, 9297, 7332, 3996, 39, 7704, 37676, 32149, 876, 238, 104, ...
[ 0.1231689453125, 0.084228515625, 0.1834716796875, 0.2449951171875, 0.172119140625, 0.0276336669921875, 0.1561279296875, 0.1534423828125, 0.1339111328125, 0.209716796875, 0.154052734375, 0.193603515625, 0.09967041015625, 0.150146484375, 0.0423583984375, 0.1375732421875, 0.221313476562...
embed
94792_c0
94792
lisp
0
Title: Using Vim for Lisp development Problem title: Using Vim for Lisp development Tags: vim, lisp, ide, common-lisp Problem: Using Vim for Lisp development I've been using Lisp on and off for a while but I'm starting to get more serious about doing some "real" work in Lisp. I'm a huge Vim fan and was wondering how I ...
Using Vim for Lisp development Using Vim for Lisp development vim lisp ide common-lisp Using Vim Lisp Using Vim for Lisp development I've been using Lisp on and off for a while but I'm starting to get more serious about doing some "real" work in Lisp. I'm a huge Vim fan and was wondering how I can be most productive us...
[ 0.006866455078125, 0.01806640625, -0.012939453125, -0.006805419921875, -0.002838134765625, 0.016845703125, -0.0194091796875, 0.0054931640625, -0.01153564453125, -0.0380859375, 0.017333984375, 0.00213623046875, -0.00007200241088867188, 0.0211181640625, -0.0206298828125, -0.0098266601562...
[ 345, 6953, 582, 39, 100, 1261, 7008, 34754, 119916, 400, 5415, 39210, 4086, 254, 17368, 12960, 72134, 85583, 30544, 4488, 58696, 1207, 149016, 2684, 12996, 5844, 237, 30391, 187364, 86608, 157666, 81907, 4032, 352, 2263, 21771, 76512, 6183, ...
[ 0.06536865234375, 0.0289154052734375, 0.207763671875, 0.199951171875, 0.048736572265625, 0.1610107421875, 0.2052001953125, 0.155029296875, 0.2052001953125, 0.114013671875, 0.1497802734375, 0.1358642578125, 0.108642578125, 0.147216796875, 0.097412109375, 0.0296173095703125, 0.00555419...
embed
35578933_c1
35578933
lisp
1
the output when clicking. But not when rolling (mouse wheel events). So I guess mouse-wheel events simply arent triggered when a shift (right or left) is down . But only shift keys, and I don't even know why. So I can't for instance handle shift+mouse-wheel events. Any idea? NB : The version of SBCL I use on OSX is 1....
the output when clicking. But not when rolling (mouse wheel events). So I guess mouse-wheel events simply arent triggered when a shift (right or left) is down . But only shift keys, and I don't even know why. So I can't for instance handle shift+mouse-wheel events. Any idea? NB : The version of SBCL I use on OSX is 1....
[ 0.00689697265625, 0.0003223419189453125, 0.00013256072998046875, -0.044921875, -0.005767822265625, -0.0045166015625, 0.01336669921875, -0.0087890625, -0.0146484375, -0.002105712890625, 0.000804901123046875, -0.00141143798828125, 0.006195068359375, 0.007110595703125, -0.003753662109375, ...
[ 70, 140992, 3229, 18158, 214, 4966, 959, 21972, 432, 4032, 160298, 47353, 57767, 114669, 9, 434, 144009, 42856, 15724, 185553, 297, 10, 122925, 54969, 707, 25737, 83, 7565, 4734, 22799, 7, 3853, 3714, 15400, 831, 18, 100, 110527, 34831, 1...
[ 0.0216522216796875, 0.264404296875, 0.088623046875, 0.2406005859375, 0.096923828125, 0.050994873046875, 0.100830078125, 0.207275390625, 0.12548828125, 0.206787109375, 0.263427734375, 0.2181396484375, 0.051605224609375, 0.2276611328125, 0.0207672119140625, 0.04693603515625, 0.23999023...
embed
13032305_c0
13032305
lisp
0
Title: constuct mixed list Problem title: constuct mixed list Tags: lisp, list Problem: constuct mixed list Hi everyone I am trying to construct a mixed list with letters and numbers. For example when you call the funciton (inc-list1 '(cat 4 dog 3 x 5)) => (cat 5 dog 4 x 6). I am pretty sure the logic is right, so i th...
constuct mixed list constuct mixed list lisp list inc-list1 constuct mixed list Hi everyone I am trying to construct a mixed list with letters and numbers. For example when you call the funciton (inc-list1 '(cat 4 dog 3 x 5)) => (cat 5 dog 4 x 6). I am pretty sure the logic is right, so i think i am missing something f...
[ 0.0022735595703125, 0.0166015625, 0.00982666015625, 0.0206298828125, 0.010009765625, 0.0238037109375, -0.009033203125, 0.0086669921875, -0.00872802734375, -0.02001953125, 0.0079345703125, -0.0260009765625, 0.005767822265625, 0.0184326171875, 0.01446533203125, 0.01287841796875, 0.0050...
[ 158, 4313, 15390, 17664, 297, 5303, 400, 7008, 23, 238, 6562, 418, 30309, 31577, 64549, 678, 120820, 136, 101935, 11782, 7477, 1507, 38893, 9, 4460, 201, 10269, 138, 1022, 21162, 44357, 190, 35914, 62775, 7108, 17, 5351, 132283, 6002, 865...
[ 0.0682373046875, 0.1904296875, 0.10345458984375, 0.2100830078125, 0.10992431640625, 0.207763671875, 0.052398681640625, 0.1241455078125, 0.0772705078125, 0.058868408203125, 0.2237548828125, 0.06512451171875, 0.034454345703125, 0.051116943359375, 0.1895751953125, 0.00580596923828125, 0...
embed
14803234_c0
14803234
lisp
0
Title: Possible to have more than 2 values in equality checks? (&gt; NUM1 NUM2) ELISP Problem title: Possible to have more than 2 values in equality checks? (&gt; NUM1 NUM2) ELISP Tags: lisp, emacs, elisp Problem: Possible to have more than 2 values in equality checks? (> NUM1 NUM2) ELISP The function "greaterthan", (<...
Possible to have more than 2 values in equality checks? (&gt; NUM1 NUM2) ELISP Possible to have more than 2 values in equality checks? (&gt; NUM1 NUM2) ELISP lisp emacs elisp Possible NUM1 NUM2 ELISP Possible to have more than 2 values in equality checks? (> NUM1 NUM2) ELISP The function "greaterthan", (< NUM1 NUM2) , ...
[ 0.00762939453125, 0.0130615234375, 0.0096435546875, -0.00058746337890625, 0.004058837890625, 0.01409912109375, -0.002532958984375, -0.00787353515625, 0.0172119140625, 0.00787353515625, -0.0019073486328125, 0.0023651123046875, 0.0025482177734375, -0.0145263671875, -0.0002956390380859375, ...
[ 115861, 2661, 765, 1286, 3501, 116, 142424, 23, 28, 161789, 12765, 7, 5386, 109020, 418, 10461, 53692, 9434, 47, 400, 7008, 352, 2263, 15296, 304, 2740, 32354, 7134, 46429, 21732, 16093, 6, 114864, 4734, 30646, 808, 64, 17324, 37397, 214,...
[ 0.1317138671875, 0.0888671875, 0.092041015625, 0.1461181640625, 0.107666015625, 0.1834716796875, 0.2222900390625, 0.06103515625, 0.0758056640625, 0.2138671875, 0.22314453125, 0.0303955078125, 0.0712890625, 0.15673828125, 0.06341552734375, 0.15771484375, 0.0992431640625, 0.212402343...
embed
17572181_c1
17572181
lisp
1
empty)) cons1 ;; Returns '(2) - as expected. cons2 ;; Still returns '(1). Why? cons2 points to cons1, which itself points to '(2). Additionally, didn't they just say that they are equal as soon as one changes the other? Obviously, right now I don't get why this doesn't behave as expected and because of that, I don't s...
empty)) cons1 ;; Returns '(2) - as expected. cons2 ;; Still returns '(1). Why? cons2 points to cons1, which itself points to '(2). Additionally, didn't they just say that they are equal as soon as one changes the other? Obviously, right now I don't get why this doesn't behave as expected and because of that, I don't s...
[ -0.01275634765625, 0.033447265625, -0.0023040771484375, 0.0159912109375, 0.0150146484375, 0.0274658203125, -0.0172119140625, -0.0059814453125, 0.01153564453125, 0.0026702880859375, 0.0108642578125, 0.0078125, 0.009765625, 0.00836181640625, -0.01129150390625, 0.004150390625, 0.0008850...
[ 201505, 158, 7, 418, 173340, 242, 40970, 237, 84751, 304, 50605, 30646, 27750, 44084, 26847, 47, 68034, 5154, 621, 105950, 33662, 65572, 3789, 15400, 68991, 28, 864, 32, 20594, 44691, 91067, 218963, 28864, 26073, 11249, 2552, 27853, 41097, ...
[ 0.2020263671875, 0.2022705078125, 0.1339111328125, 0.0908203125, 0.2095947265625, 0.0186004638671875, 0.1273193359375, 0.06707763671875, 0.162353515625, 0.18994140625, 0.19384765625, 0.2012939453125, 0.052459716796875, 0.06866455078125, 0.1529541015625, 0.01617431640625, 0.0024719238...
embed
61892829_c0
61892829
lisp
0
Title: Change just one position on array Clisp Problem title: Change just one position on array Clisp Tags: common-lisp, lisp Problem: Change just one position on array Clisp I'm doing an algorithm that randomizes a TSP (array of citys) based on 1 TSP. (do ((i 0 (+ i 1))) ((= i n-population)) (setf (aref population i) ...
Change just one position on array Clisp Change just one position on array Clisp common-lisp lisp Change Clisp TSP Change just one position on array Clisp I'm doing an algorithm that randomizes a TSP (array of citys) based on 1 TSP. And as far as I know im filling up i positions of the array population with (shuffle TSP...
[ -0.0037384033203125, 0.00933837890625, 0.004974365234375, 0.004058837890625, -0.004364013671875, 0.0025787353515625, 0.00167083740234375, 0.0101318359375, -0.001708984375, -0.0034942626953125, 0.0247802734375, 0.03955078125, 0.0084228515625, -0.005157470703125, -0.01287841796875, -0.00...
[ 87377, 1660, 1632, 19069, 98, 10298, 53, 313, 4086, 254, 39210, 400, 7008, 384, 9434, 20594, 234873, 96759, 20650, 19305, 111, 26349, 35509, 106, 566, 26292, 1257, 17, 43904, 678, 21493, 805, 83, 186, 13, 214, 35839, 12638, 720, 53550, ...
[ 0.219482421875, 0.1337890625, 0.158447265625, 0.2470703125, 0.052703857421875, 0.18994140625, 0.121337890625, 0.08526611328125, 0.211669921875, 0.239990234375, 0.09014892578125, 0.050140380859375, 0.1259765625, 0.0936279296875, 0.2135009765625, 0.034759521484375, 0.2099609375, 0.14...
embed
12787027_c0
12787027
lisp
0
Title: variables in lisp programming Problem title: variables in lisp programming Tags: common-lisp, functional-programming, lisp, list Problem: variables in lisp programming I am trying to write a function lets say A(n) which is supposed to have a list (the answer is n) n being any integer in the list I want when i ty...
variables in lisp programming variables in lisp programming common-lisp functional-programming lisp list variables in lisp programming I am trying to write a function lets say A(n) which is supposed to have a list (the answer is n) n being any integer in the list I want when i type (A 4) it should display (the answer i...
[ 0.00225830078125, 0.00677490234375, 0.0128173828125, 0.009765625, 0.002471923828125, 0.02197265625, -0.0017547607421875, 0.019287109375, 0.00011157989501953125, -0.040283203125, -0.0035858154296875, -0.004058837890625, -0.0017547607421875, 0.018310546875, -0.0096435546875, 0.0050964355...
[ 77336, 23, 400, 7008, 56037, 39210, 4086, 254, 123309, 28966, 5303, 449, 31577, 33022, 32354, 62, 132, 19, 134598, 35166, 653, 8035, 2499, 892, 1505, 3444, 3229, 10644, 284, 13956, 5608, 44116, 9077, 47644, 5423, 864, 64549, 6863, 9014, 3...
[ 0.2529296875, 0.00262451171875, 0.133056640625, 0.19921875, 0.11279296875, 0.0693359375, 0.1075439453125, 0.18017578125, 0.098876953125, 0.08349609375, 0.19482421875, 0.013885498046875, 0.08221435546875, 0.1002197265625, 0.161865234375, 0.0833740234375, 0.008636474609375, 0.0509643...
embed
41028257_c0
41028257
lisp
0
Title: Lisp unbound symbol Problem title: Lisp unbound symbol Tags: common-lisp, lisp Problem: Lisp unbound symbol I am learning lisp and i am trying to create simple function to sum arr. (defun sum( N ) ( if ( null N ) nil ( + (car N ) ( sum ( cdr N ))))) (sum '(1 2 3 )) yet it throws error Error: execute: unbound sym...
Lisp unbound symbol Lisp unbound symbol common-lisp lisp Lisp Lisp unbound symbol I am learning lisp and i am trying to create simple function to sum arr. yet it throws error The parenthesis should be correct. Why is this throwing the error or what is wrong with logic behind my code? If list is empty it will return nil...
[ -0.00909423828125, 0.020751953125, 0.0233154296875, 0.0076904296875, -0.01507568359375, 0.0191650390625, 0.02099609375, 0.0184326171875, 0.0059814453125, -0.02001953125, 0.002349853515625, -0.017822265625, 0.0084228515625, 0.00191497802734375, -0.00141143798828125, 0.0262451171875, 0...
[ 1261, 7008, 51, 99091, 26582, 39210, 4086, 254, 400, 52080, 31577, 28282, 8781, 32354, 10554, 187, 42, 14373, 104250, 18499, 49129, 160291, 7, 5608, 26785, 44084, 44691, 62775, 50155, 18151, 5303, 201505, 30646, 17324, 5117, 12830, 997, 10588...
[ 0.14599609375, 0.193359375, 0.053680419921875, 0.18017578125, 0.220703125, 0.08258056640625, 0.08074951171875, 0.12139892578125, 0.10809326171875, 0.0650634765625, 0.053802490234375, 0.08050537109375, 0.09857177734375, 0.1483154296875, 0.2203369140625, 0.07830810546875, 0.10723876953...
embed
8842939_c0
8842939
lisp
0
Title: Lisp strange segmentation fault probably eval error Problem title: Lisp strange segmentation fault probably eval error Tags: eval, lambda, lisp, common-lisp Problem: Lisp strange segmentation fault probably eval error I can't understand why this code that defun a function name cause a segmenation fault. (fdefini...
Lisp strange segmentation fault probably eval error Lisp strange segmentation fault probably eval error eval lambda lisp common-lisp Lisp Lisp strange segmentation fault probably eval error I can't understand why this code that defun a function name cause a segmenation fault. (fdefinition 'realname) --> Output of my fu...
[ 0.01153564453125, -0.0037994384765625, 0.00164794921875, -0.00799560546875, 0.006622314453125, -0.004425048828125, -0.00156402587890625, 0.0242919921875, -0.0186767578125, -0.0247802734375, 0.0037078857421875, 0.0267333984375, 0.013671875, 0.003997802734375, 0.01708984375, -0.008544921...
[ 1261, 7008, 114453, 33180, 2320, 193857, 31895, 28, 1405, 18499, 6492, 85, 400, 39210, 4086, 254, 831, 28219, 15400, 903, 18151, 8, 16498, 32354, 9351, 22304, 1931, 1055, 420, 49919, 30544, 11627, 13538, 7077, 110, 2174, 54, 121, 39, 2120...
[ 0.1549072265625, 0.2071533203125, 0.176025390625, 0.2283935546875, 0.048248291015625, 0.1923828125, 0.1322021484375, 0.06353759765625, 0.2344970703125, 0.1776123046875, 0.09375, 0.046234130859375, 0.10711669921875, 0.07550048828125, 0.1142578125, 0.158935546875, 0.00238037109375, 0...
embed
27769429_c0
27769429
lisp
0
Title: Lisp membership node in a tree Problem title: Lisp membership node in a tree Tags: common-lisp, lisp, tree Problem: Lisp membership node in a tree I need a function that tests the membership of a node in an N-tree represented as (root list_of_nodes_subtree1 ... list_of_nodes_subtreen) . For example, if the tree ...
Lisp membership node in a tree Lisp membership node in a tree common-lisp lisp tree Lisp list_of_nodes_subtree1 list_of_nodes_subtreen Lisp membership node in a tree I need a function that tests the membership of a node in an N-tree represented as (root list_of_nodes_subtree1 ... list_of_nodes_subtreen) . For example, ...
[ -0.00045013427734375, 0.015380859375, 0.0029754638671875, 0.005706787109375, -0.01495361328125, 0.016845703125, 0.00750732421875, -0.0004177093505859375, -0.0078125, -0.051025390625, 0.00171661376953125, -0.00439453125, 0.0125732421875, 0.00860595703125, -0.00787353515625, -0.009033203...
[ 1261, 7008, 209274, 110, 112, 23, 53201, 39210, 4086, 254, 400, 5303, 4390, 157, 988, 22144, 62600, 418, 2921, 33, 3871, 32354, 109921, 541, 33636, 148920, 2174, 83, 275, 71, 420, 876, 41206, 29568, 34292, 22288, 26366, 187136, 29459, 899...
[ 0.1705322265625, 0.197509765625, 0.25341796875, 0.179931640625, 0.143798828125, 0.0322265625, 0.20556640625, 0.09423828125, 0.11181640625, 0.122802734375, 0.114501953125, 0.1422119140625, 0.0640869140625, 0.14453125, 0.082763671875, 0.1038818359375, 0.2008056640625, 0.02099609375, ...
embed
42499158_c0
42499158
lisp
0
Title: How to understand lists(cons structure) in lisp Problem title: How to understand lists(cons structure) in lisp Tags: common-lisp, list, lisp Problem: How to understand lists(cons structure) in lisp I'm just starting to learn common lisp. I do not understand well about lists' structure when I'm reading the Set an...
How to understand lists(cons structure) in lisp How to understand lists(cons structure) in lisp common-lisp list lisp How How to understand lists(cons structure) in lisp I'm just starting to learn common lisp. I do not understand well about lists' structure when I'm reading the Set and Tree chapter. Now I wonder what's...
[ 0.00982666015625, 0.0242919921875, -0.00994873046875, 0.01068115234375, -0.007354736328125, 0.032470703125, -0.002899169921875, -0.0074462890625, 0.000827789306640625, -0.01483154296875, 0.000347137451171875, -0.0125732421875, 0.0177001953125, 0.0150146484375, 0.000896453857421875, -0....
[ 11249, 28219, 5303, 7, 25553, 45646, 23, 400, 7008, 47, 39210, 4086, 254, 19943, 136, 101344, 1884, 158, 26698, 6626, 142424, 831, 52895, 36746, 49726, 26484, 55681, 4537, 2053 ]
[ 0.008056640625, 0.14794921875, 0.2215576171875, 0.109375, 0.2266845703125, 0.197998046875, 0.0521240234375, 0.1060791015625, 0.179443359375, 0.000335693359375, 0.09759521484375, 0.102783203125, 0.1331787109375, 0.085693359375, 0.027496337890625, 0.11669921875, 0.0645751953125, 0.18...
embed
1059372_c0
1059372
lisp
0
Title: C++ code and objects from C? Problem title: C++ code and objects from C? Tags: c, lisp, c%2B%2B Problem: C++ code and objects from C? Is there a simple way to work with C++ objects directly from C? I want to expose some classes from C++ to C or to FFI(foreign function interface). Sure, I can write a stuff like t...
C++ code and objects from C? C++ code and objects from C? c lisp c%2B%2B C Foo make_foo static_cast foo_method1 C++ code and objects from C? Is there a simple way to work with C++ objects directly from C? I want to expose some classes from C++ to C or to FFI(foreign function interface). Sure, I can write a stuff like t...
[ 0.034423828125, 0.00860595703125, -0.00787353515625, -0.0133056640625, 0.00115203857421875, -0.00531005859375, -0.00762939453125, 0.015869140625, -0.00165557861328125, -0.038330078125, -0.006072998046875, -0.04150390625, -0.005950927734375, 0.01806640625, 0.004638671875, -0.02990722656...
[ 313, 37223, 18151, 136, 36746, 7, 1295, 32, 501, 400, 7008, 9572, 31, 3249, 3584, 201939, 55741, 5775, 1928, 7352, 418, 2071, 2685, 10, 8781, 3917, 47, 4488, 678, 105237, 87, 3444, 172554, 3060, 61112, 563, 22724, 38529, 32354, 101758, ...
[ 0.2135009765625, 0.315185546875, 0.244873046875, 0.1668701171875, 0.22119140625, 0.1243896484375, 0.182373046875, 0.0546875, 0.127197265625, 0.042083740234375, 0.132080078125, 0.1385498046875, 0.095458984375, 0.07659912109375, 0.11285400390625, 0.1363525390625, 0.0975341796875, 0.1...
embed
33614826_c0
33614826
lisp
0
Title: How to implement a nested list using only cons pairs? Problem title: How to implement a nested list using only cons pairs? Tags: cons, lisp Problem: How to implement a nested list using only cons pairs? I am making a pure Lisp interpreter, and trying to write a reader to convert lists to cons pairs. From what I'...
How to implement a nested list using only cons pairs? How to implement a nested list using only cons pairs? cons lisp only How NIL How to implement a nested list using only cons pairs? I am making a pure Lisp interpreter, and trying to write a reader to convert lists to cons pairs. From what I've read lists are interna...
[ -0.000720977783203125, 0.0228271484375, 0.005706787109375, -0.00531005859375, 0.008544921875, 0.03271484375, -0.01019287109375, -0.0029754638671875, -0.0022735595703125, -0.0303955078125, 0.0027923583984375, -0.0262451171875, 0.002349853515625, 0.000018358230590820312, 0.01171875, -0.0...
[ 11249, 29479, 8512, 71, 5303, 17368, 4734, 158, 7, 80836, 400, 7008, 541, 16444, 34166, 1261, 29481, 56, 155255, 96760, 47, 70796, 903, 29786, 3642, 25632, 678, 6713, 3459 ]
[ 0.0609130859375, 0.2069091796875, 0.236572265625, 0.1378173828125, 0.2196044921875, 0.07073974609375, 0.1190185546875, 0.20654296875, 0.11865234375, 0.2269287109375, 0.0771484375, 0.1612548828125, 0.002777099609375, 0.05975341796875, 0.0226898193359375, 0.091064453125, 0.109375, 0....
embed
10149_c1
10149
lisp
1
@Mike Stone - Thanks for the information. I tried creating a macro like so: C-x( M-C-s ^.*Table\(\(.*C-q C-J\)*?GO\) C-x) This created my macro, but when I executed my macro I didn't get the same highlighting that I ordinarily get when I use isearch-forward-regexp . Instead it just jumped to the end of the next match ...
@Mike Stone - Thanks for the information. I tried creating a macro like so: C-x( M-C-s ^.*Table\(\(.*C-q C-J\)*?GO\) C-x) This created my macro, but when I executed my macro I didn't get the same highlighting that I ordinarily get when I use isearch-forward-regexp . Instead it just jumped to the end of the next match ...
[ -0.01324462890625, 0.00726318359375, -0.01336669921875, 0.0091552734375, -0.0086669921875, 0.0341796875, 0.029052734375, -0.00689697265625, 0.006744384765625, -0.0146484375, 0.00604248046875, 0.0106201171875, -0.022216796875, -0.01239013671875, -0.0133056640625, -0.01068115234375, -0...
[ 47002, 4677, 37842, 105233, 111789, 1884, 221, 313, 9, 425, 276, 441, 7, 618, 2886, 864, 1375, 19930, 75935, 759, 71924, 18, 5701, 127308, 214, 23335, 2046, 17, 86250, 2472, 19364, 10901, 83613, 88203, 47, 3564, 11737, 14858, 125195, 6183...
[ 0.0977783203125, 0.0430908203125, 0.065673828125, 0.1309814453125, 0.2479248046875, 0.048431396484375, 0.040679931640625, 0.123291015625, 0.13623046875, 0.161865234375, 0.10113525390625, 0.1217041015625, 0.119140625, 0.113525390625, 0.194091796875, 0.1248779296875, 0.1708984375, 0....
embed
64190851_c0
64190851
lisp
0
Title: How to create a type with n possible values in Lisp Problem title: How to create a type with n possible values in Lisp Tags: lisp, ternary, types, class, haskell Problem: How to create a type with n possible values in Lisp I've been learning Common Lisp this week, toying a bit with it. As an exercise, I would li...
How to create a type with n possible values in Lisp How to create a type with n possible values in Lisp lisp ternary types class haskell How Lisp How to create a type with n possible values in Lisp I've been learning Common Lisp this week, toying a bit with it. As an exercise, I would like to translate some Haskell cod...
[ 0.0018310546875, 0.01251220703125, -0.00885009765625, -0.0147705078125, -0.02685546875, 0.003662109375, 0.00762939453125, 0.005126953125, -0.0012664794921875, -0.0167236328125, -0.01263427734375, -0.018798828125, 0.0159912109375, 0.00150299072265625, 0.002716064453125, 0.036865234375, ...
[ 11249, 28282, 10644, 678, 653, 7722, 142424, 1261, 7008, 23, 400, 31586, 1294, 52895, 18507, 1556, 142508, 151301, 5895, 81979, 3900, 19309, 20625, 18151, 40226, 40197, 71, 56458, 11809, 4699, 18, 2203, 13498, 11059, 4448, 799, 177, 159978, ...
[ 0.05255126953125, 0.1512451171875, 0.276611328125, 0.09857177734375, 0.15087890625, 0.2235107421875, 0.19189453125, 0.1453857421875, 0.20068359375, 0.037109375, 0.096923828125, 0.156494140625, 0.10302734375, 0.201171875, 0.117919921875, 0.0823974609375, 0.1595458984375, 0.048492431...
embed
20810801_c1
20810801
lisp
1
forloop (syntax-rules () ((forloop start stop exps ...) (if (<= start stop) (begin exps ... (forloop (+ start 1) stop exps ...)))))) There is no issue if I never call forloop (which I think is because it never has to expand the macro), so the code I have used to test these is: (forloop 6 8 (display "g")) What am I doi...
forloop (syntax-rules () ((forloop start stop exps ...) (if (<= start stop) (begin exps ... (forloop (+ start 1) stop exps ...)))))) There is no issue if I never call forloop (which I think is because it never has to expand the macro), so the code I have used to test these is: (forloop 6 8 (display "g")) What am I doi...
[ 0.0167236328125, 0.0177001953125, -0.002685546875, 0.01043701171875, 0.0223388671875, 0.0196533203125, 0.02587890625, 0.0181884765625, 0.003082275390625, 0.007415771484375, 0.01031494140625, -0.02734375, -0.00421142578125, 0.0025482177734375, 0.015869140625, -0.01806640625, 0.0208740...
[ 100, 28354, 12654, 86531, 13500, 90, 2472, 4034, 7279, 14700, 3190, 16093, 6820, 22183, 4879, 7, 167089, 31089, 8306, 11782, 5351, 71062, 111789, 18151, 11814, 3034, 6097, 305, 382, 3827, 20706, 177, 444, 87, 20594, 44691, 65771, 29479, 10,...
[ 0.1597900390625, 0.29541015625, 0.05523681640625, 0.1346435546875, 0.1302490234375, 0.0616455078125, 0.1700439453125, 0.093505859375, 0.140380859375, 0.1614990234375, 0.05352783203125, 0.07122802734375, 0.055816650390625, 0.06365966796875, 0.0274658203125, 0.0118408203125, 0.03189086...
embed
54351444_c0
54351444
lisp
0
Title: Scheme R7RS or R5RS HyperSpec? Problem title: Scheme R7RS or R5RS HyperSpec? Tags: scheme, racket, lisp, hyperspec, common-lisp Problem: Scheme R7RS or R5RS HyperSpec? I find the Common Lisp HyperSpec to be useful as a sort of man pages for the Common Lisp programming language. Is there a Scheme equivalent cover...
Scheme R7RS or R5RS HyperSpec? Scheme R7RS or R5RS HyperSpec? scheme racket lisp hyperspec common-lisp Scheme R7RS R5RS HyperSpec Scheme R7RS or R5RS HyperSpec? I find the Common Lisp HyperSpec to be useful as a sort of man pages for the Common Lisp programming language. Is there a Scheme equivalent covering either the...
[ 0.01190185546875, 0.01348876953125, -0.00118255615234375, 0.01470947265625, -0.026611328125, -0.00750732421875, 0.006561279296875, -0.0133056640625, -0.019775390625, -0.014404296875, 0.01422119140625, -0.0169677734375, -0.0091552734375, -0.0128173828125, 0.00262451171875, -0.0121459960...
[ 34702, 282, 627, 966, 15396, 707, 758, 92179, 294, 47107, 32, 150370, 673, 27853, 400, 7008, 59058, 16711, 39210, 4086, 254, 7413, 70, 151301, 1261, 80234, 237, 332, 37967, 56037, 46876, 183234, 29256, 5570, 910, 107419, 6859, 136, 157318, ...
[ 0.1785888671875, 0.1610107421875, 0.1092529296875, 0.1572265625, 0.223876953125, 0.0897216796875, 0.173583984375, 0.174560546875, 0.0982666015625, 0.244873046875, 0.005340576171875, 0.1865234375, 0.053985595703125, 0.156494140625, 0.08184814453125, 0.16259765625, 0.1619873046875, 0...
embed
64093363_c0
64093363
lisp
0
Title: Need help understanding lisp function Problem title: Need help understanding lisp function Tags: common-lisp, recursion, lisp Problem: Need help understanding lisp function I have trouble understanding this lisp function Write a function (using pure recursion technique) which accepts a nested list of numbers and...
Need help understanding lisp function Need help understanding lisp function common-lisp recursion lisp Need LISP Need help understanding lisp function I have trouble understanding this lisp function I don't know how to write a function that returns a list like the one above
[ -0.01422119140625, 0.0185546875, -0.01251220703125, 0.00130462646484375, 0.00299072265625, 0.027587890625, -0.017578125, 0.0030364990234375, -0.000659942626953125, 0.002593994140625, 0.0157470703125, -0.018310546875, -0.03076171875, 0.02001953125, 0.0184326171875, 0.002349853515625, ...
[ 52889, 4358, 100094, 400, 7008, 32354, 39210, 4086, 254, 195625, 1830, 16970, 9434, 63134, 903, 3714, 33022, 30646, 5303, 1884, 36917 ]
[ 0.07958984375, 0.11834716796875, 0.14404296875, 0.1334228515625, 0.203857421875, 0.1707763671875, 0.1292724609375, 0.10919189453125, 0.1539306640625, 0.17431640625, 0.08734130859375, 0.10015869140625, 0.2047119140625, 0.034454345703125, 0.0017690658569335938, 0.0145721435546875, 0.07...
embed
3482359_c0
3482359
lisp
0
Title: Unexpected output with cons() Problem title: Unexpected output with cons() Tags: cons, common-lisp, lisp Problem: Unexpected output with cons() I am from an imperative background but these days trying my hands on LISP (Common LISP) I read here about cons that (cons x L): Given a LISP object x and a list L, evalu...
Unexpected output with cons() Unexpected output with cons() cons common-lisp lisp Unexpected Unexpected output with cons() I am from an imperative background but these days trying my hands on LISP (Common LISP) I read here about cons that When I intentionally did not use a list as the second argument i.e when I used (c...
[ 0.0068359375, 0.01025390625, -0.000247955322265625, -0.00677490234375, -0.0185546875, 0.0208740234375, 0.0015869140625, 0.00665283203125, 0.0155029296875, -0.006805419921875, 0.01385498046875, 0.01025390625, 0.027099609375, 0.01544189453125, -0.00958251953125, -0.01556396484375, 0.01...
[ 992, 83613, 13, 89829, 140992, 678, 158, 7, 132, 39210, 4086, 254, 400, 7008, 222530, 76615, 31577, 44540, 16970, 9434, 10770, 3796, 91177, 959, 4527, 5303, 237, 17932, 10750, 11814, 25553, 11, 84751, 18499, 1284, 38, 4163, 284, 5, 62, ...
[ 0.0782470703125, 0.1085205078125, 0.0924072265625, 0.0875244140625, 0.2152099609375, 0.09759521484375, 0.2293701171875, 0.138916015625, 0.038360595703125, 0.109619140625, 0.0587158203125, 0.09912109375, 0.0693359375, 0.114501953125, 0.1444091796875, 0.0751953125, 0.0299224853515625, ...
embed
18085213_c2
18085213
lisp
2
:47, Wformat, libffi-unix.c:115:35, libffi-unix.c:120:35, libffi-unix.c:125:35, libffi-unix.c:130:35, libffi-unix.c:144:5, libffi-unix.c:146:5, libffi-unix.c:158:5, libffi-unix.c:160:5, libffi-unix.c:172:5, libffi-unix.c:174:5, libffi-unix.c:186:5, libffi-unix.c:188:5, libffi-unix.c:200:5, libffi-unix.c:202:5, libffi-u...
:47, Wformat, libffi-unix.c:115:35, libffi-unix.c:120:35, libffi-unix.c:125:35, libffi-unix.c:130:35, libffi-unix.c:144:5, libffi-unix.c:146:5, libffi-unix.c:158:5, libffi-unix.c:160:5, libffi-unix.c:172:5, libffi-unix.c:174:5, libffi-unix.c:186:5, libffi-unix.c:188:5, libffi-unix.c:200:5, libffi-unix.c:202:5, libffi-u...
[ -0.022705078125, -0.00531005859375, 0.00396728515625, -0.00445556640625, -0.0179443359375, -0.01416015625, 0.006591796875, 0.003875732421875, 0.016357421875, 0.0390625, 0.01318359375, -0.00653076171875, 0.0267333984375, 0.004669189453125, -0.0021209716796875, -0.00567626953125, 0.002...
[ 6, 33573, 4, 601, 51727, 25474, 24500, 9, 309, 4084, 238, 12, 103928, 27144, 20840, 63652, 43955, 131663, 758, 130681, 137197, 37321, 130252, 158696, 24033, 910, 112511, 5955, 143179, 25619, 134712, 80347, 25732, 617, 127892, 21224, 104283, 2...
[ 0.1239013671875, 0.29541015625, 0.1251220703125, 0.1846923828125, 0.376953125, 0.1778564453125, 0.263427734375, 0.061737060546875, 0.1790771484375, 0.189453125, 0.0723876953125, 0.0838623046875, 0.1845703125, 0.2181396484375, 0.16650390625, 0.1158447265625, 0.175048828125, 0.190917...
embed
57893213_c0
57893213
lisp
0
Title: Debug level Lisp Problem title: Debug level Lisp Tags: common-lisp, lisp Problem: Debug level Lisp is there any way to prevent the Common Lisp console to print messages after I print out an error? for example if i use this instruction (error "Invalid input") The console prints out ERROR: Invalid Input" 1 (abort)...
Debug level Lisp Debug level Lisp common-lisp lisp Debug Lisp Invalid ERROR Input Debug level Lisp is there any way to prevent the Common Lisp console to print messages after I print out an error? for example if i use this instruction (error "Invalid input") The console prints out Is there any way to not print anything...
[ -0.01019287109375, 0.00604248046875, -0.004547119140625, 0.011962890625, 0.00933837890625, 0.0238037109375, -0.0201416015625, 0.007537841796875, -0.005523681640625, -0.0167236328125, 0.020751953125, -0.0224609375, 0.00762939453125, 0.0025482177734375, 0.024169921875, 0.019775390625, ...
[ 262, 85779, 17366, 1261, 7008, 39210, 4086, 254, 400, 7013, 151206, 7077, 3917, 47, 56282, 151301, 130250, 28412, 89914, 7103, 1810, 18499, 4527, 903, 188336, 188800, 4153, 107730, 959, 23937, 26008 ]
[ 0.0631103515625, 0.1968994140625, 0.11956787109375, 0.1217041015625, 0.18603515625, 0.10076904296875, 0.05609130859375, 0.103515625, 0.053070068359375, 0.129150390625, 0.0931396484375, 0.0279998779296875, 0.0294647216796875, 0.0203857421875, 0.151611328125, 0.1507568359375, 0.1909179...
embed
44379979_c0
44379979
lisp
0
Title: Common Lisp, list handling (append etc.) Problem title: Common Lisp, list handling (append etc.) Tags: lisp, common-lisp Problem: Common Lisp, list handling (append etc.) I have to manage this situation: (defun make-point (a b) (cons a b)) This function creates one of the point on the Cartesian axis (I omit gene...
Common Lisp, list handling (append etc.) Common Lisp, list handling (append etc.) lisp common-lisp Common Lisp Common Lisp, list handling (append etc.) I have to manage this situation: This function creates one of the point on the Cartesian axis (I omit generic controls for convenience). How can I implement a function ...
[ 0.00860595703125, 0.0185546875, 0.0107421875, -0.01104736328125, -0.00095367431640625, 0.019287109375, 0.00164031982421875, 0.00860595703125, 0.01611328125, 0.00150299072265625, 0.0016021728515625, -0.0299072265625, 0.0020294189453125, -0.0059814453125, -0.000286102294921875, 0.0147094...
[ 151301, 1261, 7008, 5303, 45064, 9007, 3611, 400, 39210, 4086, 254, 765, 111240, 16648, 32354, 28282, 1632, 111, 6275, 98, 106274, 39209, 10, 33102, 189534, 6226, 100, 50080, 11249, 29479, 12638, 1733, 3249, 9, 38496, 35839, 114419, 756, 26...
[ 0.1915283203125, 0.165283203125, 0.21337890625, 0.209716796875, 0.2069091796875, 0.09375, 0.15185546875, 0.1141357421875, 0.139892578125, 0.10064697265625, 0.13525390625, 0.0179901123046875, 0.1365966796875, 0.07171630859375, 0.1966552734375, 0.141845703125, 0.02618408203125, 0.019...
embed
6083238_c0
6083238
lisp
0
Title: In common lisp, how can I check the type of an object in a portable way Problem title: In common lisp, how can I check the type of an object in a portable way Tags: lisp, common-lisp Problem: In common lisp, how can I check the type of an object in a portable way I want to define a method that will specialize on...
In common lisp, how can I check the type of an object in a portable way In common lisp, how can I check the type of an object in a portable way lisp common-lisp In common lisp, how can I check the type of an object in a portable way I want to define a method that will specialize on an object of array type with unsigned...
[ 0.0142822265625, 0.00775146484375, -0.0013580322265625, -0.00323486328125, -0.0103759765625, 0.003265380859375, -0.0177001953125, 0.01031494140625, -0.00064849853515625, -0.000827789306640625, 0.01397705078125, -0.0177001953125, 0.015380859375, -0.0244140625, -0.0177001953125, -0.00512...
[ 39210, 400, 7008, 3642, 831, 87, 12765, 10644, 36746, 23, 168627, 3917, 111, 4086, 254, 61924, 55300, 26341, 731, 98, 10298, 53, 678, 51, 31304, 390, 67, 382, 80854, 275, 34937, 55898, 19305, 1022, 62766, 50986, 309, 61028, 65034, 16, 1...
[ 0.1617431640625, 0.1026611328125, 0.154541015625, 0.0621337890625, 0.06048583984375, 0.023223876953125, 0.2364501953125, 0.2486572265625, 0.1907958984375, 0.036956787109375, 0.1885986328125, 0.0616455078125, 0.00909423828125, 0.05126953125, 0.0732421875, 0.0762939453125, 0.1136474609...
embed
67978648_c0
67978648
lisp
0
Title: Is append the identity function for map? Problem title: Is append the identity function for map? Tags: lisp, racket, scheme Problem: Is append the identity function for map? In doing some tests I've noticed that append always gives me the same output as input when using map : #lang sicp (map append '(1 2 3 4 5))...
Is append the identity function for map? Is append the identity function for map? lisp racket scheme Is append the identity function for map? In doing some tests I've noticed that append always gives me the same output as input when using map : That seems pretty neat/unexpected to me. Is this in fact the case? If so, h...
[ 0.000530242919921875, 0.0008697509765625, 0.0213623046875, 0.0091552734375, -0.00146484375, 0.0186767578125, 0.0269775390625, 0.0164794921875, 0.01177978515625, -0.0205078125, 0.00830078125, -0.0184326171875, -0.01202392578125, 0.00836181640625, -0.00347900390625, 0.0115966796875, 0....
[ 2071, 114689, 71, 70, 182324, 32354, 100, 22288, 400, 7008, 673, 27853, 150370, 109921, 156672, 11343, 76199, 5701, 140992, 237, 107730, 17368, 37202, 28875, 22021, 15824, 7225, 4488, 8337, 57266 ]
[ 0.06884765625, 0.255126953125, 0.237060546875, 0.06072998046875, 0.248046875, 0.19482421875, 0.0972900390625, 0.242431640625, 0.0806884765625, 0.1744384765625, 0.058135986328125, 0.1636962890625, 0.1600341796875, 0.08441162109375, 0.026641845703125, 0.1141357421875, 0.0760498046875, ...
embed
11026040_c1
11026040
lisp
1
(defun tweak-text (lst caps lit) (when lst (let ((item (car lst)) (rest (cdr lst))) (cond ((eql item #\space) (cons item (tweak-text rest caps lit))) ((member item '(#\! #\? #\.)) (cons item (tweak-text rest t lit))) ((eql item #\") (tweak-text rest caps (not lit))) (lit (cons item (tweak-text rest nil lit))) (caps (c...
(defun tweak-text (lst caps lit) (when lst (let ((item (car lst)) (rest (cdr lst))) (cond ((eql item #\space) (cons item (tweak-text rest caps lit))) ((member item '(#\! #\? #\.)) (cons item (tweak-text rest t lit))) ((eql item #\") (tweak-text rest caps (not lit))) (lit (cons item (tweak-text rest nil lit))) (caps (c...
[ -0.0019989013671875, -0.0019683837890625, 0.00799560546875, 0.01312255859375, 0.0206298828125, 0.0130615234375, -0.004425048828125, 0.0026702880859375, -0.003570556640625, 0.029541015625, 0.0034332275390625, 0.005615234375, -0.003631591796875, -0.01165771484375, -0.00250244140625, 0.00...
[ 15, 112, 16498, 77488, 13, 344, 22829, 141, 271, 3540, 7, 16060, 3220, 1974, 217, 195, 3284, 56644, 7569, 2271, 71, 99247, 35735, 65421, 25553, 1177, 10588, 27417, 4904, 38, 808, 10869, 4353, 6, 17324, 15644, 9254, 2037, 58437, 34695, 1...
[ 0.047149658203125, 0.1722412109375, 0.261474609375, 0.171142578125, 0.1544189453125, 0.1678466796875, 0.25439453125, 0.02728271484375, 0.1187744140625, 0.1683349609375, 0.03070068359375, 0.186279296875, 0.09710693359375, 0.1298828125, 0.0648193359375, 0.0625, 0.177001953125, 0.1584...
embed
52978224_c0
52978224
lisp
0
Title: Lisp - Check if input is Decimal or String Problem title: Lisp - Check if input is Decimal or String Tags: lisp, common-lisp Problem: Lisp - Check if input is Decimal or String I am printing a triangle of numbers in Lisp and I want to make sure that the input upon calling the function is an integer. If it's a st...
Lisp - Check if input is Decimal or String Lisp - Check if input is Decimal or String lisp common-lisp 1 Lisp Check Decimal prin1 Lisp - Check if input is Decimal or String I am printing a triangle of numbers in Lisp and I want to make sure that the input upon calling the function is an integer. If it's a string or a d...
[ -0.01153564453125, 0.0101318359375, -0.016357421875, 0.0250244140625, 0.01165771484375, 0.034423828125, 0.007537841796875, -0.006561279296875, -0.007232666015625, -0.0108642578125, 0.0042724609375, -0.02880859375, -0.003509521484375, 0.00555419921875, -0.0023651123046875, 0.01843261718...
[ 1261, 7008, 38679, 2174, 107730, 83, 49132, 2749, 707, 23351, 214, 400, 39210, 4086, 254, 106, 2448, 418, 1916, 1927, 109217, 101935, 3444, 3249, 9077, 54799, 159029, 32354, 892, 1505, 4263, 79315, 32380, 30646, 26008, 959, 26946, 759, 1815...
[ 0.161376953125, 0.2529296875, 0.2081298828125, 0.1048583984375, 0.2154541015625, 0.0745849609375, 0.2125244140625, 0.187255859375, 0.1016845703125, 0.161865234375, 0.124267578125, 0.1195068359375, 0.10137939453125, 0.1072998046875, 0.176025390625, 0.042724609375, 0.12158203125, 0.0...
embed
15606070_c0
15606070
lisp
0
Title: Any working Twitter API client for Common Lisp? Problem title: Any working Twitter API client for Common Lisp? Tags: lisp, twitter, common-lisp Problem: Any working Twitter API client for Common Lisp? I was just trying to use cl-twitter , installed it first using quicklisp and I got this error when executing exa...
Any working Twitter API client for Common Lisp? Any working Twitter API client for Common Lisp? lisp twitter common-lisp Any Twitter API Common Lisp TWITTER:AUTHENTICATE-USER Any working Twitter API client for Common Lisp? I was just trying to use cl-twitter , installed it first using quicklisp and I got this error whe...
[ 0.0089111328125, 0.0076904296875, 0.02294921875, -0.0118408203125, -0.026123046875, -0.00238037109375, 0.00157928466796875, -0.00701904296875, -0.007354736328125, -0.01495361328125, 0.01141357421875, -0.0262451171875, 0.006988525390625, -0.0234375, 0.01055908203125, -0.016845703125, ...
[ 28541, 20697, 3610, 61687, 23282, 100, 151301, 1261, 7008, 400, 34776, 39210, 4086, 254, 72731, 6371, 14755, 117772, 96432, 110232, 1062, 31577, 4527, 33139, 55951, 20600, 63773, 18499, 71924, 27781, 209806, 10975, 5622, 959, 25474, 7 ]
[ 0.09295654296875, 0.1396484375, 0.253173828125, 0.2171630859375, 0.232421875, 0.07281494140625, 0.1866455078125, 0.1724853515625, 0.200439453125, 0.10516357421875, 0.185546875, 0.119873046875, 0.1285400390625, 0.1500244140625, 0.1298828125, 0.131103515625, 0.114990234375, 0.0197906...
embed
4558113_c0
4558113
lisp
0
Title: Simplest way to get a Lisp &quot;hello world&quot; web application going Problem title: Simplest way to get a Lisp &quot;hello world&quot; web application going Tags: lisp, common-lisp Problem: Simplest way to get a Lisp "hello world" web application going I want to write a Lisp web application just for fun. I f...
Simplest way to get a Lisp &quot;hello world&quot; web application going Simplest way to get a Lisp &quot;hello world&quot; web application going lisp common-lisp Simplest Lisp Simplest way to get a Lisp "hello world" web application going I want to write a Lisp web application just for fun. I found this question about...
[ 0.00628662109375, 0.006439208984375, -0.004913330078125, 0.0137939453125, -0.0191650390625, 0.0174560546875, 0.009765625, -0.005035400390625, 0.00604248046875, -0.049560546875, -0.0027923583984375, -0.0096435546875, 0.0078125, 0.01202392578125, 0.0008697509765625, 0.0107421875, -0.01...
[ 60552, 271, 3917, 47, 2046, 10, 1261, 7008, 127, 13817, 8999, 74, 1467, 38415, 7730, 400, 39210, 4086, 254, 58, 3444, 33022, 1660, 100, 7477, 14037, 49966, 35166, 48903, 96704, 51347, 6183, 8781, 4027, 54 ]
[ 0.183349609375, 0.1185302734375, 0.0794677734375, 0.0287017822265625, 0.1217041015625, 0.048828125, 0.20166015625, 0.26171875, 0.097900390625, 0.1817626953125, 0.1702880859375, 0.0257720947265625, 0.1868896484375, 0.2318115234375, 0.1966552734375, 0.1466064453125, 0.07623291015625, ...
embed
27454318_c0
27454318
lisp
0
Title: LISP compare an Element in a Board Problem title: LISP compare an Element in a Board Tags: common-lisp, recursion, lisp, list Problem: LISP compare an Element in a Board I'm doing a project for college in Common Lisp And I need to compare a 4x4 list Example: ( ((white full circle) (black empty circle) (black ful...
LISP compare an Element in a Board LISP compare an Element in a Board common-lisp recursion lisp list LISP Element Board LISP compare an Element in a Board I'm doing a project for college in Common Lisp And I need to compare a 4x4 list Example: I need to compare if a line have 4 lists that share an element, in this cas...
[ -0.021240234375, 0.0079345703125, -0.0079345703125, 0.01287841796875, -0.018798828125, 0.0050048828125, 0.02001953125, 0.0103759765625, 0.000396728515625, -0.008544921875, -0.005462646484375, 0.03515625, 0.015625, -0.010498046875, -0.0220947265625, -0.0140380859375, 0.0137939453125, ...
[ 16970, 9434, 69101, 48325, 23, 10, 62554, 39210, 4086, 254, 195625, 1830, 400, 7008, 5303, 13452, 40466, 151301, 1261, 3871, 201, 425, 617, 89536, 13315, 765, 12008, 12830, 82063, 133, 4527, 8, 420, 1961, 1940, 7, 58994, 5844 ]
[ 0.135009765625, 0.1922607421875, 0.2032470703125, 0.2064208984375, 0.06085205078125, 0.0155181884765625, 0.2437744140625, 0.09619140625, 0.0885009765625, 0.13623046875, 0.1495361328125, 0.0518798828125, 0.097412109375, 0.1773681640625, 0.1903076171875, 0.044219970703125, 0.0584106445...
embed
3013017_c0
3013017
lisp
0
Title: Any good lisp gui library? Problem title: Any good lisp gui library? Tags: common-lisp, user-interface, lisp Problem: Any good lisp gui library? Possible Duplicate: Are there any High Level, easy to install GUI libraries for Common Lisp? Is there any easy to set up Common Lisp gui libraries? I've been trying to ...
Any good lisp gui library? Any good lisp gui library? common-lisp user-interface lisp Any Any good lisp gui library? Is there any easy to set up Common Lisp gui libraries? I've been trying to install many but I always come up with errors. The only one I got to fully work is Ltk but I hear there's problems with that, es...
[ -0.0016937255859375, -0.00823974609375, 0.0167236328125, -0.009521484375, -0.00750732421875, 0.01171875, 0.0008697509765625, -0.003875732421875, 0.0062255859375, -0.0233154296875, -0.0023345947265625, -0.03662109375, 0.0106201171875, 0.0003719329833984375, 0.01348876953125, -0.01025390...
[ 28541, 4127, 400, 7008, 17086, 35773, 1294, 39210, 4086, 254, 38937, 10433, 40404, 23468, 5423, 1257, 151301, 1261, 10484, 20600, 5941, 11343, 18499, 4734, 89554, 4488, 83, 339, 31472, 44402, 54825, 121137, 56, 20469, 28, 1544, 525 ]
[ 0.07373046875, 0.117919921875, 0.145263671875, 0.229248046875, 0.2384033203125, 0.212158203125, 0.1358642578125, 0.1085205078125, 0.12646484375, 0.1771240234375, 0.09521484375, 0.06048583984375, 0.05865478515625, 0.0963134765625, 0.09130859375, 0.03912353515625, 0.1463623046875, 0....
embed
15686162_c0
15686162
lisp
0
Title: Scheme: Cond &quot;not equal&quot; Problem title: Scheme: Cond &quot;not equal&quot; Tags: conditional-statements, lisp, scheme Problem: Scheme: Cond "not equal" I'd like to do this in scheme: if ((car l) != (car (cdr (order l))) do something in particular I wrote this: ((eq? (car l) (car (cdr (order l))) ) (con...
Scheme: Cond &quot;not equal&quot; Scheme: Cond &quot;not equal&quot; conditional-statements lisp scheme Scheme Cond count_inorder_occurrences Scheme: Cond "not equal" I'd like to do this in scheme: in particular I wrote this: but it compares (car l) with (car (cdr (order l)) for equality. I want instead to do somethin...
[ 0.00146484375, 0.01458740234375, 0.006561279296875, -0.0091552734375, 0.011474609375, 0.006195068359375, 0.0016326904296875, -0.02001953125, -0.00274658203125, 0.01507568359375, -0.00982666015625, -0.00531005859375, 0.006072998046875, 0.00958251953125, -0.0068359375, 0.00518798828125, ...
[ 34702, 282, 1657, 71, 10869, 105950, 35431, 289, 61340, 400, 7008, 150370, 54529, 73, 80596, 6652, 64240, 69098, 1884, 54, 903, 23, 17311, 54397, 69101, 3284, 96, 678, 7569, 100, 28, 161789, 3444, 64457, 9844, 4734, 2174, 864, 83, 98320, ...
[ 0.1800537109375, 0.133544921875, 0.095703125, 0.1051025390625, 0.143798828125, 0.18701171875, 0.1298828125, 0.0723876953125, 0.11572265625, 0.04205322265625, 0.1485595703125, 0.2379150390625, 0.17138671875, 0.0146484375, 0.1759033203125, 0.06298828125, 0.15087890625, 0.026443481445...
embed
3571457_c0
3571457
lisp
0
Title: Does &#x27;require&#x27; in elisp/lisp prevent from reloading libraries? Problem title: Does &#x27;require&#x27; in elisp/lisp prevent from reloading libraries? Tags: elisp, lisp Problem: Does 'require' in elisp/lisp prevent from reloading libraries? For C/C++, people use #ifdef .. #endif technique to prevent re...
Does &#x27;require&#x27; in elisp/lisp prevent from reloading libraries? Does &#x27;require&#x27; in elisp/lisp prevent from reloading libraries? elisp lisp reloading Does Does 'require' in elisp/lisp prevent from reloading libraries? For C/C++, people use #ifdef .. #endif technique to prevent reloading libraries, and ...
[ -0.0177001953125, 0.00482177734375, -0.0001678466796875, -0.000293731689453125, -0.0185546875, -0.01116943359375, -0.00323486328125, 0.01708984375, -0.006195068359375, -0.03955078125, -0.007232666015625, -0.007171630859375, -0.011962890625, -0.02001953125, 0.007415771484375, -0.0058288...
[ 101790, 3768, 107, 3181, 15296, 7008, 64, 4086, 254, 56282, 456, 63033, 35773, 10484, 23, 1295, 400, 214, 313, 37223, 4527, 3190, 112, 420, 1468, 17215, 61353, 134549, 5844, 441, 24927, 28967, 34937, 11814, 8108, 51592, 27571, 20174, 959, ...
[ 0.035491943359375, 0.0888671875, 0.21630859375, 0.2203369140625, 0.119140625, 0.222412109375, 0.0826416015625, 0.1297607421875, 0.2152099609375, 0.2022705078125, 0.1077880859375, 0.187744140625, 0.1875, 0.0948486328125, 0.07159423828125, 0.035919189453125, 0.119140625, 0.0483398437...
embed
267862_c0
267862
lisp
0
Title: What makes Lisp macros so special? Problem title: What makes Lisp macros so special? Tags: lisp, macros, homoiconicity Problem: What makes Lisp macros so special? Reading Paul Graham's essays on programming languages one would think that Lisp macros are the only way to go. As a busy developer, working on other p...
What makes Lisp macros so special? What makes Lisp macros so special? lisp macros homoiconicity What Lisp What makes Lisp macros so special? Reading Paul Graham's essays on programming languages one would think that Lisp macros are the only way to go. As a busy developer, working on other platforms, I have not had the ...
[ 0.0069580078125, 0.02294921875, 0.023193359375, -0.0106201171875, -0.0069580078125, 0.032958984375, -0.01092529296875, 0.01177978515625, -0.00518798828125, -0.01324462890625, -0.0177001953125, -0.0185546875, 0.00543212890625, -0.006927490234375, -0.005950927734375, -0.01556396484375, ...
[ 4865, 30482, 1261, 7008, 111789, 7, 221, 5361, 400, 12840, 5197, 4158, 939, 104951, 10208, 147756, 34666, 56037, 46876, 5351, 4734, 3917, 738, 86352, 106001, 20697, 13651, 959, 219475, 17368, 28219, 373, 13894, 73342, 2367, 60213, 113138, 145...
[ 0.0675048828125, 0.10693359375, 0.196044921875, 0.2705078125, 0.2451171875, 0.09564208984375, 0.06939697265625, 0.189697265625, 0.1522216796875, 0.1640625, 0.09515380859375, 0.0958251953125, 0.0322265625, 0.050994873046875, 0.1124267578125, 0.2110595703125, 0.0816650390625, 0.09704...
embed
68038498_c0
68038498
lisp
0
Title: Lisp loop do let when Problem title: Lisp loop do let when Tags: lisp, common-lisp Problem: Lisp loop do let when I'm trying to do something like this (loop for i from 1 to 10 do (let ((fi (funcall f i))) when (> fi 0) collect (list i fi))) f is expensive to compute, so I want to only calculate it once. This isn...
Lisp loop do let when Lisp loop do let when lisp common-lisp 1 Lisp Lisp loop do let when I'm trying to do something like this f is expensive to compute, so I want to only calculate it once. This isn't working, so I introduce my fi local variable outside the loop scope: Is there a way to do this (like the first way) th...
[ 0.0162353515625, 0.004119873046875, -0.00579833984375, 0.01123046875, -0.014404296875, 0.00396728515625, 0.01055908203125, 0.01708984375, -0.003936767578125, -0.0203857421875, 0.00130462646484375, 0.01275634765625, -0.01458740234375, 0.00958251953125, 0.02734375, -0.0123291015625, -0...
[ 1261, 7008, 40956, 54, 2633, 3229, 400, 39210, 4086, 254, 106, 31577, 1884, 903, 1238, 135587, 9969, 6743, 3444, 4734, 74481, 24145, 20697, 65508, 809, 4000, 77336, 50782, 70820, 3917, 64557, 70541, 28032, 111789 ]
[ 0.139404296875, 0.1708984375, 0.212158203125, 0.07647705078125, 0.2235107421875, 0.0936279296875, 0.11834716796875, 0.091796875, 0.09161376953125, 0.142333984375, 0.035186767578125, 0.0401611328125, 0.0198974609375, 0.020751953125, 0.1563720703125, 0.1512451171875, 0.0262603759765625...
embed
55768259_c0
55768259
lisp
0
Title: Common Lisp Defensive Copy of Values Problem title: Common Lisp Defensive Copy of Values Tags: lisp, common-lisp Problem: Common Lisp Defensive Copy of Values I am wondering whether there is a built-in way to do a defensive copy of a values list type in Common Lisp. It is my understanding that this list is not a...
Common Lisp Defensive Copy of Values Common Lisp Defensive Copy of Values lisp common-lisp Common Lisp Defensive Copy Values Common Lisp Defensive Copy of Values I am wondering whether there is a built-in way to do a defensive copy of a values list type in Common Lisp. It is my understanding that this list is not a reg...
[ 0.0023651123046875, 0.0023345947265625, -0.005645751953125, 0.0125732421875, -0.010009765625, 0.0028076171875, -0.00885009765625, -0.00182342529296875, 0.01055908203125, 0.0016021728515625, 0.01220703125, 0.00836181640625, 0.0128173828125, 0.01904296875, 0.01171875, 0.01104736328125, ...
[ 151301, 1261, 7008, 262, 6211, 29888, 146930, 111, 190060, 400, 39210, 4086, 254, 149016, 88303, 73, 3917, 47, 54, 10, 144419, 13, 43658, 142424, 5303, 10644, 23, 100094, 959, 20324, 70488, 29806, 96760, 27798, 3249, 442, 4420, 51646, 2684,...
[ 0.1883544921875, 0.1654052734375, 0.2119140625, 0.08154296875, 0.170166015625, 0.0791015625, 0.2025146484375, 0.053955078125, 0.2109375, 0.093505859375, 0.1141357421875, 0.0970458984375, 0.0858154296875, 0.07257080078125, 0.0938720703125, 0.07958984375, 0.083251953125, 0.0411987304...
embed
28962257_c0
28962257
lisp
0
Title: Append list from assoc to another list in Scheme Problem title: Append list from assoc to another list in Scheme Tags: r5rs, lisp, scheme Problem: Append list from assoc to another list in Scheme I'm a bit confused on how to append a list that I've gotten from the assoc procedure into another list, here is what ...
Append list from assoc to another list in Scheme Append list from assoc to another list in Scheme r5rs lisp scheme assoc Append Scheme r5rs Append list from assoc to another list in Scheme I'm a bit confused on how to append a list that I've gotten from the assoc procedure into another list, here is what I have: The ou...
[ 0.000972747802734375, 0.02978515625, 0.0037078857421875, 0.0177001953125, 0.01129150390625, 0.01611328125, -0.00057220458984375, 0.0289306640625, 0.0186767578125, -0.02783203125, 0.01287841796875, -0.007080078125, -0.00946044921875, 0.00238037109375, -0.013916015625, -0.005645751953125...
[ 5659, 3611, 5303, 1295, 63927, 238, 47, 15700, 34702, 282, 23, 4295, 400, 7008, 150370, 55681, 5281, 3642, 114689, 71, 17763, 50491, 3934, 765, 140992, 1660, 6954, 959, 10, 5775, 31, 7722, 1884, 903 ]
[ 0.1458740234375, 0.1055908203125, 0.21875, 0.09814453125, 0.1749267578125, 0.1744384765625, 0.12744140625, 0.115234375, 0.1636962890625, 0.15673828125, 0.0268707275390625, 0.0638427734375, 0.026397705078125, 0.1136474609375, 0.1900634765625, 0.037506103515625, 0.00213623046875, 0.0...
embed
11072056_c0
11072056
lisp
0
Title: Lisp - How can I check if a list is a dotted pair? Problem title: Lisp - How can I check if a list is a dotted pair? Tags: common-lisp, lisp, list, predicate Problem: Lisp - How can I check if a list is a dotted pair? How can I check if a list in lisp is a dotted pair? CL-USER 20 : 3 > (dotted-pair-p (cons 1 2))...
Lisp - How can I check if a list is a dotted pair? Lisp - How can I check if a list is a dotted pair? common-lisp lisp list predicate Lisp How CL-USER NIL Error LENGTH LIST Lisp - How can I check if a list is a dotted pair? How can I check if a list in lisp is a dotted pair? I tried checking if length=2 but got error:
[ -0.005889892578125, 0.0303955078125, -0.00616455078125, 0.00173187255859375, -0.006591796875, 0.035888671875, -0.01214599609375, -0.005706787109375, 0.006072998046875, -0.0069580078125, 0.01043701171875, -0.007537841796875, 0.0048828125, -0.01470947265625, -0.016845703125, -0.010864257...
[ 1261, 7008, 11249, 831, 12765, 2174, 5303, 83, 10, 20633, 3674, 80836, 87, 39210, 4086, 254, 400, 1653, 2063, 46323, 1062, 50184, 541, 16444, 212059, 48262, 195977, 23, 175199, 140909, 55257, 18499 ]
[ 0.12384033203125, 0.1968994140625, 0.042633056640625, 0.046356201171875, 0.19287109375, 0.06817626953125, 0.218994140625, 0.0703125, 0.05511474609375, 0.19287109375, 0.12310791015625, 0.2376708984375, 0.01409912109375, 0.0723876953125, 0.0875244140625, 0.1475830078125, 0.123657226562...
embed
62089061_c0
62089061
lisp
0
Title: Update functions in Hash Table in Racket Problem title: Update functions in Hash Table in Racket Tags: lisp, scheme, racket, functional-programming Problem: Update functions in Hash Table in Racket I am a beginner in Racket and I am trying to updare a hash table using hash-update! where the value is a mutable se...
Update functions in Hash Table in Racket Update functions in Hash Table in Racket lisp scheme racket functional-programming Update Hash Table Racket new_val Update functions in Hash Table in Racket I am a beginner in Racket and I am trying to updare a hash table using hash-update! where the value is a mutable set. Belo...
[ -0.0306396484375, 0.01287841796875, 0.02734375, -0.000690460205078125, 0.002349853515625, 0.006591796875, 0.01092529296875, 0.00860595703125, 0.01458740234375, 0.01080322265625, -0.0057373046875, 0.00970458984375, 0.0130615234375, -0.0019683837890625, 0.031982421875, -0.00830078125, ...
[ 28641, 32354, 23, 162087, 112997, 2552, 27853, 400, 7008, 150370, 673, 123309, 28966, 3525, 1405, 9842, 1679, 31577, 1257, 27161, 1556, 127, 23180, 117008, 38, 34292, 842, 22819, 5423, 17336, 18151, 124519, 53299, 18499, 37842, 116, 237, 1576...
[ 0.20361328125, 0.1634521484375, 0.04742431640625, 0.1756591796875, 0.2125244140625, 0.12890625, 0.228271484375, 0.043853759765625, 0.11676025390625, 0.09295654296875, 0.08453369140625, 0.1373291015625, 0.06817626953125, 0.1217041015625, 0.2117919921875, 0.0318603515625, 0.06713867187...
embed
12340503_c0
12340503
lisp
0
Title: I&#x27;m trying to write a function in racket (delete-all xx elt) which returns a new list with all occurrences of elt removed Problem title: I&#x27;m trying to write a function in racket (delete-all xx elt) which returns a new list with all occurrences of elt removed Tags: racket, scheme, list, lisp Problem: I'...
I&#x27;m trying to write a function in racket (delete-all xx elt) which returns a new list with all occurrences of elt removed I&#x27;m trying to write a function in racket (delete-all xx elt) which returns a new list with all occurrences of elt removed racket scheme list lisp I'm trying to write a function in racket (...
[ -0.017578125, 0.021484375, -0.0034027099609375, 0.006744384765625, 0.006072998046875, 0.021728515625, 0.0186767578125, 0.0020904541015625, 0.01263427734375, 0.009521484375, 0.02001953125, -0.017822265625, 0.004638671875, 0.0027008056640625, 0.0023040771484375, 0.000545501708984375, 0...
[ 3768, 31577, 33022, 32354, 673, 27853, 8520, 67, 5584, 113664, 88, 18, 30646, 3525, 5303, 756, 74918, 42, 184750, 150370, 400, 7008, 4734, 43240, 108975, 99, 4034 ]
[ 0.038909912109375, 0.05426025390625, 0.1044921875, 0.163330078125, 0.0986328125, 0.2406005859375, 0.1478271484375, 0.0706787109375, 0.098388671875, 0.1075439453125, 0.1248779296875, 0.126708984375, 0.1114501953125, 0.052001953125, 0.172119140625, 0.037109375, 0.09820556640625, 0.04...
embed
18817102_c1
18817102
lisp
1
) (+ accum 1) (lambda () local-var))))) 7) Calling another function at the end of the function definition, with a self-recursive call as an argument: (define (sum-list list) (if (null list) 0 (+ 1 (sum-list (cdr list))))) As I understand it, TCO implementations (in both Scheme and Common Lisp) rewrite TCO-friendly func...
) (+ accum 1) (lambda () local-var))))) 7) Calling another function at the end of the function definition, with a self-recursive call as an argument: (define (sum-list list) (if (null list) 0 (+ 1 (sum-list (cdr list))))) As I understand it, TCO implementations (in both Scheme and Common Lisp) rewrite TCO-friendly func...
[ -0.01239013671875, 0.00848388671875, 0.004730224609375, 0.0498046875, -0.0034332275390625, -0.00970458984375, -0.00145721435546875, 0.01361083984375, -0.006195068359375, 0, 0.00860595703125, -0.0157470703125, -0.01080322265625, 0.0224609375, 0.028076171875, 0.0128173828125, 0.0161132...
[ 1388, 22183, 61689, 39, 4879, 6492, 85, 4000, 1961, 80126, 49413, 26265, 214, 15700, 32354, 99, 3564, 80934, 15970, 107, 48650, 5844, 11782, 237, 10750, 112, 64552, 11832, 6562, 5303, 3190, 139550, 757, 106, 7569, 28219, 384, 9688, 208124, ...
[ 0.01165771484375, 0.19140625, 0.09765625, 0.1190185546875, 0.0625, 0.1156005859375, 0.0577392578125, 0.1083984375, 0.1663818359375, 0.0535888671875, 0.093505859375, 0.1456298828125, 0.0323486328125, 0.1041259765625, 0.202392578125, 0.03240966796875, 0.1593017578125, 0.2076416015625...
embed
9607966_c0
9607966
lisp
0
Title: Creating a list of Fibonacci numbers in Scheme? Problem title: Creating a list of Fibonacci numbers in Scheme? Tags: lisp, scheme Problem: Creating a list of Fibonacci numbers in Scheme? I've made a basic program that output Fibonacci sequence for whatever length "n". Here's the code I have: (define (fibh n) (if...
Creating a list of Fibonacci numbers in Scheme? Creating a list of Fibonacci numbers in Scheme? lisp scheme Creating Fibonacci Scheme Creating a list of Fibonacci numbers in Scheme? I've made a basic program that output Fibonacci sequence for whatever length "n". Here's the code I have: It will output, for example, 112...
[ 0.021240234375, 0.030029296875, -0.00457763671875, 0.0069580078125, -0.00830078125, 0.004302978515625, -0.00201416015625, -0.000820159912109375, 0.006622314453125, -0.029296875, 0.00106048583984375, -0.032958984375, -0.009033203125, 0.00970458984375, -0.0091552734375, 0.001594543457031...
[ 56781, 1916, 5303, 111, 3698, 20990, 52544, 101935, 23, 34702, 282, 32, 400, 7008, 150370, 10, 7228, 62822, 1528, 140992, 40, 944, 3956, 89778, 140909, 19, 18151, 765, 1221, 27781, 25837, 144827, 4865, 3444, 6044, 237, 2858, 106, 116, 138...
[ 0.1898193359375, 0.060821533203125, 0.1968994140625, 0.03857421875, 0.154541015625, 0.1732177734375, 0.231201171875, 0.2108154296875, 0.0897216796875, 0.231201171875, 0.193359375, 0.003662109375, 0.0628662109375, 0.15234375, 0.2158203125, 0.03216552734375, 0.043304443359375, 0.1018...
embed
68123180_c0
68123180
lisp
0
Title: Find total number of leaves of a tree LISP Problem title: Find total number of leaves of a tree LISP Tags: tree, scheme, racket, lisp Problem: Find total number of leaves of a tree LISP The following is a procedure that returns the total number of leaves of a tree. for example (count-leaves '((1 2) () (3) (4 5 6...
Find total number of leaves of a tree LISP Find total number of leaves of a tree LISP tree scheme racket lisp Find LISP Testing hierarchical_structures_1.scm Loading Value tree-1 Find total number of leaves of a tree LISP The following is a procedure that returns the total number of leaves of a tree. for example (count...
[ 0.025146484375, 0.031494140625, -0.0162353515625, 0.0064697265625, 0.0284423828125, 0.0034332275390625, -0.0205078125, -0.0145263671875, -0.0079345703125, -0.05712890625, -0.007568359375, -0.01202392578125, 0.00970458984375, 0.005523681640625, 0.0205078125, 0.0281982421875, 0.0139770...
[ 26040, 3622, 14012, 31358, 7, 53201, 16970, 9434, 150370, 673, 27853, 400, 7008, 8647, 1791, 54689, 137656, 3931, 228006, 190060, 5759, 25632, 50491, 30646, 71013, 14507, 3132, 41600, 4958, 2788, 9451, 190, 305, 18151, 3917, 69307, 5701, 1358...
[ 0.103759765625, 0.157958984375, 0.1549072265625, 0.236083984375, 0.09991455078125, 0.196533203125, 0.1463623046875, 0.2283935546875, 0.1083984375, 0.00592041015625, 0.11846923828125, 0.0743408203125, 0.14013671875, 0.09283447265625, 0.0018873214721679688, 0.056060791015625, 0.0697021...
embed
66003088_c0
66003088
lisp
0
Title: Lisp function that recursively adds elements to a list Problem title: Lisp function that recursively adds elements to a list Tags: lisp Problem: Lisp function that recursively adds elements to a list I working on a lisp function that will accept two parameters, the second of which is a list. It will take the fir...
Lisp function that recursively adds elements to a list Lisp function that recursively adds elements to a list lisp Lisp lis2 Lisp function that recursively adds elements to a list I working on a lisp function that will accept two parameters, the second of which is a list. It will take the first parameter and add it aft...
[ -0.0211181640625, 0.0206298828125, 0.004425048828125, 0.00848388671875, -0.01007080078125, 0.0322265625, 0.000926971435546875, 0.00848388671875, 0.005645751953125, -0.031005859375, 0.02685546875, -0.0194091796875, -0.0128173828125, -0.009033203125, -0.0032196044921875, -0.0039978027343...
[ 1261, 7008, 32354, 195625, 5844, 15190, 80854, 47, 5303, 7, 400, 304, 450, 538, 20697, 26946, 6626, 171859, 17932, 5646, 5117, 7103, 11907, 12830, 2060, 4263, 621, 11, 136, 275, 501, 104, 1238, 104851, 71, 140992, 5608, 186, 10, 876 ]
[ 0.1666259765625, 0.2237548828125, 0.212646484375, 0.224365234375, 0.1297607421875, 0.1748046875, 0.1798095703125, 0.0809326171875, 0.197021484375, 0.0212860107421875, 0.1334228515625, 0.1363525390625, 0.023468017578125, 0.001068115234375, 0.0633544921875, 0.1187744140625, 0.120361328...
embed
23122536_c0
23122536
lisp
0
Title: Scheme Argument Checker Error-handling Problem title: Scheme Argument Checker Error-handling Tags: lisp, racket, scheme Problem: Scheme Argument Checker Error-handling I'm fairly new to Scheme programming and was wondering how I can add some error checkers in this program. I would like it to check if the user ty...
Scheme Argument Checker Error-handling Scheme Argument Checker Error-handling lisp racket scheme Scheme Argument Checker Error-handling Scheme Argument Checker Error-handling I'm fairly new to Scheme programming and was wondering how I can add some error checkers in this program. I would like it to check if the user ty...
[ -0.007476806640625, 0.0157470703125, -0.01287841796875, -0.0002994537353515625, -0.0033721923828125, 0.025634765625, -0.00116729736328125, -0.01226806640625, -0.005401611328125, -0.01220703125, 0.0146484375, -0.054443359375, 0.01312255859375, -0.016357421875, -0.00087738037109375, -0.0...
[ 34702, 282, 112140, 38679, 56, 212059, 54885, 400, 7008, 673, 27853, 150370, 180663, 3525, 56037, 449, 149016, 15190, 3060, 18499, 12765, 1314, 1528, 1884, 2174, 38937, 52895, 1286, 1632, 171859, 14602, 5154, 6863, 142 ]
[ 0.2144775390625, 0.159912109375, 0.2254638671875, 0.2169189453125, 0.1380615234375, 0.2041015625, 0.2115478515625, 0.062286376953125, 0.15478515625, 0.078125, 0.1676025390625, 0.212890625, 0.0227813720703125, 0.0289154052734375, 0.096435546875, 0.015411376953125, 0.038665771484375, ...
embed
29445358_c0
29445358
lisp
0
Title: Always favor labels over flet? Problem title: Always favor labels over flet? Tags: common-lisp, lisp Problem: Always favor labels over flet? In Lisp, we have two functions to define local functions, flet and labels . Both basically do the very same, they both have the same syntax, their only (?) difference is th...
Always favor labels over flet? Always favor labels over flet? common-lisp lisp Always Always favor labels over flet? In Lisp, we have two functions to define local functions, flet and labels . Both basically do the very same, they both have the same syntax, their only (?) difference is that with labels the local functi...
[ 0.0037384033203125, -0.0184326171875, -0.00457763671875, -0.000152587890625, -0.01806640625, -0.01422119140625, -0.000446319580078125, -0.011474609375, 0.00567626953125, -0.02587890625, 0.01361083984375, -0.00872802734375, 0.0216064453125, 0.016845703125, 0.01611328125, -0.022705078125...
[ 203623, 10862, 67967, 7, 645, 86266, 39210, 4086, 254, 400, 7008, 360, 1261, 6626, 32354, 61924, 4000, 136, 149766, 5701, 15044, 6002, 86531, 4734, 60212, 15005, 3789, 831, 4127, 31635, 47, 4527, 756, 44084, 11343, 31351, 64557, 59653, 1614...
[ 0.1243896484375, 0.191650390625, 0.27490234375, 0.0780029296875, 0.07012939453125, 0.273681640625, 0.09173583984375, 0.095947265625, 0.149169921875, 0.1036376953125, 0.2216796875, 0.008514404296875, 0.1456298828125, 0.0718994140625, 0.1829833984375, 0.149169921875, 0.14501953125, 0...
embed
5844670_c0
5844670
lisp
0
Title: In LISP is it possible to access a function&#x27;s form? Problem title: In LISP is it possible to access a function&#x27;s form? Tags: clisp, lisp, common-lisp, functional-programming, sbcl Problem: In LISP is it possible to access a function's form? Suppose I define a function globally: (defun x (y) (1+ y)) ;; ...
In LISP is it possible to access a function&#x27;s form? In LISP is it possible to access a function&#x27;s form? clisp lisp common-lisp functional-programming sbcl LISP Edit In LISP is it possible to access a function's form? Suppose I define a function globally: Is it possible to "coerce" the function x into a list l...
[ 0.0152587890625, 0.018798828125, -0.017578125, -0.01007080078125, -0.0087890625, 0.0093994140625, 0.01165771484375, 0.014404296875, 0.00146484375, -0.034423828125, 0.0194091796875, -0.0042724609375, -0.007049560546875, -0.0203857421875, 0.01348876953125, 0.004730224609375, -0.0110473...
[ 360, 16970, 9434, 83, 442, 7722, 47, 17203, 32354, 3768, 3173, 95701, 7008, 400, 39210, 4086, 254, 123309, 28966, 275, 34937, 10, 121691, 61924, 7964, 2071, 587, 56, 329, 1022, 3934, 5303, 1884, 129745, 12365, 27781, 43240, 51053, 1667, 1...
[ 0.07257080078125, 0.1578369140625, 0.265380859375, 0.0438232421875, 0.05499267578125, 0.1845703125, 0.07391357421875, 0.226806640625, 0.27099609375, 0.10009765625, 0.27685546875, 0.050506591796875, 0.1756591796875, 0.09716796875, 0.05511474609375, 0.0809326171875, 0.1707763671875, ...
embed
15737086_c0
15737086
lisp
0
Title: Lisp development on Mac Problem title: Lisp development on Mac Tags: sublimetext2, common-lisp, emacs, sublimetext, lisp Problem: Lisp development on Mac So I am getting ready to learn some lisp. I am thinking of learning Common Lisp. It seems like using emacs is the best IDE for that. However, I have been using...
Lisp development on Mac Lisp development on Mac sublimetext2 common-lisp emacs sublimetext lisp Lisp Mac sublimetext2 Lisp development on Mac So I am getting ready to learn some lisp. I am thinking of learning Common Lisp. It seems like using emacs is the best IDE for that. However, I have been using Sublime Text 2 for...
[ 0.0079345703125, 0.0159912109375, -0.01507568359375, 0.0113525390625, -0.0191650390625, 0.0201416015625, 0.0036468505859375, 0.0169677734375, 0.012939453125, -0.025390625, -0.00089263916015625, 0.002685546875, 0.00051116943359375, 0.0030670166015625, 0.007232666015625, -0.0021209716796...
[ 1261, 7008, 34754, 98, 4727, 117584, 13, 22829, 304, 39210, 4086, 254, 352, 2263, 400, 43542, 30698, 47644, 52080, 151301, 17368, 7, 2965, 36497, 8273, 150, 282, 24129, 116, 47593, 2806, 79929, 35672, 37076, 678, 4171, 4127, 85269, 4439, ...
[ 0.1943359375, 0.2200927734375, 0.1776123046875, 0.015350341796875, 0.2008056640625, 0.1787109375, 0.1531982421875, 0.190185546875, 0.10516357421875, 0.0947265625, 0.1373291015625, 0.14111328125, 0.0902099609375, 0.144775390625, 0.1485595703125, 0.0189666748046875, 0.05694580078125, ...
embed
742154_c0
742154
lisp
0
Title: Class introspection in Common Lisp Problem title: Class introspection in Common Lisp Tags: reflection, lisp, java, introspection, common-lisp Problem: Class introspection in Common Lisp Java's java.lang.Class class has a getDeclaredFields method which will return all the fields in a given class. Is there somethi...
Class introspection in Common Lisp Class introspection in Common Lisp reflection lisp java introspection common-lisp Common Lisp Class introspection in Common Lisp Java's java.lang.Class class has a getDeclaredFields method which will return all the fields in a given class. Is there something similar for Common Lisp? I...
[ 0.00390625, 0.0137939453125, -0.005096435546875, 0.00970458984375, -0.01953125, 0.023681640625, 0.01318359375, -0.00604248046875, -0.01092529296875, -0.0030517578125, 0.01263427734375, 0.0206298828125, -0.0147705078125, 0.004547119140625, 0.0034942626953125, 0.0078125, 0.012634277343...
[ 35014, 64627, 16711, 1363, 151301, 1261, 7008, 23, 44961, 400, 79, 330, 39210, 4086, 254, 41925, 3066, 140803, 18507, 2046, 120152, 320, 297, 6159, 19388, 7, 55300, 1221, 30646, 756, 44457, 34475, 9844, 21373, 98893, 32354, 98363, 134071, 2...
[ 0.2119140625, 0.1724853515625, 0.208984375, 0.03948974609375, 0.1907958984375, 0.17822265625, 0.208984375, 0.04498291015625, 0.1861572265625, 0.12109375, 0.1016845703125, 0.1607666015625, 0.154052734375, 0.12939453125, 0.1146240234375, 0.1884765625, 0.0709228515625, 0.1884765625, ...
embed
51354281_c0
51354281
lisp
0
Title: How can you return the last value in common lisp Problem title: How can you return the last value in common lisp Tags: lisp, return, common-lisp Problem: How can you return the last value in common lisp I know that the values function helps control REPL but I want to explicitly return the last value from a funct...
How can you return the last value in common lisp How can you return the last value in common lisp lisp return common-lisp How How can you return the last value in common lisp I know that the values function helps control REPL but I want to explicitly return the last value from a function. The only thing close to that I...
[ -0.000797271728515625, 0.00714111328125, -0.01019287109375, -0.0137939453125, -0.0020294189453125, -0.0037994384765625, 0.00604248046875, -0.0147705078125, 0.0036468505859375, -0.031005859375, 0.01165771484375, 0.002197265625, 0.00125885009765625, -0.0103759765625, 0.0009307861328125, ...
[ 11249, 831, 30646, 70, 4568, 34292, 23, 39210, 400, 7008, 4086, 254, 142424, 32354, 112397, 6226, 9069, 21130, 3444, 143726, 1295, 20903, 60892, 81730, 3642, 4734, 17932, 653, 927 ]
[ 0.0828857421875, 0.07012939453125, 0.23828125, 0.05743408203125, 0.2310791015625, 0.2357177734375, 0.05340576171875, 0.184814453125, 0.125244140625, 0.1971435546875, 0.0823974609375, 0.1578369140625, 0.2061767578125, 0.1575927734375, 0.0361328125, 0.1126708984375, 0.051239013671875, ...
embed
41903541_c0
41903541
lisp
0
Title: How can I get a VLAX-OBJECT from an ads_name type Problem title: How can I get a VLAX-OBJECT from an ads_name type Tags: lisp, autolisp Problem: How can I get a VLAX-OBJECT from an ads_name type I am using entget function in order to get all the properties of a certain object. So I have the table of dotted pairs...
How can I get a VLAX-OBJECT from an ads_name type How can I get a VLAX-OBJECT from an ads_name type lisp autolisp an How VLAX-OBJECT ads_name How can I get a VLAX-OBJECT from an ads_name type I am using entget function in order to get all the properties of a certain object. So I have the table of dotted pairs that desc...
[ 0.00347900390625, 0.003936767578125, 0.006744384765625, 0.0159912109375, 0.00347900390625, 0.0147705078125, -0.0113525390625, 0.0262451171875, 0.013427734375, -0.020263671875, 0.02392578125, 0.009033203125, 0.01495361328125, -0.0128173828125, -0.01611328125, -0.00653076171875, -0.014...
[ 11249, 831, 87, 2046, 310, 8356, 1542, 9, 38296, 1375, 114781, 1295, 606, 7, 11627, 10644, 400, 7008, 1809, 4086, 254, 142, 10, 454, 17368, 22, 18, 3794, 32354, 756, 183871, 36746, 23180, 20633, 3674, 80836, 98363, 3444, 4527, 9688, 683...
[ 0.051910400390625, 0.0574951171875, 0.0048828125, 0.1240234375, 0.144775390625, 0.1710205078125, 0.2203369140625, 0.08056640625, 0.165283203125, 0.152099609375, 0.1654052734375, 0.1348876953125, 0.183349609375, 0.1375732421875, 0.17529296875, 0.1585693359375, 0.078857421875, 0.1601...
embed
56461548_c0
56461548
lisp
0
Title: How to make sublists of a list in Lisp? Problem title: How to make sublists of a list in Lisp? Tags: lisp, list Problem: How to make sublists of a list in Lisp? I want to make sublists of a given list when my first number is lower than my next number. I already wrote something but it's not working, it says 'NIL ...
How to make sublists of a list in Lisp? How to make sublists of a list in Lisp? lisp list How Lisp Output How to make sublists of a list in Lisp? I want to make sublists of a given list when my first number is lower than my next number. I already wrote something but it's not working, it says 'NIL ist not a real number'...
[ -0.00160980224609375, 0.00106048583984375, 0.0194091796875, 0.002349853515625, 0.0084228515625, 0.03271484375, -0.004302978515625, 0.003021240234375, -0.003021240234375, 0.0194091796875, 0.000621795654296875, -0.01068115234375, 0.00144195556640625, -0.003936767578125, -0.0008583068847656...
[ 11249, 47, 3249, 1614, 6562, 7, 111, 5303, 23, 1261, 7008, 400, 13538, 7077, 3444, 34475, 3229, 5117, 14012, 83, 92319, 3501, 11737, 21771, 54397, 959, 20697, 7787, 866, 443, 10, 2773, 15673, 4358 ]
[ 0.070556640625, 0.04827880859375, 0.1295166015625, 0.215576171875, 0.267578125, 0.11004638671875, 0.06512451171875, 0.2042236328125, 0.04425048828125, 0.1505126953125, 0.223388671875, 0.1121826171875, 0.080322265625, 0.0369873046875, 0.058807373046875, 0.0030117034912109375, 0.006546...
embed
1119387_c1
1119387
lisp
1
I know javascript isn't the only language that can do this. I've heard that lisp has had macros for years for this exact purpose. Except to really grok macros you need to really grok lisp, and I don't grok it, I just 'kind of get it'. So my question is: In what other languages can you (easily) dynamically rewrite func...
I know javascript isn't the only language that can do this. I've heard that lisp has had macros for years for this exact purpose. Except to really grok macros you need to really grok lisp, and I don't grok it, I just 'kind of get it'. So my question is: In what other languages can you (easily) dynamically rewrite func...
[ -0.01611328125, 0.0125732421875, 0.004180908203125, 0.006561279296875, -0.006317138671875, 0.000461578369140625, -0.01287841796875, -0.00098419189453125, 0.007049560546875, -0.0216064453125, -0.0146484375, -0.01031494140625, -0.00079345703125, -0.00482177734375, 0.0247802734375, -0.010...
[ 136951, 4734, 46876, 831, 54, 903, 49782, 400, 7008, 1902, 111789, 7, 100, 5369, 24763, 60042, 6183, 11969, 92, 3871, 442, 68347, 2046, 9655, 360, 2367, 3789, 1544, 84079, 456, 434, 18781, 32354, 7639, 8781, 27781, 37076, 16940, 7909, 967...
[ 0.266357421875, 0.029693603515625, 0.2196044921875, 0.0931396484375, 0.108642578125, 0.13818359375, 0.04443359375, 0.103515625, 0.1888427734375, 0.0214080810546875, 0.174560546875, 0.035675048828125, 0.008697509765625, 0.093017578125, 0.0699462890625, 0.157470703125, 0.04928588867187...
embed
23969203_c0
23969203
lisp
0
Title: What is the difference between a keyword symbol and a quoted symbol? Problem title: What is the difference between a keyword symbol and a quoted symbol? Tags: symbols, lisp, common-lisp Problem: What is the difference between a keyword symbol and a quoted symbol? What is the difference between the keyword symbol...
What is the difference between a keyword symbol and a quoted symbol? What is the difference between a keyword symbol and a quoted symbol? symbols lisp common-lisp What What is the difference between a keyword symbol and a quoted symbol? What is the difference between the keyword symbol and the quoted symbol: Both stand...
[ 0.0294189453125, 0.01324462890625, 0.00537109375, -0.003570556640625, -0.0294189453125, -0.00384521484375, -0.00101470947265625, 0.0198974609375, -0.0140380859375, 0.0284423828125, -0.01324462890625, -0.0322265625, -0.009033203125, 0.0225830078125, -0.014892578125, 0.0216064453125, -...
[ 4865, 70, 60212, 17721, 166117, 26582, 136, 10, 66747, 71, 400, 7008, 39210, 4086, 254, 83, 149766, 9157, 100, 61261, 831, 11814, 237, 42485, 24, 4806, 171859, 7722, 29479, 17368, 44084, 3871, 15044 ]
[ 0.0208587646484375, 0.0701904296875, 0.211181640625, 0.14306640625, 0.2509765625, 0.260986328125, 0.1077880859375, 0.033905029296875, 0.227783203125, 0.1248779296875, 0.0849609375, 0.1663818359375, 0.10650634765625, 0.0675048828125, 0.1475830078125, 0.0237884521484375, 0.09423828125,...
embed
5539376_c0
5539376
lisp
0
Title: Forking and saving output of a lisp program Problem title: Forking and saving output of a lisp program Tags: bash, clisp, lisp Problem: Forking and saving output of a lisp program I have a lisp program that needs to run for a long, long time. I wanted to make a bash script so that I could just do $./script.sh& o...
Forking and saving output of a lisp program Forking and saving output of a lisp program bash clisp lisp Forking script.sh ll.l Forking and saving output of a lisp program I have a lisp program that needs to run for a long, long time. I wanted to make a bash script so that I could just do $./script.sh& on my school's co...
[ 0.030029296875, 0.0185546875, -0.01312255859375, -0.014404296875, -0.0341796875, 0.013916015625, 0.0223388671875, -0.0106201171875, -0.000640869140625, -0.0228271484375, -0.0017852783203125, 0.037109375, -0.003509521484375, 0.0159912109375, 0.002593994140625, -0.017333984375, 0.01477...
[ 1326, 6048, 136, 57, 6496, 140992, 111, 400, 7008, 1528, 87109, 95701, 26499, 1495, 1181, 765, 27117, 11675, 100, 4989, 1733, 36663, 3249, 87, 5809, 1660, 54, 3650, 32032, 1230, 98, 759, 10696, 13909, 12765, 14922, 15490, 19441, 165197, 5...
[ 0.194580078125, 0.1805419921875, 0.044525146484375, 0.123291015625, 0.083251953125, 0.2255859375, 0.033905029296875, 0.1422119140625, 0.21484375, 0.1885986328125, 0.179931640625, 0.111083984375, 0.2459716796875, 0.138916015625, 0.01458740234375, 0.0189971923828125, 0.0626220703125, ...
embed
36431938_c0
36431938
lisp
0
Title: Emacs/Common Lisp: Quote variable&#x27;s value Problem title: Emacs/Common Lisp: Quote variable&#x27;s value Tags: lisp, emacs Problem: Emacs/Common Lisp: Quote variable's value I need the quoted value of a variable. For example, let's say we have the variables qwe and asd : (setq qwe '(1 2 3)) ;; qwe is set to ...
Emacs/Common Lisp: Quote variable&#x27;s value Emacs/Common Lisp: Quote variable&#x27;s value lisp emacs Emacs Common Lisp Quote Now Emacs/Common Lisp: Quote variable's value I need the quoted value of a variable. For example, let's say we have the variables qwe and asd : My question is: how do I achieve the same value...
[ 0.00225830078125, 0.01055908203125, -0.00897216796875, -0.006744384765625, -0.02392578125, 0.015625, -0.0186767578125, 0.006622314453125, -0.0118408203125, -0.029052734375, -0.0108642578125, 0.0186767578125, -0.003814697265625, 0.00186920166015625, -0.012451171875, 0.0017852783203125, ...
[ 85269, 4439, 10770, 3796, 1261, 7008, 12, 109216, 77336, 3768, 34292, 64, 7, 400, 352, 2263, 151301, 14240, 87, 3871, 70, 66747, 71, 111, 27781, 8096, 1177, 136, 237, 3642, 54, 69307, 5701, 100, 17368, 6777, 903, 3917, 4966, 33342, 75, ...
[ 0.140869140625, 0.165771484375, 0.03692626953125, 0.1534423828125, 0.125, 0.176513671875, 0.03704833984375, 0.2264404296875, 0.260009765625, 0.0960693359375, 0.2125244140625, 0.0174102783203125, 0.007080078125, 0.10595703125, 0.0533447265625, 0.093994140625, 0.1085205078125, 0.0826...
embed
8186590_c0
8186590
lisp
0
Title: How to translate the following into a tail recursive procedure? Problem title: How to translate the following into a tail recursive procedure? Tags: lisp, scheme, tail-recursion Problem: How to translate the following into a tail recursive procedure? I have the following mathematical expression: ; f(n) = f(n - 1...
How to translate the following into a tail recursive procedure? How to translate the following into a tail recursive procedure? lisp scheme tail-recursion How How to translate the following into a tail recursive procedure? I have the following mathematical expression: Which I translated into a normal recursive LISP cal...
[ -0.00025177001953125, 0.0054931640625, -0.006317138671875, -0.017578125, 0.0068359375, 0.0079345703125, -0.0079345703125, -0.0196533203125, -0.00189208984375, -0.047607421875, 0.004608154296875, -0.01116943359375, -0.012451171875, -0.01434326171875, 0.010498046875, -0.00762939453125, ...
[ 11249, 47, 3900, 19309, 25632, 3934, 46741, 195625, 5844, 50491, 400, 7008, 150370, 107, 48650, 1830, 140363, 125195, 143, 3638, 16970, 9434, 11782, 36917, 11814, 123309, 56037, 237875 ]
[ 0.0679931640625, 0.005615234375, 0.1307373046875, 0.1898193359375, 0.0665283203125, 0.10565185546875, 0.24365234375, 0.2203369140625, 0.1370849609375, 0.1873779296875, 0.116455078125, 0.19677734375, 0.199951171875, 0.09149169921875, 0.1864013671875, 0.1016845703125, 0.07177734375, ...
embed
21295440_c0
21295440
lisp
0
Title: emacs inferior lisp scroll Problem title: emacs inferior lisp scroll Tags: scroll, position, lisp, emacs Problem: emacs inferior lisp scroll When running Gnu Common Lisp in inferior-lisp mode, each time an expression is typed in to Lisp eval, the window is automatically re-positioned so that the input cursor is ...
emacs inferior lisp scroll emacs inferior lisp scroll scroll position lisp emacs emacs inferior lisp scroll When running Gnu Common Lisp in inferior-lisp mode, each time an expression is typed in to Lisp eval, the window is automatically re-positioned so that the input cursor is at the bottom of the window. Years ago, ...
[ -0.00130462646484375, 0.0211181640625, 0.0159912109375, -0.00848388671875, -0.020751953125, 0.0255126953125, 0.00787353515625, 0.00164031982421875, 0.0016632080078125, -0.00921630859375, 0.0126953125, 0.0019073486328125, 0.005950927734375, 0.00323486328125, 0.00732421875, -0.0134277343...
[ 352, 2263, 44157, 400, 7008, 192046, 7, 19069, 51042, 527, 539, 151301, 1261, 4086, 254, 13736, 1733, 125195, 10644, 23, 28, 1405, 76896, 191082, 456, 40322, 107730, 13810, 42, 99, 103136, 42552, 6650, 2806, 1884, 10332, 123166, 7986, 24765...
[ 0.06298828125, 0.11767578125, 0.2109375, 0.1187744140625, 0.17626953125, 0.249267578125, 0.01202392578125, 0.1610107421875, 0.035736083984375, 0.051513671875, 0.2232666015625, 0.13037109375, 0.129638671875, 0.0906982421875, 0.1181640625, 0.1058349609375, 0.034454345703125, 0.195922...
embed
5468221_c0
5468221
lisp
0
Title: getting standard input and storing it as a string in lisp Problem title: getting standard input and storing it as a string in lisp Tags: lisp, string, stdin, common-lisp Problem: getting standard input and storing it as a string in lisp I realize this is probably a really stupid question but i have no idea why t...
getting standard input and storing it as a string in lisp getting standard input and storing it as a string in lisp lisp string stdin common-lisp getting standard input and storing it as a string in lisp I realize this is probably a really stupid question but i have no idea why this isnt working and i pretty much gave ...
[ -0.013671875, -0.00165557861328125, -0.004180908203125, 0.009033203125, 0.01019287109375, 0.021728515625, 0.01519775390625, -0.00885009765625, -0.00518798828125, -0.038330078125, 0.007171630859375, 0.01263427734375, -0.01507568359375, -0.0225830078125, -0.02099609375, -0.00210571289062...
[ 20949, 5570, 107730, 136, 3082, 214, 237, 79315, 400, 7008, 23, 6138, 3035, 39210, 4086, 254, 442, 10, 92154, 110833, 660, 20697, 1257, 37842, 9790, 151575, 1927, 11343, 165523, 44691 ]
[ 0.0780029296875, 0.214599609375, 0.2371826171875, 0.064453125, 0.1644287109375, 0.040191650390625, 0.07257080078125, 0.2183837890625, 0.1094970703125, 0.1854248046875, 0.0404052734375, 0.08905029296875, 0.1087646484375, 0.12286376953125, 0.08062744140625, 0.178955078125, 0.0022697448...
embed
8775687_c0
8775687
lisp
0
Title: Higher order programming with Lisp: Passing a function to mapcar? Problem title: Higher order programming with Lisp: Passing a function to mapcar? Tags: common-lisp, lisp Problem: Higher order programming with Lisp: Passing a function to mapcar? I'm just learning ANSI Common Lisp (using clisp on a Win32 machine)...
Higher order programming with Lisp: Passing a function to mapcar? Higher order programming with Lisp: Passing a function to mapcar? common-lisp lisp Higher Lisp Passing Higher order programming with Lisp: Passing a function to mapcar? I'm just learning ANSI Common Lisp (using clisp on a Win32 machine) and I was wonderi...
[ 0.003662109375, 0.01123046875, -0.005889892578125, -0.004364013671875, -0.017578125, -0.00141143798828125, -0.0028228759765625, 0.0169677734375, 0.0034332275390625, -0.0250244140625, -0.0133056640625, -0.002410888671875, -0.02734375, 0.0157470703125, -0.012451171875, -0.00830078125, ...
[ 19694, 56, 12989, 56037, 449, 678, 1261, 7008, 28872, 32354, 47, 22288, 3284, 214, 39210, 4086, 254, 400, 52080, 14368, 9902, 151301, 95701, 6460, 36279, 149016, 5809, 4527, 115081, 23, 237, 23113, 10750, 1957, 2806, 33153, 22691, 117396, 7...
[ 0.1063232421875, 0.042022705078125, 0.1651611328125, 0.1573486328125, 0.06793212890625, 0.0560302734375, 0.149658203125, 0.2091064453125, 0.1409912109375, 0.2091064453125, 0.08935546875, 0.174560546875, 0.2371826171875, 0.002166748046875, 0.0615234375, 0.07568359375, 0.1173095703125,...
embed
21688944_c0
21688944
lisp
0
Title: zip function in Racket/Scheme Problem title: zip function in Racket/Scheme Tags: functional-programming, lisp, scheme, recursion, racket Problem: zip function in Racket/Scheme Given two lists, return a list whose elements are lists of size two, such that for the i -th list, the first element is the i -th element...
zip function in Racket/Scheme zip function in Racket/Scheme functional-programming lisp scheme recursion racket Racket Scheme zip function in Racket/Scheme Given two lists, return a list whose elements are lists of size two, such that for the i -th list, the first element is the i -th element of the first original list...
[ 0.0042724609375, 0.019287109375, 0.0000762939453125, 0.02734375, -0.00958251953125, 0.020263671875, -0.0289306640625, -0.0201416015625, 0.005828857421875, -0.0108642578125, 0.003814697265625, -0.013671875, -0.030029296875, 0.0034942626953125, 0.00872802734375, 0.01239013671875, 0.006...
[ 68330, 32354, 23, 2552, 27853, 64, 25452, 12549, 123309, 28966, 400, 7008, 150370, 195625, 1830, 673, 34702, 282, 77878, 6626, 5303, 30646, 80854, 13267, 17, 927, 5117, 12830, 7311, 17932, 164917, 16750, 19336, 525, 2174, 201505 ]
[ 0.297119140625, 0.219970703125, 0.081787109375, 0.123291015625, 0.2060546875, 0.073974609375, 0.117919921875, 0.1324462890625, 0.1492919921875, 0.10791015625, 0.089111328125, 0.1990966796875, 0.18408203125, 0.147216796875, 0.00567626953125, 0.10235595703125, 0.13623046875, 0.085083...
embed
31289469_c0
31289469
lisp
0
Title: What can be done with a Haskell monad that cannot be done with a Lisp macro, and vice-versa? Problem title: What can be done with a Haskell monad that cannot be done with a Lisp macro, and vice-versa? Tags: monads, haskell, lisp, macros Problem: What can be done with a Haskell monad that cannot be done with a Li...
What can be done with a Haskell monad that cannot be done with a Lisp macro, and vice-versa? What can be done with a Haskell monad that cannot be done with a Lisp macro, and vice-versa? monads haskell lisp macros What Haskell Lisp What can be done with a Haskell monad that cannot be done with a Lisp macro, and vice-ver...
[ -0.00726318359375, 0.02197265625, 0.009765625, 0.0081787109375, -0.014892578125, 0.0211181640625, -0.0023345947265625, -0.004638671875, -0.0130615234375, -0.0291748046875, -0.02099609375, -0.0341796875, -0.0023956298828125, -0.000774383544921875, -0.000278472900390625, -0.022216796875,...
[ 4865, 831, 186, 16940, 678, 20625, 142508, 2667, 712, 450, 53418, 1261, 7008, 111789, 22925, 28784, 7, 1556, 400, 100094, 29479, 2499, 42177, 23755, 68991, 9969, 34759, 99, 44540, 29568, 27781 ]
[ 0.071044921875, 0.0989990234375, 0.044464111328125, 0.12890625, 0.114990234375, 0.112548828125, 0.2247314453125, 0.116943359375, 0.1915283203125, 0.03118896484375, 0.0955810546875, 0.1502685546875, 0.21923828125, 0.2105712890625, 0.01324462890625, 0.018524169921875, 0.053741455078125...
embed
73242523_c0
73242523
lisp
0
Title: Where does function gets values Problem title: Where does function gets values Tags: scheme, recursion, lisp Problem: Where does function gets values There is a code: (define (factorial a) (define (iter b c) (if (> b a) c (iter (* b c) (+ b 1)) (iter 1 1) I got some questions: The function stops when b become la...
Where does function gets values Where does function gets values scheme recursion lisp Where Where does function gets values There is a code: I got some questions: The function stops when b become larger than a after n times of iterations? If so, function must take the value c (because of if (> b a) c) , and to me it's ...
[ 0.0079345703125, 0.01165771484375, -0.0096435546875, -0.0023651123046875, -0.00738525390625, 0.0016326904296875, 0.0177001953125, -0.001312255859375, -0.01324462890625, -0.006195068359375, 0.0023193359375, -0.0166015625, -0.0213623046875, -0.010986328125, 0.0169677734375, 0.00003123283...
[ 78662, 14602, 32354, 62163, 142424, 150370, 195625, 1830, 400, 7008, 18151, 17582, 7279, 7, 3229, 876, 24209, 150679, 3501, 10, 7103, 653, 20028, 17, 720, 21094, 8110, 5646, 34292, 501, 2174, 2740, 37202, 6183, 110, 45258, 678, 46132, 44116...
[ 0.1768798828125, 0.0994873046875, 0.248046875, 0.190673828125, 0.28369140625, 0.181396484375, 0.162353515625, 0.0584716796875, 0.07696533203125, 0.1456298828125, 0.1429443359375, 0.0158538818359375, 0.1781005859375, 0.0489501953125, 0.060516357421875, 0.104248046875, 0.08721923828125...
embed
15225912_c0
15225912
lisp
0
Title: explanation of roulette wheel selection example Problem title: explanation of roulette wheel selection example Tags: genetic-algorithm, lisp Problem: explanation of roulette wheel selection example I have a lisp program on roulette wheel selection,I am trying to understand the theory behind it but I cannot under...
explanation of roulette wheel selection example explanation of roulette wheel selection example genetic-algorithm lisp explanation of roulette wheel selection example I have a lisp program on roulette wheel selection,I am trying to understand the theory behind it but I cannot understand anything. How to calculate the f...
[ -0.0038604736328125, -0.0020904541015625, -0.004486083984375, 0.01507568359375, -0.0279541015625, 0.02001953125, 0.018798828125, -0.0147705078125, 0.0169677734375, 0.00140380859375, -0.00946044921875, -0.005615234375, -0.023681640625, 0.01239013671875, 0.004608154296875, -0.00848388671...
[ 187136, 123702, 160298, 132216, 27781, 101412, 100628, 2783, 400, 7008, 1528, 28219, 154453, 50155, 53418, 11249, 74481, 67, 70, 37667, 133291, 7704, 449, 79315, 3413, 35046, 47251, 2046, 34292, 85067, 2394, 6635, 552, 6238, 151575, 17480, 17, ...
[ 0.1900634765625, 0.2142333984375, 0.2178955078125, 0.18017578125, 0.18994140625, 0.1591796875, 0.02899169921875, 0.06427001953125, 0.089599609375, 0.1849365234375, 0.1151123046875, 0.0672607421875, 0.127197265625, 0.076171875, 0.0225677490234375, 0.023040771484375, 0.1561279296875, ...
embed
23898247_c0
23898247
lisp
0
Title: Why does CLISP stops responding during this nested loop? Problem title: Why does CLISP stops responding during this nested loop? Tags: common-lisp, lisp Problem: Why does CLISP stops responding during this nested loop? I am trying to create subsequences of some word with the following code. When I added by k , t...
Why does CLISP stops responding during this nested loop? Why does CLISP stops responding during this nested loop? common-lisp lisp 0 j Why CLISP Why does CLISP stops responding during this nested loop? I am trying to create subsequences of some word with the following code. When I added by k , the code stopped respondi...
[ 0.01361083984375, 0.01055908203125, 0.000621795654296875, 0.02001953125, -0.005950927734375, 0.01458740234375, 0.0164794921875, 0.005096435546875, 0.00872802734375, -0.025390625, 0.01458740234375, 0.004547119140625, -0.0091552734375, -0.000911712646484375, 0.00160980224609375, 0.005096...
[ 44084, 14602, 313, 67616, 683, 7279, 7, 35644, 214, 20271, 903, 8512, 71, 40956, 39210, 4086, 254, 400, 7008, 757, 1647, 31577, 28282, 1614, 184, 26513, 2565, 678, 25632, 18151, 49814, 390, 472, 118066, 91995, 17311, 14012, 43240 ]
[ 0.1314697265625, 0.0263214111328125, 0.06927490234375, 0.157958984375, 0.2230224609375, 0.1683349609375, 0.05364990234375, 0.193115234375, 0.06610107421875, 0.1239013671875, 0.0567626953125, 0.1707763671875, 0.09185791015625, 0.15625, 0.114501953125, 0.1165771484375, 0.159423828125, ...
embed
66604647_c0
66604647
lisp
0
Title: Assigning values to global variables in Lisp Problem title: Assigning values to global variables in Lisp Tags: common-lisp, lisp Problem: Assigning values to global variables in Lisp I am new to Lisp and I am trying to understand how variables and assigning variables work. I am trying to check if a given number ...
Assigning values to global variables in Lisp Assigning values to global variables in Lisp common-lisp lisp Assigning Lisp Give Assigning values to global variables in Lisp I am new to Lisp and I am trying to understand how variables and assigning variables work. I am trying to check if a given number is 5 or not. If it...
[ -0.01373291015625, 0.0093994140625, -0.003997802734375, -0.0023345947265625, -0.012451171875, 0.02880859375, -0.006195068359375, 0.0216064453125, 0.00058746337890625, 0.01025390625, 0.01373291015625, 0.001373291015625, -0.006683349609375, 0.00020122528076171875, 0.0081787109375, 0.0155...
[ 1301, 31304, 214, 142424, 47, 7964, 77336, 7, 1261, 7008, 23, 39210, 4086, 254, 400, 77878, 3525, 28219, 95486, 4488, 31577, 12765, 2174, 34475, 14012, 83, 190, 707, 959, 4263, 442, 134598, 15549, 209, 28412, 759, 18151, 35064, 20697 ]
[ 0.045318603515625, 0.2451171875, 0.06207275390625, 0.216796875, 0.1304931640625, 0.1776123046875, 0.2489013671875, 0.046356201171875, 0.15771484375, 0.22509765625, 0.034454345703125, 0.0748291015625, 0.083251953125, 0.1485595703125, 0.107666015625, 0.1343994140625, 0.01385498046875, ...
embed
40028348_c0
40028348
lisp
0
Title: Common lisp: loop through pairs of a list Problem title: Common lisp: loop through pairs of a list Tags: common-lisp, lisp, sbcl Problem: Common lisp: loop through pairs of a list I have a list who's length is divisible by two, and I'm looking for something similar to the answer to this question: (loop for (a b)...
Common lisp: loop through pairs of a list Common lisp: loop through pairs of a list common-lisp lisp sbcl Common Common lisp: loop through pairs of a list I have a list who's length is divisible by two, and I'm looking for something similar to the answer to this question: However there is overlap between elements: addi...
[ 0.00775146484375, 0.0172119140625, -0.0155029296875, 0.003448486328125, -0.01287841796875, 0.02392578125, -0.0167236328125, 0.004913330078125, 0.006622314453125, -0.049072265625, 0.01434326171875, -0.004669189453125, 0.01019287109375, 0.007049560546875, 0.0003185272216796875, 0.0074462...
[ 151301, 400, 7008, 12, 40956, 8305, 80836, 7, 111, 5303, 39210, 4086, 254, 34937, 10, 765, 140909, 45, 99017, 390, 6626, 16487, 21373, 35166, 33306, 645, 6324, 17721, 80854, 154107, 106, 136, 116, 7068, 138, 1884, 2858, 13956, 100, 237, ...
[ 0.1849365234375, 0.1446533203125, 0.191650390625, 0.0232086181640625, 0.2218017578125, 0.2049560546875, 0.2261962890625, 0.1329345703125, 0.075927734375, 0.2293701171875, 0.143798828125, 0.0855712890625, 0.1341552734375, 0.07794189453125, 0.0154876708984375, 0.034149169921875, 0.1522...
embed
64322491_c0
64322491
lisp
0
Title: common-lisp — how to wrap a built-in function that has var-args? Problem title: common-lisp — how to wrap a built-in function that has var-args? Tags: lisp, common-lisp, variadic-functions Problem: common-lisp — how to wrap a built-in function that has var-args? I’d like to wrap the built-in: (concatenate ‘strin...
common-lisp — how to wrap a built-in function that has var-args? common-lisp — how to wrap a built-in function that has var-args? lisp common-lisp variadic-functions arg1 arg2 common-lisp — how to wrap a built-in function that has var-args? I’d like to wrap the built-in: To be something like this: The issue is - how to...
[ 0.002685546875, -0.01007080078125, -0.017822265625, 0.00604248046875, -0.021484375, 0.04052734375, -0.017822265625, 0.012451171875, 0.0167236328125, -0.0205078125, 0.0162353515625, -0.03515625, -0.01129150390625, -0.0159912109375, -0.00567626953125, -0.002685546875, 0.01226806640625,...
[ 39210, 4086, 254, 3642, 47, 137565, 88303, 73, 32354, 1556, 285, 61477, 7, 400, 7008, 16757, 18403, 137175, 79459, 418, 304, 1884, 31089, 54, 9, 23, 6626, 7722, 60875, 26946, 5303, 237, 171859, 9189, 442, 59911, 3714, 5361, 6002, 86531 ]
[ 0.17578125, 0.1455078125, 0.2017822265625, 0.0848388671875, 0.0247039794921875, 0.23876953125, 0.13818359375, 0.1409912109375, 0.1976318359375, 0.0596923828125, 0.2239990234375, 0.2197265625, 0.1209716796875, 0.111572265625, 0.1915283203125, 0.1636962890625, 0.037322998046875, 0.14...
embed
16116590_c0
16116590
lisp
0
Title: Passing a list of functions as an argument in common Lisp Problem title: Passing a list of functions as an argument in common Lisp Tags: lisp, function, list Problem: Passing a list of functions as an argument in common Lisp Say there is a function F. I want to pass a list of functions as an argument into functi...
Passing a list of functions as an argument in common Lisp Passing a list of functions as an argument in common Lisp lisp function list Passing Lisp Passing a list of functions as an argument in common Lisp Say there is a function F. I want to pass a list of functions as an argument into function F. Function F would go ...
[ 0.00762939453125, 0.0086669921875, 0.004913330078125, -0.0025634765625, -0.0196533203125, 0.00174713134765625, -0.00732421875, -0.00640869140625, -0.00848388671875, -0.0079345703125, 0.015380859375, 0.00445556640625, 0.00014400482177734375, 0.0203857421875, -0.0106201171875, 0.00653076...
[ 28872, 5303, 32354, 7, 237, 142, 10750, 39210, 1261, 7008, 400, 563, 3444, 27875, 111, 3934, 28670, 10763, 2806, 738, 8305, 12638, 1632, 59911, 6626, 892, 26255, 1022, 136, 113, 107013, 2174, 32108, 26948, 1001, 101637, 20028, 2203, 305, ...
[ 0.14111328125, 0.19873046875, 0.223388671875, 0.02740478515625, 0.0877685546875, 0.0484619140625, 0.265625, 0.15185546875, 0.1641845703125, 0.210205078125, 0.1258544921875, 0.1357421875, 0.05853271484375, 0.18310546875, 0.0106201171875, 0.1260986328125, 0.12548828125, 0.03848266601...
embed
14741935_c0
14741935
lisp
0
Title: How do I calculate non-natural logarithms in Racket? Problem title: How do I calculate non-natural logarithms in Racket? Tags: lisp, racket, scheme Problem: How do I calculate non-natural logarithms in Racket? I am aware of racket's log function, which computers the natural logarithm of a number. I am trying to ...
How do I calculate non-natural logarithms in Racket? How do I calculate non-natural logarithms in Racket? lisp racket scheme How Racket How do I calculate non-natural logarithms in Racket? I am aware of racket's log function, which computers the natural logarithm of a number. I am trying to find the logarithms of numbe...
[ -0.018798828125, 0.03173828125, 0.004302978515625, 0.00225830078125, 0.0157470703125, 0.0084228515625, 0.01373291015625, -0.0167236328125, -0.000164031982421875, -0.03173828125, 0.00927734375, -0.01519775390625, -0.0191650390625, -0.01171875, 0.02392578125, -0.016845703125, 0.0012969...
[ 11249, 74481, 67, 351, 84832, 459, 1970, 8962, 4432, 23, 2552, 27853, 9, 400, 7008, 673, 150370, 54, 87, 107419, 12684, 32354, 13909, 6083, 39, 14012, 7413, 101935, 165249, 47, 61799, 51039, 64457, 1884, 21373, 93002, 88303, 19882, 88996, ...
[ 0.058624267578125, 0.1722412109375, 0.0721435546875, 0.1680908203125, 0.1568603515625, 0.10369873046875, 0.08154296875, 0.1536865234375, 0.115478515625, 0.0701904296875, 0.1385498046875, 0.24072265625, 0.034423828125, 0.0263519287109375, 0.127197265625, 0.1143798828125, 0.1044921875,...
embed
5976470_c0
5976470
lisp
0
Title: How can I unintern a qualified method? Problem title: How can I unintern a qualified method? Tags: slime, clos, common-lisp, lisp, methods Problem: How can I unintern a qualified method? During development I defined an 'initialize-instance :after' method which after a while was not needed anymore and actually ge...
How can I unintern a qualified method? How can I unintern a qualified method? slime clos common-lisp lisp methods How How can I unintern a qualified method? During development I defined an 'initialize-instance :after' method which after a while was not needed anymore and actually gets in my way because inside it calls ...
[ -0.00482177734375, 0.01953125, 0.02099609375, 0.00933837890625, -0.006103515625, 0.0107421875, 0.0284423828125, -0.00010061264038085938, -0.016357421875, -0.03271484375, -0.00537109375, 0.002838134765625, 0.0072021484375, 0.0001220703125, -0.0145263671875, -0.023193359375, 0.00153350...
[ 11249, 831, 87, 51, 10433, 19, 217225, 55300, 34264, 13, 20450, 7, 39210, 4086, 254, 400, 7008, 150624, 34754, 61924, 40705, 119066, 116071, 152, 46327, 959, 44841, 176683, 3917, 46132, 11782, 18151, 35604, 32354, 10750, 7002, 85789, 309, 2...
[ 0.0992431640625, 0.0626220703125, 0.046478271484375, 0.1378173828125, 0.2064208984375, 0.1854248046875, 0.23388671875, 0.234375, 0.1256103515625, 0.0792236328125, 0.144775390625, 0.03070068359375, 0.056854248046875, 0.07342529296875, 0.108154296875, 0.074462890625, 0.1429443359375, ...
embed
26403960_c0
26403960
lisp
0
Title: Thread synchronization in Lisp Problem title: Thread synchronization in Lisp Tags: common-lisp, lisp, thread-synchronization, multithreading Problem: Thread synchronization in Lisp Inside a progn I have to make sure that asdf:run-shell-command (which need time to be processed) has finished before the next step. ...
Thread synchronization in Lisp Thread synchronization in Lisp common-lisp lisp thread-synchronization multithreading Thread Lisp asdf:run-shell-command Thread synchronization in Lisp Inside a progn I have to make sure that asdf:run-shell-command (which need time to be processed) has finished before the next step. Note ...
[ -0.00689697265625, 0.01708984375, -0.01190185546875, 0.0123291015625, -0.019775390625, 0.00823974609375, 0.01031494140625, 0.0048828125, -0.0145263671875, -0.042236328125, -0.01953125, 0.00958251953125, -0.01361083984375, -0.007080078125, -0.0005950927734375, -0.003692626953125, -0.0...
[ 136719, 200470, 47691, 1261, 7008, 23, 39210, 4086, 254, 400, 86997, 12654, 101966, 3869, 65847, 237, 71, 420, 16428, 128019, 277, 12018, 187040, 67973, 19, 9077, 3871, 1733, 9433, 1556, 122799, 8108, 11737, 29954, 4527, 51053, 1667, 107, 4...
[ 0.222900390625, 0.22705078125, 0.0948486328125, 0.146240234375, 0.22900390625, 0.03607177734375, 0.065185546875, 0.0931396484375, 0.1727294921875, 0.1055908203125, 0.19970703125, 0.092041015625, 0.1474609375, 0.0272064208984375, 0.0972900390625, 0.05621337890625, 0.05084228515625, ...
embed
7609954_c0
7609954
lisp
0
Title: Lisp: Evaluation of quotes Problem title: Lisp: Evaluation of quotes Tags: eval, evaluation, quote, lisp, interpreter Problem: Lisp: Evaluation of quotes Which of the following expressions has correct lisp syntax? (+ 1 (quote 1)) ==> 1 (???) (+ 1 (eval (quote 1)) ==> 2 I'm currently writing my own lisp interpret...
Lisp: Evaluation of quotes Lisp: Evaluation of quotes eval evaluation quote lisp interpreter Lisp Evaluation Lisp: Evaluation of quotes Which of the following expressions has correct lisp syntax? I'm currently writing my own lisp interpreter and not quite sure how to handle the quotes correct. Most lisp interpreters I'...
[ 0.00177001953125, 0.0260009765625, -0.0035400390625, 0.0194091796875, -0.01904296875, -0.00022602081298828125, 0.012451171875, -0.01129150390625, -0.0059814453125, -0.0152587890625, -0.0203857421875, -0.01324462890625, -0.0159912109375, 0.01708984375, -0.006011962890625, 0.002868652343...
[ 1261, 7008, 151228, 1363, 111, 66747, 12, 28, 1405, 219836, 400, 29481, 25632, 125195, 1556, 26785, 6002, 86531, 56, 34831, 1314, 151575, 15044, 47, 304, 959, 756, 17932, 8437, 44084, 4488, 101087 ]
[ 0.1451416015625, 0.191162109375, 0.1881103515625, 0.04010009765625, 0.013153076171875, 0.204345703125, 0.00103759765625, 0.03558349609375, 0.1690673828125, 0.2091064453125, 0.1241455078125, 0.1514892578125, 0.034820556640625, 0.200439453125, 0.0222320556640625, 0.14794921875, 0.10070...
embed
20939262_c0
20939262
lisp
0
Title: Cond and recursivity Problem title: Cond and recursivity Tags: recursion, lisp Problem: Cond and recursivity (defun mergl(l1 l2 l3) (cond ((and (null l1) (not(null l2))) l2) ((and (null l2) (not(null l1))) l1) ((and (null l1) (null l2)) l3) ((< (car l1) (car l2)) (setf l3 (cons (car l1) l3)) (mergl (cdr l1) l2 l...
Cond and recursivity Cond and recursivity recursion lisp Cond Cond and recursivity The code above should take 2 lists and merge them.But for some reason,it seems like it refuses to do the recursive part.What am I missing here?(I know append would do this but i can't use it) (mergl '(1 3 5 7) '(2 4 6 8) '()) and the res...
[ -0.012939453125, 0.0284423828125, 0.000835418701171875, 0.00115966796875, 0.004058837890625, 0.01171875, -0.00390625, 0.0079345703125, -0.000865936279296875, 0.01806640625, -0.00012302398681640625, -0.00994873046875, 0.01025390625, -0.0037689208984375, 0.0181884765625, 0.01470947265625...
[ 1657, 71, 136, 195625, 54613, 1830, 400, 7008, 18151, 36917, 5608, 5646, 116, 5303, 42564, 31635, 37202, 128120, 7, 47, 54, 5844, 2831, 132283, 3714, 114689, 831, 18, 4527, 1991, 11016, 41600, 138, 190, 49413, 54753, 201, 305, 65034, 1675...
[ 0.1590576171875, 0.1910400390625, 0.11639404296875, 0.2274169921875, 0.1248779296875, 0.041046142578125, 0.05517578125, 0.11370849609375, 0.127197265625, 0.04656982421875, 0.056243896484375, 0.062286376953125, 0.08526611328125, 0.2098388671875, 0.2373046875, 0.0009646415710449219, 0....
embed
3476266_c0
3476266
lisp
0
Title: Popping an element from an association list in lisp (elisp) Problem title: Popping an element from an association list in lisp (elisp) Tags: emacs, lisp, elisp Problem: Popping an element from an association list in lisp (elisp) I'm searching for a way to "pop" an element from an association list, in other words...
Popping an element from an association list in lisp (elisp) Popping an element from an association list in lisp (elisp) emacs lisp elisp an Popping Popping an element from an association list in lisp (elisp) I'm searching for a way to "pop" an element from an association list, in other words a "destructive" assoc: Are ...
[ 0.0166015625, 0.0166015625, -0.007232666015625, -0.007415771484375, -0.0201416015625, 0.016357421875, -0.00194549560546875, -0.0011749267578125, 0.005462646484375, -0.0262451171875, 0.0113525390625, 0.01556396484375, -0.00787353515625, 0.0019989013671875, 0.000579833984375, -0.00933837...
[ 663, 26783, 12830, 1295, 125413, 5303, 400, 7008, 28967, 254, 23, 352, 2263, 15296, 142, 157318, 3917, 47, 33554, 58, 112, 36716, 5844, 63927, 238, 32354, 182, 7432, 2684, 27650, 113054, 954, 266, 320, 123309, 8752, 21543, 4127, 41361 ]
[ 0.192138671875, 0.192626953125, 0.2147216796875, 0.167236328125, 0.2095947265625, 0.1995849609375, 0.1231689453125, 0.2099609375, 0.078125, 0.1944580078125, 0.0208740234375, 0.027496337890625, 0.0784912109375, 0.10577392578125, 0.03863525390625, 0.04522705078125, 0.043914794921875, ...
embed
46499463_c0
46499463
lisp
0
Title: &quot;Hot&quot; Debug and Swap in Common LISP Problem title: &quot;Hot&quot; Debug and Swap in Common LISP Tags: lisp, common-lisp Problem: "Hot" Debug and Swap in Common LISP One of the features that are unique to Common Lisp that is frequently mentioned is that of the "hot" debug. That is, it is the ability to...
&quot;Hot&quot; Debug and Swap in Common LISP &quot;Hot&quot; Debug and Swap in Common LISP lisp common-lisp Hot Debug Swap Common LISP "Hot" Debug and Swap in Common LISP One of the features that are unique to Common Lisp that is frequently mentioned is that of the "hot" debug. That is, it is the ability to debug, edi...
[ 0.004486083984375, 0.0021820068359375, -0.004608154296875, -0.015380859375, -0.0211181640625, -0.0042724609375, -0.0194091796875, 0.005035400390625, 0.0031280517578125, -0.0024261474609375, 0.0133056640625, 0.0260009765625, -0.003326416015625, 0.00921630859375, 0.02294921875, -0.004608...
[ 11193, 18, 1230, 262, 85779, 136, 43062, 254, 151301, 16970, 9434, 23, 400, 7008, 39210, 4086, 9903, 66139, 36998, 1261, 195409, 119056, 21620, 8, 81273, 47, 27211, 456, 58875, 1340, 36049, 18151, 15490, 7279, 35971, 5773, 13315, 57143, 364...
[ 0.19287109375, 0.1610107421875, 0.0133056640625, 0.1746826171875, 0.30126953125, 0.0648193359375, 0.207763671875, 0.1337890625, 0.1884765625, 0.1243896484375, 0.2041015625, 0.0298309326171875, 0.09259033203125, 0.2138671875, 0.09637451171875, 0.09600830078125, 0.218994140625, 0.158...
embed
45394579_c0
45394579
lisp
0
Title: how to call Common Lisp codes from JSCL method Problem title: how to call Common Lisp codes from JSCL method Tags: common-lisp, javascript, lisp Problem: how to call Common Lisp codes from JSCL method JSCL is one of the implementations of Common Lisp(CL). It covers many of CL features except CLOS, format, etc. I...
how to call Common Lisp codes from JSCL method how to call Common Lisp codes from JSCL method common-lisp javascript lisp JSCL Common Lisp JSCL.CL.call how to call Common Lisp codes from JSCL method JSCL is one of the implementations of Common Lisp(CL). It covers many of CL features except CLOS, format, etc. It has its...
[ -0.004608154296875, 0.0157470703125, 0.001983642578125, 0.01708984375, 0.0002956390380859375, -0.026123046875, 0.0233154296875, 0.006744384765625, 0.004974365234375, -0.0576171875, -0.00439453125, -0.016845703125, -0.00872802734375, 0.0076904296875, 0.0140380859375, -0.005126953125, ...
[ 3642, 11782, 151301, 1261, 7008, 18151, 7, 1295, 64977, 37486, 55300, 47, 39210, 4086, 254, 136951, 400, 85763, 208124, 29256, 46323, 66139, 92933, 9384, 9069, 21130, 1884, 3714, 5609, 7413 ]
[ 0.0672607421875, 0.18115234375, 0.1700439453125, 0.1585693359375, 0.2044677734375, 0.1884765625, 0.0175323486328125, 0.1043701171875, 0.182373046875, 0.2181396484375, 0.14892578125, 0.013397216796875, 0.0986328125, 0.0859375, 0.115966796875, 0.183837890625, 0.080078125, 0.143432617...
embed
40876988_c2
40876988
lisp
2
;the rest of one ) ) (defun gradepoint (L) ( / (sumofGrades L) (totalHours L)) ) I attempted to start with the auxiliary methods because I thought that would be the best approach, it might not have been. When I run sumofGrades, I get back the 4.0 like I need from the first entry but it says it is not a number. I wrote...
;the rest of one ) ) (defun gradepoint (L) ( / (sumofGrades L) (totalHours L)) ) I attempted to start with the auxiliary methods because I thought that would be the best approach, it might not have been. When I run sumofGrades, I get back the 4.0 like I need from the first entry but it says it is not a number. I wrote...
[ 0.00286865234375, 0.02099609375, -0.000415802001953125, -0.0185546875, -0.018798828125, 0.00017833709716796875, -0.0186767578125, 0.0000591278076171875, 0.003143310546875, 0.006591796875, -0.00579833984375, -0.02099609375, 0.0026702880859375, -0.014404296875, -0.03173828125, 0.03112792...
[ 2819, 2347, 10588, 111, 1632, 112, 16498, 44000, 38496, 866, 248, 11832, 4390, 37878, 988, 339, 188, 1803, 11193, 12824, 81887, 4034, 119591, 53, 150624, 70, 2965, 51515, 11675, 10554, 4420, 40401, 1884, 87, 3871, 42805, 1284, 442, 17378, ...
[ 0.0265960693359375, 0.062744140625, 0.1529541015625, 0.1326904296875, 0.104736328125, 0.09521484375, 0.13720703125, 0.1854248046875, 0.1656494140625, 0.078125, 0.0684814453125, 0.1337890625, 0.17333984375, 0.168212890625, 0.13720703125, 0.07958984375, 0.034423828125, 0.062316894531...
embed
2916653_c0
2916653
lisp
0
Title: Matrix Add Lisp Problem title: Matrix Add Lisp Tags: lisp, matrix Problem: Matrix Add Lisp (defun (matrix-add m1 m2) (defun (matrix-add-row r1 r2 res-row) (if (and (not (null? r1)) (not (null? r2))) (matrix-add-row (cdr r1) (cdr r2) (cons (+ (car r1) (car r2)) res-row)) (reverse res-row))) (defun (matrix-add-eac...
Matrix Add Lisp Matrix Add Lisp lisp matrix Matrix Add Lisp Matrix Add Lisp Hi I matrix addition on a piece of paper but it's now working when I type in lisp.. What's wrong?
[ -0.0123291015625, 0.030029296875, 0.012939453125, 0.002685546875, -0.010986328125, 0.018310546875, -0.004852294921875, 0.02587890625, -0.007232666015625, -0.01171875, 0.017822265625, -0.0220947265625, -0.00726318359375, 0.007568359375, -0.0035247802734375, -0.0128173828125, -0.001617...
[ 194234, 29117, 1261, 7008, 400, 50944, 2673, 87, 425, 66044, 98, 63847, 15122, 1284, 5036, 20697, 3229, 10644, 23, 4865, 44691 ]
[ 0.2454833984375, 0.1826171875, 0.179443359375, 0.2235107421875, 0.165771484375, 0.2156982421875, 0.129638671875, 0.095703125, 0.1251220703125, 0.2205810546875, 0.0631103515625, 0.08343505859375, 0.191162109375, 0.03314208984375, 0.0753173828125, 0.1710205078125, 0.047027587890625, ...
embed
131023_c0
131023
lisp
0
Title: List Comprehension Library for Scheme? Problem title: List Comprehension Library for Scheme? Tags: scheme, functional-programming, lisp, common-lisp, list-comprehension Problem: List Comprehension Library for Scheme? I know there is a list-comprehension library for common lisp ( incf-cl ), I know they're support...
List Comprehension Library for Scheme? List Comprehension Library for Scheme? scheme functional-programming lisp common-lisp list-comprehension List Comprehension Library Scheme List Comprehension Library for Scheme? I know there is a list-comprehension library for common lisp ( incf-cl ), I know they're supported nati...
[ -0.0125732421875, 0.017578125, 0.006561279296875, 0.0164794921875, -0.00360107421875, 0.00933837890625, -0.0037384033203125, -0.01324462890625, -0.00897216796875, -0.0289306640625, -0.01611328125, -0.02001953125, 0.0020751953125, -0.0087890625, -0.01324462890625, -0.025146484375, -0....
[ 32036, 142158, 3220, 6889, 103835, 100, 34702, 282, 150370, 123309, 28966, 400, 7008, 39210, 4086, 254, 5303, 277, 4692, 3714, 35773, 1294, 23, 67466, 9, 34937, 8060, 24, 137175, 46876, 4904, 1004, 3066, 20625, 142508, 46683, 29479, 46323, ...
[ 0.2470703125, 0.14013671875, 0.1793212890625, 0.087890625, 0.279541015625, 0.09979248046875, 0.197265625, 0.1778564453125, 0.2135009765625, 0.1434326171875, 0.10205078125, 0.10491943359375, 0.19189453125, 0.131591796875, 0.0784912109375, 0.14208984375, 0.2142333984375, 0.0535888671...
embed
15936817_c0
15936817
lisp
0
Title: Higher Order Function Syntax in Common Lisp Problem title: Higher Order Function Syntax in Common Lisp Tags: common-lisp, lisp Problem: Higher Order Function Syntax in Common Lisp I'm teaching myself Common Lisp using Norvig's Paradigms of AI Programming and came across something I didn't understand and he didn'...
Higher Order Function Syntax in Common Lisp Higher Order Function Syntax in Common Lisp common-lisp lisp Higher Order Syntax Common Lisp Higher Order Function Syntax in Common Lisp I'm teaching myself Common Lisp using Norvig's Paradigms of AI Programming and came across something I didn't understand and he didn't expl...
[ 0.01123046875, 0.0093994140625, 0.00592041015625, -0.000041484832763671875, -0.005157470703125, -0.005126953125, 0.002655029296875, -0.0010986328125, 0.0274658203125, -0.0234375, 0.0037078857421875, -0.0174560546875, -0.02001953125, -0.01171875, 0.0002880096435546875, -0.031005859375, ...
[ 19694, 56, 81206, 28670, 10763, 19010, 86531, 23, 151301, 1261, 7008, 39210, 4086, 254, 400, 128169, 12876, 24299, 4803, 38730, 27958, 28219, 73342, 60212, 17721, 159029, 77546, 12989, 32354, 28960, 143045, 97249, 238, 468, 16498, 163612, 7477,...
[ 0.147216796875, 0.1063232421875, 0.2156982421875, 0.1729736328125, 0.044464111328125, 0.1363525390625, 0.165283203125, 0.039459228515625, 0.1302490234375, 0.1400146484375, 0.1353759765625, 0.0679931640625, 0.03411865234375, 0.04998779296875, 0.05059814453125, 0.033966064453125, 0.018...
embed
53798845_c0
53798845
lisp
0
Title: Little Schemer atom vs (quote atom) Problem title: Little Schemer atom vs (quote atom) Tags: lisp, scheme Problem: Little Schemer atom vs (quote atom) I've just started reading The Little Schemer . It starts off with several questions asking if a given expression is an atom. It's pretty straightforward but, funn...
Little Schemer atom vs (quote atom) Little Schemer atom vs (quote atom) lisp scheme Little Schemer Little Schemer atom vs (quote atom) I've just started reading The Little Schemer . It starts off with several questions asking if a given expression is an atom. It's pretty straightforward but, funny enough, the very firs...
[ 0.01226806640625, 0.0294189453125, -0.01226806640625, 0.0031280517578125, -0.016845703125, 0.00121307373046875, 0.0181884765625, -0.0028839111328125, -0.0208740234375, -0.01409912109375, 0.003997802734375, -0.01214599609375, 0.00014591217041015625, 0.004364013671875, -0.004638671875, -...
[ 59784, 34702, 1991, 34627, 20209, 68726, 400, 7008, 150370, 16454, 581, 4034, 5773, 17582, 113292, 2174, 34475, 125195, 83, 142, 80560, 2472, 99864, 4552, 5117, 9655, 104250, 214, 163, 4785, 26458, 4865, 57616, 48345, 91067, 209303, 54433, 61...
[ 0.2098388671875, 0.17626953125, 0.199951171875, 0.2568359375, 0.1846923828125, 0.2254638671875, 0.0631103515625, 0.154541015625, 0.2108154296875, 0.0869140625, 0.08544921875, 0.002777099609375, 0.166015625, 0.08270263671875, 0.1097412109375, 0.04595947265625, 0.046417236328125, 0.1...
embed
71355513_c0
71355513
lisp
0
Title: How to get the multiplication of two lists in Lisp or Scheme? Problem title: How to get the multiplication of two lists in Lisp or Scheme? Tags: lisp, scheme Problem: How to get the multiplication of two lists in Lisp or Scheme? I think I'd have to dig into SICP later, but if it is two lists: a b c d 1 2 3 Is th...
How to get the multiplication of two lists in Lisp or Scheme? How to get the multiplication of two lists in Lisp or Scheme? lisp scheme How Lisp Scheme How to get the multiplication of two lists in Lisp or Scheme? I think I'd have to dig into SICP later, but if it is two lists: Is there a standard way to get the multip...
[ -0.008544921875, 0.0286865234375, -0.005462646484375, 0.0286865234375, -0.030517578125, 0.017578125, -0.00982666015625, -0.004608154296875, 0.005523681640625, -0.049560546875, -0.006256103515625, 0.00109100341796875, -0.020751953125, -0.0057373046875, -0.0262451171875, -0.027099609375,...
[ 11249, 47, 2046, 70, 127664, 1363, 111, 6626, 5303, 7, 23, 1261, 7008, 707, 34702, 282, 400, 150370, 159, 198993, 5570, 3917, 2856, 116, 138, 201, 124519, 104851, 16750, 222530, 46876, 55300, 8781, 4527, 123309, 21635, 16940 ]
[ 0.06842041015625, 0.034637451171875, 0.1107177734375, 0.04229736328125, 0.2340087890625, 0.1231689453125, 0.037628173828125, 0.1802978515625, 0.2369384765625, 0.060211181640625, 0.07403564453125, 0.1466064453125, 0.2276611328125, 0.046051025390625, 0.1927490234375, 0.1832275390625, 0...
embed
3173316_c1
3173316
lisp
1
call-by-need interpreters I found were even more awkward, but often so to accommodate for set! . Some relevant pieces of my code: The evaluator that uses the lookup function: ; evaluates a datum using a lookup ; lookup is a function which takes a symbol as an argument and produces the value ; some sorts of more powerf...
call-by-need interpreters I found were even more awkward, but often so to accommodate for set! . Some relevant pieces of my code: The evaluator that uses the lookup function: ; evaluates a datum using a lookup ; lookup is a function which takes a symbol as an argument and produces the value ; some sorts of more powerf...
[ 0.0185546875, 0.01019287109375, 0.007080078125, 0.01446533203125, 0.0013580322265625, 0.0213623046875, 0.018798828125, 0.0101318359375, -0.00982666015625, -0.0380859375, -0.0108642578125, 0.0101318359375, -0.033935546875, -0.0089111328125, 0.00799560546875, -0.021728515625, -0.006195...
[ 11782, 1272, 86, 297, 29481, 1314, 14037, 3542, 3853, 1286, 434, 92, 19364, 27983, 211196, 5423, 38, 29191, 759, 18151, 151575, 748, 450, 4527, 6713, 2037, 32354, 90, 27406, 17368, 83, 51776, 26582, 237, 10750, 27489, 34292, 113138, 65998, ...
[ 0.1561279296875, 0.1575927734375, 0.1822509765625, 0.1812744140625, 0.2264404296875, 0.1527099609375, 0.058746337890625, 0.010009765625, 0.010955810546875, 0.06787109375, 0.049468994140625, 0.045440673828125, 0.1116943359375, 0.1015625, 0.09735107421875, 0.1505126953125, 0.0032348632...
embed
13486215_c0
13486215
lisp
0
Title: lisp apply append Problem title: lisp apply append Tags: append, apply, lisp Problem: lisp apply append i worte this function to remove numbers from a list x (defun rm-nums (x) (cond ((null x) nil) (t (mapcar 'numberp x)))) however when i enter (rm-nums '(32 A T 4 3 E)) returns (T NIL NIL T T NIL) i want it inst...
lisp apply append lisp apply append append apply lisp NIL lisp apply append i worte this function to remove numbers from a list x however when i enter (rm-nums '(32 A T 4 3 E)) returns (T NIL NIL T T NIL) i want it instead of returning T or Nil, i want it to return the values that caused NIL only [which are not numbers...
[ -0.0162353515625, 0.0181884765625, 0.0240478515625, -0.00225830078125, -0.00970458984375, 0.01611328125, 0.0123291015625, 0.025634765625, 0.01171875, 0.000732421875, -0.007568359375, -0.027099609375, -0.01068115234375, 0.0034942626953125, 0.00823974609375, -0.005218505859375, 0.01831...
[ 400, 7008, 59911, 114689, 71, 541, 16444, 15492, 903, 32354, 47, 87388, 101935, 1295, 5303, 1022, 49903, 30957, 42, 39, 2606, 6460, 62, 384, 201, 138, 241, 30646, 618, 3444, 64457, 77175, 142424, 143434, 4734, 27781, 284, 134598, 4527, 22...
[ 0.1492919921875, 0.201904296875, 0.2420654296875, 0.2353515625, 0.1546630859375, 0.09564208984375, 0.1790771484375, 0.07183837890625, 0.032684326171875, 0.1749267578125, 0.0040283203125, 0.1962890625, 0.181884765625, 0.0838623046875, 0.16162109375, 0.09033203125, 0.0153350830078125, ...
embed
61650326_c0
61650326
lisp
0
Title: How to invoke a function within a for loop in Lisp? Problem title: How to invoke a function within a for loop in Lisp? Tags: for-loop, common-lisp, lisp Problem: How to invoke a function within a for loop in Lisp? I have 25 text files in my folder to be tested. But I don't want to write code for 25 files which m...
How to invoke a function within a for loop in Lisp? How to invoke a function within a for loop in Lisp? for-loop common-lisp lisp 1 How Lisp txtfile1.txt txtfile2.txt a.txt How to invoke a function within a for loop in Lisp? I have 25 text files in my folder to be tested. But I don't want to write code for 25 files whi...
[ 0.0162353515625, -0.033203125, -0.0035247802734375, 0.0167236328125, -0.0059814453125, 0.0076904296875, 0.039794921875, 0.01251220703125, 0.00787353515625, 0.00421142578125, 0.0093994140625, -0.00836181640625, -0.008056640625, 0.0036163330078125, 0.007568359375, -0.0126953125, 0.0042...
[ 11249, 23, 23253, 13, 32354, 28032, 100, 40956, 1261, 7008, 47, 28354, 39210, 4086, 254, 400, 106, 124326, 29822, 10, 765, 714, 7986, 102158, 759, 78303, 3034, 3444, 33022, 18151, 15555, 4527, 903, 27781, 35064, 90502, 70425, 14941 ]
[ 0.047943115234375, 0.09686279296875, 0.2030029296875, 0.06298828125, 0.2281494140625, 0.1312255859375, 0.1632080078125, 0.22802734375, 0.177001953125, 0.2269287109375, 0.0309295654296875, 0.2008056640625, 0.08026123046875, 0.114013671875, 0.1512451171875, 0.106201171875, 0.0197601318...
embed
66806237_c0
66806237
lisp
0
Title: Racket two methods referencing each other Problem title: Racket two methods referencing each other Tags: lisp, mutual-recursion, racket, recursion, scheme Problem: Racket two methods referencing each other I'm doing exercises from The Little Schemer , but I do them in Racket using DrRacket. One of the exercises ...
Racket two methods referencing each other Racket two methods referencing each other lisp mutual-recursion racket recursion scheme Racket Racket two methods referencing each other I'm doing exercises from The Little Schemer , but I do them in Racket using DrRacket. One of the exercises has two methods referencing each o...
[ 0.01251220703125, 0.03662109375, -0.00640869140625, 0.035888671875, 0.01202392578125, 0.01287841796875, -0.00762939453125, 0.01263427734375, 0.005889892578125, -0.003021240234375, -0.006103515625, -0.01458740234375, -0.01165771484375, 0.0135498046875, 0.029541015625, -0.0118408203125, ...
[ 2552, 27853, 6626, 150624, 142447, 214, 12638, 3789, 400, 7008, 199849, 107, 48650, 673, 195625, 150370, 81979, 59784, 34702, 1991, 1773, 12248, 4171, 903, 16940, 23, 31577, 5415, 18499, 75935, 77546, 1257, 11435, 831, 18, 91067, 9844, 32497,...
[ 0.1383056640625, 0.219970703125, 0.1641845703125, 0.212890625, 0.242919921875, 0.10888671875, 0.0804443359375, 0.132568359375, 0.0333251953125, 0.10211181640625, 0.0919189453125, 0.011505126953125, 0.0811767578125, 0.1124267578125, 0.137451171875, 0.099365234375, 0.11279296875, 0.1...
embed