Playing around I got this surprise:

I wanted to set variable x to value '(1 2 3 4):

1. first try (without RTFM):

   : (set! x '(1 2 3 4))
   !? (lock (or Obj *DB))
   Bad DB file

   Obviously PicoLisp is different from most Schemes :-)

2. second try (superficially RTFM)

   : (de x '(1 2 3 4))
   : x
   -> ('(1 2 3 4))

   Wait? What the heck???

3. third try (now RTFM)

   : (de x . '(1 2 3 4))
   : x
   -> '(1 2 3 4)

   Bingo! I now can see a master plan to keep the number of
   functions limited, but more versatile.

Reply via email to