I am using Emacs, Slime, and SBCL to develop Common Lisp in a Desktop PC running NixOS.
In addition, I am using the libraries dex, plump, and clss to extract the title of a webpage. Thus, I did:
CL-USER> (clss:select "title" (plump:parse (dex:get "http://www.pdelfino.com.br")))
#(#<PLUMP-DOM:ELEMENT title {1009C488E3}>)
I was expecting: "Pedro Delfino".
Instead, I got the object:
#(#<PLUMP-DOM:ELEMENT title {1009C488E3}>)
If I describe the object it does not help me finding the value I want:
CL-USER> (clss:select "title" (plump:parse (dex:get "http://www.pdelfino.com.br")))
#(#<PLUMP-DOM:ELEMENT title {100A9888E3}>)
CL-USER> (describe *)
#(#<PLUMP-DOM:ELEMENT title {100A9888E3}>)
[vector]
Element-type: T
Fill-pointer: 1
Size: 10
Adjustable: yes
Displaced: no
Storage vector: #<(SIMPLE-VECTOR 10) {100A9B65BF}>
; No value
CL-USER>
Where is the value that I need?
Thanks