Hello!
Is it possible to change the way, how DrRacket auto-indents new lines in
the interaction window?
I can control indents in the definition window by
setting drracket:indentation. Is there something like that for the
interaction window?
--
You received this message because you are subscr
Hello!
Is it possilble to redefine current-compile inside DrRacket?
I want to wrap compiler call for my #lang, but don't know how.
I tried racketrc.rktl, but it works only in console Racket.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To uns
We are finding a file (or directory) with name "tarzan" inside all
directories inside given path upto given depth.
Recursion is needed here, because tarzan-near-top-of-tree? calls
tarzan-in-directory? and tarzan-in-directory? calls
tarzan-near-top-of-tree? for each file in given directory.
I've read about protect-out and current-code-inspector, but I still cannot
understand, how to require a module and forbid it to run protected modules.
Something like (require untrusted-foo) (foo-proc) but to forbid foo-proc to
use ffi/unsafe.
--
You received this message because you are subsc
Thank you!
Is it possible to safely load untrusted module with dynamic-require?
пятница, 22 октября 2021 г. в 22:59:57 UTC+5, Robby Findler:
> On Fri, Oct 22, 2021 at 12:43 PM Matthew Flatt wrote:
>
>> At Thu, 21 Oct 2021 07:37:12 -0700 (PDT), "kalime...@gmail.com" wrote
Why
(define-syntax (require-file stx)
(syntax-case stx ()
[(_ x)
#'(require (file x))]))
doesn't work (it compiles, but doesn't import identifiers)?
(define-syntax (require-file* stx)
(syntax-case stx ()
[(_ x)
#`(require #,(datum->syntax #'x (list #'file #'x)))]))
works fine
https://pkgs.racket-lang.org/package/sweet-exp
It implements curly infix along with other syntax enhancements.
Your example works with it (#lang sweet-exp racket) as is.
пятница, 31 декабря 2021 г. в 15:42:36 UTC+5, damien...@gmail.com:
> Hi,
>
> i adapted a #lang and REPL for SRFI 105:
>
> htt
7 matches
Mail list logo