On Mar 20, 2018, at 9:21 AM, Kevin Forchione <lyss...@gmail.com> wrote:
> 
> 
Sorry, wrong example! 

>(struct fish (color (weight #:auto)) #:transparent)
>(define marlin (fish 'orange-and-white))
>(define dory (struct-copy fish marlin [color 'blue]))

../../Applications/Racket/collects/racket/private/define-struct.rkt:953:29: 
fish: arity mismatch;
 the expected number of arguments does not match the given number
  expected: 1
  given: 2
  arguments...:

Kevin
 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to