common-lisp
Maximum of a list using recursion?
My task is to write function in lisp which fin开发者_如何学JAVAds maximum of a list given as argument of the function, by using recursion.I\'vetried but i have some errors.I\'m new in Lisp and i am us[详细]
2023-03-27 15:59 分类:问答how to setup linedit support CCL in initial file?
I use 开发者_Go百科quicklisp to install linedit, http://www.cliki.net/Linedit say \"Should work on Lispworks and OpenMCL/CCL.\" how to write $HOME/.ccl-init.lisp?In the meantime, linedit has been made[详细]
2023-03-27 01:33 分类:问答select() doesn't wait any changes
I\'m not quite sure what i\'m doing wrong. I need to get file change event by select()system call. So the problem is that it doesn\'t wait, and immediately returns TRUE result. It\'s looks like i didn[详细]
2023-03-27 01:08 分类:问答Smalltalk equivalent to Common Lisp's #| ... |# comments?
Common Lisp\'s multiline comments make it easier to include multiline shebangs: #!/bin/bash #| exec clisp -q -q $0 $0 ${1+\"$@\"}[详细]
2023-03-26 21:41 分类:问答In lisp, how do I use the second value that the floor function returns?
When I do (floor 4 3) I got 1 1/3 But h开发者_C百科ow do I use that 1/3?You can for instance bind it to a variable using multiple-value-bind.[详细]
2023-03-26 13:37 分类:问答Is there a lint for Common Lisp or Chicken Scheme?
Is there a lint for Common Lisp or Chicken Scheme? Possibly something akin to C\'s splint, Haskell\'s HLint开发者_如何学Python, Perl\'s B::Lint, etc.?There\'s Lisp Critic:[详细]
2023-03-25 11:45 分类:问答common lisp let binding
I have a function calculate binomial expansion with optional parameters to specify the beginning and ending term:[详细]
2023-03-25 08:21 分类:问答How to overcome the lack of local variable for emacs lisp closure
I\'m now studying Emacs Lisp from the reference manual and Common Lisp from a LISP Book. from the Common Lisp book[详细]
2023-03-25 08:02 分类:问答Cross-product calculator in Java
I am working my way through Norvig\'s book on AIP. There is an exercise in it on writing a cross-product function -[详细]
2023-03-25 00:09 分类:问答Quicklisp loads library but is nowhere to be found in *features*
Today I installed cl-html-parse with Quicklisp but when I load it the library is nowhere to be found in the features list, what\'s going on?[详细]
2023-03-24 10:35 分类:问答