Thanks Robby! -J
On Tue, Jan 3, 2017 at 8:58 AM, Robby Findler
wrote:
> There may be a way to do this without it, but I've just pushed a
> change to define-module-boundary-contract that lets you specify the
> name that you want in the error message.
>
> Also, if you can use a `let`, that's prob
There may be a way to do this without it, but I've just pushed a
change to define-module-boundary-contract that lets you specify the
name that you want in the error message.
Also, if you can use a `let`, that's probably better than procedure-rename, eg:
(define make-bar
(let ([bar (λ (x [y 1] [
Over time I've run into a number of problems trying to provide custom
struct constructors and match expanders under the same name, while also
attaching module-level contracts to the constructors. I've figured out most
of the issues (I think), but one remains. Here's an example:
===
#lang racket/ba
3 matches
Mail list logo