logo
down
shadow

LISP QUESTIONS

Printing a list with infix notation
Printing a list with infix notation
help you fix your problem This answer contains bad code.Easy, just use custom formatters:
TAG : lisp
Date : October 11 2020, 09:00 AM , By : rajesh neti
What is the name of mathematical object similar to a graph, but with different kind of edges?
What is the name of mathematical object similar to a graph, but with different kind of edges?
around this issue The paper linked from comments describes 3 types of components: Entities (represented by v nodes in your chart) Statements (e1 e2) Influences (e3 e4)
TAG : lisp
Date : October 10 2020, 08:00 AM , By : Denine
"*** - EVAL: undefined function X" in Lisp
"*** - EVAL: undefined function X" in Lisp
I hope this helps . You really need to start with a good lisp book, e.g., PCL or ACL. You will save yourself a lot of time.Lisp syntax is different from C.
TAG : lisp
Date : October 08 2020, 04:00 PM , By : Michael Finlan
Cond statement causing slime to crash
Cond statement causing slime to crash
will help you There are many things wrong with this function. The initial cond is almost certainly malformed since it does nothing at all. Probably it should. There's a missing close paren which I assume is a cut paste error. Don't use defparameter
TAG : lisp
Date : October 06 2020, 11:00 AM , By : TomTom
coerce function in common lisp -- arrays and lists
coerce function in common lisp -- arrays and lists
fixed the issue. Will look into that further The specification says:
TAG : lisp
Date : October 05 2020, 03:00 PM , By : LissaC
Convert binary string to number
Convert binary string to number
I wish did fix the issue. Pretty straightforward, but I can't seem to find an answer. I have a string of 1s and 0s such as "01001010" - how would I parse that into a number? , Use string-to-number, which optionally accepts the base:
TAG : lisp
Date : October 05 2020, 12:00 AM , By : user503495
Missionaries and Cannibals - LISP
Missionaries and Cannibals - LISP
Hope this helps Without getting into details, a simple way to approach this problem is a method called generate-and-test, where you generate all reachable states from an initial state and test for a solution (or reject undesired states).Here is kind-
TAG : lisp
Date : October 04 2020, 02:00 AM , By : Rafimr
Never called Lisp function
Never called Lisp function
fixed the issue. Will look into that further
TAG : lisp
Date : October 02 2020, 09:00 AM , By : Ace Creed Galicia
undefined operator after quickload lisp
undefined operator after quickload lisp
it helps some times The problem is nothing to do with Quicklisp, it's to do with a package you've defined somewhere called SIGMA. In particular somewhere in your code is a form which looks like:
TAG : lisp
Date : October 01 2020, 12:00 PM , By : jYan
How to display first N natural numbers, knowing the divisors in Lisp
How to display first N natural numbers, knowing the divisors in Lisp
seems to work fine Because I just had some time, you could have a look at this. Might not be the perfect solution but should be a good starting point for a beginner. Check out the books in the info tab to get into the syntax etc.
TAG : lisp
Date : September 30 2020, 04:00 PM , By : natanid
LISP: lisp overflowing problem from Hanoi tower problem
LISP: lisp overflowing problem from Hanoi tower problem
I think the issue was by ths following , There is no termination condition in your function.Try executing by hand:
TAG : lisp
Date : September 30 2020, 10:00 AM , By : Matt
Common lisp exercise , assing a value to string
Common lisp exercise , assing a value to string
should help you out This isn't an answer in the form of code, since I don't want to do your homework for you.First of all: the error you mention clearly comes from some code other than the code in your question: it is always a good idea to actually c
TAG : lisp
Date : September 30 2020, 12:00 AM , By : user6069962
How to do auto input in multiple read-lines?
How to do auto input in multiple read-lines?
I think the issue was by ths following , Another possibility is to use the parameter of read-line that requires to return nil on end of file:
TAG : lisp
Date : September 28 2020, 10:00 PM , By : user103822
Write a lisp function triangle that takes an odd number as the argument (n) and shows a triangle of printed odd numbers
Write a lisp function triangle that takes an odd number as the argument (n) and shows a triangle of printed odd numbers
Hope that helps Hints: is there a predicate which tells you if a number is odd (have a look at the code below for a clue)? can you work out how to get loop to count by intervals other than 1, because if you can count by 2 then you can enumerate odd n
TAG : lisp
Date : September 28 2020, 08:00 PM , By : Stupot82
Local State in Common Lisp
Local State in Common Lisp
Hope that helps Note that, even after the defun-is-global problem is dealt with, you need far less machinery than you have to do something like this. For instance:
TAG : lisp
Date : September 26 2020, 08:00 PM , By : weihe
how to change drracket splash screen to the valentine one
how to change drracket splash screen to the valentine one
wish helps you Set the environment variable PLTDREASTERSECONDS. Set it to a value that matches 14th of february.An alternative is to open
TAG : lisp
Date : September 26 2020, 06:00 PM , By : KalaiG
lisp: function that takes an initial list and diffs it against additional lists
lisp: function that takes an initial list and diffs it against additional lists
This might help you A straigtforward approach could use a simple function to loop over a list and collect the elements that aren't in another list (if you aren't trying to implement it yourself, there is set-difference). reduce can be used to apply t
TAG : lisp
Date : September 25 2020, 11:00 AM , By : Anthony Lana
osicat-posix:stat freeze
osicat-posix:stat freeze
wish help you to fix your issue There's nothing wrong with your sequence of actions and you should expect a result you wanted. Here is the output for me in SLIME:
TAG : lisp
Date : September 22 2020, 08:00 PM , By : Mario
Undefined operator FUNCTION in form (FUNCTION (QUOTE A)) in nfa compiler
Undefined operator FUNCTION in form (FUNCTION (QUOTE A)) in nfa compiler
like below fixes the issue I'm trying to write an epsilon-nfa compiler for regular expression in lisp for a course project. Given this input prompt , IF you use apropos you can search for a symbol with a substring:
TAG : lisp
Date : September 21 2020, 08:00 AM , By : mazhar
What does gensym do in Lisp?
What does gensym do in Lisp?
fixed the issue. Will look into that further GENSYM creates unique symbols. Each call creates a new symbol. The symbol usually has a name which includes a number, which is counted up.
TAG : lisp
Date : September 20 2020, 10:00 PM , By : life4coding
shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk