[racket-users] Re: [racket users] %app question

2020-08-13 Thread gfb
I'm not completely sure what you want, so the following handles both unbound identifiers in function position, as well as expressions in function position that have a value but the value is not a procedure. It delegates to a macro and a function respectively, that you can play with separately

Re: [racket-users] [racket users] %app question

2020-08-13 Thread Jens Axel Søgaard
Den tor. 13. aug. 2020 kl. 21.55 skrev Kevin Forchione : > Hi guys, > > Pollen makes use of something like this: > > (require syntax/parse/define) > > (define-simple-macro (#%top . x) 'x) > > > and it comes in handy in some of my projects. But I’m wondering if there’s > an equivalent for

[racket-users] [racket users] %app question

2020-08-13 Thread Kevin Forchione
Hi guys, Pollen makes use of something like this: (require syntax/parse/define) (define-simple-macro (#%top . x) 'x) and it comes in handy in some of my projects. But I’m wondering if there’s an equivalent for redirecting an application that hasn’t been defined? In other words, if foo is

[racket-users] Can I hide a method in a trait?

2020-08-13 Thread Siyuan Chen
Dear all, Just imagine, suppose we have two traits `spots-trait` and `stripes-trait`, they are developed independently. These two traits depend on a "private" method `helper` respectively. See following code: ``` (define spots-trait (trait (define/public (helper) (println

Re: [racket-users] Can Racket implement LockedMagicDoor example of MIXEDJAVA?

2020-08-13 Thread Siyuan Chen
Dear Ryan, No, traits can contain fields, which are mutable, so a trait can manage > state. > Thanks, I tested it. You are right, traits can manage states. Right, one trait cannot override another's definitions. One thing you > could do instead is use `trait-exclude` to remove the definition

[racket-users] Quickscript Competition community choice vote

2020-08-13 Thread Stephen De Gabrielle
Quickscript Competition community choice vote: Vote for your favourites at https://forms.gle/WQL2s1Y9AKwyawrv9 Vote closes Thursday 20 August Winners announced Friday 21 August! [image: 67638310.png] -- You received this message because you are subscribed to the Google Groups "Racket Users"

[racket-users] How do you load pre-trained models and use them in Racket?

2020-08-13 Thread Bonface M. K.
Hi, I've been looking at: https://github.com/epfml/Bi-Sent2Vec. I would like to use that to filter out a bunch of content(for now majorly tweets) that I scrape(https://github.com/BonfaceKilz/feedanalyser/). Is there a library that could help with this? If not, is there a library that could help

[racket-users] [ANN] Fafi, a browser for Gemini protocol

2020-08-13 Thread Andre Garzia
Hi Folks, I have an interesting project to share. I have built a simple Graphical Gemini client using Racket. Gemini is a new protocol in the "small internet" movement, it is easy and fun to implement. You can think of Gemini as more than Gopher but less than the Web. Learn more about it at: