Jump to content

bug in gen-mandelbrot example code


Recommended Posts

Hello!

 

Just letting you know -- I ran into this error while trying out the (gen-mandelbrot) function:

 

(setf man-int (gen-mandelbrot 6 6 6))

 

    (setf man-lis (integer-to-pitch (array-to-list man-int)))

 

    (gen-divide 6 

     (substitute-map

       '(1/4 1/8 -1/8 1/8 1/16 1/16) (1 2 3 4 5 6)

      (flatten (array-to-list man-int))))

 
>Error: Car of (1 2 3 4 5 6) is not a function name or lambda-expression.
 
 
I figured out that (1 2 3 4 5 6) needs to be '(1 2 3 4 5 6)
 
Really enjoying learning opusmodus!
 
Elliot
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy