Maybe this line:
https://github.com/racket/racket/blob/master/racket/collects/racket/contract/private/parametric.rkt#L105
should be:
#:first-order (λ (c) (if (barrier-contract-positive? c)
(barrier-contract-pred c) (λ (x) #t)))
?
Robby
On Tue, Nov 28, 2017 at 8:02 PM, Ben Greenman
Thank you Ben! I will give it a try.
--
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
Thank you Ben! I will give it a try.
On Wednesday, November 29, 2017 at 6:04:38 PM UTC+1, Ben Greenman wrote:
>
> I don't think this is currently possible.
>
> To implement this, I think the `for-2d-sample` loop here needs to change:
>
>
> * Would have never been able to deduce this from the info you referenced...
Good point. Here's a pull request for changing the docs:
https://github.com/racket/scribble/pull/154
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe
>
> Try changing the include-section to import the `doc` submodule:
>
> @include-section[(submod "sub-scribble.rkt" doc)
>
>
> I got this idea from the 2nd paragraph of the "scribble/lp2 language"
> docs:
> http://docs.racket-lang.org/scribble/lp.html#%28mod-path._scribble%2Flp2%29
>
*
Try changing the include-section to import the `doc` submodule:
@include-section[(submod "sub-scribble.rkt" doc)
I got this idea from the 2nd paragraph of the "scribble/lp2 language" docs:
http://docs.racket-lang.org/scribble/lp.html#%28mod-path._scribble%2Flp2%29
On Wed, Nov 29, 2017 at 7:15
I don't think this is currently possible.
To implement this, I think the `for-2d-sample` loop here needs to change:
https://github.com/racket/plot/blob/master/plot-lib/plot/private/plot3d/surface.rkt#L28
(I guess there should be 2 loops, one to draw the surface and one to
draw the lines)
On
Seems like this works well enough, where I approximate the
rename-transformer rather than the syntax property.
(define-syntax (mb stx)
(syntax-case stx ()
[(_ . args) (with-syntax ([args (syntax-property #'args 'key
'value)])
#'(other-module-begin . args))]))
On 11/28/2017 11:58 PM, Jack Firth wrote:
What if the configuration file was the main module of your app, instead
of something imported by your app?
If you want to combine this with per-user customization in Racket code,
the 3rd message in the following thread suggests one way to handle
On 11/28/2017 11:58 PM, Jack Firth wrote:
> What if the configuration file was the main module of your app, instead
> of something imported by your app?
I've tried this, and it works well. I haven't used a custom config #lang
yet, but even with regular old Racket, it works very well.
For
Dear all,
Recently, I made a 3D plot with surface3d, but had to increase the
number of samples from the default value in order to obtain a
smooth surface. Unfortunately, this change also increased the
number of mesh lines, which resulted in a very dark surface. The
appearance improved by painting
overview.scrbl:
#lang scribble/base
@include-section["sub-scribble.rkt"]
sub-scribble.rkt:
#lang scribble/lp2
@title{Sub Scribble!}
Oh yeah.
@chunk[<*>]
gives:
only-in: identifier `doc' not included in nested require spec in:
"sub-scribble.rkt"
* What to do to include the documentation part
12 matches
Mail list logo