[racket-users] break-thread + thread-wait can't be handled

2017-05-03 Thread Eric Griffis
Hello, I'm having trouble catching "terminate break" exceptions when combining break-thread with thread-wait. MWE 1: (with-handlers ([exn:break:terminate? writeln]) (let ([t (thread (lambda () (thread-wait (current-thread]) (break-thread t 'terminate) (thread-wait t)))

Re: [racket-users] break-thread + thread-wait can't be handled

2017-05-04 Thread Eric Griffis
On Wednesday, May 3, 2017 at 3:04:20 PM UTC-7, Ryan Culpepper wrote: > On 5/3/17 10:41 PM, Eric Griffis wrote: > > Hello, > > > > I'm having trouble catching "terminate break" exceptions when combining > > break-thread with thread-wait. &g

Re: [racket-users] Intro and projects inquiry

2017-10-13 Thread Eric Griffis
On Thu, Oct 12, 2017 at 2:27 PM Andrew Gwozdziewycz wrote: > I love seeing all of these project ideas, but I really don't think > Racket needs a "killer app." I think what it needs is the people > passionate about it building tools in it, and *using* those tools in > the work

Re: [racket-users] Intro and projects inquiry

2017-10-13 Thread Eric Griffis
On Thu, Oct 12, 2017 at 9:31 AM David Storrs wrote: > My suggestion would be that the single largest thing that would make > Racket take off is if it could become a replacement for Javascript. RacketScript Playground does not optimize tail calls. If it turned ES6 strict

Re: [racket-users] Intro and projects inquiry

2017-10-11 Thread Eric Griffis
On Wed, Oct 11, 2017 at 2:58 PM Neil Van Dyke wrote: > > * Being there soon with a Web Assembly and HTML5 plus server full-stack > story, in case developers respond favorably to that. > Web back-ends are my wheelhouse. It sure would make my professional life easier... Not

Re: [racket-users] Intro and projects inquiry

2017-10-11 Thread Eric Griffis
looking for projects I’d start > by looking there. > > — > William J. Bowman > > > On Oct 11, 2017, at 10:12 PM, Eric Griffis <ded...@gmail.com> wrote: > > > > Hello, > > > > My name is Eric and I love Racket. > > > > I am 39 years old and have

[racket-users] Intro and projects inquiry

2017-10-11 Thread Eric Griffis
Hello, My name is Eric and I love Racket. I am 39 years old and have been writing software for 30 years. I studied metaprogramming and taught programming languages as a grad student. My sole academic publication is on semantics and provenance for distributed data science tools. These days, I

Re: [racket-users] Announcing Event-lang

2018-05-22 Thread Eric Griffis
On Mon, May 21, 2018 at 11:21 AM Jay McCarthy wrote: > This is very cute! Can you point to a fun example? I looked through > the repo and it wasn't obvious where some tests and examples were. > > Jay > Here's a variety of small examples. Sometimes, I just want to wait

Re: [racket-users] Announcing Event-lang

2018-05-24 Thread Eric Griffis
t-lang` docs. > > > On May 22, 2018, at 7:29 AM, Eric Griffis <ded...@gmail.com> wrote: > > Here's a variety of small examples. > > > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this gr

[racket-users] Announcing Event-lang

2018-05-18 Thread Eric Griffis
Hi everyone, I would like to announce the initial release of event-lang, an experimental Racket library that simplifies the creation of complex synchronizable events. https://pkgd.racket-lang.org/pkgn/package/event-lang Event-lang provides a primitive expression lifting form, > (pure 123)

Re: [racket-users] Recommendation for learning syntax?

2018-08-10 Thread Eric Griffis
A few months ago, I was similarly confused. Here's what I remember learning since then. Let's call the character-level syntax of a language *concrete* and any higher-level syntax *abstract*. By these definitions, a *parser* makes concrete syntax abstract, and an *interpreter* translates one piece

Re: [racket-users] redex features? boolean ops and piece-wise

2018-03-15 Thread Eric Griffis
On Wednesday, March 14, 2018 at 3:14:34 PM UTC-7, Robby Findler wrote: > > I usually use metafunctions for that purpose. It might be nice if there > were more such functions built into redex that came with their own renders, > I guess. > > More than once, I've gotten stuck typesetting in Redex

[racket-users] Using pict-convertibles in Scribble docs?

2018-04-15 Thread Eric Griffis
Hello, I'm making composite picts in my Scribble docs and am looking for a clean way to keep references to sub-picts around for helper functions to draw lines between. A struct with the `prop:pict-convertible` property would suffice, but `raco setup` gives an error. Given this struct definition:

Re: [racket-users] struct-copy question

2018-03-17 Thread Eric Griffis
How about a list of identifiers bound to getters or setters? The `extract-struct-info` procedure in Section 5.7 of the Racket Reference appears to give you that. Eric On Fri, Mar 16, 2018 at 2:56 PM Kevin Forchione wrote: > > > > On Mar 16, 2018, at 2:38 PM, Kevin Forchione

Re: [racket-users] struct-copy question

2018-03-19 Thread Eric Griffis
(dump-struct-info point) (GOT (# # # (# # #) (# #f #f) #t)) ``` Eric On Sat, Mar 17, 2018 at 8:15 PM Kevin Forchione <lyss...@gmail.com> wrote: > > > > On Mar 17, 2018, at 9:24 AM, Eric Griffis <ded...@gmail.com> wrote: > > > > How about a list

Re: [racket-users] struct-copy question

2018-03-21 Thread Eric Griffis
I bump into struct subtleties all the time. For example, my attempts to #:auto always degenerate into custom constructor procedures; This usually involves #:constructor-name and #:omit-define-syntaxes, which might not be a big deal if I had a solid understanding of what these flags actually do. So

Re: FW: [racket-users] colon keywords

2018-09-23 Thread Eric Griffis
Thanks for the crisp explanation, Jos. This is exactly my concern. Eric On Sun, Sep 23, 2018, 2:38 PM Jos Koot wrote: > Forgot to include the users group. > > -Original Message- > From: Jos Koot [mailto:jos.k...@gmail.com] > Sent: 23 September 2018 21:37 > To: 'Tomasz Rola' >

Re: [racket-users] Scribble xref links in frog

2018-10-08 Thread Eric Griffis
to update the docs.racket-lang.org URL > > to use https, if that's an easy PR you wanted to do? > > > > On Mon, Oct 8, 2018 at 2:50 PM Eric Griffis wrote: > >> > >> My frog-generated blog is almost ready, but there's one detail stopping > >> the show: >

Re: [racket-users] Scribble xref links in frog

2018-10-08 Thread Eric Griffis
On Mon, Oct 8, 2018 at 1:07 PM Greg Hendershott wrote: > > Is this for .md or .scrbl sources? For .scrbl sources. > If scribble: It's been some years since I worked on this, but at a > quick glance Frog is running Scribble with --redirect-main > http://docs.racket-lang.org/ > > >

Re: [racket-users] Scribble xref links in frog

2018-10-08 Thread Eric Griffis
On Mon, Oct 8, 2018 at 5:40 PM Matthew Flatt wrote: > > --redirect https://docs.racket-lang.org/local-redirect/ This works. Thanks! Eric -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving

[racket-users] Scribble xref links in frog

2018-10-08 Thread Eric Griffis
My frog-generated blog is almost ready, but there's one detail stopping the show: Is there a way to make frog link to docs.racket-lang.org for all scribble cross-references? Exports from the "special" modules (racket/base, racket, ...) already point to docs.racket-lang.org, but cross-referencing