how would you do that?

Language similar to LISP

I don't think you can use cons twice.

really stuck.

maybe
(define a '('()))

Like this: '(() () ()) -> 3 lists inside 1
(define a '(()))
You only have to put 1 quote..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.