I have the following module in abc/main.rkt
:
#lang racket
(provide (all-defined-out))
(define (abc) 10)
Here's a short R6RS program which imports that module:
#!r6rs
(import (rnrs) (abc))
(display (abc))
(newline)
This error message appears at the bottom of the DrRacket window when that program is loaded:
+: contract violation expected: number? given: #f argument position: 1st other arguments...: 0
I'm able to run the program successfully however.
Any suggestions on how to get rid of the error?