[racket-users] bracket meme

2020-07-06 Thread Hendrik Boom
Found this signature quote: -- Put not your faith in parenthesis, nor trust in dotted pears, says speech therapist. used by DannyB on Soyent News Thought it might be amusing here. -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users" group. T

Re: [racket-users] Layout + styling in racket/gui

2020-07-06 Thread George Neuner
On 7/6/2020 5:54 PM, Travis Kiefer wrote: Hello all! I'm coming from the background of building web apps that are wrapped in a headless browser and would like to take the app development experience and bring it to the racket ecosystem. As an html / css / javascript engineer I'm finding the

Re: [racket-users] Layout + styling in racket/gui

2020-07-06 Thread Travis Kiefer
Jens, Thank you for the example links. The spreadsheet example gets closer to the right direction of a non-trivial example. What's missing from these is the ability to add styles to the elements... Background colors, gradients, box shadow, border around a container element, left align, right al

Re: [racket-users] Layout + styling in racket/gui

2020-07-06 Thread Jens Axel Søgaard
If you are looking for examples of how to use the Racket GUI toolkit, I can recommend: https://github.com/mfelleisen/7GUI It contains Racket implementations of the 7 gui tasks mentioned here: https://eugenkiss.github.io/7guis/tasks /Jens Axel Den man. 6. jul. 2020 kl. 23.54 skrev Travis Kiefer

[racket-users] Layout + styling in racket/gui

2020-07-06 Thread Travis Kiefer
Hello all! I'm coming from the background of building web apps that are wrapped in a headless browser and would like to take the app development experience and bring it to the racket ecosystem. As an html / css / javascript engineer I'm finding the learning curve pretty daunting with racket's d

[racket-users] Re: Racket News - Issue 34

2020-07-06 Thread Travis Kiefer
Wow - that was insanely easy. I'm used to a command line compile process with lots of configuration variables to setup... Etc.. Etc.. Thank you so much Paul! Best, Travis On Monday, July 6, 2020 at 2:51:27 PM UTC-5, Paulo Matos wrote: > > Hey everyone, > > We have another issue filled to the b

[racket-users] Racket News - Issue 34

2020-07-06 Thread Paulo Matos
Hey everyone, We have another issue filled to the brim. Take a look at issue 34: https://racket-news.com/2020/07/racket-news-issue-34.html Enjoy! -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group a

Re: [racket-users] Creating .dmg for a GUI application

2020-07-06 Thread George Neuner
On 7/6/2020 12:48 PM, Travis Kiefer wrote: Hello all! Relatively new to the Racket ecosystem and trying to figure out how to create an "app" from the GUI library. Has anyone written a tutorial on this or have suggestions on where to start to generate this? For context, I'm used to the Javas

[racket-users] Creating .dmg for a GUI application

2020-07-06 Thread Travis Kiefer
Hello all! Relatively new to the Racket ecosystem and trying to figure out how to create an "app" from the GUI library. Has anyone written a tutorial on this or have suggestions on where to start to generate this? For context, I'm used to the Javascript ecosystem and have built apps with Electr

Re: [racket-users] Week 1 Re: Quickscript Competition

2020-07-06 Thread Stephen De Gabrielle
Hi Just to clarify: No cash prizes - Stickers, mugs, caps and T-shirts! We don’t have corporate sponsors*. Stephen * if you are interested in sponsoring Racket please consider one of the GitHub Sponsors tiers. It will give you exposure to a community of high quality developers from and graduate

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Sorawee Porncharoenwase
#lang scribble/manual @(require (only-in racket ~a)) @(define persons (list (hash 'name 'name1 'e-mail 'email1 'nickname 'nickname1) (hash 'name 'name2 'e

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
Sure. I would like to create a document with a repetitive structure in scribble. Let say I have something like this: @section{First section} Some text ... @subsection{First subsection} @itemlist... @section{Second section} Some text ... @subsection{Second subsection} @itemlist... etc. I would

[racket-users] Week 1 Re: Quickscript Competition

2020-07-06 Thread Stephen De Gabrielle
Hi Racketeers, Our first week of the Quickscript competition is almost over. Did I mention that our sponsor has a *significant prize budget* AND participation gives you an exclusive badge for your GitHub profile[1]. The good news is it’s not to late to enter! Kind regards, Stephen [1] this

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Sorawee Porncharoenwase
I still don't understand why you need to define a macro for that. We write macros to manipulate _code_ by transforming a syntax object into another syntax object. Extracting a value from a hash table or generating a text from hash tables has nothing to do with syntax objects. And it can be done wit

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
In fact, I would like to have a macro that will generate some text from a list of hash tables for scribble. So this macro is just a first step to try to achieve that (it's also the first time I try a non toy program in any Lisp). Le lundi 6 juillet 2020 20:04:27 UTC+9, Sorawee Porncharoenwase a

Re: [racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Sorawee Porncharoenwase
What's wrong with `match`? It seems to be what you want. Macro is not going to help you here. On Mon, Jul 6, 2020 at 3:47 AM Oualmakran Yassine wrote: > Hello, > > I have some difficulties when trying to create a macro doing some pattern > matching on a hash-table and was hoping finding some h

[racket-users] Wrong result from a define-syntax with pattern maching on a hash table

2020-07-06 Thread Oualmakran Yassine
Hello, I have some difficulties when trying to create a macro doing some pattern matching on a hash-table and was hoping finding some help. The macro is taking a hash-table as parameter and I would like to extract the value for the key 'name. I did several trials of my macro with what should be,