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
65384879_c0
65384879
lisp
0
Title: Even maximums in Lisp Problem title: Even maximums in Lisp Tags: lisp, recursion, functional-programming Problem: Even maximums in Lisp I am trying to find the even maximums from a list in Lisp. (defun m(L) (cond ((numberp L) L) ((atom L) most-negative-fixnum) (T (apply #'max (mapcar #'m L))) ) ) This "m" works ...
Even maximums in Lisp Even maximums in Lisp lisp recursion functional-programming Even Lisp _list LAMBDA COND MOD LIST NIL Even maximums in Lisp I am trying to find the even maximums from a list in Lisp. This "m" works for the maximum of a list(of lists) and the next to find the even maximums: I get the error ((LAMBDA ...
[ -0.01214599609375, 0.0291748046875, 0.0164794921875, -0.00823974609375, -0.00007772445678710938, 0.0390625, 0.00811767578125, 0.006866455078125, 0.007293701171875, -0.0186767578125, 0.01007080078125, -0.0208740234375, 0.00274658203125, -0.0203857421875, 0.0260009765625, 0.0101928710937...
[ 31267, 38132, 1261, 7008, 400, 195625, 123309, 28966, 6562, 3358, 12689, 6538, 14452, 397, 98610, 195977, 541, 16444, 7, 31577, 7413, 3853, 5303, 39, 43240, 11737, 18499, 94202, 571, 856, 77980, 757, 12013, 310, 4958, 618, 594, 339, 5608, ...
[ 0.1697998046875, 0.2039794921875, 0.142578125, 0.21142578125, 0.08587646484375, 0.1031494140625, 0.09222412109375, 0.07177734375, 0.131591796875, 0.005615234375, 0.133544921875, 0.1177978515625, 0.068603515625, 0.109619140625, 0.1429443359375, 0.1490478515625, 0.092041015625, 0.167...
embed
53195333_c0
53195333
lisp
0
Title: How to not recurse twice in LISP Problem title: How to not recurse twice in LISP Tags: common-lisp, lisp Problem: How to not recurse twice in LISP I'm trying to write a program that returns the Pell numbers sequence based on a given number. For example (pellNumb 6) should return a list (0 1 2 5 12 29 70) This is...
How to not recurse twice in LISP How to not recurse twice in LISP common-lisp lisp How LISP How to not recurse twice in LISP I'm trying to write a program that returns the Pell numbers sequence based on a given number. For example (pellNumb 6) should return a list (0 1 2 5 12 29 70) This is my code so far. I am able of...
[ -0.00921630859375, 0.0184326171875, 0.006195068359375, 0.0087890625, -0.000377655029296875, 0.0257568359375, -0.0081787109375, 0.0032196044921875, 0.003570556640625, -0.0169677734375, 0.017578125, -0.008544921875, -0.0120849609375, 0.0021514892578125, 0.00994873046875, 0.01507568359375...
[ 11249, 47, 959, 195625, 13, 186351, 23, 16970, 9434, 39210, 4086, 254, 400, 7008, 31577, 33022, 1528, 30646, 1460, 1181, 101935, 944, 35509, 14012, 117515, 18444, 6492, 35914, 5608, 5303, 22085, 116, 190, 427, 1702, 2358, 18151, 2060, 19048...
[ 0.08740234375, 0.04547119140625, 0.177001953125, 0.2286376953125, 0.1624755859375, 0.247802734375, 0.0926513671875, 0.14111328125, 0.250244140625, 0.087158203125, 0.08544921875, 0.179443359375, 0.1026611328125, 0.203369140625, 0.0516357421875, 0.050872802734375, 0.09808349609375, 0...
embed
5125774_c0
5125774
lisp
0
Title: Design your own connection to MySQL or PostgreSQL? Problem title: Design your own connection to MySQL or PostgreSQL? Tags: mysql, postgresql, lisp, connection Problem: Design your own connection to MySQL or PostgreSQL? I am interested in creating my own connection to MySQL or PostgreSQL in Common Lisp. I know th...
Design your own connection to MySQL or PostgreSQL? Design your own connection to MySQL or PostgreSQL? mysql postgresql lisp connection Design MySQL PostgreSQL Design your own connection to MySQL or PostgreSQL? I am interested in creating my own connection to MySQL or PostgreSQL in Common Lisp. I know there are a few li...
[ 0.0206298828125, 0.0218505859375, -0.00128173828125, 0.0113525390625, 0.00007534027099609375, 0.0167236328125, -0.0167236328125, -0.013916015625, -0.0024871826171875, -0.0234375, 0.01251220703125, -0.0179443359375, -0.0164794921875, 0.004058837890625, -0.0267333984375, -0.0087890625, ...
[ 11724, 935, 10002, 94878, 47, 157146, 707, 2795, 7134, 158897, 759, 99247, 1305, 17562, 400, 7008, 60892, 105233, 23, 151301, 1261, 10846, 35773, 21771, 32316, 11522, 100094, 107013, 63399, 46876, 35978, 33938, 26484, 177261, 5465, 118664, 4785...
[ 0.2442626953125, 0.034912109375, 0.1688232421875, 0.2076416015625, 0.1566162109375, 0.25634765625, 0.1016845703125, 0.137939453125, 0.19287109375, 0.25341796875, 0.09521484375, 0.1322021484375, 0.09906005859375, 0.16943359375, 0.1131591796875, 0.2012939453125, 0.091552734375, 0.104...
embed
12953977_c0
12953977
lisp
0
Title: replace numbers with word in list Problem title: replace numbers with word in list Tags: recursion, list, lisp Problem: replace numbers with word in list I am trying to replace all the numbers of list with a word and keep the words as originaly: for example: (spam '(i ate 1 and he ate 1 too)) output: i ate food ...
replace numbers with word in list replace numbers with word in list recursion list lisp replace numbers with word in list I am trying to replace all the numbers of list with a word and keep the words as originaly: for example: (spam '(i ate 1 and he ate 1 too)) output: i ate food and he ate food too. in my function i f...
[ -0.01806640625, 0.0079345703125, 0.002227783203125, 0.01483154296875, 0.00482177734375, 0.033935546875, 0.0004730224609375, -0.0042724609375, 0.01129150390625, 0.01507568359375, -0.005035400390625, -0.00970458984375, -0.0166015625, 0.007568359375, -0.004241943359375, 0.016357421875, ...
[ 91995, 101935, 678, 2565, 23, 5303, 195625, 1830, 400, 7008, 31577, 756, 111, 13695, 34153, 237, 7311, 34768, 242, 14, 10, 67, 106, 136, 764, 5792, 140992, 17, 15381, 32354, 5117, 12765, 3647, 7225, 201505, 124850, 5844, 96760, 47, 21441,...
[ 0.18603515625, 0.1815185546875, 0.10052490234375, 0.197021484375, 0.1380615234375, 0.2105712890625, 0.1982421875, 0.0843505859375, 0.076171875, 0.16455078125, 0.08026123046875, 0.039337158203125, 0.06597900390625, 0.10528564453125, 0.1085205078125, 0.023162841796875, 0.07061767578125...
embed
39222225_c0
39222225
lisp
0
Title: Centroid given a list of vectors Problem title: Centroid given a list of vectors Tags: common-lisp, lisp, vector Problem: Centroid given a list of vectors I have to calculate the mean vector given a list of vectors such as this one '((2 3 56) (22 45 34) (21 2 23) (4 8 3) (4 4 1) (4 4 5)) In short words I have to...
Centroid given a list of vectors Centroid given a list of vectors common-lisp lisp vector Centroid NIL Centroid given a list of vectors I have to calculate the mean vector given a list of vectors such as this one '((2 3 56) (22 45 34) (21 2 23) (4 8 3) (4 4 1) (4 4 5)) In short words I have to find the centroid given a...
[ -0.01141357421875, 0.01300048828125, 0.00170135498046875, 0.0157470703125, 0.015380859375, -0.005889892578125, 0.00112152099609375, 0.005767822265625, -0.006134033203125, -0.02490234375, -0.0036163330078125, -0.0089111328125, 0.006378173828125, -0.006317138671875, -0.0245361328125, -0....
[ 13443, 532, 34475, 5303, 111, 22834, 22230, 39210, 4086, 254, 400, 7008, 173, 18770, 541, 16444, 765, 74481, 67, 29459, 903, 1632, 54753, 138, 74757, 52331, 2678, 4442, 44596, 1105, 9451, 382, 8439, 201, 4879, 21162, 16610, 7413, 70, 5863...
[ 0.250732421875, 0.23876953125, 0.0966796875, 0.2034912109375, 0.0380859375, 0.2352294921875, 0.1719970703125, 0.0806884765625, 0.0849609375, 0.1282958984375, 0.076416015625, 0.1346435546875, 0.2047119140625, 0.22509765625, 0.0107421875, 0.10791015625, 0.032012939453125, 0.149536132...
embed
6480053_c1
6480053
lisp
1
. (I've looked into fset , setf , and function but perhaps not using them properly.) possibly wrap this in a function called makenewfoo() or something like this so I can invoke makenewfoo(foo) and allow this to create newfoo() . And, more generally, is something like this is commonly done or there is a more idiomatic w...
. (I've looked into fset , setf , and function but perhaps not using them properly.) possibly wrap this in a function called makenewfoo() or something like this so I can invoke makenewfoo(foo) and allow this to create newfoo() . And, more generally, is something like this is commonly done or there is a more idiomatic w...
[ -0.0120849609375, -0.0003719329833984375, -0.00174713134765625, -0.00007295608520507812, 0.017578125, 0.0019378662109375, -0.00762939453125, 0.00860595703125, 0.0194091796875, -0.0019683837890625, 0.010009765625, -0.008056640625, -0.01446533203125, -0.006683349609375, 0.0269775390625, ...
[ 54811, 1238, 3509, 5423, 420, 32354, 95134, 17368, 155965, 144681, 137565, 903, 23, 3249, 54936, 3584, 31, 132, 831, 23253, 63769, 28282, 3525, 137567, 39210, 16940, 49666, 3917, 2811, 40383, 4552, 8781, 7225, 1286, 4537, 48502, 151138, 70, ...
[ 0.008087158203125, 0.0823974609375, 0.1895751953125, 0.138916015625, 0.1331787109375, 0.23828125, 0.014739990234375, 0.03179931640625, 0.0379638671875, 0.05511474609375, 0.1776123046875, 0.1201171875, 0.013427734375, 0.1124267578125, 0.1707763671875, 0.2230224609375, 0.1846923828125,...
embed
38453038_c0
38453038
lisp
0
Title: Unbound variable in Lisp Problem title: Unbound variable in Lisp Tags: common-lisp, lisp, variables Problem: Unbound variable in Lisp When I run my code it says that there is an unbound variable in my fill-lib function, but I have no clue what variable is unbound or why. (defstruct book (title nil) (author nil) ...
Unbound variable in Lisp Unbound variable in Lisp common-lisp lisp variables Unbound Lisp Users David Desktop Books.txt Library Unbound variable in Lisp When I run my code it says that there is an unbound variable in my fill-lib function, but I have no clue what variable is unbound or why.
[ 0.0130615234375, 0.006744384765625, -0.006256103515625, 0.004730224609375, -0.01470947265625, 0.006500244140625, -0.0038299560546875, 0.004364013671875, 0.0062255859375, -0.0123291015625, -0.0093994140625, -0.0167236328125, 0.031982421875, 0.0181884765625, 0.026611328125, -0.0086669921...
[ 992, 99091, 77336, 1261, 7008, 23, 39210, 4086, 254, 400, 53400, 6765, 141423, 83266, 124326, 103835, 11675, 18151, 17378, 142, 51, 26292, 9, 5612, 32354, 110, 29786, 2367, 83, 15400 ]
[ 0.120361328125, 0.22265625, 0.265380859375, 0.1422119140625, 0.2266845703125, 0.0049896240234375, 0.059661865234375, 0.06976318359375, 0.1588134765625, 0.0814208984375, 0.0924072265625, 0.13818359375, 0.1326904296875, 0.1220703125, 0.11932373046875, 0.140869140625, 0.03472900390625, ...
embed
9520137_c0
9520137
lisp
0
Title: How to implement bignum in Scheme given the following grammar? Problem title: How to implement bignum in Scheme given the following grammar? Tags: bignum, lisp, racket, scheme Problem: How to implement bignum in Scheme given the following grammar? I think Scheme has a built-in type Bignum for handling arbitraril...
How to implement bignum in Scheme given the following grammar? How to implement bignum in Scheme given the following grammar? bignum lisp racket scheme How Scheme How to implement bignum in Scheme given the following grammar? I think Scheme has a built-in type Bignum for handling arbitrarily large numbers, but if I wan...
[ -0.0059814453125, 0.0281982421875, 0.00909423828125, 0.04248046875, -0.01373291015625, 0.0228271484375, -0.017578125, -0.0135498046875, 0.00732421875, -0.007568359375, 0.005523681640625, -0.00750732421875, -0.0181884765625, -0.025146484375, -0.005035400390625, 0.006561279296875, 0.00...
[ 11249, 47, 29479, 6957, 2606, 23, 34702, 282, 34475, 25632, 122092, 147, 400, 7008, 673, 27853, 150370, 88303, 73, 10644, 14195, 100, 45064, 61799, 21334, 101935, 35978, 3642, 54, 58745, 19, 3229, 653, 145407, 42, 864, 839, 1328, 757, 364...
[ 0.11572265625, 0.0711669921875, 0.254638671875, 0.1651611328125, 0.309814453125, 0.1300048828125, 0.2099609375, 0.194580078125, 0.089599609375, 0.0887451171875, 0.1551513671875, 0.1480712890625, 0.07550048828125, 0.173583984375, 0.0802001953125, 0.189453125, 0.211669921875, 0.10974...
embed
30825206_c1
30825206
lisp
1
cl-extra (require 'package) (require 'cl-lib) (require 'cl-extra) (push '("melpa" . "http://melpa.org/packages/") package-archives ) (package-initialize) (defconst *my-packages* '(evil evil-leader helm)) (defun my-package-check() (unless (cl-every #'package-installed-p *my-packages) (package-refresh-contents) (dolist ...
cl-extra (require 'package) (require 'cl-lib) (require 'cl-extra) (push '("melpa" . "http://melpa.org/packages/") package-archives ) (package-initialize) (defconst *my-packages* '(evil evil-leader helm)) (defun my-package-check() (unless (cl-every #'package-installed-p *my-packages) (package-refresh-contents) (dolist ...
[ -0.01068115234375, 0.0016326904296875, 0.019287109375, 0.00543212890625, -0.0220947265625, 0.0157470703125, 0.001983642578125, -0.00970458984375, 0.00555419921875, -0.001708984375, 0.008056640625, 0.0164794921875, -0.0013885498046875, -0.009765625, -0.00885009765625, -0.014892578125, ...
[ 33139, 9, 112779, 15, 3181, 107, 29102, 4588, 34937, 5612, 7332, 7603, 763, 1478, 98169, 147488, 40705, 119066, 25553, 18, 1176, 13, 5115, 28, 133, 38970, 71464, 112, 16498, 759, 78292, 9393, 104643, 80383, 254, 29087, 105027, 69246, 6562, ...
[ 0.191162109375, 0.0723876953125, 0.257080078125, 0.0045166015625, 0.110595703125, 0.06622314453125, 0.155029296875, 0.07501220703125, 0.185791015625, 0.135009765625, 0.0259246826171875, 0.0838623046875, 0.1929931640625, 0.0859375, 0.15966796875, 0.0672607421875, 0.1121826171875, 0....
embed
49348712_c1
49348712
lisp
1
problem. (defun is-prime (x &optional (i 2)) (if (= x 1) nil (if (or (= x 2) (= x 3)) t (if (<= i (sqrt x)) (if (= (mod x i ) 0) nil (is-prime x (+ i 1))) t)))) (defun prime-factors-helper (x n) (if (is-prime x) (list x) (if (is-prime n) (if (AND (= (mod x n) 0) (<= n (/ x 2))) (cons n (prime-factors-helper (/ x n) n)...
problem. (defun is-prime (x &optional (i 2)) (if (= x 1) nil (if (or (= x 2) (= x 3)) t (if (<= i (sqrt x)) (if (= (mod x i ) 0) nil (is-prime x (+ i 1))) t)))) (defun prime-factors-helper (x n) (if (is-prime x) (list x) (if (is-prime n) (if (AND (= (mod x n) 0) (<= n (/ x 2))) (cons n (prime-factors-helper (/ x n) n)...
[ -0.0179443359375, 0.024169921875, 0.0186767578125, -0.01080322265625, 0.0015716552734375, 0.01287841796875, -0.00567626953125, -0.03076171875, 0.0027313232421875, -0.0390625, 0.00836181640625, -0.02734375, 0.01171875, -0.0252685546875, -0.00677490234375, 0.0098876953125, -0.001708984...
[ 2967, 112, 16498, 83, 114654, 425, 109585, 289, 14, 4958, 3190, 1022, 4879, 17324, 748, 8439, 808, 16093, 17, 864, 3198, 13415, 757, 164, 22183, 80126, 20809, 144810, 73866, 56, 653, 6562, 45029, 116, 25553, 43938, 15032, 9655, 15572, 148...
[ 0.17041015625, 0.1451416015625, 0.1845703125, 0.1568603515625, 0.244873046875, 0.0667724609375, 0.178466796875, 0.091064453125, 0.0171356201171875, 0.0811767578125, 0.08758544921875, 0.06524658203125, 0.0263671875, 0.1744384765625, 0.0343017578125, 0.1441650390625, 0.1114501953125, ...
embed
12798138_c0
12798138
lisp
0
Title: emacs lisp regular expression to detect C++ templates Problem title: emacs lisp regular expression to detect C++ templates Tags: lisp, regex Problem: emacs lisp regular expression to detect C++ templates I'm trying to get out of a C++ template expression, stored into property-type, each single type of class, the...
emacs lisp regular expression to detect C++ templates emacs lisp regular expression to detect C++ templates lisp regex emacs lisp regular expression to detect C++ templates I'm trying to get out of a C++ template expression, stored into property-type, each single type of class, therefore from the type `A< B < C < D > >...
[ 0.00860595703125, 0.0034332275390625, 0.01080322265625, -0.00179290771484375, -0.0086669921875, 0.0159912109375, -0.01080322265625, 0.0218505859375, 0.009765625, -0.0230712890625, 0.01068115234375, -0.025146484375, -0.012939453125, -0.00689697265625, 0.0152587890625, 0.0113525390625, ...
[ 352, 2263, 7, 400, 7008, 20324, 125195, 47, 96391, 37223, 110934, 313, 6835, 3355, 31577, 1810, 4343, 57266, 50986, 12638, 11001, 10644, 18507, 16093, 335, 391, 3444, 125663, 52895, 62, 3687, 5303, 54397, 18151, 14858, 44691, 5117, 163812, ...
[ 0.0848388671875, 0.1439208984375, 0.057220458984375, 0.1217041015625, 0.204833984375, 0.1651611328125, 0.1920166015625, 0.013702392578125, 0.174072265625, 0.2149658203125, 0.253662109375, 0.0828857421875, 0.1009521484375, 0.11572265625, 0.042449951171875, 0.0748291015625, 0.055053710...
embed
64717429_c0
64717429
lisp
0
Title: Lisp Code-Data Duality, Lambda Expressions Are Constants? Problem title: Lisp Code-Data Duality, Lambda Expressions Are Constants? Tags: common-lisp, lisp, closures, lambda Problem: Lisp Code-Data Duality, Lambda Expressions Are Constants? I'm following Paul Graham's book On Lisp, where Section 5.7 says " A shar...
Lisp Code-Data Duality, Lambda Expressions Are Constants? Lisp Code-Data Duality, Lambda Expressions Are Constants? common-lisp lisp closures lambda Lisp Code-Data Duality Lambda Expressions Constants Lisp Code-Data Duality, Lambda Expressions Are Constants? I'm following Paul Graham's book On Lisp, where Section 5.7 s...
[ 0.023193359375, 0.01263427734375, 0.005889892578125, -0.00299072265625, 0.01226806640625, 0.007080078125, 0.02197265625, 0.01080322265625, -0.006134033203125, -0.0281982421875, -0.0224609375, -0.0224609375, 0.0096435546875, 0.009765625, -0.00555419921875, 0.0255126953125, 0.006927490...
[ 1261, 7008, 28864, 9, 137989, 786, 134393, 122930, 85, 25129, 17514, 15901, 148416, 7, 39210, 4086, 254, 400, 170224, 6492, 25632, 10208, 147756, 12877, 140978, 160355, 189173, 68726, 21, 204629, 53697, 1284, 11782, 47, 64549, 748, 32354, 122...
[ 0.1771240234375, 0.2384033203125, 0.2059326171875, 0.001953125, 0.2020263671875, 0.2108154296875, 0.1939697265625, 0.1866455078125, 0.1622314453125, 0.1966552734375, 0.0947265625, 0.07183837890625, 0.25732421875, 0.0650634765625, 0.05621337890625, 0.135498046875, 0.1759033203125, 0...
embed
20805084_c0
20805084
lisp
0
Title: Difference between princ, print and prin1 in lisp? Problem title: Difference between princ, print and prin1 in lisp? Tags: printing, lisp Problem: Difference between princ, print and prin1 in lisp? I am trying build a polynomial calculator that at the end lists prints out the answer in the format: x^2 : 2 x^1 : ...
Difference between princ, print and prin1 in lisp? Difference between princ, print and prin1 in lisp? printing lisp Difference prin1 Difference between princ, print and prin1 in lisp? I am trying build a polynomial calculator that at the end lists prints out the answer in the format: x^2 : 2 x^1 : 3 x^0 : 12 (Which wou...
[ -0.002288818359375, 0.0027008056640625, -0.002593994140625, 0.0184326171875, 0.016845703125, 0.0274658203125, 0.023193359375, -0.0037384033203125, 0.00628662109375, -0.0016021728515625, 0.012939453125, -0.021728515625, 0.0181884765625, -0.01348876953125, -0.0103759765625, 0.00772094726...
[ 803, 18234, 6620, 17721, 2448, 238, 28412, 136, 418, 23, 400, 7008, 1916, 31577, 45367, 35874, 1687, 15403, 154993, 3564, 5303, 1810, 35166, 9384, 1022, 8353, 304, 152, 116, 138, 2389, 427, 5701, 997, 425, 55102, 89778, 4527, 16750, 11343...
[ 0.0947265625, 0.2071533203125, 0.1165771484375, 0.0997314453125, 0.2335205078125, 0.1685791015625, 0.2900390625, 0.0379638671875, 0.1597900390625, 0.04620361328125, 0.1337890625, 0.2315673828125, 0.0902099609375, 0.023529052734375, 0.06304931640625, 0.1121826171875, 0.12646484375, ...
embed
88302_c0
88302
lisp
0
Title: macro support in F# Problem title: macro support in F# Tags: .net, f%23, clojure, lisp, functional-programming Problem: macro support in F# After reading Practical Common Lisp I finally understood what the big deal about macros was, and I have been looking for a language for the .NET platform that supports this....
macro support in F# macro support in F# .net f%23 clojure lisp functional-programming macro support in F# After reading Practical Common Lisp I finally understood what the big deal about macros was, and I have been looking for a language for the .NET platform that supports this. There are a few lisp dialects for .NET b...
[ 0.00946044921875, 0.0135498046875, 0.01361083984375, 0.0012054443359375, -0.0021209716796875, 0.01202392578125, -0.0086669921875, -0.004791259765625, -0.0157470703125, -0.0240478515625, 0.000037670135498046875, -0.013671875, 0.00156402587890625, -0.0294189453125, 0.01177978515625, -0.0...
[ 111789, 8060, 563, 4904, 1179, 1238, 3742, 20450, 461, 107, 400, 7008, 123309, 28966, 23, 109613, 151301, 1261, 217064, 35142, 7, 46876, 5, 17777, 13651, 10846, 220734, 4552, 51703, 32997, 33946, 131999, 51053, 79, 330, 4527, 1376, 334, 39,...
[ 0.2313232421875, 0.23583984375, 0.142333984375, 0.223388671875, 0.1251220703125, 0.046630859375, 0.0965576171875, 0.1053466796875, 0.139404296875, 0.118408203125, 0.118408203125, 0.163330078125, 0.14013671875, 0.10357666015625, 0.027557373046875, 0.047943115234375, 0.0149688720703125...
embed
75583720_c2
75583720
lisp
2
> " (if (setq data (search "RT " *street-name*)) (progn (setq data (+ data 3)) (when (and (>= (length *street-name*) Code signals: Need, Erling, PHOENIX, GGG, JINX, SrcSystem, BLUE, debug-level-2, info.config, CONFIG, FILE, CANNOT, OPEN, READ, UTF-8, WebRequest, www.qwest.com, XMLSchema, xmlns:bim, www.example.com, BIM...
> " (if (setq data (search "RT " *street-name*)) (progn (setq data (+ data 3)) (when (and (>= (length *street-name*) Code signals: Need, Erling, PHOENIX, GGG, JINX, SrcSystem, BLUE, debug-level-2, info.config, CONFIG, FILE, CANNOT, OPEN, READ, UTF-8, WebRequest, www.qwest.com, XMLSchema, xmlns:bim, www.example.com, BIM...
[ 0.0106201171875, 0.01361083984375, 0.01025390625, 0.001800537109375, 0.019775390625, 0.022216796875, 0.004608154296875, 0.003021240234375, 0.019287109375, 0.01275634765625, 0.01263427734375, -0.01190185546875, -0.0167236328125, -0.028076171875, 0.01446533203125, 0.007415771484375, 0....
[ 977, 44, 3190, 3509, 864, 2053, 86250, 20503, 5967, 126, 11627, 77518, 75620, 19, 22183, 8439, 3220, 2940, 2740, 1369, 23986, 28864, 26073, 7, 12, 52889, 1004, 2069, 17933, 67609, 1542, 46754, 103335, 166989, 19437, 84293, 210851, 8, 85779,...
[ 0.1234130859375, 0.130859375, 0.1309814453125, 0.1817626953125, 0.20947265625, 0.1962890625, 0.201416015625, 0.255126953125, 0.1756591796875, 0.0830078125, 0.128662109375, 0.054656982421875, 0.2098388671875, 0.06219482421875, 0.120361328125, 0.11962890625, 0.1180419921875, 0.013061...
embed
4617904_c1
4617904
lisp
1
in support for features (e.g. xcode cpp has no variadic macros despite claiming C99 compliance) There is little-to-no room for optimization in this route Using llvm 's support for multiple backends to target c/c++ to web languages Pros: Can code in c/c++ LLVM is a very mature highly optimizing compiler performing e.g....
in support for features (e.g. xcode cpp has no variadic macros despite claiming C99 compliance) There is little-to-no room for optimization in this route Using llvm 's support for multiple backends to target c/c++ to web languages Pros: Can code in c/c++ LLVM is a very mature highly optimizing compiler performing e.g....
[ -0.0028228759765625, 0.0035858154296875, -0.00640869140625, -0.0211181640625, 0.006591796875, 0.01470947265625, 0.01336669921875, -0.00101470947265625, -0.0162353515625, -0.000408172607421875, -0.01141357421875, -0.023681640625, -0.0010528564453125, 0.01470947265625, 0.00225830078125, ...
[ 23, 8060, 66139, 1022, 40899, 6366, 110, 16757, 18403, 111789, 61518, 63043, 313, 5046, 225932, 8622, 10176, 157, 17155, 87235, 36439, 345, 6953, 96, 3723, 39, 48716, 4420, 3611, 47, 30388, 501, 64, 238, 37223, 1467, 46876, 1250, 7, 4171,...
[ 0.07891845703125, 0.188720703125, 0.1484375, 0.0235137939453125, 0.2464599609375, 0.2069091796875, 0.048095703125, 0.1397705078125, 0.042877197265625, 0.130859375, 0.008880615234375, 0.04095458984375, 0.0147247314453125, 0.2296142578125, 0.162109375, 0.01190185546875, 0.0285949707031...
embed
63462296_c2
63462296
lisp
2
W5nIGl0ZXJhdGlvbiwKdXNlIGVnLiBTQi1FWFQ6V0lUSC1MT0NLRUQtSEFTSC1UQUJMRSB0byBwcm90ZWN0IHRoZSBXSVRILUhBU0gtVEFCTEUtSVRFUkFUT1IKZm9yLg==") format it with this directive: (format NIL "~a ~a ~a" fs doc l) I get the output: "WITH-HASH-TABLE-ITERATOR Code signals: Strange, NAME, HASH-TABLE, BODY, WITH-HASH-TABLE-ITERATOR, V0lUS...
ILUhBU0gtVEFCTEUtSVRFUkFUT1IKZm9yLg NIL V0lUSC1IQVNILVRBQkxFLUlURVJBVE9SICgobmFtZSBoYXNoLXRhYmxlKSAmYm9keSBib2R5KQoKUHJvdmlkZXMgYSBtZXRob2Qgb2YgbWFudWFsbHkgbG9vcGluZyBvdmVyIHRoZSBlbGVtZW50cyBvZiBhIGhhc2gtdGFibGUuIE5BTUUKaXMgYm91bmQgdG8gYSBnZW5lcmF0b3ItbWFjcm8gdGhhdCwgd2l0aGluIHRoZSBzY29wZSBvZiB0aGUgaW52b2NhdGlvbiwKcmV0...
[ -0.0277099609375, -0.000659942626953125, -0.002288818359375, -0.01336669921875, -0.0205078125, 0.01092529296875, 0.0303955078125, 0.004486083984375, 0.01055908203125, -0.0068359375, 0.0084228515625, 0.031005859375, -0.01202392578125, 0.000560760498046875, -0.002532958984375, -0.0081787...
[ 87, 22335, 127, 15639, 2389, 5386, 24878, 27529, 8241, 106742, 35930, 47744, 17632, 17756, 1511, 1126, 53, 866, 177, 541, 16444, 310, 141, 8762, 441, 418, 107362, 856, 7787, 32811, 45176, 92, 425, 1375, 571, 9902, 519, 275, 39, 18, 7488...
[ 0.1025390625, 0.1417236328125, 0.0775146484375, 0.103515625, 0.041748046875, 0.09490966796875, 0.13916015625, 0.04095458984375, 0.06329345703125, 0.038116455078125, 0.026123046875, 0.059417724609375, 0.046142578125, 0.047027587890625, 0.1109619140625, 0.040374755859375, 0.04205322265...
embed
57401668_c0
57401668
lisp
0
Title: Is there a Racket builtin to repeat an element n times as a list? Problem title: Is there a Racket builtin to repeat an element n times as a list? Tags: scheme, lisp, racket Problem: Is there a Racket builtin to repeat an element n times as a list? I realize this is trivially to implement myself, but I was curio...
Is there a Racket builtin to repeat an element n times as a list? Is there a Racket builtin to repeat an element n times as a list? scheme lisp racket Racket Is there a Racket builtin to repeat an element n times as a list? I realize this is trivially to implement myself, but I was curious if Racket has a builtin or sy...
[ -0.010009765625, 0.0159912109375, -0.0019378662109375, 0.01409912109375, -0.01513671875, 0.020263671875, -0.0024871826171875, -0.01092529296875, 0.0033721923828125, -0.0302734375, -0.00543212890625, -0.035888671875, -0.015625, -0.00592041015625, -0.01495361328125, -0.00131988525390625,...
[ 2071, 2685, 10, 2552, 27853, 88303, 73, 47, 119140, 12830, 653, 20028, 237, 5303, 150370, 400, 7008, 673, 142, 903, 29479, 35978, 193844, 6002, 102, 49086, 183234, 25632, 23, 145581, 49666, 9523, 3917, 54, 12096, 13580, 20594, 36917, 157666...
[ 0.0191802978515625, 0.0782470703125, 0.083984375, 0.1903076171875, 0.28662109375, 0.134765625, 0.1339111328125, 0.0950927734375, 0.275390625, 0.189697265625, 0.155029296875, 0.24560546875, 0.146484375, 0.21240234375, 0.1402587890625, 0.0225830078125, 0.1051025390625, 0.15185546875,...
embed
19654973_c0
19654973
lisp
0
Title: The Order of Variable and Function Definitions Problem title: The Order of Variable and Function Definitions Tags: scheme, definition, lisp, operator-precedence, racket Problem: The Order of Variable and Function Definitions Why is it that: Function definitions can use definitions defined after it while variable...
The Order of Variable and Function Definitions The Order of Variable and Function Definitions scheme definition lisp operator-precedence racket Order Variable Definitions Must The Order of Variable and Function Definitions Why is it that: Function definitions can use definitions defined after it while variable definiti...
[ 0.031982421875, 0.0034637451171875, -0.014404296875, 0.039794921875, 0.01226806640625, -0.0028228759765625, 0.000698089599609375, 0.004425048828125, 0.010986328125, 0.002838134765625, -0.000804901123046875, -0.0301513671875, -0.010498046875, -0.0103759765625, 0.0238037109375, 0.0075683...
[ 581, 81206, 111, 84572, 2886, 136, 28670, 10763, 155455, 150370, 80934, 400, 7008, 39933, 4692, 37534, 673, 27853, 74275, 44084, 450, 7, 831, 4527, 61924, 7103, 442, 12960, 77336, 18, 27781, 25632, 18151, 93, 58134, 83, 44691, 876, 51404, ...
[ 0.00885772705078125, 0.2012939453125, 0.08575439453125, 0.1778564453125, 0.149169921875, 0.0804443359375, 0.1695556640625, 0.1402587890625, 0.2210693359375, 0.1986083984375, 0.23046875, 0.0863037109375, 0.1907958984375, 0.1689453125, 0.0277557373046875, 0.10406494140625, 0.0693969726...
embed
3974311_c0
3974311
lisp
0
Title: Data structure with two primary keys? (caching lat/lon address pairs) Problem title: Data structure with two primary keys? (caching lat/lon address pairs) Tags: latitude-longitude, google-maps-api-3, data-structures, reverse-geocoding, lisp Problem: Data structure with two primary keys? (caching lat/lon address ...
Data structure with two primary keys? (caching lat/lon address pairs) Data structure with two primary keys? (caching lat/lon address pairs) latitude-longitude google-maps-api-3 data-structures reverse-geocoding lisp Data San Ramon Tracy google-maps-api-3 Data structure with two primary keys? (caching lat/lon address pa...
[ 0.01458740234375, 0.021484375, 0.000438690185546875, -0.0238037109375, 0.0026397705078125, 0.0087890625, 0.035400390625, -0.00156402587890625, -0.0032196044921875, -0.038330078125, 0.00482177734375, 0.01409912109375, 0.00732421875, 0.00201416015625, -0.011962890625, 0.019775390625, -...
[ 11809, 45646, 678, 6626, 158978, 22799, 7, 32, 59863, 214, 10495, 64, 4759, 29823, 80836, 21, 35810, 10617, 21753, 26484, 62346, 40897, 8316, 2053, 137656, 39531, 184, 429, 587, 400, 7008, 1735, 79703, 4937, 2408, 31577, 82365, 1295, 1815, ...
[ 0.1756591796875, 0.280029296875, 0.124267578125, 0.209716796875, 0.1878662109375, 0.2381591796875, 0.1143798828125, 0.031463623046875, 0.126708984375, 0.07470703125, 0.1761474609375, 0.110107421875, 0.1678466796875, 0.12548828125, 0.1815185546875, 0.03277587890625, 0.14794921875, 0...
embed
65993449_c0
65993449
lisp
0
Title: Sum of odd and even numbers Problem title: Sum of odd and even numbers Tags: clisp, lisp Problem: Sum of odd and even numbers I'm new to lisp programming and I'm trying to create a program that accept six numbers and check whether each number is either odd or even number. (princ"Input six number: ") (setq a(read...
Sum of odd and even numbers Sum of odd and even numbers clisp lisp Sum Input Sum of odd and even numbers I'm new to lisp programming and I'm trying to create a program that accept six numbers and check whether each number is either odd or even number.
[ 0.000804901123046875, 0.0185546875, 0.01507568359375, 0.00555419921875, 0, 0.03564453125, 0.000018358230590820312, 0.01483154296875, 0.000629425048828125, 0.01226806640625, 0.0177001953125, -0.036376953125, -0.0093994140625, 0.00390625, 0.0322265625, 0.0125732421875, -0.007568359375,...
[ 36335, 111, 70270, 136, 3853, 101935, 95701, 7008, 400, 360, 7077, 3525, 47, 56037, 449, 31577, 28282, 1528, 26946, 37195, 12765, 36766, 12638, 14012, 40101, 707 ]
[ 0.2078857421875, 0.10321044921875, 0.231201171875, 0.1302490234375, 0.1959228515625, 0.203369140625, 0.10015869140625, 0.1785888671875, 0.095458984375, 0.06988525390625, 0.069091796875, 0.062225341796875, 0.0017557144165039062, 0.0950927734375, 0.0013971328735351562, 0.05145263671875, ...
embed
32836213_c0
32836213
lisp
0
Title: N-Queen Lisp (1- n) mean? Problem title: N-Queen Lisp (1- n) mean? Tags: lisp, common-lisp Problem: N-Queen Lisp (1- n) mean? (defun queens (n &optional (m n)) (if (zerop n) (list nil) (loop for solution in (queens (1- n) m) ;; <=== what does the (1- n) mean? nconc (loop for new-col from 1 to m when (loop for ro...
N-Queen Lisp (1- n) mean? N-Queen Lisp (1- n) mean? lisp common-lisp 1 N-Queen Lisp N-Queen Lisp (1- n) mean? hi, can anyone explain to me this N-Queen algo why is there a (1- n)? what does the "1-" part and &optional syntax? thank you,
[ 0.00262451171875, 0.01806640625, 0.02197265625, 0.0036163330078125, 0.001983642578125, -0.000934600830078125, 0.0252685546875, -0.006256103515625, -0.0025177001953125, -0.0225830078125, 0.007232666015625, 0.0185546875, 0.0142822265625, -0.017578125, -0.0228271484375, -0.0064697265625, ...
[ 541, 41732, 33, 1261, 7008, 2858, 9, 653, 16, 29459, 400, 39210, 4086, 254, 106, 73342, 5745, 15400, 83, 2685, 10, 20268, 2831, 619, 109585, 6002, 86531 ]
[ 0.1719970703125, 0.18798828125, 0.13525390625, 0.1463623046875, 0.2169189453125, 0.126953125, 0.12298583984375, 0.165283203125, 0.033172607421875, 0.1473388671875, 0.11053466796875, 0.141357421875, 0.11383056640625, 0.16650390625, 0.13232421875, 0.0848388671875, 0.16650390625, 0.10...
embed
19678694_c0
19678694
lisp
0
Title: What gives Lisp its excellent math performance? Problem title: What gives Lisp its excellent math performance? Tags: common-lisp, integer-arithmetic, lisp Problem: What gives Lisp its excellent math performance? I am reading this in a Lisp textbook: Lisp can perform some amazing feats with numbers, especially wh...
What gives Lisp its excellent math performance? What gives Lisp its excellent math performance? common-lisp integer-arithmetic lisp What Lisp What gives Lisp its excellent math performance? I am reading this in a Lisp textbook: Yes, that's cool, but the author fails to explain why Lisp can do this more easily and more ...
[ -0.00518798828125, -0.00079345703125, 0.002532958984375, 0.00506591796875, -0.003997802734375, 0.0108642578125, 0.00244140625, 0.0030975341796875, 0.006378173828125, -0.0184326171875, 0.0106201171875, 0.01458740234375, -0.0020751953125, 0.001434326171875, 0.00058746337890625, 0.0009689...
[ 4865, 76199, 1261, 7008, 6863, 40881, 48909, 23718, 39210, 4086, 254, 892, 1505, 8962, 282, 9523, 400, 16454, 14137, 450, 21185, 42179, 35782, 73342, 15400, 831, 54, 903, 1286, 72546, 69405, 3501, 3789, 46876, 8781, 31635 ]
[ 0.10546875, 0.127685546875, 0.1885986328125, 0.266845703125, 0.07489013671875, 0.1217041015625, 0.17626953125, 0.1639404296875, 0.12188720703125, 0.13818359375, 0.1773681640625, 0.1024169921875, 0.119140625, 0.0806884765625, 0.029327392578125, 0.008575439453125, 0.139892578125, 0.0...
embed
63149499_c0
63149499
lisp
0
Title: define a variable inside procedure Problem title: define a variable inside procedure Tags: scheme, lisp Problem: define a variable inside procedure Can I define a variable inside a procedure? It seems to me I can only define another procedure inside procedures. I came up with this question while doing exercises ...
define a variable inside procedure define a variable inside procedure scheme lisp define a variable inside procedure Can I define a variable inside a procedure? It seems to me I can only define another procedure inside procedures. I came up with this question while doing exercises from SICP and (rand) is not what I wan...
[ -0.005401611328125, 0.01708984375, -0.00396728515625, -0.0050048828125, 0.0274658203125, 0.00897216796875, -0.00958251953125, 0.006439208984375, 0.00872802734375, -0.0400390625, -0.00103759765625, 0.003570556640625, -0.003448486328125, 0.00013256072998046875, 0.0272216796875, 0.0056152...
[ 61924, 10, 77336, 46132, 50491, 150370, 400, 7008, 4171, 87, 37202, 831, 4734, 15700, 7, 1257, 9655, 81979, 198993, 37214, 959, 3444, 139392, 6626, 12921, 96759, 101935, 5701, 14012, 19069, 18151, 14700, 13415 ]
[ 0.239501953125, 0.091796875, 0.30419921875, 0.222412109375, 0.25927734375, 0.1756591796875, 0.059478759765625, 0.1654052734375, 0.07806396484375, 0.03668212890625, 0.052886962890625, 0.053955078125, 0.0357666015625, 0.08465576171875, 0.022247314453125, 0.01001739501953125, 0.02270507...
embed
77954095_c0
77954095
lisp
0
Title: How to implement &quot;if&quot; in normal order in Scheme? Problem title: How to implement &quot;if&quot; in normal order in Scheme? Tags: lazy-evaluation, scheme, racket, sicp, lisp Problem: How to implement "if" in normal order in Scheme? I was learning SICP and I read about "the applicative order" and "the no...
How to implement &quot;if&quot; in normal order in Scheme? How to implement &quot;if&quot; in normal order in Scheme? lazy-evaluation scheme racket sicp lisp How Scheme How to implement "if" in normal order in Scheme? I was learning SICP and I read about "the applicative order" and "the normal order". Then I played aro...
[ -0.0093994140625, 0.0224609375, 0.01385498046875, 0.01153564453125, 0.02734375, 0.021240234375, 0.00408935546875, 0.0023651123046875, 0, -0.02783203125, 0.01104736328125, -0.00531005859375, -0.033447265625, -0.0179443359375, 0.01434326171875, 0.0032958984375, -0.0037384033203125, -...
[ 11249, 47, 29479, 41502, 3190, 1230, 23, 3638, 12989, 34702, 282, 74, 21, 3285, 159258, 150370, 673, 27853, 26536, 254, 7008, 44, 52080, 159, 198993, 41816, 112730, 155534, 130514, 18151, 151575, 54936, 116, 4958, 190, 60899, 3934, 103494, ...
[ 0.094970703125, 0.0275726318359375, 0.264892578125, 0.1173095703125, 0.291259765625, 0.1075439453125, 0.10357666015625, 0.2330322265625, 0.234130859375, 0.190673828125, 0.1650390625, 0.01885986328125, 0.066650390625, 0.153076171875, 0.12109375, 0.143798828125, 0.046661376953125, 0....
embed
61056834_c0
61056834
lisp
0
Title: Scheme to Clojure Function (subst) Problem title: Scheme to Clojure Function (subst) Tags: clojure, lisp, common-lisp Problem: Scheme to Clojure Function (subst) I am reading Paul Graham's The Roots of Lisp I have tried converting the function subst on page 5, which is defined like this: (defun subst (x y z) (co...
Scheme to Clojure Function (subst) Scheme to Clojure Function (subst) clojure lisp common-lisp Scheme Clojure Scheme to Clojure Function (subst) I am reading Paul Graham's The Roots of Lisp I have tried converting the function subst on page 5, which is defined like this: To its corresponding Clojure implementation. I d...
[ -0.0111083984375, 0.019287109375, 0.01019287109375, 0.01806640625, 0.0002956390380859375, 0.000789642333984375, -0.0140380859375, -0.01190185546875, -0.0019683837890625, -0.01068115234375, -0.00102996826171875, 0.00970458984375, -0.01513671875, -0.01544189453125, -0.0002880096435546875, ...
[ 34702, 282, 47, 51053, 461, 107, 28670, 10763, 196842, 20450, 400, 7008, 39210, 4086, 254, 16454, 10208, 147756, 150948, 7, 111, 1261, 37842, 96760, 214, 32354, 9191, 190, 61924, 717, 208124, 36049, 16981, 40101, 46876, 4358, 77947, 28219, ...
[ 0.199951171875, 0.15185546875, 0.130126953125, 0.1492919921875, 0.1767578125, 0.135009765625, 0.170654296875, 0.05511474609375, 0.2318115234375, 0.1234130859375, 0.08154296875, 0.19287109375, 0.1014404296875, 0.1083984375, 0.14599609375, 0.095458984375, 0.07135009765625, 0.15893554...
embed
44367499_c0
44367499
lisp
0
Title: Two common elements between lists Problem title: Two common elements between lists Tags: common-lisp, lisp Problem: Two common elements between lists I have a problem with this function two-similar-p . (defun two-similar-p (list1 list2) (mapcar (lambda (e) (mapcar (lambda (e1) (if (equal e e1) t)) list2)) list1)...
Two common elements between lists Two common elements between lists common-lisp lisp Two list1 list2 NIL Two common elements between lists I have a problem with this function two-similar-p . But is not correct use mapcar because this function returns a new list with T or NIL , but I need only to return a true or false....
[ -0.005767822265625, 0.01446533203125, -0.00023174285888671875, 0.00762939453125, 0.00128173828125, 0.033447265625, 0.0020599365234375, 0.009765625, 0.00022983551025390625, -0.0023651123046875, 0.016845703125, 0.0211181640625, 0.00946044921875, 0.0106201171875, -0.0167236328125, -0.0063...
[ 32964, 39210, 80854, 17721, 5303, 4086, 254, 400, 7008, 304, 541, 16444, 7, 2967, 32354, 6626, 62318, 320, 9, 26785, 4527, 22288, 3284, 30646, 3525, 384, 707, 3871, 4734, 29568, 98320, 47644, 195625, 1830, 69101, 67842, 6528, 4488, 1884, ...
[ 0.1788330078125, 0.19775390625, 0.19775390625, 0.198974609375, 0.2154541015625, 0.04315185546875, 0.133056640625, 0.06756591796875, 0.1453857421875, 0.06353759765625, 0.06854248046875, 0.1566162109375, 0.0423583984375, 0.07666015625, 0.1549072265625, 0.1859130859375, 0.1859130859375,...
embed
45163878_c0
45163878
lisp
0
Title: Creating string and using it as the name of the output file Problem title: Creating string and using it as the name of the output file Tags: string, scheme, ansys, lisp, fluent Problem: Creating string and using it as the name of the output file I have no experience in Scheme programming, but I need to write a f...
Creating string and using it as the name of the output file Creating string and using it as the name of the output file string scheme ansys lisp fluent it Creating flow.dat Creating string and using it as the name of the output file I have no experience in Scheme programming, but I need to write a few lines for my Flue...
[ 0.01953125, 0.000553131103515625, -0.01336669921875, 0.0247802734375, -0.015869140625, 0.003631591796875, 0.01165771484375, 0.00421142578125, 0.00213623046875, 0.0157470703125, -0.005035400390625, -0.01068115234375, -0.00159454345703125, 0.00182342529296875, 0.01129150390625, -0.001861...
[ 56781, 79315, 136, 17368, 442, 237, 9351, 111, 140992, 11435, 150370, 142, 94924, 400, 7008, 155283, 86608, 5164, 16981, 34702, 282, 56037, 3871, 33022, 10846, 124519, 36157, 2517, 40226, 40956, 12638, 720, 86869, 2967, 16750, 118664, 5, 645,...
[ 0.170654296875, 0.28466796875, 0.00250244140625, 0.1246337890625, 0.1466064453125, 0.08673095703125, 0.15087890625, 0.059173583984375, 0.252197265625, 0.220703125, 0.17822265625, 0.06854248046875, 0.18017578125, 0.0828857421875, 0.160888671875, 0.216064453125, 0.21435546875, 0.1992...
embed
59232050_c0
59232050
lisp
0
Title: Varadic zip in Racket Problem title: Varadic zip in Racket Tags: racket, scheme, stream, lisp Problem: Varadic zip in Racket I've seen the other answers on zipping functions in Racket but they are first of all not quite right (a zip should only zip up to the shortest sequence provided so that you can zip with in...
Varadic zip in Racket Varadic zip in Racket racket scheme stream lisp Varadic Racket Varadic zip in Racket I've seen the other answers on zipping functions in Racket but they are first of all not quite right (a zip should only zip up to the shortest sequence provided so that you can zip with infinite streams) and most ...
[ 0.0003719329833984375, 0.0191650390625, -0.024169921875, 0.016845703125, 0.0016326904296875, 0.0130615234375, -0.0108642578125, -0.004486083984375, -0.002044677734375, -0.0224609375, 0.01025390625, -0.0301513671875, -0.0006561279296875, 0.03515625, -0.002899169921875, 0.01904296875, ...
[ 43829, 18403, 68330, 23, 2552, 27853, 673, 150370, 75973, 400, 7008, 35166, 3546, 26783, 32354, 959, 7108, 5608, 4734, 1257, 16610, 525, 40, 944, 62952, 831, 678, 54241, 2487, 6626, 1733, 1810, 4488, 26785, 83, 61924, 186, 50836, 26513, 6...
[ 0.224609375, 0.1861572265625, 0.234375, 0.06439208984375, 0.151123046875, 0.221435546875, 0.1370849609375, 0.150634765625, 0.2227783203125, 0.096435546875, 0.1539306640625, 0.027740478515625, 0.1927490234375, 0.1732177734375, 0.161376953125, 0.0767822265625, 0.07257080078125, 0.024...
embed
48029713_c0
48029713
lisp
0
Title: using the lisp application from AutoCAD with Python 3.5 Problem title: using the lisp application from AutoCAD with Python 3.5 Tags: gml, autolisp, autocad, python, lisp Problem: using the lisp application from AutoCAD with Python 3.5 I have 6000+ .gml files that hold the informations about cadastrial particles....
using the lisp application from AutoCAD with Python 3.5 using the lisp application from AutoCAD with Python 3.5 gml autolisp autocad python lisp the AutoCAD Python using the lisp application from AutoCAD with Python 3.5 I have 6000+ .gml files that hold the informations about cadastrial particles. I also have a .lsp ap...
[ 0.0064697265625, 0.0218505859375, -0.0103759765625, 0.01153564453125, -0.024658203125, 0.0198974609375, 0.0159912109375, 0.00262451171875, -0.0033416748046875, -0.035888671875, 0.016845703125, -0.00102996826171875, -0.01141357421875, -0.0025634765625, 0.000820159912109375, -0.013977050...
[ 17368, 400, 7008, 38415, 1295, 4396, 85427, 678, 145581, 38704, 706, 7237, 1809, 4086, 254, 25426, 17198, 50828, 765, 43877, 1328, 177, 102158, 16401, 32565, 2124, 7655, 2878, 66695, 141, 18, 33022, 18151, 12301, 11435, 123840, 26147, 425, ...
[ 0.07525634765625, 0.1334228515625, 0.23193359375, 0.16357421875, 0.039093017578125, 0.1292724609375, 0.2398681640625, 0.106689453125, 0.277099609375, 0.213623046875, 0.02117919921875, 0.2442626953125, 0.1033935546875, 0.11962890625, 0.1214599609375, 0.138671875, 0.083740234375, 0.0...
embed
16002497_c0
16002497
lisp
0
Title: Lisp illegal function call, Problem title: Lisp illegal function call, Tags: compiler-errors, lisp, common-lisp Problem: Lisp illegal function call, The code below keeps throwing the following error: caught ERROR: illegal function call (LET ((SOLUTION 'NIL) (FIRST 0) (SECOND 0)) (DOLIST (EL LST) (IF (NUMBERP EL)...
Lisp illegal function call, Lisp illegal function call, compiler-errors lisp common-lisp Lisp ERROR SOLUTION NIL FIRST SECOND DOLIST LST NUMBERP PUSH SETF CAR Lisp illegal function call, The code below keeps throwing the following error: Can anyone see why? Syntactically I can't see anything wrong with it. Note: I'm us...
[ -0.005035400390625, 0.0157470703125, 0.004150390625, 0.014404296875, 0.005401611328125, 0.0263671875, -0.009033203125, -0.0162353515625, -0.00689697265625, -0.022216796875, 0.00125885009765625, 0.007415771484375, -0.00946044921875, -0.006195068359375, 0.005950927734375, -0.006286621093...
[ 1261, 7008, 85325, 32354, 11782, 9969, 34759, 188800, 400, 39210, 4086, 254, 151206, 159, 93478, 541, 16444, 133907, 6755, 77980, 6197, 195977, 8545, 109020, 24480, 683, 24584, 12927, 183300, 42476, 18151, 35064, 13695, 104250, 25632, 18499, 35...
[ 0.135009765625, 0.2264404296875, 0.214599609375, 0.15380859375, 0.1634521484375, 0.07879638671875, 0.10870361328125, 0.1409912109375, 0.08648681640625, 0.059539794921875, 0.0947265625, 0.158203125, 0.125244140625, 0.07830810546875, 0.09918212890625, 0.06610107421875, 0.11822509765625...
embed
3382813_c0
3382813
lisp
0
Title: What is the best language in which to write an expert system? Problem title: What is the best language in which to write an expert system? Tags: lisp, expert-system, jess Problem: What is the best language in which to write an expert system? Is LISP or something like Jess the best choice? I'm interested in writi...
What is the best language in which to write an expert system? What is the best language in which to write an expert system? lisp expert-system jess What What is the best language in which to write an expert system? Is LISP or something like Jess the best choice? I'm interested in writing a program that makes a suggesti...
[ 0.0123291015625, 0.0025482177734375, 0.000518798828125, 0.0091552734375, -0.0047607421875, 0.015625, -0.00171661376953125, 0.005706787109375, -0.007080078125, -0.0203857421875, 0.00176239013671875, 0.015625, 0.0068359375, -0.00177001953125, -0.000885009765625, 0.007720947265625, -0.0...
[ 4865, 2965, 46876, 23, 3129, 47, 33022, 142, 26808, 5426, 400, 7008, 16751, 55, 7, 83, 70, 2071, 16970, 9434, 707, 9844, 1884, 117361, 44126, 60892, 32562, 1528, 30482, 199015, 35509, 72095, 35166, 159415, 177229, 959, 31461, 903, 28875, ...
[ 0.058197021484375, 0.203857421875, 0.255126953125, 0.099365234375, 0.078125, 0.06866455078125, 0.215576171875, 0.07867431640625, 0.273193359375, 0.252685546875, 0.11474609375, 0.1864013671875, 0.2056884765625, 0.1435546875, 0.1575927734375, 0.039581298828125, 0.05487060546875, 0.01...
embed
33595748_c0
33595748
lisp
0
Title: Looping through a list and appending to a new one Problem title: Looping through a list and appending to a new one Tags: common-lisp, lisp Problem: Looping through a list and appending to a new one I'm new to Lisp. I'm trying to write a function that will take a list of dotted lists (representing the quantities ...
Looping through a list and appending to a new one Looping through a list and appending to a new one common-lisp lisp 0 Looping Looping through a list and appending to a new one I'm new to Lisp. I'm trying to write a function that will take a list of dotted lists (representing the quantities of coins of a certain value)...
[ -0.0008544921875, -0.01251220703125, -0.0038299560546875, -0.005126953125, -0.0201416015625, 0.0263671875, -0.02734375, 0.029541015625, 0.0208740234375, 0.001251220703125, -0.013671875, -0.007354736328125, -0.007293701171875, 0.0036773681640625, -0.0106201171875, -0.0166015625, 0.011...
[ 199694, 214, 8305, 5303, 136, 1747, 96819, 47, 3525, 1632, 10, 39210, 4086, 254, 400, 7008, 757, 1261, 31577, 33022, 32354, 5646, 20633, 3674, 55247, 102134, 43780, 24233, 34292, 96760, 12638, 151117, 7941, 2060, 30646, 541, 16444, 3095, 25...
[ 0.1922607421875, 0.0718994140625, 0.1915283203125, 0.239013671875, 0.013641357421875, 0.13134765625, 0.1961669921875, 0.143310546875, 0.1060791015625, 0.023895263671875, 0.006500244140625, 0.09112548828125, 0.0787353515625, 0.1114501953125, 0.07891845703125, 0.1964111328125, 0.027221...
embed
48121808_c0
48121808
lisp
0
Title: The result of macro has to be the value of the last expression in the body Problem title: The result of macro has to be the value of the last expression in the body Tags: common-lisp, label, lisp, macros Problem: The result of macro has to be the value of the last expression in the body I have this macro which i...
The result of macro has to be the value of the last expression in the body The result of macro has to be the value of the last expression in the body common-lisp label lisp macros The result of macro has to be the value of the last expression in the body I have this macro which is a "for" loop and it works great. But i...
[ 0.020751953125, -0.001739501953125, -0.00946044921875, -0.004364013671875, -0.0113525390625, 0.02392578125, -0.0004596710205078125, 0.00341796875, 0.0140380859375, -0.03662109375, 0.003082275390625, -0.005279541015625, 0.0079345703125, -0.00933837890625, 0.0257568359375, -0.02502441406...
[ 16750, 111, 111789, 1556, 47, 186, 34292, 4568, 125195, 23, 14361, 39210, 4086, 254, 67967, 400, 7008, 2472, 40956, 43240, 6782, 3871, 70, 5036, 18151, 11343, 6, 17324, 54 ]
[ 0.247314453125, 0.10504150390625, 0.26025390625, 0.1068115234375, 0.057891845703125, 0.07086181640625, 0.1851806640625, 0.1851806640625, 0.240234375, 0.0226593017578125, 0.182861328125, 0.09619140625, 0.058624267578125, 0.1224365234375, 0.16796875, 0.0455322265625, 0.1436767578125, ...
embed
78272706_c1
78272706
lisp
1
. The desired result is shown on the right side of the picture. I can do this task manually in autocad using the Explode command to the first hatch and then add a second hatch. But I need to implement this using Python. I was also advised a method where WipeOut and SuperHatch are used, but I still haven't figured out h...
. The desired result is shown on the right side of the picture. I can do this task manually in autocad using the Explode command to the first hatch and then add a second hatch. But I need to implement this using Python. I was also advised a method where WipeOut and SuperHatch are used, but I still haven't figured out h...
[ 0.002838134765625, 0.006072998046875, -0.0166015625, 0.0255126953125, -0.021240234375, 0.0036468505859375, 0.0022125244140625, 0.0050048828125, 0.009521484375, 0.00408935546875, 0.0211181640625, 0.0142822265625, 0.00457763671875, -0.00836181640625, 0.00958251953125, -0.02197265625, 0...
[ 6, 104851, 71, 16750, 127887, 7108, 5609, 49726, 831, 54, 903, 66211, 23009, 1809, 25426, 98873, 112, 75101, 47, 5117, 1256, 206, 15190, 10, 17932, 3871, 29479, 17368, 145581, 115992, 55300, 5140, 1081, 79858, 4265, 6495, 18, 11814, 18151, ...
[ 0.010101318359375, 0.1759033203125, 0.0989990234375, 0.195556640625, 0.1119384765625, 0.1019287109375, 0.1248779296875, 0.141357421875, 0.0215606689453125, 0.027740478515625, 0.05621337890625, 0.182373046875, 0.125, 0.1036376953125, 0.210205078125, 0.227294921875, 0.1240234375, 0.1...
embed
256507_c1
256507
lisp
1
what is the correct way to do the memoization here? Is there any way to have all calls to the original function call the memoized version itself, removing the need for the special m-collatz-steps symbol? EDIT: Corrected the code to have (defvar m-collatz-steps (memoize #'collatz-steps)) which is what I had in my code....
what is the correct way to do the memoization here? Is there any way to have all calls to the original function call the memoized version itself, removing the need for the special m-collatz-steps symbol? EDIT: Corrected the code to have (defvar m-collatz-steps (memoize #'collatz-steps)) which is what I had in my code....
[ -0.0101318359375, -0.0069580078125, 0.004974365234375, -0.01519775390625, 0.0115966796875, 0.0021820068359375, 0.0025634765625, 0.005828857421875, 0.02099609375, -0.037841796875, 0.0096435546875, -0.002349853515625, 0.0133056640625, 0.017822265625, 0.0166015625, 0.0191650390625, -0.0...
[ 2367, 26785, 3917, 47, 54, 163, 432, 47691, 3688, 765, 756, 11782, 7, 7311, 32354, 29367, 11389, 68034, 49146, 3871, 5361, 347, 181989, 9136, 95528, 26582, 46348, 18151, 112, 420, 1961, 282, 20650, 468, 27211, 70426, 3884, 65780, 18499, 1...
[ 0.030120849609375, 0.1513671875, 0.0982666015625, 0.07733154296875, 0.07470703125, 0.1575927734375, 0.2001953125, 0.1962890625, 0.101806640625, 0.03533935546875, 0.09649658203125, 0.19287109375, 0.0638427734375, 0.1278076171875, 0.166015625, 0.16015625, 0.1419677734375, 0.115478515...
embed
45219570_c0
45219570
lisp
0
Title: LISP parameter binding Problem title: LISP parameter binding Tags: lisp, binding, common-lisp, parameters Problem: LISP parameter binding I have to define a LISP function that assigns to a parameter the result of another function, like this: (defun assign-param (x) (defparameter param (generic-funct x))) the res...
LISP parameter binding LISP parameter binding lisp binding common-lisp parameters LISP PARAM Warning DEFVAR Users Desktop LISP parameter binding I have to define a LISP function that assigns to a parameter the result of another function, like this: the result of assign-param is PARAM , at the first call. If i do anothe...
[ -0.01165771484375, 0.028564453125, -0.01263427734375, -0.003936767578125, -0.009521484375, 0.0157470703125, 0.004608154296875, 0.0076904296875, 0.0108642578125, -0.0296630859375, 0.00128936767578125, -0.0125732421875, -0.000705718994140625, 0.002288818359375, 0.01275634765625, 0.000804...
[ 16970, 9434, 171859, 128239, 400, 7008, 39210, 4086, 254, 25401, 594, 5550, 592, 202001, 61784, 53400, 141423, 765, 61924, 32354, 95486, 47, 16750, 15700, 6276, 39, 83, 99, 5117, 11782, 4263, 54, 30646, 13438, 3917, 37842, 17368, 8, 420, ...
[ 0.1510009765625, 0.2489013671875, 0.258544921875, 0.2069091796875, 0.119873046875, 0.183837890625, 0.076904296875, 0.1104736328125, 0.1671142578125, 0.1650390625, 0.1573486328125, 0.1190185546875, 0.06622314453125, 0.1678466796875, 0.210693359375, 0.135986328125, 0.1904296875, 0.00...
embed
6360737_c0
6360737
lisp
0
Title: Generating LLVM code for &#x27;lambda&#x27;, &#x27;define&#x27; Problem title: Generating LLVM code for &#x27;lambda&#x27;, &#x27;define&#x27; Tags: compiler-construction, llvm, lisp, language-design, haskell Problem: Generating LLVM code for 'lambda', 'define' So I now have a fairly complete LISP (scheme) inter...
Generating LLVM code for &#x27;lambda&#x27;, &#x27;define&#x27; Generating LLVM code for &#x27;lambda&#x27;, &#x27;define&#x27; compiler-construction llvm lisp language-design haskell Generating LLVM Generating LLVM code for 'lambda', 'define' So I now have a fairly complete LISP (scheme) interpreter written in haskell...
[ 0.01416015625, 0.0238037109375, -0.00714111328125, 0.005767822265625, 0.00811767578125, 0.00139617919921875, 0.0166015625, -0.013671875, -0.00439453125, -0.025146484375, -0.0242919921875, -0.044189453125, -0.00099945068359375, 0.0081787109375, 0.01513671875, -0.000583648681640625, -0...
[ 155370, 1916, 99954, 47599, 18151, 100, 3768, 143, 6492, 85, 112, 64552, 9969, 34759, 238478, 3723, 400, 7008, 46876, 34198, 1556, 142508, 28484, 16970, 9434, 7560, 282, 29481, 56, 7477, 9790, 1340, 7565, 47, 58093, 80560, 40225, 86669, 364...
[ 0.1737060546875, 0.0249786376953125, 0.1011962890625, 0.26123046875, 0.215576171875, 0.039520263671875, 0.035614013671875, 0.057525634765625, 0.195556640625, 0.1619873046875, 0.111083984375, 0.2344970703125, 0.0770263671875, 0.1226806640625, 0.03271484375, 0.09515380859375, 0.0726928...
embed
73869150_c0
73869150
lisp
0
Title: LISP Program for making a SImple Summation formula Σi. My code is Returning NIL and then the value I want, Can i not get NIL somehow? Problem title: LISP Program for making a SImple Summation formula Σi. My code is Returning NIL and then the value I want, Can i not get NIL somehow? Tags: lisp Problem: LISP Progr...
LISP Program for making a SImple Summation formula Σi. My code is Returning NIL and then the value I want, Can i not get NIL somehow? LISP Program for making a SImple Summation formula Σi. My code is Returning NIL and then the value I want, Can i not get NIL somehow? lisp n LISP Program SImple Summation Returning NIL C...
[ -0.0167236328125, 0.012451171875, 0.00185394287109375, 0.01104736328125, -0.019775390625, 0.005035400390625, 0.039306640625, 0.0101318359375, 0.00531005859375, -0.018798828125, 0.01104736328125, 0.00012493133544921875, -0.01507568359375, -0.0111083984375, -0.00063323974609375, 0.007934...
[ 16970, 9434, 7663, 100, 20662, 10000, 33209, 131150, 1363, 26168, 14, 18151, 173340, 541, 16444, 34292, 3444, 4171, 2046, 209303, 5127, 959, 400, 7008, 653, 7068, 43240, 8647, 43731, 17368, 40956, 55300, 13695, 30646, 7108, 8108, 759, 7279, ...
[ 0.132568359375, 0.206298828125, 0.2076416015625, 0.012542724609375, 0.071533203125, 0.11962890625, 0.1741943359375, 0.2296142578125, 0.07220458984375, 0.1744384765625, 0.10284423828125, 0.168701171875, 0.1441650390625, 0.1136474609375, 0.1993408203125, 0.13818359375, 0.0987548828125,...
embed
74916421_c0
74916421
lisp
0
Title: Lisp - allow variable to be used *or* unused? Problem title: Lisp - allow variable to be used *or* unused? Tags: common-lisp, lisp, compiler-warnings, sbcl, unused-variables Problem: Lisp - allow variable to be used *or* unused? If I (declare (ignore foo)) then lisp* won't warn me about unused variables, but wil...
Lisp - allow variable to be used *or* unused? Lisp - allow variable to be used *or* unused? common-lisp lisp compiler-warnings sbcl unused-variables Lisp Lisp - allow variable to be used *or* unused? If I (declare (ignore foo)) then lisp* won't warn me about unused variables, but will warn if I do use the variable. Is ...
[ 0.0035247802734375, 0.006988525390625, -0.002593994140625, -0.0184326171875, -0.0255126953125, 0.01007080078125, -0.007415771484375, 0.00885009765625, -0.01318359375, -0.0101318359375, -0.010986328125, 0.003875732421875, 0.0007781982421875, 0.01904296875, 0.01092529296875, 0.0008316040...
[ 1261, 7008, 63769, 77336, 11814, 51, 33740, 748, 39210, 4086, 254, 400, 9969, 34759, 4205, 6977, 34937, 21690, 19736, 50718, 38103, 167790, 5775, 31, 1639, 1631, 4527, 831, 15504, 5773, 33022, 111789, 65508, 66589, 123055, 38415, 159978, 18, ...
[ 0.1650390625, 0.2158203125, 0.162109375, 0.247314453125, 0.16357421875, 0.0770263671875, 0.2020263671875, 0.044921875, 0.113037109375, 0.10595703125, 0.1578369140625, 0.114501953125, 0.03472900390625, 0.0748291015625, 0.105712890625, 0.1268310546875, 0.0771484375, 0.0953369140625, ...
embed
4572608_c0
4572608
lisp
0
Title: Porting a piece of Lisp code to Clojure (PAIP) Problem title: Porting a piece of Lisp code to Clojure (PAIP) Tags: clojure, common-lisp, lisp, artificial-intelligence Problem: Porting a piece of Lisp code to Clojure (PAIP) I'm reading Paradigms of Artificial Intelligence Programming (PAIP) by Peter Norvig and I'...
Porting a piece of Lisp code to Clojure (PAIP) Porting a piece of Lisp code to Clojure (PAIP) clojure common-lisp lisp artificial-intelligence Porting Lisp Clojure PAIP Article Noun Verb English Porting a piece of Lisp code to Clojure (PAIP) I'm reading Paradigms of Artificial Intelligence Programming (PAIP) by Peter N...
[ -0.007476806640625, 0.0205078125, -0.019287109375, 0.0203857421875, -0.000919342041015625, 0.005950927734375, -0.005645751953125, -0.0179443359375, -0.007080078125, -0.038818359375, 0.00689697265625, 0.002227783203125, -0.01470947265625, 0.0050048828125, 0.00775146484375, -0.0030059814...
[ 13791, 214, 63847, 1261, 7008, 18151, 47, 51053, 461, 107, 12236, 10931, 20450, 39210, 4086, 254, 400, 66733, 130687, 11107, 24241, 438, 309, 1446, 14941, 16454, 1720, 4803, 231996, 157075, 27958, 7948, 12876, 24299, 31577, 33022, 756, 23, ...
[ 0.1837158203125, 0.0452880859375, 0.169677734375, 0.155517578125, 0.21923828125, 0.21484375, 0.1094970703125, 0.151611328125, 0.188232421875, 0.1593017578125, 0.1522216796875, 0.17431640625, 0.1270751953125, 0.099609375, 0.114990234375, 0.1455078125, 0.10638427734375, 0.07482910156...
embed
13393566_c0
13393566
lisp
0
Title: Scheme if pair end with a space char,the result will have one dot between two element Problem title: Scheme if pair end with a space char,the result will have one dot between two element Tags: sicp, scheme, lisp Problem: Scheme if pair end with a space char,the result will have one dot between two element if pai...
Scheme if pair end with a space char,the result will have one dot between two element Scheme if pair end with a space char,the result will have one dot between two element sicp scheme lisp Scheme Value RESTART Scheme if pair end with a space char,the result will have one dot between two element if pair end with a space...
[ 0.000919342041015625, 0.028076171875, -0.0101318359375, 0.013427734375, -0.0086669921875, 0.0064697265625, -0.00848388671875, -0.01300048828125, -0.00701904296875, -0.01904296875, 0.0169677734375, -0.0036163330078125, -0.0223388671875, -0.0250244140625, -0.00750732421875, -0.033203125,...
[ 34702, 282, 2174, 80836, 3564, 678, 32628, 21441, 16750, 1632, 20633, 17721, 6626, 12830, 26536, 254, 150370, 400, 7008, 190060, 627, 21828, 47136, 1221, 15400, 34292, 70541, 14602, 5, 29459, 37202, 110833, 4734, 3444, 3714, 5117, 125195, 28,...
[ 0.19921875, 0.1341552734375, 0.03387451171875, 0.2138671875, 0.1319580078125, 0.01531982421875, 0.15185546875, 0.1905517578125, 0.2340087890625, 0.14306640625, 0.26953125, 0.1207275390625, 0.10382080078125, 0.1881103515625, 0.05035400390625, 0.0968017578125, 0.2059326171875, 0.0242...
embed
51993716_c0
51993716
lisp
0
Title: Lisp why are my objects of the same instance? Problem title: Lisp why are my objects of the same instance? Tags: common-lisp, lisp, arrays Problem: Lisp why are my objects of the same instance? So I wanted to remake a program that uses lists for containing objects and replace the lists with arrays. And I ran int...
Lisp why are my objects of the same instance? Lisp why are my objects of the same instance? common-lisp lisp arrays Lisp OBJECT Lisp why are my objects of the same instance? So I wanted to remake a program that uses lists for containing objects and replace the lists with arrays. And I ran into a problem in which my obj...
[ 0.00921630859375, 0.0103759765625, -0.00347900390625, 0.010009765625, -0.0067138671875, 0.007232666015625, -0.01025390625, 0.02783203125, 0.0279541015625, -0.00775146484375, -0.0135498046875, -0.00921630859375, 0.01531982421875, -0.004791259765625, 0.0025787353515625, -0.0230712890625,...
[ 1261, 7008, 15400, 621, 759, 36746, 7, 111, 5701, 110527, 39210, 4086, 254, 400, 10298, 4778, 150260, 55898, 1528, 5303, 70541, 91995, 2967, 83, 3509, 864, 187, 42, 19305, 138, 62766, 116071, 187694, 20314, 2886, 808, 116115, 38496, 8439, ...
[ 0.149658203125, 0.1944580078125, 0.15380859375, 0.060272216796875, 0.1168212890625, 0.22900390625, 0.1048583984375, 0.11181640625, 0.169189453125, 0.20166015625, 0.0758056640625, 0.1240234375, 0.1614990234375, 0.1292724609375, 0.09228515625, 0.08721923828125, 0.114013671875, 0.0266...
embed
1310783_c0
1310783
lisp
0
Title: How to read input until EOF in Lisp Problem title: How to read input until EOF in Lisp Tags: common-lisp, lisp, eof Problem: How to read input until EOF in Lisp How do I read an input stream until EOF in Lisp? In C, you might do it like this: while ((c = getchar()) != EOF) { // Loop body... } I would like to be ...
How to read input until EOF in Lisp How to read input until EOF in Lisp common-lisp lisp eof How EOF Lisp Loop How to read input until EOF in Lisp How do I read an input stream until EOF in Lisp? In C, you might do it like this: I would like to be able to pipe data to my Lisp programs without having to specify the data...
[ -0.0030975341796875, 0.001129150390625, -0.0052490234375, 0.007080078125, 0.005767822265625, -0.00384521484375, 0.0186767578125, -0.0081787109375, -0.00933837890625, -0.05859375, -0.004180908203125, -0.02734375, 0.0034942626953125, 0.00848388671875, 0.01239013671875, -0.03173828125, ...
[ 11249, 12301, 107730, 24189, 241, 82341, 23, 1261, 7008, 47, 39210, 4086, 254, 400, 28, 4390, 199694, 54, 75973, 360, 313, 1884, 19048, 137158, 2053, 103391, 15490, 40140, 13267, 129745, 27781, 5036, 40956, 77336, 19, 58735, 14012, 124519, ...
[ 0.06201171875, 0.221923828125, 0.2398681640625, 0.1712646484375, 0.111572265625, 0.305419921875, 0.07958984375, 0.1697998046875, 0.240966796875, 0.0560302734375, 0.055694580078125, 0.10467529296875, 0.13623046875, 0.08941650390625, 0.0364990234375, 0.205810546875, 0.157958984375, 0...
embed
43210131_c0
43210131
lisp
0
Title: Option type encoding / robustness in Lisp Problem title: Option type encoding / robustness in Lisp Tags: robustness, lisp, functional-programming, option-type Problem: Option type encoding / robustness in Lisp (define (nth n lst) (if (= n 1) (car lst) (nth (- n 1) (cdr lst) ))) is an unsafe partial function, n m...
Option type encoding / robustness in Lisp Option type encoding / robustness in Lisp robustness lisp functional-programming option-type Option Lisp Maybe Nothing Just Option type encoding / robustness in Lisp is an unsafe partial function, n may go out of range. An error can be helpful, But what would a robust Scheme an...
[ 0.0123291015625, -0.00067901611328125, 0.0277099609375, -0.0106201171875, 0.004638671875, 0.00095367431640625, 0.0213623046875, 0.002532958984375, -0.003448486328125, -0.00848388671875, -0.005218505859375, -0.034423828125, -0.007568359375, -0.00982666015625, -0.00109100341796875, 0.007...
[ 86769, 10644, 22, 587, 60627, 7432, 1261, 7008, 6238, 400, 123309, 28966, 35829, 50986, 83425, 182747, 23, 51, 115840, 2878, 32354, 653, 1543, 738, 1810, 37457, 18499, 98893, 2806, 34702, 282, 60223, 13388, 20625, 142508, 2053, 6713, 1884, ...
[ 0.2437744140625, 0.2232666015625, 0.05615234375, 0.169189453125, 0.22021484375, 0.07513427734375, 0.154296875, 0.2166748046875, 0.0182037353515625, 0.11175537109375, 0.112060546875, 0.0704345703125, 0.204833984375, 0.1876220703125, 0.2403564453125, 0.137939453125, 0.0126800537109375,...
embed
73927844_c0
73927844
lisp
0
Title: How can I avoid package/character errors in (read) in Common Lisp? Problem title: How can I avoid package/character errors in (read) in Common Lisp? Tags: sbcl, lisp, common-lisp Problem: How can I avoid package/character errors in (read) in Common Lisp? I'm getting some surprising errors when I try to input a s...
How can I avoid package/character errors in (read) in Common Lisp? How can I avoid package/character errors in (read) in Common Lisp? sbcl lisp common-lisp How Common Lisp II:hello III:hi Package HELLO III How can I avoid package/character errors in (read) in Common Lisp? I'm getting some surprising errors when I try t...
[ 0.00390625, -0.01007080078125, 0.00848388671875, -0.004302978515625, -0.01513671875, 0.00579833984375, 0.021728515625, -0.006317138671875, -0.006072998046875, -0.0242919921875, 0.0220947265625, -0.02001953125, 0.0150146484375, -0.0091552734375, 0.00433349609375, -0.0093994140625, -0....
[ 11249, 831, 71864, 98169, 9254, 2263, 720, 18499, 7, 23, 39116, 151301, 1261, 7008, 34937, 400, 39210, 4086, 254, 1995, 127, 13817, 4830, 979, 56607, 572, 174444, 212615, 9790, 107730, 79315, 17368, 33976, 7665, 46876, 146, 4923, 124850, 15...
[ 0.045013427734375, 0.03839111328125, 0.197021484375, 0.227783203125, 0.046417236328125, 0.0672607421875, 0.05755615234375, 0.23779296875, 0.054656982421875, 0.060546875, 0.253662109375, 0.1920166015625, 0.16162109375, 0.2012939453125, 0.1092529296875, 0.0989990234375, 0.1358642578125...
embed
67124190_c0
67124190
lisp
0
Title: Multiple Commands Within a Lisp Routine Problem title: Multiple Commands Within a Lisp Routine Tags: data-extraction, autocad, autolisp, lisp Problem: Multiple Commands Within a Lisp Routine Please help me with a small issue. I have the following .lsp and it needs to be slightly updated, but i can't seem to find...
Multiple Commands Within a Lisp Routine Multiple Commands Within a Lisp Routine data-extraction autocad autolisp lisp Multiple Commands Within Lisp Routine TTT C:123 _.Zoom TEXT C:TTT Multiple Commands Within a Lisp Routine Please help me with a small issue. I have the following .lsp and it needs to be slightly updated...
[ 0.005401611328125, 0.007415771484375, -0.00823974609375, 0.038330078125, -0.02978515625, -0.0052490234375, 0.00170135498046875, -0.00531005859375, 0.0152587890625, 0.0002422332763671875, 0.018310546875, 0.017333984375, -0.006591796875, -0.0146484375, 0.01348876953125, 0.00909423828125,...
[ 19335, 8705, 123573, 17106, 73, 1261, 7008, 56709, 10325, 2053, 3355, 117474, 1809, 25426, 4086, 254, 400, 177697, 48636, 60551, 306, 13018, 70981, 4358, 19336, 31089, 25632, 5, 141, 27117, 161549, 150011, 29806, 3444, 111245, 192961, 36849, ...
[ 0.17431640625, 0.1229248046875, 0.30712890625, 0.0880126953125, 0.1204833984375, 0.167236328125, 0.235595703125, 0.178466796875, 0.1785888671875, 0.085693359375, 0.07147216796875, 0.1016845703125, 0.0697021484375, 0.1324462890625, 0.0885009765625, 0.133544921875, 0.114990234375, 0....
embed
35058220_c0
35058220
lisp
0
Title: A function which identifies how many times a string is included in another one in lisp Problem title: A function which identifies how many times a string is included in another one in lisp Tags: common-lisp, lisp Problem: A function which identifies how many times a string is included in another one in lisp I bl...
A function which identifies how many times a string is included in another one in lisp A function which identifies how many times a string is included in another one in lisp common-lisp lisp string1 string2 chaine2 A function which identifies how many times a string is included in another one in lisp I block to program...
[ -0.004241943359375, 0.006103515625, -0.0281982421875, 0.050048828125, -0.0037078857421875, 0.01446533203125, 0.00958251953125, -0.004730224609375, 0.007171630859375, -0.0361328125, 0.003814697265625, -0.006500244140625, -0.0108642578125, 0.01708984375, 0.01953125, 0.007476806640625, ...
[ 62, 32354, 3129, 42485, 90, 3642, 5941, 20028, 79315, 99201, 23, 15700, 400, 7008, 1632, 39210, 4086, 254, 418, 304, 121293, 13, 46389, 1528, 16188, 37842, 18499, 24428, 997, 2055, 238, 83, 959, 10, 14012 ]
[ 0.0213165283203125, 0.2337646484375, 0.0213775634765625, 0.161865234375, 0.037353515625, 0.07855224609375, 0.1695556640625, 0.213134765625, 0.23974609375, 0.2091064453125, 0.0733642578125, 0.0975341796875, 0.148193359375, 0.2103271484375, 0.0296173095703125, 0.1070556640625, 0.099609...
embed
5409418_c0
5409418
lisp
0
Title: How to dynamically wrap existing functions, such as for a profiler? Problem title: How to dynamically wrap existing functions, such as for a profiler? Tags: sbcl, macros, lisp, function Problem: How to dynamically wrap existing functions, such as for a profiler? I am new at Lisp, and am trying different things o...
How to dynamically wrap existing functions, such as for a profiler? How to dynamically wrap existing functions, such as for a profiler? sbcl macros lisp function How How to dynamically wrap existing functions, such as for a profiler? I am new at Lisp, and am trying different things out to improve my skills. I want to w...
[ -0.004150390625, 0.01422119140625, 0.005767822265625, -0.005096435546875, -0.00970458984375, 0.0206298828125, -0.0113525390625, 0.0022430419921875, -0.00146484375, -0.05029296875, -0.004150390625, 0.01336669921875, -0.0272216796875, -0.0185546875, 0.0267333984375, -0.0023651123046875, ...
[ 11249, 47, 84079, 25958, 137565, 144573, 32354, 7, 100, 105609, 275, 34937, 111789, 400, 7008, 3525, 1261, 52295, 59376, 3444, 33022, 5423, 8108, 7103, 3173, 92933, 2970, 45819, 150624, 25318, 67660, 98169, 144851, 81273, 18151, 241522, 80234, ...
[ 0.1009521484375, 0.054290771484375, 0.2252197265625, 0.129150390625, 0.276123046875, 0.245361328125, 0.25341796875, 0.05316162109375, 0.0828857421875, 0.262939453125, 0.02972412109375, 0.1260986328125, 0.222900390625, 0.0994873046875, 0.1923828125, 0.0203094482421875, 0.1248779296875...
embed
19152012_c0
19152012
lisp
0
Title: Call several functions with the same value Problem title: Call several functions with the same value Tags: lisp, common-lisp Problem: Call several functions with the same value I have various functions and I want to call each function with the same value. For instance, I have these functions: (defun OP1 (arg) ( ...
Call several functions with the same value Call several functions with the same value lisp common-lisp Call OP1 OP2 OP3 OPERATORS TEST Call several functions with the same value I have various functions and I want to call each function with the same value. For instance, I have these functions: And a list containing the...
[ 0.0052490234375, -0.00836181640625, 0.00531005859375, 0.0003757476806640625, -0.00592041015625, -0.00958251953125, 0.01409912109375, -0.012451171875, 0.007293701171875, -0.038330078125, -0.00994873046875, 0.00153350830078125, -0.00537109375, 0.0135498046875, 0.0026397705078125, -0.0092...
[ 26265, 40368, 32354, 7, 678, 5701, 34292, 400, 7008, 39210, 4086, 254, 28023, 418, 304, 363, 205574, 27010, 384, 21828, 765, 67842, 3444, 47, 11782, 12638, 110527, 6097, 5303, 70541, 214, 9351, 2060, 31577, 272, 37842, 17368, 28, 1405, 22...
[ 0.1876220703125, 0.1937255859375, 0.25634765625, 0.0799560546875, 0.0831298828125, 0.15673828125, 0.208740234375, 0.1126708984375, 0.1807861328125, 0.122802734375, 0.087646484375, 0.15771484375, 0.127685546875, 0.009521484375, 0.0511474609375, 0.0850830078125, 0.1588134765625, 0.04...
embed
20081683_c1
20081683
lisp
1
@more))) ") (defvar end-of-token 0) (defvar first-token 0) (defun functions-in-string (code) (let ((bpos (position #\( code))) (unless (null bpos) (setq end-of-token (+ bpos (position #\Space (subseq code bpos)))) (setq first-token (subseq code (incf bpos) end-of-token)) (ignore-errors (format t "Found function: '~(~A~...
@more))) ") (defvar end-of-token 0) (defvar first-token 0) (defun functions-in-string (code) (let ((bpos (position #\( code))) (unless (null bpos) (setq end-of-token (+ bpos (position #\Space (subseq code bpos)))) (setq first-token (subseq code (incf bpos) end-of-token)) (ignore-errors (format t "Found function: '~(~A~...
[ -0.0016632080078125, 0.017333984375, -0.0062255859375, 0.0194091796875, -0.01214599609375, 0.01470947265625, 0.022705078125, -0.005584716796875, -0.010498046875, -0.037353515625, -0.0069580078125, -0.004852294921875, -0.02001953125, -0.0172119140625, 0.0034637451171875, -0.006103515625...
[ 1374, 17678, 32149, 44, 16, 112, 420, 1961, 3564, 4390, 6448, 33, 757, 5117, 16498, 32354, 73, 91693, 40899, 1974, 7522, 40322, 18151, 139550, 15, 3509, 864, 22183, 141012, 22144, 184, 67466, 167790, 13, 188800, 51727, 808, 27591, 7030, 2...
[ 0.103759765625, 0.19287109375, 0.178955078125, 0.046234130859375, 0.0169830322265625, 0.1124267578125, 0.08154296875, 0.1490478515625, 0.1309814453125, 0.1500244140625, 0.1571044921875, 0.08935546875, 0.129150390625, 0.09918212890625, 0.1697998046875, 0.1905517578125, 0.10205078125, ...
embed
11216594_c0
11216594
lisp
0
Title: What would be the equivalent of this Python hash writting/accessing code on some lisp languages? Problem title: What would be the equivalent of this Python hash writting/accessing code on some lisp languages? Tags: clojure, data-structures, lisp, scheme, python Problem: What would be the equivalent of this Pytho...
What would be the equivalent of this Python hash writting/accessing code on some lisp languages? What would be the equivalent of this Python hash writting/accessing code on some lisp languages? clojure data-structures lisp scheme python What Python Player __init__ self.hp self.pos self.items player.damage player.pos pl...
[ -0.01092529296875, 0.033447265625, -0.00360107421875, 0.0115966796875, -0.01116943359375, -0.00982666015625, -0.0024871826171875, 0.006927490234375, 0.0022125244140625, -0.02734375, 0.011474609375, 0.0234375, 0.0137939453125, 0.0028076171875, -0.00927734375, -0.020263671875, -0.00534...
[ 2806, 183234, 903, 145581, 1556, 127, 2783, 113041, 18151, 400, 7008, 46876, 20450, 461, 107, 2053, 137656, 150370, 17198, 50828, 4865, 60560, 5953, 73, 217, 14005, 15970, 254, 7522, 1486, 58585, 18898, 429, 9007, 3611, 5, 51053, 1261, 7, ...
[ 0.037841796875, 0.1488037109375, 0.0760498046875, 0.24560546875, 0.1732177734375, 0.1195068359375, 0.09136962890625, 0.1453857421875, 0.1705322265625, 0.0975341796875, 0.1513671875, 0.112060546875, 0.1009521484375, 0.1414794921875, 0.10009765625, 0.0469970703125, 0.1107177734375, 0...
embed
8707940_c0
8707940
lisp
0
Title: Clojure - Quoting Confusion Problem title: Clojure - Quoting Confusion Tags: clojure, lisp, macros Problem: Clojure - Quoting Confusion Sorry for the terribly vague title :) I am new to macros and am having trouble understanding the difference between these two statements: `(+ 1 2 ~(+ 2 3)) ; => (clojure.core/+ ...
Clojure - Quoting Confusion Clojure - Quoting Confusion clojure lisp macros Clojure Quoting Confusion clojure.core Clojure - Quoting Confusion Sorry for the terribly vague title :) I am new to macros and am having trouble understanding the difference between these two statements: When I run them without the unquote, th...
[ 0.0191650390625, 0.0269775390625, 0.00933837890625, 0.002655029296875, -0.0174560546875, 0.0086669921875, -0.0021514892578125, -0.003082275390625, -0.003326416015625, 0.00787353515625, -0.030517578125, -0.0240478515625, 0.00262451171875, -0.0037078857421875, -0.01708984375, 0.006317138...
[ 51053, 461, 107, 43851, 1916, 1657, 92105, 20450, 400, 7008, 111789, 30854, 6261, 44759, 7, 63134, 100094, 60212, 17721, 6626, 63805, 11675, 15490, 51, 68726, 48903, 31943, 7002, 151138, 55681, 9473, 20209, 242, 15044, 66747, 26818, 5303, 154...
[ 0.13330078125, 0.168701171875, 0.1341552734375, 0.150390625, 0.09320068359375, 0.046417236328125, 0.1947021484375, 0.1385498046875, 0.056121826171875, 0.166259765625, 0.1798095703125, 0.1658935546875, 0.00872802734375, 0.00262451171875, 0.056549072265625, 0.016937255859375, 0.0731201...
embed
37366822_c1
37366822
lisp
1
(aconser '(2)) ; ((1) 2) My problem here is that aconser must retain a pointer to the environment it was created in, namely that of conser when is was produced via the invocation (conser '(1)) . When aconser the PROC is applied, its frame must point to the frame of conser that existed when aconser was defined, so I ca...
(aconser '(2)) ; ((1) 2) My problem here is that aconser must retain a pointer to the environment it was created in, namely that of conser when is was produced via the invocation (conser '(1)) . When aconser the PROC is applied, its frame must point to the frame of conser that existed when aconser was defined, so I ca...
[ -0.001373291015625, 0.022216796875, -0.0098876953125, 0.020751953125, -0.00811767578125, 0.0103759765625, 0.0002994537353515625, 0.019287109375, 0.01141357421875, -0.054443359375, -0.00189208984375, 0.01226806640625, 0.005828857421875, -0.00665283203125, 0.0089111328125, -0.00512695312...
[ 11, 25553, 56, 40970, 2819, 27750, 4958, 2967, 3688, 10, 8110, 112033, 73, 6275, 47, 65998, 75935, 23, 158, 2189, 181653, 1829, 202010, 10514, 441, 190659, 123789, 13835, 61924, 831, 18, 4092, 111, 7103, 59911, 3642, 2965, 98323, 137272, ...
[ 0.1043701171875, 0.1676025390625, 0.2587890625, 0.0809326171875, 0.002349853515625, 0.0362548828125, 0.0269012451171875, 0.1209716796875, 0.005279541015625, 0.1199951171875, 0.0975341796875, 0.1400146484375, 0.09405517578125, 0.20703125, 0.056060791015625, 0.19287109375, 0.1392822265...
embed
50637524_c0
50637524
lisp
0
Title: why define-syntax of or in scheme need consider three conditions? Problem title: why define-syntax of or in scheme need consider three conditions? Tags: racket, lisp, functional-programming, scheme Problem: why define-syntax of or in scheme need consider three conditions? I'm reading the scheme programming langu...
why define-syntax of or in scheme need consider three conditions? why define-syntax of or in scheme need consider three conditions? racket lisp functional-programming scheme why define-syntax of or in scheme need consider three conditions? I'm reading the scheme programming language , in chapter 3, the book use define-...
[ -0.0152587890625, 0.0299072265625, -0.00165557861328125, 0.00043487548828125, -0.00762939453125, -0.0028533935546875, -0.0130615234375, 0.01141357421875, -0.0032806396484375, 0.00567626953125, -0.00145721435546875, -0.025146484375, -0.0230712890625, -0.003692626953125, 0.015869140625, ...
[ 15400, 61924, 12654, 86531, 111, 707, 23, 150370, 3871, 16916, 17262, 27289, 673, 27853, 400, 7008, 123309, 28966, 56037, 46876, 138, 12877, 4527, 136, 50491, 80934, 83, 214552, 26785, 44084, 109921, 5701, 44691 ]
[ 0.1175537109375, 0.203369140625, 0.1376953125, 0.1934814453125, 0.1171875, 0.2529296875, 0.07147216796875, 0.2132568359375, 0.09844970703125, 0.129150390625, 0.2103271484375, 0.2374267578125, 0.0183563232421875, 0.14208984375, 0.041473388671875, 0.139404296875, 0.1072998046875, 0.1...
embed
34846531_c0
34846531
lisp
0
Title: Show Parentheses When Inside Them - Emacs Problem title: Show Parentheses When Inside Them - Emacs Tags: paredit, lisp, emacs, elisp Problem: Show Parentheses When Inside Them - Emacs In emacs there is a mode show-paren-mode which colors the opposite matching parenthesis when the cursor is on the other. I wrote ...
Show Parentheses When Inside Them - Emacs Show Parentheses When Inside Them - Emacs paredit lisp emacs elisp Show Parentheses When Inside Them Emacs Show Parentheses When Inside Them - Emacs In emacs there is a mode show-paren-mode which colors the opposite matching parenthesis when the cursor is on the other. I wrote ...
[ -0.017333984375, 0.0101318359375, -0.009033203125, 0.017333984375, -0.0038299560546875, 0.0322265625, -0.00927734375, 0.020263671875, -0.009765625, 0.0205078125, -0.005279541015625, -0.00109100341796875, -0.022216796875, 0.00701904296875, 0.000911712646484375, -0.01416015625, -0.0225...
[ 17367, 170918, 35412, 90, 14847, 187040, 581, 39, 85269, 4439, 366, 45082, 7008, 352, 2263, 7, 13736, 7639, 2500, 33, 61170, 104988, 198274, 14858, 49129, 160291, 3229, 13810, 42, 3789, 27781, 73342, 959, 4488, 98, 2886, 7413, 51339, 13584,...
[ 0.1826171875, 0.192626953125, 0.2154541015625, 0.093505859375, 0.063232421875, 0.1722412109375, 0.0067138671875, 0.057647705078125, 0.1162109375, 0.14453125, 0.09844970703125, 0.212646484375, 0.09503173828125, 0.1024169921875, 0.144287109375, 0.1483154296875, 0.167724609375, 0.1795...
embed
36337056_c0
36337056
lisp
0
Title: Replacing every occurrence of an element in a list, only when it follows a specified element Problem title: Replacing every occurrence of an element in a list, only when it follows a specified element Tags: lisp, recursion, scheme, functional-programming Problem: Replacing every occurrence of an element in a lis...
Replacing every occurrence of an element in a list, only when it follows a specified element Replacing every occurrence of an element in a list, only when it follows a specified element lisp recursion scheme functional-programming Replacing Replacing every occurrence of an element in a list, only when it follows a spec...
[ -0.01531982421875, 0.019287109375, 0.00830078125, 0.01708984375, 0.013916015625, 0.01531982421875, -0.01068115234375, -0.000385284423828125, 0.0211181640625, 0.0242919921875, 0.0145263671875, -0.00445556640625, -0.004669189453125, -0.03466796875, 0.0111083984375, 0.0035400390625, 0.0...
[ 853, 133266, 214, 11907, 74918, 42, 6620, 12830, 23, 5303, 4734, 3229, 442, 28960, 7, 58735, 10, 400, 7008, 195625, 150370, 123309, 28966, 31577, 33022, 32354, 91995, 46327, 132, 284, 1193, 990, 339, 678, 32497, 7103, 62, 89536, 104, 347,...
[ 0.09600830078125, 0.2115478515625, 0.05419921875, 0.164794921875, 0.1597900390625, 0.131591796875, 0.0537109375, 0.190673828125, 0.066650390625, 0.2117919921875, 0.11962890625, 0.11279296875, 0.047576904296875, 0.1927490234375, 0.028594970703125, 0.1968994140625, 0.012054443359375, ...
embed
41577014_c0
41577014
lisp
0
Title: Lisp path from root to given node using MAP functions Problem title: Lisp path from root to given node using MAP functions Tags: lisp, tree Problem: Lisp path from root to given node using MAP functions I have been thinking about this for a while but I can't figure it out myself. Given a n-ary tree and a node, f...
Lisp path from root to given node using MAP functions Lisp path from root to given node using MAP functions lisp tree root MAP Lisp subtree1 subtree2 subtree3 Lisp path from root to given node using MAP functions I have been thinking about this for a while but I can't figure it out myself. Given a n-ary tree and a node...
[ 0.015625, 0.0274658203125, -0.0123291015625, -0.006561279296875, -0.039306640625, 0.0361328125, 0.00531005859375, 0.004913330078125, 0.0042724609375, -0.07421875, -0.00579833984375, -0.01025390625, -0.002349853515625, 0.0162353515625, -0.00494384765625, -0.0037078857421875, -0.007873...
[ 1261, 7008, 60875, 1295, 74855, 47, 34475, 110, 112, 17368, 105748, 32354, 400, 53201, 1614, 62600, 363, 47644, 26366, 653, 6635, 7413, 23, 39210, 3664, 11389, 1884, 148920, 22144, 21320, 27781, 284, 571, 397, 647, 919, 724, 841, 568, 137...
[ 0.1785888671875, 0.22119140625, 0.23974609375, 0.0628662109375, 0.217529296875, 0.1507568359375, 0.09503173828125, 0.15478515625, 0.136474609375, 0.0228729248046875, 0.212646484375, 0.1600341796875, 0.1539306640625, 0.205322265625, 0.07318115234375, 0.1385498046875, 0.050933837890625...
embed
39685970_c0
39685970
lisp
0
Title: how to make sorted list of the 3 numbers in ascending order in lisp Problem title: how to make sorted list of the 3 numbers in ascending order in lisp Tags: list, lisp, function Problem: how to make sorted list of the 3 numbers in ascending order in lisp I am trying to make sorted list of the 3 numbers in ascend...
how to make sorted list of the 3 numbers in ascending order in lisp how to make sorted list of the 3 numbers in ascending order in lisp list lisp function how to make sorted list of the 3 numbers in ascending order in lisp I am trying to make sorted list of the 3 numbers in ascending order in lisp. But i got error like...
[ 0.01043701171875, -0.00408935546875, 0.01953125, 0.0002613067626953125, 0.0081787109375, 0.00341796875, -0.004852294921875, 0.0048828125, -0.00167083740234375, 0.01385498046875, -0.0020904541015625, -0.0172119140625, 0.0079345703125, -0.005889892578125, 0.01104736328125, -0.00793457031...
[ 3642, 3249, 17497, 71, 5303, 138, 101935, 82800, 214, 12989, 23, 400, 7008, 32354, 47, 111, 31577, 18499, 32399, 14012, 10750, 2174, 9969, 72367 ]
[ 0.04498291015625, 0.0989990234375, 0.19287109375, 0.11334228515625, 0.1993408203125, 0.1712646484375, 0.18115234375, 0.1595458984375, 0.07550048828125, 0.166259765625, 0.050262451171875, 0.142578125, 0.19970703125, 0.1348876953125, 0.06060791015625, 0.01110076904296875, 0.04220581054...
embed
9561109_c1
9561109
lisp
1
005,440 microseconds (32.005440 seconds) were spent in system mode 2,475,291 microseconds (2.475291 seconds) was spent in GC. 1,701,028,429 bytes of memory allocated. 1,974 minor page faults, 0 major page faults, 0 swaps. ; Warning: Function CREATE-MY-DBN has been redefined, so times may be inaccurate. ; MONITOR it aga...
005,440 microseconds (32.005440 seconds) were spent in system mode 2,475,291 microseconds (2.475291 seconds) was spent in GC. 1,701,028,429 bytes of memory allocated. 1,974 minor page faults, 0 major page faults, 0 swaps. ; Warning: Function CREATE-MY-DBN has been redefined, so times may be inaccurate. ; MONITOR it aga...
[ 0.0079345703125, 0.00543212890625, 0.0029754638671875, 0.026611328125, -0.0064697265625, 0.004180908203125, 0.0130615234375, 0.00107574462890625, 0.00994873046875, -0.028564453125, 0.0224609375, 0.01373291015625, 0.0059814453125, -0.014404296875, 0.007080078125, 0.01019287109375, -0....
[ 6, 130171, 141929, 11948, 191633, 7, 6896, 123366, 2839, 94131, 16, 3542, 66933, 23, 5426, 13736, 80652, 6873, 4235, 418, 13330, 12183, 509, 69657, 5, 5757, 3882, 390, 1636, 98323, 144, 116292, 108933, 16360, 43967, 9191, 193857, 757, 13036...
[ 0.055023193359375, 0.1719970703125, 0.18408203125, 0.13671875, 0.27099609375, 0.096923828125, 0.001708984375, 0.06512451171875, 0.0693359375, 0.2275390625, 0.0845947265625, 0.0870361328125, 0.1671142578125, 0.1119384765625, 0.2008056640625, 0.2174072265625, 0.062408447265625, 0.101...
embed
26920155_c0
26920155
lisp
0
Title: Lisp Macro - how enter a type correctly Problem title: Lisp Macro - how enter a type correctly Tags: json, macros, lisp Problem: Lisp Macro - how enter a type correctly I'm new to macros and struggling with a requirement in a macro of JSON-RPC. It is asking for a type and I don't know how to enter it correctly. ...
Lisp Macro - how enter a type correctly Lisp Macro - how enter a type correctly json macros lisp Lisp Macro Defines TYPE json-rpc:defun-json-rpc Lisp Macro - how enter a type correctly I'm new to macros and struggling with a requirement in a macro of JSON-RPC. It is asking for a type and I don't know how to enter it co...
[ -0.004486083984375, 0.0111083984375, -0.007171630859375, 0.006683349609375, -0.0218505859375, 0.0181884765625, -0.0322265625, 0.0284423828125, -0.02001953125, -0.0040283203125, -0.007476806640625, -0.025634765625, -0.01165771484375, -0.01141357421875, 0.0133056640625, 0.0067138671875, ...
[ 1261, 7008, 4727, 516, 3642, 30957, 10644, 26785, 538, 10, 1647, 1681, 111789, 400, 85535, 12741, 95267, 57095, 112, 16498, 170, 3525, 237875, 64209, 821, 58627, 1052, 12233, 113292, 100, 3714, 121413, 18151, 14037, 28960, 959, 70541, 10750, ...
[ 0.1522216796875, 0.2186279296875, 0.1478271484375, 0.19775390625, 0.09027099609375, 0.22900390625, 0.2841796875, 0.1629638671875, 0.08837890625, 0.0677490234375, 0.08026123046875, 0.156005859375, 0.19580078125, 0.10333251953125, 0.1041259765625, 0.0188140869140625, 0.17626953125, 0...
embed
60065853_c0
60065853
lisp
0
Title: Lisp: How to prompt-read a float? Problem title: Lisp: How to prompt-read a float? Tags: slime, clisp, common-lisp, lisp Problem: Lisp: How to prompt-read a float? I have a function where I am using parse-integer and prompt-read together. However, I need one of these integers to be a float. When I change parse-i...
Lisp: How to prompt-read a float? Lisp: How to prompt-read a float? slime clisp common-lisp lisp Lisp How Name Coloring Weight Experience Length Lisp: How to prompt-read a float? I have a function where I am using parse-integer and prompt-read together. However, I need one of these integers to be a float. When I change...
[ 0.001495361328125, 0.01385498046875, -0.023193359375, 0.0032806396484375, -0.014404296875, 0.0184326171875, -0.00013828277587890625, -0.00958251953125, -0.0022125244140625, -0.017822265625, 0.0031280517578125, -0.0203857421875, -0.0244140625, -0.00372314453125, 0.01409912109375, -0.007...
[ 1261, 7008, 11249, 47, 105876, 39116, 21917, 257, 34264, 13, 95701, 39210, 4086, 254, 400, 15757, 51193, 150533, 135634, 77554, 9, 10, 32354, 17368, 366, 184, 6191, 1505, 25842, 3871, 892, 26255, 186, 15549, 52347, 110, 51713, 43240, 237, ...
[ 0.144287109375, 0.21533203125, 0.07427978515625, 0.03887939453125, 0.215576171875, 0.2364501953125, 0.205810546875, 0.18310546875, 0.1170654296875, 0.0997314453125, 0.082763671875, 0.0863037109375, 0.124267578125, 0.1680908203125, 0.111328125, 0.06378173828125, 0.1064453125, 0.2248...
embed
72190940_c0
72190940
lisp
0
Title: Adding List Items together Problem title: Adding List Items together Tags: common-lisp, lisp Problem: Adding List Items together I have a list and I want to add/concatenate the elements. ((a b) (c d) (e f)) -> ((a b c d) (a b e f) (c d e f)) This is what it should look like. The List ist never of fixed size, so ...
Adding List Items together Adding List Items together common-lisp lisp Adding List Items Adding List Items together I have a list and I want to add/concatenate the elements. This is what it should look like. The List ist never of fixed size, so it could also just be two elements or more than three. I've tried using a l...
[ -0.000240325927734375, 0.009033203125, 0.00238037109375, 0.0125732421875, -0.01397705078125, 0.011962890625, -0.0084228515625, 0.010986328125, 0.0234375, -0.021240234375, 0.0264892578125, 0.00396728515625, 0.0042724609375, 0.0213623046875, -0.0034332275390625, -0.0028839111328125, 0....
[ 62, 59725, 32036, 78426, 7, 25842, 39210, 4086, 254, 400, 7008, 765, 10, 5303, 3444, 15190, 2271, 33478, 76, 67, 80854, 5608, 6713, 1884, 443, 8306, 188347, 13267, 5809, 6626, 1286, 17262, 37842, 17368, 40956, 30646, 5915, 4173, 2301, 18,...
[ 0.09515380859375, 0.1212158203125, 0.216064453125, 0.2032470703125, 0.017425537109375, 0.210693359375, 0.1153564453125, 0.062286376953125, 0.1151123046875, 0.06402587890625, 0.15576171875, 0.0369873046875, 0.0284423828125, 0.2218017578125, 0.095703125, 0.1650390625, 0.03192138671875,...
embed
37276455_c0
37276455
lisp
0
Title: Sorting list of elements of the form [x=value1, x=value2,...] in maxima Problem title: Sorting list of elements of the form [x=value1, x=value2,...] in maxima Tags: sorting, numerical-integration, maxima, lisp Problem: Sorting list of elements of the form [x=value1, x=value2,...] in maxima When I use either solv...
Sorting list of elements of the form [x=value1, x=value2,...] in maxima Sorting list of elements of the form [x=value1, x=value2,...] in maxima sorting numerical-integration maxima lisp Sorting value1 value2 Sorting list of elements of the form [x=value1, x=value2,...] in maxima When I use either solve or allroots meth...
[ -0.003662109375, 0.01092529296875, -0.00933837890625, -0.003662109375, -0.0203857421875, 0.0096435546875, 0.006866455078125, -0.00102996826171875, -0.00005507469177246094, 0.017333984375, 0, 0.017333984375, 0.01336669921875, -0.017822265625, -0.00775146484375, -0.0196533203125, -0.01...
[ 53666, 214, 5303, 80854, 3173, 425, 27494, 418, 1022, 304, 122200, 12096, 54744, 100743, 400, 7008, 34292, 4527, 86869, 756, 148920, 55300, 113054, 83, 959, 17497, 71, 2967, 3444, 1284, 831, 18, 96386, 32354, 4488, 5299, 678, 1369, 125195, ...
[ 0.229248046875, 0.07305908203125, 0.187255859375, 0.18115234375, 0.1380615234375, 0.0672607421875, 0.127197265625, 0.0254364013671875, 0.0802001953125, 0.07012939453125, 0.2093505859375, 0.243408203125, 0.06402587890625, 0.109375, 0.032135009765625, 0.140869140625, 0.1497802734375, ...
embed
26722152_c0
26722152
lisp
0
Title: Lisp (null (QUOTE NIL)) returns NIL Problem title: Lisp (null (QUOTE NIL)) returns NIL Tags: nested-lists, lisp, null Problem: Lisp (null (QUOTE NIL)) returns NIL I am new to lisp and I'm trying to a simple check to see if a list is empty. For test purposes i created this test function: (defun test (list) (if (n...
Lisp (null (QUOTE NIL)) returns NIL Lisp (null (QUOTE NIL)) returns NIL nested-lists lisp null Lisp QUOTE NIL Lisp (null (QUOTE NIL)) returns NIL I am new to lisp and I'm trying to a simple check to see if a list is empty. For test purposes i created this test function: if uses the make-node function defined as: when r...
[ 0.01092529296875, 0.0203857421875, 0.008056640625, 0.003326416015625, -0.0025787353515625, 0.0162353515625, 0.025146484375, -0.0245361328125, -0.0001621246337890625, 0.00086212158203125, -0.0101318359375, -0.0238037109375, -0.025146484375, 0.01104736328125, -0.00701904296875, 0.0022125...
[ 1261, 7008, 139550, 232856, 541, 16444, 30646, 8512, 71, 6562, 400, 56574, 8781, 12765, 1957, 2174, 5303, 83, 201505, 3034, 75935, 32354, 3249, 157, 112, 61924, 51042, 55898, 35914, 2046, 16156, 2367, 3444, 11782, 6954, 25426, 7569, 11675, ...
[ 0.146728515625, 0.2288818359375, 0.2159423828125, 0.19189453125, 0.12109375, 0.202392578125, 0.1346435546875, 0.1627197265625, 0.0709228515625, 0.1954345703125, 0.11572265625, 0.2188720703125, 0.0292816162109375, 0.165283203125, 0.033355712890625, 0.0281829833984375, 0.1783447265625,...
embed
66623074_c0
66623074
lisp
0
Title: Remove-if-not with multiple conditions Problem title: Remove-if-not with multiple conditions Tags: common-lisp, lisp Problem: Remove-if-not with multiple conditions I want to find all files that ends with .jpg, .png or .jpeg. I write something like this: (defun get-picture (dir) (remove-if-not (lambda (item) (or...
Remove-if-not with multiple conditions Remove-if-not with multiple conditions common-lisp lisp Remove-if-not uiop:directory-files Remove-if-not with multiple conditions I want to find all files that ends with .jpg, .png or .jpeg. I write something like this: But it doesn't look good to me. For example, when you want to...
[ -0.007781982421875, 0.00823974609375, 0.0036773681640625, 0.0279541015625, -0.034423828125, 0.0007171630859375, 0.01092529296875, 0.002593994140625, -0.0166015625, -0.0162353515625, -0.01177978515625, 0.02880859375, 0.007293701171875, 0.011474609375, -0.00439453125, 0.007659912109375, ...
[ 181139, 3190, 10869, 678, 48716, 27289, 39210, 4086, 254, 400, 7008, 75, 14, 2146, 80581, 30675, 29822, 3444, 7413, 756, 102158, 450, 3564, 7, 25687, 128468, 215109, 33022, 1884, 903, 6713, 4127, 33938, 1286, 22288, 238, 959, 26785, 3688, ...
[ 0.207275390625, 0.1756591796875, 0.205322265625, 0.0965576171875, 0.1917724609375, 0.206298828125, 0.103515625, 0.0701904296875, 0.119384765625, 0.0904541015625, 0.1593017578125, 0.0296173095703125, 0.0455322265625, 0.1708984375, 0.0784912109375, 0.0714111328125, 0.1424560546875, 0...
embed
39865637_c0
39865637
lisp
0
Title: How to use loops in LISP Problem title: How to use loops in LISP Tags: list, lisp, common-lisp Problem: How to use loops in LISP I have been trying to understand how to use loops in LISP and they still don't really seem to work correctly. I tried using the following code: (loop for i from 0 to (list-length y) (w...
How to use loops in LISP How to use loops in LISP list lisp common-lisp 0 checkZero How LISP How to use loops in LISP I have been trying to understand how to use loops in LISP and they still don't really seem to work correctly. I tried using the following code: Which should loop through my list checking if my value is ...
[ -0.01043701171875, 0.00921630859375, -0.005401611328125, 0.002410888671875, -0.00701904296875, 0.004486083984375, 0.0211181640625, 0.0081787109375, 0.00005984306335449219, -0.005157470703125, 0.0172119140625, -0.00885009765625, -0.011962890625, -0.01287841796875, 0.0048828125, 0.002212...
[ 11249, 4527, 40956, 7, 23, 16970, 9434, 47, 5303, 400, 7008, 39210, 4086, 254, 757, 12765, 1511, 4036, 28219, 7464, 6183, 4488, 26785, 37842, 17368, 25632, 18151, 5608, 8305, 175199, 2174, 759, 34292, 105950, 959, 30646, 1295, 82230, 120262...
[ 0.052276611328125, 0.162841796875, 0.24853515625, 0.1641845703125, 0.096435546875, 0.1461181640625, 0.2120361328125, 0.049224853515625, 0.1798095703125, 0.10791015625, 0.166015625, 0.0968017578125, 0.093994140625, 0.1383056640625, 0.1485595703125, 0.09716796875, 0.031524658203125, ...
embed
3247302_c0
3247302
lisp
0
Title: Why do I get NPE in the following code? Problem title: Why do I get NPE in the following code? Tags: clojure, lisp, macros Problem: Why do I get NPE in the following code? The following code executes as expected but gives a NullPointerException at the end. What am I doing wrong here? (ns my-first-macro) (defmacr...
Why do I get NPE in the following code? Why do I get NPE in the following code? clojure lisp macros NullPointerException java.lang.NullPointerException Why NPE Output Clojure Result MyFirstMacro.clj:0 Namespace Why do I get NPE in the following code? The following code executes as expected but gives a NullPointerExcept...
[ 0.0029296875, -0.01446533203125, -0.0001811981201171875, 0.0289306640625, 0.017578125, 0.043701171875, 0.0166015625, -0.0045166015625, 0.0002269744873046875, -0.0230712890625, -0.0023040771484375, 0.01483154296875, 0.00531005859375, 0.000873565673828125, 0.00185394287109375, -0.0238037...
[ 44084, 54, 87, 2046, 541, 21907, 23, 25632, 18151, 20450, 461, 107, 400, 7008, 111789, 1429, 1181, 147534, 56, 63928, 79, 330, 3066, 18444, 19279, 13538, 51053, 126684, 2646, 207263, 55450, 516, 21178, 53861, 2096, 109164, 71924, 237, 84751...
[ 0.140869140625, 0.022125244140625, 0.016326904296875, 0.08428955078125, 0.10479736328125, 0.264892578125, 0.0802001953125, 0.135498046875, 0.1610107421875, 0.0924072265625, 0.125244140625, 0.07623291015625, 0.043792724609375, 0.1480712890625, 0.1864013671875, 0.1392822265625, 0.07196...
embed
36497825_c0
36497825
lisp
0
Title: I want to merge and sort two sorted lists with Common Lisp Problem title: I want to merge and sort two sorted lists with Common Lisp Tags: lisp, common-lisp Problem: I want to merge and sort two sorted lists with Common Lisp I want to merge and sort two sorted association lists with Common Lisp. I made code. But...
I want to merge and sort two sorted lists with Common Lisp I want to merge and sort two sorted lists with Common Lisp lisp common-lisp Common Lisp MERGEALIST I want to merge and sort two sorted lists with Common Lisp I want to merge and sort two sorted association lists with Common Lisp. I made code. But result is not ...
[ 0.0211181640625, 0.01141357421875, 0.01220703125, -0.0120849609375, 0.0031890869140625, 0.00075531005859375, -0.0064697265625, 0.0037384033203125, 0.00927734375, 0.0123291015625, 0.0238037109375, 0.0224609375, -0.00060272216796875, 0.01446533203125, 0.016357421875, -0.007049560546875, ...
[ 3444, 42564, 136, 12096, 6626, 17497, 71, 5303, 7, 678, 151301, 1261, 7008, 400, 39210, 4086, 254, 61983, 11679, 195977, 125413, 18151, 4966, 16750, 959, 5701, 17569, 28670, 10763, 107730, 341, 339, 83, 41600, 6896, 11516, 104, 84751, 64557...
[ 0.1009521484375, 0.240478515625, 0.08673095703125, 0.254150390625, 0.1314697265625, 0.1842041015625, 0.06610107421875, 0.2060546875, 0.0269927978515625, 0.041229248046875, 0.186279296875, 0.1710205078125, 0.1866455078125, 0.1217041015625, 0.116455078125, 0.10162353515625, 0.103942871...
embed
65787482_c0
65787482
lisp
0
Title: Count equal elements Problem title: Count equal elements Tags: lisp, common-lisp Problem: Count equal elements I have this list: (2 2 2 2 3 4 4 5 5 5 6 7 7 7 8 8) and would like to return the number of repetitions. The result should be this: (4 1 2 3 1 3 2) I have tried a recursive approach, but with no success....
Count equal elements Count equal elements lisp common-lisp 0 Count Count equal elements I have this list: and would like to return the number of repetitions. The result should be this: I have tried a recursive approach, but with no success. I'm not sure this is the correct way to go. First I made a function to count wh...
[ -0.0048828125, 0.01055908203125, -0.00714111328125, -0.003936767578125, 0.001373291015625, 0.0000972747802734375, -0.01361083984375, -0.00836181640625, 0.0081787109375, -0.035888671875, -0.0206298828125, -0.005615234375, 0.030517578125, 0.03759765625, 0.00506591796875, -0.0020141601562...
[ 108210, 105950, 80854, 400, 7008, 39210, 4086, 254, 757, 765, 903, 5303, 2806, 1884, 47, 30646, 14012, 111, 57346, 5256, 16750, 5608, 37842, 195625, 5844, 51515, 110, 36272, 9077, 26785, 32354, 54529, 12960, 621, 10869, 20697 ]
[ 0.1806640625, 0.23291015625, 0.2034912109375, 0.05914306640625, 0.1375732421875, 0.113037109375, 0.0340576171875, 0.1068115234375, 0.080078125, 0.0144805908203125, 0.040313720703125, 0.12335205078125, 0.004749298095703125, 0.0679931640625, 0.046478271484375, 0.1556396484375, 0.134033...
embed
18528957_c1
18528957
lisp
1
2))) CL-USER> (-5 3 7 6 2 1 -4 100 5 80 96 14 2 3 1 0 0 789 -1 3) CL-USER> (-5 -4 -1 0 0 1 1 2 2 3 3 3 5 6 7 14 80 96 100 789) But doesn't work with this, and I only add the - to 80 '(-5 3 7 6 2 1 -4 100 5 -80 96 14 2 3 1 0 0 789 -1 3) Thanks Corrected version (random pivot added), I know there are better ways, It's ju...
2))) CL-USER> (-5 3 7 6 2 1 -4 100 5 80 96 14 2 3 1 0 0 789 -1 3) CL-USER> (-5 -4 -1 0 0 1 1 2 2 3 3 3 5 6 7 14 80 96 100 789) But doesn't work with this, and I only add the - to 80 '(-5 3 7 6 2 1 -4 100 5 -80 96 14 2 3 1 0 0 789 -1 3) Thanks Corrected version (random pivot added), I know there are better ways, It's ju...
[ -0.0211181640625, 0.005950927734375, 0.01806640625, -0.025146484375, -0.0068359375, 0.005828857421875, 0.0074462890625, 0.003814697265625, 0.008544921875, -0.01025390625, 0.00159454345703125, 0.01239013671875, -0.0123291015625, 0.0032501220703125, 0.001312255859375, 0.004913330078125, ...
[ 116, 32149, 46323, 9, 1062, 50184, 2740, 15, 10342, 138, 361, 305, 106, 20, 617, 805, 190, 2248, 13549, 616, 757, 6, 153781, 68940, 8439, 122705, 4966, 22027, 18, 4488, 678, 903, 87, 4734, 15190, 70, 47, 242, 4836, 46348, 11389, 46258...
[ 0.1422119140625, 0.173095703125, 0.2041015625, 0.04913330078125, 0.208251953125, 0.2275390625, 0.16015625, 0.020782470703125, 0.16259765625, 0.1605224609375, 0.08203125, 0.13037109375, 0.00927734375, 0.134521484375, 0.1646728515625, 0.1702880859375, 0.060211181640625, 0.28369140625...
embed
10163298_c0
10163298
lisp
0
Title: Lisp macro (or function) for nested loops Problem title: Lisp macro (or function) for nested loops Tags: lisp, nested-loops, recursion, macros Problem: Lisp macro (or function) for nested loops Is it possible to write a Common Lisp macro that takes a list of dimensions and variables, a body (of iteration), and c...
Lisp macro (or function) for nested loops Lisp macro (or function) for nested loops lisp nested-loops recursion macros 0 Lisp whatever_loop_body Lisp macro (or function) for nested loops Is it possible to write a Common Lisp macro that takes a list of dimensions and variables, a body (of iteration), and creates the cod...
[ 0.00139617919921875, 0.016357421875, 0.00762939453125, 0.003204345703125, 0.00732421875, 0.0419921875, -0.0050048828125, -0.010986328125, 0.0047607421875, -0.040283203125, -0.00689697265625, -0.043701171875, 0.01336669921875, 0.00872802734375, 0.01153564453125, -0.03369140625, -0.004...
[ 1261, 7008, 111789, 748, 32354, 100, 8512, 71, 40956, 400, 28354, 195625, 757, 89778, 37873, 7722, 33022, 151301, 51776, 5303, 158208, 136, 77336, 14361, 720, 28282, 18151, 58055, 237, 5941, 58735, 5608, 71062, 297, 47, 77168, 1257, 132053, ...
[ 0.1746826171875, 0.2357177734375, 0.255126953125, 0.010894775390625, 0.1824951171875, 0.02728271484375, 0.2144775390625, 0.102783203125, 0.2216796875, 0.08892822265625, 0.1661376953125, 0.137939453125, 0.010498046875, 0.125244140625, 0.164306640625, 0.1544189453125, 0.1497802734375, ...
embed
28415561_c0
28415561
lisp
0
Title: Summing all the multiples of three recursively in Clojure Problem title: Summing all the multiples of three recursively in Clojure Tags: recursion, clojure, lisp Problem: Summing all the multiples of three recursively in Clojure Hi I am a bit new to Clojure/Lisp programming but I have used recursion before in C ...
Summing all the multiples of three recursively in Clojure Summing all the multiples of three recursively in Clojure recursion clojure lisp Summing Clojure is_div_by_3 sum_of_mult3 Summing all the multiples of three recursively in Clojure Hi I am a bit new to Clojure/Lisp programming but I have used recursion before in ...
[ -0.024169921875, 0.00830078125, 0.017822265625, 0.000324249267578125, -0.0084228515625, 0.012939453125, -0.007232666015625, -0.016845703125, 0.01470947265625, -0.032470703125, -0.00112152099609375, -0.01312255859375, 0.0064697265625, 0.0255126953125, 0.005828857421875, 0.00897216796875...
[ 1832, 58838, 756, 48716, 7, 111, 17262, 195625, 5844, 51053, 461, 107, 20450, 400, 7008, 83, 30618, 1272, 363, 10554, 4390, 81944, 9506, 56037, 1830, 313, 1884, 46876, 25632, 18151, 101935, 831, 101637, 390, 17721, 106, 47, 805, 17569, 35...
[ 0.1761474609375, 0.104736328125, 0.111572265625, 0.2357177734375, 0.05615234375, 0.08984375, 0.2352294921875, 0.200439453125, 0.117919921875, 0.116943359375, 0.1534423828125, 0.1024169921875, 0.074951171875, 0.047027587890625, 0.1324462890625, 0.049713134765625, 0.127197265625, 0.0...
embed
20184197_c0
20184197
lisp
0
Title: Reduce call gives odd errors from REPL and compiler Problem title: Reduce call gives odd errors from REPL and compiler Tags: common-lisp, lisp Problem: Reduce call gives odd errors from REPL and compiler This is an example in a book: (reduce (lambda (best itemx) (if (and (evenp itemx) (> itemx best)) itemx best)...
Reduce call gives odd errors from REPL and compiler Reduce call gives odd errors from REPL and compiler common-lisp lisp REPL Reduce Reduce call gives odd errors from REPL and compiler This is an example in a book: It shows as running fine in the book but in my SBCL REPL I get an error "undefinied variabled" and it giv...
[ 0.0020904541015625, 0.006805419921875, -0.005462646484375, 0.0123291015625, -0.0067138671875, 0.01251220703125, 0.0101318359375, -0.00506591796875, 0.01287841796875, -0.0054931640625, 0.0186767578125, -0.0263671875, 0.03173828125, -0.007720947265625, 0.020751953125, -0.006011962890625,...
[ 853, 106357, 11782, 76199, 70270, 18499, 1295, 9069, 21130, 136, 9969, 34759, 39210, 4086, 254, 400, 7008, 27781, 12877, 45831, 51042, 5885, 23, 90944, 37486, 142, 309, 49919, 77336, 71, 9351, 44237, 10846, 32628, 23937, 9157, 1810, 37842, ...
[ 0.1180419921875, 0.240478515625, 0.1654052734375, 0.044677734375, 0.18701171875, 0.190185546875, 0.03399658203125, 0.1014404296875, 0.2431640625, 0.0394287109375, 0.09814453125, 0.143798828125, 0.070556640625, 0.02581787109375, 0.098388671875, 0.03607177734375, 0.1314697265625, 0.0...
embed
6505184_c1
6505184
lisp
1
Bentley" "June 28, 2011" "*" SF-IMAGE "The Image" 0 SF-DRAWABLE "The Layer" 0 SF-DIRNAME "Output directory" "" SF-STRING "Filename Format (~i = image name, ~l = layer name)" "~i-~l.png" ) (script-fu-menu-register "script-fu-export-layers" "<Image>/File/E_xport") With the comment at the top of the file, the script does...
Bentley" "June 28, 2011" "*" SF-IMAGE "The Image" 0 SF-DRAWABLE "The Layer" 0 SF-DIRNAME "Output directory" "" SF-STRING "Filename Format (~i = image name, ~l = layer name)" "~i-~l.png" ) (script-fu-menu-register "script-fu-export-layers" "<Image>/File/E_xport") With the comment at the top of the file, the script does...
[ 0.00099945068359375, 0.01611328125, -0.0194091796875, 0.01123046875, -0.003997802734375, 0.03466796875, 0.003173828125, -0.0218505859375, 0.016357421875, -0.0030670166015625, 0.01556396484375, -0.0037078857421875, 0.01239013671875, -0.01422119140625, -0.005706787109375, -0.004547119140...
[ 67796, 4293, 97866, 29835, 1392, 59215, 27770, 3957, 22710, 757, 118324, 183057, 239, 8889, 182512, 79858, 7077, 14364, 90345, 174350, 11627, 60972, 14, 29569, 9351, 141, 135355, 128468, 32032, 3125, 30144, 105199, 180758, 5259, 1314, 216960, 6...
[ 0.2142333984375, 0.2919921875, 0.017333984375, 0.006134033203125, 0.1026611328125, 0.159423828125, 0.14111328125, 0.10443115234375, 0.19287109375, 0.0265655517578125, 0.12939453125, 0.1220703125, 0.03216552734375, 0.142333984375, 0.07818603515625, 0.06866455078125, 0.043212890625, ...
embed
2067832_c0
2067832
lisp
0
Title: let inside cond Problem title: let inside cond Tags: lisp, clojure Problem: let inside cond I'm working with clojure and while I've dabbled with lisps before, I'm having trouble finding a clean way to nest let statements in cond statements. For example, consider the following function: (defn operate-on-list [xs]...
let inside cond let inside cond lisp clojure let inside cond I'm working with clojure and while I've dabbled with lisps before, I'm having trouble finding a clean way to nest let statements in cond statements. For example, consider the following function: It's a pretty standard recursive operation on a list, but it nee...
[ -0.024169921875, -0.000667572021484375, -0.006256103515625, 0.0159912109375, 0.00909423828125, 0.01080322265625, 0.0206298828125, -0.01141357421875, -0.009765625, -0.00958251953125, 0.0032501220703125, 0.003509521484375, -0.006317138671875, -0.00701904296875, 0.00060272216796875, 0.010...
[ 2633, 46132, 158, 71, 400, 7008, 20450, 461, 107, 20697, 73163, 7, 6423, 63134, 46622, 91280, 63805, 32354, 5570, 195625, 5844, 41018, 5303, 4488, 5117, 12830, 43240, 10941, 31089, 1543, 201505, 27781, 7941, 15549, 51, 29102, 47, 13448, 271...
[ 0.24365234375, 0.1973876953125, 0.1702880859375, 0.1553955078125, 0.068603515625, 0.118896484375, 0.09808349609375, 0.12939453125, 0.1021728515625, 0.011138916015625, 0.024505615234375, 0.0182037353515625, 0.096923828125, 0.0239715576171875, 0.0977783203125, 0.1253662109375, 0.185302...
embed
33267648_c1
33267648
lisp
1
(= i duz) (return l1) ) ) ) ( defun brojPojava (x l) (if ( null l) 0 ( if (= (car l) x) (+ 1 (brojPojava x (cdr l))) (brojPojava x (cdr l)) ) ) ) (defun skupi(l) (setq duz (length l)) (setq l1 (make-list duz)) (setq i 0) (setq pos 0) (loop (when (= i (length l)) (return l1) ) (setf elem (nth i l)) (setf br (brojPojava...
(= i duz) (return l1) ) ) ) ( defun brojPojava (x l) (if ( null l) 0 ( if (= (car l) x) (+ 1 (brojPojava x (cdr l))) (brojPojava x (cdr l)) ) ) ) (defun skupi(l) (setq duz (length l)) (setq l1 (make-list duz)) (setq i 0) (setq pos 0) (loop (when (= i (length l)) (return l1) ) (setf elem (nth i l)) (setf br (brojPojava...
[ -0.031982421875, 0.0074462890625, -0.0208740234375, -0.013427734375, -0.029296875, 0.0089111328125, -0.000009655952453613281, 0.005859375, 0.039794921875, -0.0303955078125, -0.0003452301025390625, 0.003021240234375, 0.0015869140625, -0.01483154296875, -0.006256103515625, 0.003707885742...
[ 78690, 17, 115, 169, 65395, 19, 96, 17727, 8, 16498, 13011, 7192, 24071, 425, 3190, 56574, 757, 2174, 3284, 1022, 22183, 106, 35724, 7569, 112, 96821, 141, 3509, 864, 418, 55898, 6562, 3864, 28354, 3220, 23986, 420, 88, 927, 5491, 4879,...
[ 0.06884765625, 0.102294921875, 0.1597900390625, 0.1693115234375, 0.122802734375, 0.03631591796875, 0.130615234375, 0.1092529296875, 0.1134033203125, 0.1270751953125, 0.119873046875, 0.11669921875, 0.1947021484375, 0.04095458984375, 0.05023193359375, 0.0889892578125, 0.0947265625, 0...
embed
4093168_c0
4093168
lisp
0
Title: Adding numbers from a list (e.g. asdf125dkf will return 8) Problem title: Adding numbers from a list (e.g. asdf125dkf will return 8) Tags: functional-programming, scheme, lisp Problem: Adding numbers from a list (e.g. asdf125dkf will return 8) I need a function that will take in a list of characters and numbers,...
Adding numbers from a list (e.g. asdf125dkf will return 8) Adding numbers from a list (e.g. asdf125dkf will return 8) functional-programming scheme lisp a Adding e.g asdf125dkf asd12sdf Adding numbers from a list (e.g. asdf125dkf will return 8) I need a function that will take in a list of characters and numbers, and t...
[ -0.0179443359375, 0.0107421875, 0.00885009765625, 0.007568359375, -0.008056640625, 0.0185546875, -0.0031585693359375, -0.0022735595703125, 0.00174713134765625, -0.024658203125, -0.007537841796875, -0.042724609375, -0.01251220703125, 0.01239013671875, -0.008056640625, -0.01495361328125,...
[ 62, 59725, 101935, 1295, 5303, 237, 71, 420, 63652, 5740, 30646, 65034, 123309, 28966, 150370, 400, 7008, 10, 1530, 3871, 32354, 1221, 5646, 124850, 49814, 1257, 167790, 2060, 18151, 4299, 1478, 44116, 2292, 44691, 33342, 6528, 30022, 13695, ...
[ 0.093017578125, 0.169189453125, 0.205810546875, 0.102294921875, 0.19970703125, 0.03558349609375, 0.0701904296875, 0.1307373046875, 0.153076171875, 0.046478271484375, 0.1728515625, 0.1776123046875, 0.1168212890625, 0.0699462890625, 0.1011962890625, 0.054168701171875, 0.1417236328125, ...
embed
48353172_c0
48353172
lisp
0
Title: Calling Lua From Common Lisp Problem title: Calling Lua From Common Lisp Tags: compilation, common-lisp, lisp, ffi, lua Problem: Calling Lua From Common Lisp Is there any existing project or easy approach to running lua code in a common lisp program? I've seen a few Lisp in Lua projects but to my knowledge none ...
Calling Lua From Common Lisp Calling Lua From Common Lisp compilation common-lisp lisp ffi lua Calling Lua Common Lisp Calling Lua From Common Lisp Is there any existing project or easy approach to running lua code in a common lisp program? I've seen a few Lisp in Lua projects but to my knowledge none of them implement...
[ 0.01495361328125, 0.0242919921875, 0.00506591796875, 0.0003948211669921875, -0.006134033203125, 0.0120849609375, 0.0260009765625, -0.01373291015625, -0.0052490234375, -0.049072265625, -0.0025177001953125, -0.009033203125, -0.00115203857421875, 0.00860595703125, 0, -0.021728515625, -0...
[ 26265, 214, 3350, 11, 28090, 151301, 1261, 7008, 98352, 39210, 4086, 254, 400, 24500, 27761, 2685, 2499, 144573, 13452, 23468, 51515, 51042, 18151, 23, 10, 1528, 51592, 10846, 77635, 29479, 4393, 18645, 213850, 80728, 5351, 68746, 7941, 33022...
[ 0.1690673828125, 0.072021484375, 0.2259521484375, 0.2213134765625, 0.1715087890625, 0.2005615234375, 0.1944580078125, 0.203857421875, 0.1629638671875, 0.2103271484375, 0.126220703125, 0.1533203125, 0.172607421875, 0.139404296875, 0.275146484375, 0.000885009765625, 0.013885498046875, ...
embed
5074781_c0
5074781
lisp
0
Title: Editing programs &quot;while they are running&quot;? Why? Problem title: Editing programs &quot;while they are running&quot;? Why? Tags: clojure, lisp, scheme Problem: Editing programs "while they are running"? Why? I've been getting more into Lisp and Lispy languages lately, and I'm finding them quite powerful....
Editing programs &quot;while they are running&quot;? Why? Editing programs &quot;while they are running&quot;? Why? clojure lisp scheme Editing Why Editing programs "while they are running"? Why? I've been getting more into Lisp and Lispy languages lately, and I'm finding them quite powerful. One thing I've been readin...
[ 0.0029449462890625, 0.015869140625, 0.00008821487426757812, -0.0147705078125, -0.000736236572265625, 0.0101318359375, -0.01446533203125, 0.01129150390625, -0.00152587890625, -0.00958251953125, 0.002655029296875, 0.00762939453125, -0.041748046875, -0.0069580078125, 0.0166015625, 0.00074...
[ 42079, 214, 103391, 204610, 1836, 621, 51042, 44084, 20450, 461, 107, 400, 7008, 150370, 44, 1286, 3934, 1261, 7, 6493, 46876, 90791, 113138, 16454, 68073, 32562, 51053, 831, 27211, 1528, 442, 132283, 6275, 13648, 30098, 10846, 94131, 30441, ...
[ 0.2459716796875, 0.1104736328125, 0.2420654296875, 0.21630859375, 0.0855712890625, 0.1187744140625, 0.240966796875, 0.1416015625, 0.0758056640625, 0.1549072265625, 0.1510009765625, 0.08880615234375, 0.2003173828125, 0.1468505859375, 0.000762939453125, 0.01556396484375, 0.012847900390...
embed
16329102_c0
16329102
lisp
0
Title: Summing even fibonacci numbers in lisp Problem title: Summing even fibonacci numbers in lisp Tags: common-lisp, lisp, loops Problem: Summing even fibonacci numbers in lisp I've just started learning Lisp, and I'm working through some Project Euler problems. I'm stuck on the one where you sum the even Fibonacci n...
Summing even fibonacci numbers in lisp Summing even fibonacci numbers in lisp common-lisp lisp loops Summing CL-USER SUM-EVEN-FIBS NIL Summing even fibonacci numbers in lisp I've just started learning Lisp, and I'm working through some Project Euler problems. I'm stuck on the one where you sum the even Fibonacci number...
[ -0.0029449462890625, 0.0206298828125, 0.01055908203125, 0.0034027099609375, -0.0177001953125, 0.035888671875, 0.008056640625, 0.012939453125, 0.0162353515625, -0.031494140625, 0.01263427734375, -0.01611328125, -0.007476806640625, -0.0084228515625, 0.0189208984375, 0.006683349609375, ...
[ 1832, 58838, 3853, 809, 20990, 52544, 101935, 23, 400, 7008, 39210, 4086, 254, 40956, 46323, 1062, 50184, 127944, 647, 30223, 22724, 541, 16444, 52080, 1261, 27331, 5177, 603, 44402, 179933, 10554, 3698, 35064, 18389, 14012, 37842, 28960, 123...
[ 0.1868896484375, 0.1319580078125, 0.1873779296875, 0.1116943359375, 0.1287841796875, 0.1688232421875, 0.1484375, 0.055419921875, 0.1119384765625, 0.184814453125, 0.0572509765625, 0.0894775390625, 0.1214599609375, 0.1416015625, 0.06195068359375, 0.0836181640625, 0.08905029296875, 0....
embed
25089439_c1
25089439
lisp
1
2.54)) ;; Tests (inches->cm 22/7) "should be" 7.98287514 When I ran the program, it ran like this: 7.98285714 "should be" 7.98285714 A possible flaw that I've been contemplating about is if my code has multiple functions with multiple design recipes, it would be harder for me to read if my program ran like this: 7.982...
2.54)) ;; Tests (inches->cm 22/7) "should be" 7.98287514 When I ran the program, it ran like this: 7.98285714 "should be" 7.98285714 A possible flaw that I've been contemplating about is if my code has multiple functions with multiple design recipes, it would be harder for me to read if my program ran like this: 7.982...
[ -0.0087890625, -0.0245361328125, 0.01611328125, 0.0269775390625, -0.0010833740234375, 0.0260009765625, -0.0025787353515625, 0.000156402587890625, 0.004669189453125, 0.01220703125, -0.0026092529296875, -0.0157470703125, -0.004486083984375, 0.01324462890625, 0.003326416015625, 0.00479125...
[ 787, 134463, 16, 74, 8647, 7, 73, 17007, 103607, 3931, 1039, 32359, 11412, 52366, 186, 189459, 175283, 6873, 2592, 13028, 1528, 442, 1884, 903, 12243, 7722, 1238, 19729, 49432, 18151, 48716, 32354, 4331, 48564, 182, 820, 12301, 16675, 5046,...
[ 0.05206298828125, 0.155517578125, 0.000762939453125, 0.011383056640625, 0.2432861328125, 0.046234130859375, 0.0675048828125, 0.1044921875, 0.0283660888671875, 0.10601806640625, 0.1015625, 0.102294921875, 0.1168212890625, 0.18359375, 0.2222900390625, 0.1856689453125, 0.1556396484375, ...
embed
70283949_c0
70283949
lisp
0
Title: Cosine Similarity in linear time using Lisp Problem title: Cosine Similarity in linear time using Lisp Tags: hy, cosine-similarity, python-3.x, lisp Problem: Cosine Similarity in linear time using Lisp The cosine similarity of two lists can be calculated in linear time using a for-loop. I'm curious as to how one...
Cosine Similarity in linear time using Lisp Cosine Similarity in linear time using Lisp hy cosine-similarity python-3.x lisp Lisp math Cosine Similarity cos_sim _math _math.sqrt l2norm math.sqrt python-3.x Cosine Similarity in linear time using Lisp The cosine similarity of two lists can be calculated in linear time us...
[ -0.000667572021484375, 0.0306396484375, -0.010498046875, 0.0247802734375, -0.0033721923828125, -0.004608154296875, -0.0029449462890625, 0.0093994140625, -0.001861572265625, -0.036376953125, -0.006744384765625, 0.03662109375, -0.0023040771484375, -0.015380859375, -0.0087890625, -0.01855...
[ 1311, 14186, 209683, 2481, 192617, 1733, 17368, 1261, 7008, 2119, 552, 62318, 320, 17198, 50828, 8316, 425, 400, 48909, 9545, 5072, 125458, 3198, 304, 60010, 21373, 6626, 5303, 831, 74481, 100, 28354, 193844, 69307, 5062, 46876, 27781, 18151,...
[ 0.1368408203125, 0.2568359375, 0.2049560546875, 0.116943359375, 0.169189453125, 0.14501953125, 0.06756591796875, 0.1588134765625, 0.24267578125, 0.174072265625, 0.146728515625, 0.1392822265625, 0.07977294921875, 0.05340576171875, 0.11767578125, 0.07403564453125, 0.0426025390625, 0....
embed
41021481_c0
41021481
lisp
0
Title: Combining two functions in Scheme Problem title: Combining two functions in Scheme Tags: composition, scheme, lisp, recursion, function Problem: Combining two functions in Scheme I have the filter-function and the reverse-function done out in my own code (define reverse_ (lambda (xs) (if (null? xs) xs (append (r...
Combining two functions in Scheme Combining two functions in Scheme composition scheme lisp recursion function Combining Scheme reverse_ filter_ Combining two functions in Scheme I have the filter-function and the reverse-function done out in my own code and I want to combine the two functions into the (reverse-filter)...
[ -0.021240234375, 0.0537109375, -0.004608154296875, -0.01385498046875, -0.015625, 0.012939453125, 0.0108642578125, 0.005035400390625, 0.011962890625, -0.0034942626953125, 0.006622314453125, -0.0062255859375, 0.00860595703125, -0.01031494140625, -0.01129150390625, 0.0064697265625, 0.00...
[ 106935, 592, 6626, 32354, 23, 34702, 282, 166577, 150370, 400, 7008, 195625, 1830, 39531, 184, 46312, 7, 137175, 136, 10002, 18151, 3444, 70163, 3934, 107, 37676, 120337, 5809, 10644, 26582, 41600, 116, 138, 876, 501, 30646, 33079, 10, 4324...
[ 0.2135009765625, 0.0477294921875, 0.164306640625, 0.1998291015625, 0.048187255859375, 0.177978515625, 0.175537109375, 0.1741943359375, 0.198486328125, 0.06640625, 0.1416015625, 0.1475830078125, 0.0225372314453125, 0.2115478515625, 0.1533203125, 0.2373046875, 0.00372314453125, 0.141...
embed
24794886_c0
24794886
lisp
0
Title: Evaluating in buffer different from evaluating in slime? Problem title: Evaluating in buffer different from evaluating in slime? Tags: slime, lisp, emacs, common-lisp Problem: Evaluating in buffer different from evaluating in slime? I am using emacs to learn how to program in common lisp, and I have bumped up ag...
Evaluating in buffer different from evaluating in slime? Evaluating in buffer different from evaluating in slime? slime lisp emacs common-lisp evaluating M-x Symbol Evaluating in buffer different from evaluating in slime? I am using emacs to learn how to program in common lisp, and I have bumped up against a confusing ...
[ -0.0125732421875, 0.0022430419921875, 0.0019989013671875, 0.0028839111328125, 0.0013275146484375, 0.00958251953125, 0.0166015625, 0.004425048828125, -0.01171875, 0.00982666015625, -0.005889892578125, 0.00494384765625, 0.0247802734375, -0.00677490234375, -0.0101318359375, -0.00775146484...
[ 151228, 1916, 23, 373, 18234, 12921, 1295, 151575, 214, 34264, 13, 400, 7008, 352, 2263, 39210, 4086, 254, 276, 425, 131899, 17368, 7, 1528, 55681, 30957, 125195, 678, 18499, 43658, 71099, 456, 2424, 43240, 169123, 149186, 19774, 18151, 268...
[ 0.2445068359375, 0.10430908203125, 0.115966796875, 0.099365234375, 0.2247314453125, 0.15087890625, 0.044891357421875, 0.213134765625, 0.08978271484375, 0.1824951171875, 0.1864013671875, 0.1279296875, 0.1502685546875, 0.06658935546875, 0.127197265625, 0.124755859375, 0.1036376953125, ...
embed
56692896_c0
56692896
lisp
0
Title: pass a list to macro in Common Lisp Problem title: pass a list to macro in Common Lisp Tags: quote, metaprogramming, macros, common-lisp, lisp Problem: pass a list to macro in Common Lisp I'm having a problem passing a list to macro, where the list will be used to generate function name. For example, the code be...
pass a list to macro in Common Lisp pass a list to macro in Common Lisp quote metaprogramming macros common-lisp lisp Common Lisp pass a list to macro in Common Lisp I'm having a problem passing a list to macro, where the list will be used to generate function name. For example, the code below causes an error. The resu...
[ 0.01007080078125, 0.01251220703125, -0.0028839111328125, 0.006866455078125, -0.0103759765625, -0.006866455078125, 0.0000858306884765625, -0.005584716796875, -0.00140380859375, -0.0162353515625, -0.01104736328125, -0.01434326171875, 0.01007080078125, 0.00469970703125, -0.00457763671875, ...
[ 27875, 5303, 47, 111789, 23, 151301, 1261, 7008, 10, 66747, 23550, 28966, 39210, 4086, 254, 400, 2967, 452, 11814, 139392, 32354, 9351, 18151, 35064, 113660, 18499, 2811, 40383, 44691, 55681, 82230, 43240, 5885 ]
[ 0.1494140625, 0.2451171875, 0.13671875, 0.266357421875, 0.07196044921875, 0.1846923828125, 0.1533203125, 0.1927490234375, 0.016265869140625, 0.08929443359375, 0.05841064453125, 0.09588623046875, 0.0880126953125, 0.06982421875, 0.08038330078125, 0.06903076171875, 0.071533203125, 0.1...
embed
44466001_c0
44466001
lisp
0
Title: Read from file Common Lisp Problem title: Read from file Common Lisp Tags: common-lisp, lisp, file Problem: Read from file Common Lisp I need to read from a file but I'm having some issues with the code. I've to read i file like this: 1.0 4.5 4.555 6.43 4.0 5 ..... 6 3 2 numbers per line separated by #\Space or ...
Read from file Common Lisp Read from file Common Lisp common-lisp lisp file file Read Common Lisp Space Tab foo.lisp Read from file Common Lisp I need to read from a file but I'm having some issues with the code. I've to read i file like this: 2 numbers per line separated by #\Space or #\Tab (in the file I can have a b...
[ -0.002227783203125, -0.005157470703125, -0.0014190673828125, -0.0034942626953125, -0.0030364990234375, 0.0086669921875, 0.007232666015625, -0.002960205078125, 0.0057373046875, -0.035400390625, 0.004058837890625, -0.00012111663818359375, -0.02685546875, -0.0240478515625, 0.003204345703125...
[ 4764, 1295, 11435, 151301, 1261, 7008, 39210, 4086, 254, 400, 43045, 22193, 5775, 31, 3871, 12301, 37348, 18151, 17, 1884, 116, 101935, 13315, 84797, 141012, 161671, 124519, 32354, 8110, 30646, 5303, 678, 59636, 29822, 2256, 195625, 45064, 75...
[ 0.195556640625, 0.166748046875, 0.184326171875, 0.156005859375, 0.1470947265625, 0.1845703125, 0.1414794921875, 0.0867919921875, 0.134765625, 0.07879638671875, 0.1195068359375, 0.181396484375, 0.07171630859375, 0.0689697265625, 0.0377197265625, 0.2205810546875, 0.049102783203125, 0...
embed
67478195_c0
67478195
lisp
0
Title: Using fixed point to show square root Problem title: Using fixed point to show square root Tags: sicp, iteration, lisp, racket, scheme Problem: Using fixed point to show square root In going through the exercises of SICP, it defines a fixed-point as a function that satisfies the equation F(x)=x. And iterating to...
Using fixed point to show square root Using fixed point to show square root sicp iteration lisp racket scheme Using math.sqrt Using fixed point to show square root In going through the exercises of SICP, it defines a fixed-point as a function that satisfies the equation F(x)=x. And iterating to find where the function ...
[ 0.01214599609375, -0.0034942626953125, -0.00225830078125, -0.00836181640625, 0.019287109375, -0.01409912109375, -0.0031585693359375, 0.006317138671875, -0.008056640625, -0.033935546875, 0.00299072265625, -0.013916015625, -0.00799560546875, 0.003265380859375, 0.000293731689453125, -0.00...
[ 345, 188347, 6275, 7639, 108047, 74855, 26536, 254, 720, 7008, 27853, 150370, 48909, 864, 3198, 81979, 159, 198993, 61924, 10, 9, 38496, 237, 32354, 40407, 5490, 563, 425, 1369, 17, 67, 98767, 7413, 7440, 70, 7279, 7, 151134, 919, 28219, ...
[ 0.025177001953125, 0.257080078125, 0.1173095703125, 0.13720703125, 0.1358642578125, 0.203125, 0.028564453125, 0.0711669921875, 0.12939453125, 0.06829833984375, 0.1064453125, 0.07952880859375, 0.0518798828125, 0.1077880859375, 0.1539306640625, 0.0533447265625, 0.0139617919921875, 0....
embed
933667_c0
933667
lisp
0
Title: Designing SQL alternative? Problem title: Designing SQL alternative? Tags: scheme, lisp, innodb, dsl, sql Problem: Designing SQL alternative? I'm thinking of designing & implementing my own SQL-equivalent (DDL+DML) that is... a pure relational algebraic language, and has an elegant Lisp-/Scheme-like syntax Assum...
Designing SQL alternative? Designing SQL alternative? scheme lisp innodb dsl sql Designing SQL Designing SQL alternative? I'm thinking of designing & implementing my own SQL-equivalent (DDL+DML) that is... a pure relational algebraic language, and has an elegant Lisp-/Scheme-like syntax Assuming an RDBMS such as MySQL,...
[ 0.0196533203125, 0.041748046875, 0.0115966796875, 0.01171875, -0.010009765625, 0.0030059814453125, -0.0252685546875, -0.00701904296875, -0.00628662109375, -0.00396728515625, 0.0118408203125, 0.0380859375, -0.007476806640625, -0.0030517578125, -0.0037078857421875, 0.00095367431640625, ...
[ 11724, 214, 80866, 30700, 150370, 400, 7008, 23, 157, 48073, 104, 24861, 91, 99247, 47644, 4331, 29479, 10002, 3181, 85540, 397, 27502, 1328, 39456, 34166, 41911, 429, 2844, 46876, 27650, 1261, 25452, 12549, 5062, 6002, 86531, 627, 39463, 1...
[ 0.22509765625, 0.0399169921875, 0.270263671875, 0.20751953125, 0.1710205078125, 0.0716552734375, 0.183837890625, 0.0660400390625, 0.159912109375, 0.191162109375, 0.0217437744140625, 0.167236328125, 0.016815185546875, 0.2322998046875, 0.0697021484375, 0.222412109375, 0.057159423828125...
embed
5928106_c0
5928106
lisp
0
Title: Compose example in Paul Graham&#x27;s ANSI Common Lisp Problem title: Compose example in Paul Graham&#x27;s ANSI Common Lisp Tags: reduce, lisp, common-lisp, closures Problem: Compose example in Paul Graham's ANSI Common Lisp Can anybody explain an example in Paul Graham's ANSI Common Lisp page 110? The example ...
Compose example in Paul Graham&#x27;s ANSI Common Lisp Compose example in Paul Graham&#x27;s ANSI Common Lisp reduce lisp common-lisp closures Compose Paul Graham ANSI Common Lisp fn1 Compose example in Paul Graham's ANSI Common Lisp Can anybody explain an example in Paul Graham's ANSI Common Lisp page 110? The example...
[ -0.01177978515625, -0.0034637451171875, -0.004974365234375, 0.035888671875, -0.0252685546875, 0.00848388671875, 0.02197265625, 0.027587890625, 0.00823974609375, -0.0185546875, -0.000720977783203125, -0.009033203125, 0.0205078125, 0.0087890625, 0.005615234375, -0.0146484375, -0.013366...
[ 15612, 8364, 27781, 10208, 147756, 3768, 14368, 9902, 151301, 1261, 7008, 34390, 400, 39210, 4086, 254, 170224, 14783, 418, 37873, 73342, 142, 9191, 12062, 9790, 4527, 619, 56644, 136, 21, 6492, 85, 28282, 123309, 56037, 135094, 111, 83, 32...
[ 0.1680908203125, 0.1319580078125, 0.2366943359375, 0.1505126953125, 0.23681640625, 0.03955078125, 0.056884765625, 0.1170654296875, 0.13427734375, 0.1253662109375, 0.14990234375, 0.15771484375, 0.0828857421875, 0.08160400390625, 0.0692138671875, 0.1109619140625, 0.1575927734375, 0.0...
embed
7589934_c0
7589934
lisp
0
Title: Common lisp, undefined intersection function behaviour? Problem title: Common lisp, undefined intersection function behaviour? Tags: common-lisp, lisp Problem: Common lisp, undefined intersection function behaviour? According to CLHS entry for the INTERSECTION function ( http://www.lispworks.com/documentation/Hy...
Common lisp, undefined intersection function behaviour? Common lisp, undefined intersection function behaviour? common-lisp lisp Common Common lisp, undefined intersection function behaviour? According to CLHS entry for the INTERSECTION function ( http://www.lispworks.com/documentation/HyperSpec/Body/f_isec_.htm ): My ...
[ -0.0009765625, 0.002593994140625, 0.0089111328125, -0.0042724609375, -0.018798828125, 0.016357421875, 0.017333984375, -0.003936767578125, -0.00970458984375, -0.0037689208984375, 0.0135498046875, 0.01953125, 0.00701904296875, 0.006072998046875, 0.0030517578125, 0.00933837890625, 0.009...
[ 151301, 400, 7008, 9232, 5983, 1940, 7, 58994, 32354, 224833, 39210, 4086, 254, 46323, 38131, 42805, 59692, 9127, 441, 35213, 18244, 117432, 1264, 47107, 12647, 1459, 39797, 2967, 3871, 3714, 6626, 80854, 80836, 1221, 3884, 23, 16750, 26866, ...
[ 0.163330078125, 0.1343994140625, 0.15869140625, 0.068603515625, 0.156005859375, 0.1214599609375, 0.1275634765625, 0.138916015625, 0.13623046875, 0.161376953125, 0.136474609375, 0.123779296875, 0.0950927734375, 0.0537109375, 0.0946044921875, 0.0540771484375, 0.1468505859375, 0.15429...
embed
5415284_c0
5415284
lisp
0
Title: emacsclient not evaluating color-theme? Problem title: emacsclient not evaluating color-theme? Tags: lisp, debian, emacsclient, elisp, emacs Problem: emacsclient not evaluating color-theme? When I boot I launch emacs --daemon and it evaluates my .emacs with one exception: (add-to-list 'load-path "~/.elisp/zenbur...
emacsclient not evaluating color-theme? emacsclient not evaluating color-theme? lisp debian emacsclient elisp emacs M-x emacsclient not evaluating color-theme? When I boot I launch emacs --daemon and it evaluates my .emacs with one exception: I know that the load-path stuff works because M-x zenburn loads the color sch...
[ 0.00799560546875, 0.024658203125, -0.0157470703125, 0.027099609375, -0.0181884765625, 0.007049560546875, 0.00823974609375, 0.019287109375, 0.000530242919921875, 0.00183868408203125, 0.00066375732421875, 0.043212890625, -0.00390625, -0.006134033203125, -0.0213623046875, -0.01416015625, ...
[ 352, 2263, 7, 222978, 959, 151575, 214, 10576, 2347, 282, 400, 7008, 8, 62806, 15296, 276, 9, 425, 49935, 83184, 4210, 74768, 11883, 4439, 678, 1632, 131527, 3714, 72367, 128405, 41884, 43240, 4752, 105236, 70, 150370, 5885, 434, 13, 1405...
[ 0.1065673828125, 0.1634521484375, 0.1436767578125, 0.240966796875, 0.0633544921875, 0.1884765625, 0.03533935546875, 0.1800537109375, 0.1702880859375, 0.091064453125, 0.0435791015625, 0.117431640625, 0.0966796875, 0.132080078125, 0.013702392578125, 0.0694580078125, 0.024139404296875, ...
embed
45316582_c0
45316582
lisp
0
Title: Max-lisp-eval-depth in multirember function Problem title: Max-lisp-eval-depth in multirember function Tags: the-little-schemer, max, elisp, eval, lisp Problem: Max-lisp-eval-depth in multirember function In the book "the little schemer" fourth edition, in chapter 8 there is the function "multirember & co", I di...
Max-lisp-eval-depth in multirember function Max-lisp-eval-depth in multirember function the-little-schemer max elisp eval lisp Max-lisp-eval-depth Max-lisp-eval-depth in multirember function In the book "the little schemer" fourth edition, in chapter 8 there is the function "multirember & co", I did it in the "emacs li...
[ -0.0036468505859375, 0.0235595703125, 0.000640869140625, 0.0166015625, 0.0054931640625, 0.0174560546875, 0.00994873046875, -0.0026397705078125, -0.00133514404296875, -0.044677734375, -0.00396728515625, -0.020263671875, 0.0201416015625, 0.007293701171875, 0.0185546875, -0.0172119140625,...
[ 9920, 4086, 254, 13, 1405, 168867, 6024, 42, 27417, 32354, 70, 150, 46401, 7560, 1991, 18389, 15296, 7008, 28, 400, 12877, 2347, 10176, 150370, 22759, 79737, 139539, 382, 83, 144227, 619, 552, 11883, 4439, 170492, 429, 2967, 85269, 4909, ...
[ 0.180419921875, 0.1529541015625, 0.1934814453125, 0.0207977294921875, 0.2049560546875, 0.2347412109375, 0.1124267578125, 0.1087646484375, 0.235595703125, 0.1832275390625, 0.03314208984375, 0.046539306640625, 0.10009765625, 0.06524658203125, 0.15869140625, 0.187255859375, 0.0469055175...
embed
1808035_c0
1808035
lisp
0
Title: Emacs, Zen-Coding mode, and Putty Problem title: Emacs, Zen-Coding mode, and Putty Tags: emacs, elisp, emmet, lisp Problem: Emacs, Zen-Coding mode, and Putty I use emacs via Putty and since Putty doesn't send certain key combinations to the remote console I generally need to re-bind them to other key combination...
Emacs, Zen-Coding mode, and Putty Emacs, Zen-Coding mode, and Putty emacs elisp emmet lisp Emacs Zen-Coding Putty M-RET Emacs, Zen-Coding mode, and Putty I use emacs via Putty and since Putty doesn't send certain key combinations to the remote console I generally need to re-bind them to other key combinations. After in...
[ -0.0010986328125, -0.005950927734375, -0.0118408203125, -0.0030364990234375, -0.012939453125, 0.0201416015625, 0.0029754638671875, -0.0030975341796875, 0.01141357421875, 0.0191650390625, 0.0084228515625, 0.01904296875, 0.0079345703125, -0.0103759765625, -0.01361083984375, 0.00216674804...
[ 85269, 4439, 25908, 10625, 6238, 13736, 19577, 939, 9, 352, 2263, 15296, 7008, 1928, 400, 276, 41116, 4527, 7, 1829, 25379, 22799, 162515, 148814, 130250, 137567, 3871, 456, 89817, 3789, 20600, 44613, 63134, 479, 22751, 139392, 69427, 183540,...
[ 0.17041015625, 0.1932373046875, 0.1834716796875, 0.14208984375, 0.12841796875, 0.1297607421875, 0.1595458984375, 0.2022705078125, 0.0248565673828125, 0.09130859375, 0.146240234375, 0.03173828125, 0.1295166015625, 0.161376953125, 0.055450439453125, 0.0870361328125, 0.242919921875, 0...
embed
26152557_c0
26152557
lisp
0
Title: to apply #&#x27; or not to apply #&#x27; Problem title: to apply #&#x27; or not to apply #&#x27; Tags: common-lisp, lisp Problem: to apply #' or not to apply #' I've just started to play around with Lisp (Common-Lisp), here's a function that calculates the average of a list of numbers CL-USER> (defun average (li...
to apply #&#x27; or not to apply #&#x27; to apply #&#x27; or not to apply #&#x27; common-lisp lisp CL-USER AVERAGE to apply #' or not to apply #' I've just started to play around with Lisp (Common-Lisp), here's a function that calculates the average of a list of numbers however if I rewrite the function like so it does...
[ 0.00848388671875, 0.0216064453125, 0.01953125, 0.004486083984375, 0.0047607421875, 0.0203857421875, -0.001068115234375, 0.01336669921875, 0.0255126953125, -0.055419921875, 0.01446533203125, -0.0247802734375, 0.000156402587890625, 0.00469970703125, 0.0012359619140625, -0.00439453125, ...
[ 47, 59911, 3768, 707, 959, 39210, 4086, 254, 400, 7008, 46323, 1062, 50184, 62, 33255, 75930, 468, 11301, 10932, 1261, 10770, 3796, 9506, 32354, 74481, 83080, 5303, 101935, 456, 434, 18781, 18, 4488, 22183, 6562, 4390, 2606, 1297, 831, 15...
[ 0.05853271484375, 0.2237548828125, 0.0902099609375, 0.022186279296875, 0.07501220703125, 0.09490966796875, 0.0966796875, 0.1378173828125, 0.09521484375, 0.1920166015625, 0.05401611328125, 0.115966796875, 0.1209716796875, 0.10284423828125, 0.204833984375, 0.0863037109375, 0.0963745117...
embed
5352997_c0
5352997
lisp
0
Title: Programming Scheme(Racket) with VIM - How to get started Problem title: Programming Scheme(Racket) with VIM - How to get started Tags: lisp, racket, vim, scheme Problem: Programming Scheme(Racket) with VIM - How to get started recently, I started programming Racket (formerly Scheme) in DrRacket. I quite fast I b...
Programming Scheme(Racket) with VIM - How to get started Programming Scheme(Racket) with VIM - How to get started lisp racket vim scheme Programming Scheme Racket VIM How Programming Scheme(Racket) with VIM - How to get started recently, I started programming Racket (formerly Scheme) in DrRacket. I quite fast I began t...
[ -0.0081787109375, 0.01177978515625, -0.0157470703125, 0.0242919921875, -0.010498046875, 0.00244140625, -0.005859375, -0.00616455078125, -0.021240234375, -0.033935546875, 0.0201416015625, 0.00836181640625, -0.0264892578125, -0.006439208984375, -0.024169921875, -0.031494140625, -0.0057...
[ 27958, 214, 34702, 282, 12248, 27853, 678, 5947, 594, 11249, 47, 2046, 26859, 400, 7008, 673, 119916, 150370, 2552, 78684, 56037, 449, 82772, 1773, 4271, 80723, 18025, 66139, 1884, 4527, 219, 85269, 4439, 13648, 2965, 44126, 108938, 756, 34...
[ 0.1978759765625, 0.09588623046875, 0.1849365234375, 0.166748046875, 0.1390380859375, 0.2247314453125, 0.09747314453125, 0.2147216796875, 0.2386474609375, 0.0784912109375, 0.015869140625, 0.10791015625, 0.1807861328125, 0.06768798828125, 0.1280517578125, 0.111328125, 0.23974609375, ...
embed
8015458_c0
8015458
lisp
0
Title: Add times in javascript Problem title: Add times in javascript Tags: lisp, elisp, javascript, regex Problem: Add times in javascript Some time ago, I posted a question how to add times in an emacs-buffer. Now the same thing to be displayed on an ikiwiki page. So the times to add are on the page where the added t...
Add times in javascript Add times in javascript lisp elisp javascript regex Add Add times in javascript Some time ago, I posted a question how to add times in an emacs-buffer. Now the same thing to be displayed on an ikiwiki page. So the times to add are on the page where the added time should show up. Perhaps the best...
[ -0.00628662109375, 0.019287109375, -0.000865936279296875, -0.0198974609375, -0.007110595703125, -0.004058837890625, -0.0208740234375, 0.026123046875, -0.010498046875, -0.06884765625, 0.009765625, -0.0013427734375, -0.0137939453125, 0.02392578125, -0.0028839111328125, -0.00653076171875,...
[ 29117, 20028, 23, 136951, 400, 7008, 15296, 6835, 3355, 9655, 3642, 15190, 352, 2263, 7, 123759, 56, 5701, 44116, 2209, 13691, 9191, 49814, 1733, 5608, 7639, 1257, 2965, 765, 32354, 3900, 19309, 35166, 47, 18151 ]
[ 0.190673828125, 0.2498779296875, 0.0277099609375, 0.263427734375, 0.0926513671875, 0.2042236328125, 0.111328125, 0.1107177734375, 0.1395263671875, 0.0164794921875, 0.0166015625, 0.1622314453125, 0.09912109375, 0.1519775390625, 0.1070556640625, 0.154296875, 0.1348876953125, 0.009552...
embed
9055589_c0
9055589
lisp
0
Title: How can I run SBCL code under a Unix-like operating system in a convenient way? Problem title: How can I run SBCL code under a Unix-like operating system in a convenient way? Tags: lisp, common-lisp, sbcl Problem: How can I run SBCL code under a Unix-like operating system in a convenient way? (David James both w...
How can I run SBCL code under a Unix-like operating system in a convenient way? How can I run SBCL code under a Unix-like operating system in a convenient way? lisp common-lisp sbcl How SBCL Unix-like How can I run SBCL code under a Unix-like operating system in a convenient way? (David James both wrote the question an...
[ 0.01031494140625, 0.0177001953125, -0.00077056884765625, -0.00168609619140625, -0.020263671875, 0.00191497802734375, 0.0322265625, 0.006195068359375, 0.00628662109375, -0.0289306640625, -0.011962890625, 0.018798828125, 0.0205078125, 0.01446533203125, -0.01287841796875, 0.00222778320312...
[ 11249, 831, 11675, 90944, 37486, 18151, 1379, 992, 4084, 5062, 172852, 5426, 142267, 3917, 400, 7008, 39210, 4086, 254, 91, 275, 34937, 87, 10, 118571, 14631, 6512, 5465, 118664, 5570, 345, 9969, 1340, 1261, 47, 36279, 18852, 41925, 1179, ...
[ 0.08502197265625, 0.0738525390625, 0.177734375, 0.1727294921875, 0.254638671875, 0.230224609375, 0.1942138671875, 0.1407470703125, 0.17138671875, 0.181640625, 0.125732421875, 0.09228515625, 0.1651611328125, 0.0684814453125, 0.10162353515625, 0.253662109375, 0.1395263671875, 0.11499...
embed
2263758_c0
2263758
lisp
0
Title: How to change emacs config in Lisp In A Box Problem title: How to change emacs config in Lisp In A Box Tags: elisp, lisp, lisp-in-a-box, emacs Problem: How to change emacs config in Lisp In A Box I have been a programmer for a decade now, but I believe this is the first time I've ever asked a question on a forum...
How to change emacs config in Lisp In A Box How to change emacs config in Lisp In A Box elisp lisp lisp-in-a-box emacs How Lisp Box How to change emacs config in Lisp In A Box I have been a programmer for a decade now, but I believe this is the first time I've ever asked a question on a forum. I just can't figure this ...
[ 0.0162353515625, 0.01055908203125, -0.005096435546875, 0.000797271728515625, -0.01165771484375, 0.022216796875, -0.00012874603271484375, 0.0181884765625, 0.007354736328125, 0.00146484375, -0.00946044921875, 0.006744384765625, -0.0169677734375, 0.0078125, 0.0062255859375, -0.01916503906...
[ 11249, 47, 15549, 352, 2263, 7, 153837, 23, 1261, 7008, 360, 62, 27271, 15296, 400, 73, 11, 11728, 77848, 23662, 4738, 26366, 35166, 15504, 20004, 13736, 1286, 81148, 54825, 38937, 33176, 43658, 71099, 32354, 51042, 3773, 361, 20600, 98169,...
[ 0.0701904296875, 0.020965576171875, 0.216064453125, 0.115234375, 0.1864013671875, 0.1417236328125, 0.26513671875, 0.05059814453125, 0.1627197265625, 0.200439453125, 0.17578125, 0.106689453125, 0.2281494140625, 0.01495361328125, 0.0927734375, 0.10650634765625, 0.0380859375, 0.099243...
embed
8240219_c0
8240219
lisp
0
Title: Closures and dynamic scoping Problem title: Closures and dynamic scoping Tags: lisp, implementation Problem: Closures and dynamic scoping I'm working on a toy lisp implementation, inspired by picolisp . Thus there are only dynamically scoped variables(plus file local variables). Recently I wondered, whether it i...
Closures and dynamic scoping Closures and dynamic scoping lisp implementation Closures Closures and dynamic scoping I'm working on a toy lisp implementation, inspired by picolisp . Thus there are only dynamically scoped variables(plus file local variables). Recently I wondered, whether it is possible to add closures to...
[ 0.0263671875, 0.024658203125, 0.01171875, 0.0159912109375, -0.005218505859375, 0.0159912109375, -0.004608154296875, 0.019775390625, -0.00112152099609375, -0.0084228515625, 0.0067138671875, 0.00714111328125, -0.005126953125, 0.024169921875, 0.0281982421875, 0.002777099609375, -0.00512...
[ 51053, 7, 30891, 136, 84079, 44679, 214, 400, 7008, 208124, 20697, 72713, 191722, 8834, 5674, 4734, 297, 77336, 32108, 11435, 4000, 7722, 15190, 170224, 46876, 128239, 756, 91067, 21, 6492, 85, 125195, 4343, 34704, 17164, 143726, 177261, 1435...
[ 0.21923828125, 0.1591796875, 0.20458984375, 0.04534912109375, 0.209716796875, 0.1639404296875, 0.06329345703125, 0.1376953125, 0.1549072265625, 0.1571044921875, 0.0411376953125, 0.1741943359375, 0.090087890625, 0.05322265625, 0.009918212890625, 0.017791748046875, 0.021514892578125, ...
embed