With help from this group, I've written my first baby-program in Racket and
would really appreciate any feedback on how to make it more idiomatic,
efficient and well-formatted (I struggle with where to break lines). Thank you
in advance.
The purpose is to fix the irregular capitalization of ent
Hi Glenn,
Because of the submodule system it's not necessarily a good idea to put
running code in the file directly. If you want something to run when the
file is the main file (e.g. run in drracket) you can use (module* main #f
...). This way (module+ test ...) doesn't execute these things, and i
Hi everyone,
I'm looking for information on how to customize the top-level "Racket
Documentation" page generated by Scribble for a particular Racket
installation.
Specifically, I am working with a group that has now accumulated a few
internal Racket packages with documentation, as well as some do
Hi Glenn,
This is pretty good! I added some remarks below:
On Wed, Jun 21, 2017 at 3:48 PM, Glenn Hoetker wrote:
>
> ;;;
> #lang racket
>
> (define in (open-input-file "/Users/me/BibDeskPapers/oldBib.bib"))
> (define out (open-output-file "
On Wed, Jun 21, 2017 at 8:40 PM, Jon Zeppieri wrote:
>
> #lang at-exp racket
>
> ;; normalize-keywords: string? -> string?
> #lang at-exp racket
>
Sorry, I made some bad edits here. Should have been:
#lang at-exp racket
;; normalize-keywords: string? -> string?
(define (normalize-keywords in)
And I should heed my own advice about testing.
On Wed, Jun 21, 2017 at 8:40 PM, Jon Zeppieri wrote:
>
> #lang at-exp racket
>
> (define (normalize-keywords in)
> (regexp-replace*
>@pregexp|{Keywords ?= ?\{\s*([^}]*)\}}|
>in
>(λ (_ s)
You may have noticed that I left out part of th
#lang scribble/manual
@require[
(only-in scribble/core style)
(only-in scribble/html-properties attributes)]
@(define new-window-style
(style #f (list (attributes '((target . "_blank"))
@hyperlink[#:style new-window-style "https://www.racket-lang.org"]{Racket}
On Tue, Jun 20, 2017 at
7 matches
Mail list logo