PasteRack.org
Paste # 30630
2016-07-01 12:03:31

Fork as a new paste.

Paste viewed 59 times.


Embed:

  1. #lang racket
  2. (gcd 3+6i 2+4i)

=>

gcd: contract violation

  expected: rational?

  given: 3+6i

  argument position: 1st

  other arguments...:

   2+4i