[racket-users] New package: Argo: JSON Schema validation

2017-08-28 Thread jesse
I'm pleased to present Argo, a Racket package for JSON Schema validation. At the moment, Argo is a library with a single function, adheres-to-schema?, that takes two arguments: JSON data and a JSON Schema. Both are supposed to be jsexpr? values. Install using raco: raco pkg install argo Bug r

[racket-users] pkgs.racket-lang.org log in is down

2017-08-28 Thread Philip McGrath
Attempting to log in to pkgs.racket-lang.org fails with a 503 Proxy Error:Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request *GET /pkgn/login *. Reason: *Error reading from remot

[racket-users] Re: Library function naming

2017-08-28 Thread Jack Firth
The Racket Style Guide[1] has some notes about this in the Textual Matters: Names[2] section: > Use meaningful names. The Lisp convention is to use full English words > separated by dashes. Racket code benefits from the same convention. > Note that _ (the underline character) is also classified

[racket-users] Library function naming

2017-08-28 Thread 'Royall Spence' via Racket Users
Is there a convention on naming library functions? I'm thinking that `library-function-name` is the right way to export functions, but I haven't read enough Racket code to know what qualifies. For example, a "money" library would export functions like "money-convert" and "money-deposit". Does that

Re: [racket-users] Re: Racket dotenv file loading

2017-08-28 Thread Philip McGrath
Submodules declared with `module+` are spliced together: http://docs.racket-lang.org/reference/module.html?q=module%2B#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._module%2B%29%29 So it is a (loose) convention to write (module+ test (require rackunit)) at the top of the file, with the ot

Re: [racket-users] Re: Racket dotenv file loading

2017-08-28 Thread 'Royall Spence' via Racket Users
Thanks for the feedback. I should be able to apply all of these in the next day or two. Regarding the test module and rackunit, the raco package template actually puts two test modules into main.rkt, with rackunit in one of them. This smells like a mistake, right? I'm going to try to find the rele

Re: [racket-users] Generate function defintions at compile time

2017-08-28 Thread Matthias Felleisen
> On Aug 28, 2017, at 4:24 AM, Konrad Hinsen wrote: > > I found the implementation of the Video language on pkg.racket-lang.org, but > neither Typed Video nor Docu Video seem to be there. Are they available > elsewhere? I am particularly interested in Docu Video because I wonder if it > can b

RE: FW: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-28 Thread Jos Koot
Thanks! Jos -Original Message- From: Robby Findler [mailto:ro...@eecs.northwestern.edu] Sent: lunes, 28 de agosto de 2017 1:21 To: Jos Koot Cc: hashim muqtadir; Racket Users Subject: Re: FW: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore I've pushed a fix. Sorry

Re: [racket-users] Racket PPA updated for v6.10

2017-08-28 Thread John Berry
Disregard that, it seems to have reappeared now. On Mon, Aug 28, 2017 at 11:29 AM, John Berry wrote: > Thanks so much for the update. > > One thing I did notice though is the app icon seems to be broken for me. > > On Fri, Aug 25, 2017 at 11:23 AM, Asumu Takikawa > wrote: > >> Hi all, >> >> The

Re: [racket-users] Racket PPA updated for v6.10

2017-08-28 Thread John Berry
Thanks so much for the update. One thing I did notice though is the app icon seems to be broken for me. On Fri, Aug 25, 2017 at 11:23 AM, Asumu Takikawa wrote: > Hi all, > > The Ubuntu PPA has been updated for v6.10. Sorry for the delay this time > around > and also for skipping a release! The

Re: [racket-users] Generate function defintions at compile time

2017-08-28 Thread Konrad Hinsen
Matthias, If you would like to see a concrete example, fully worked out, see the ICFP paper on constructing a domain-specific language for scripting the production of videos (say RacketCon presentations): https://www2.ccs.neu.edu/racket/pubs/#icfp17-dnff At the surface, this could be done

Re: FW: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-28 Thread hashim muqtadir
Thank you! On Aug 28, 2017 4:21 AM, "Robby Findler" wrote: > I've pushed a fix. Sorry for the delay in looking into this. > > https://github.com/racket/drracket/issues/118 > > Robby > > > On Sun, Aug 27, 2017 at 12:06 PM, Jos Koot wrote: > > Sorry, ignore my post. > > Jos Koot > > > > -Or