[racket-users] Re: 7 GUIs

2019-06-14 Thread Matthias Felleisen



> On Jun 1, 2019, at 7:47 PM, Matthias Felleisen  wrote:
> 
> 
> Someone recently mentioned the “7 GUIs” task. I spent a couple of days to 
> write up minimal solutions: 
> 
>  https://github.com/mfelleisen/7GUI/blob/master/task-7.rkt 
> 
> In my spare time, I will develop this repo in more depth (types, units, etc) 
> because it looks like a reasonably educational task.  


I have continued my work on this repo, with two major additions: 

 — Macros/ which shows how to abstract over syntactic patterns in the GUI code 
 — Typed/ which injects types according to Typed Racket’s gradual typing 
philosophy 

Both READMEs are simple experience reports. It has been fun, and I intend to 
add MVC implementations based on Units at some point soon, and perhaps a bit 
more. 

— Matthias

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/A167D566-F645-460E-9155-CC0F33043159%40felleisen.org.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: 7 GUIs

2019-06-13 Thread Maciek Godek

And one more thing,
someone provided a purely functional solution for the Draggable Rectangle 
Challenge in F# (I think it might be interesting to some).
The links can be found here:
https://www.quora.com/What-does-object-oriented-programming-do-better-than-functional-programming-and-why-is-it-the-most-popular-paradigm-when-everybody-seems-to-say-functional-programming-is-superior/answer/Panicz-Godek/comment/89048060

W dniu czwartek, 13 czerwca 2019 13:40:46 UTC+2 użytkownik Maciek Godek 
napisał:

>
>
> W dniu niedziela, 2 czerwca 2019 01:47:20 UTC+2 użytkownik Matthias 
> Felleisen napisał:
>>
>>
>> Someone recently mentioned the “7 GUIs” task. I spent a couple of days to 
>> write up minimal solutions: 
>>
>>  https://github.com/mfelleisen/7GUI/blob/master/task-7.rkt 
>>
>> In my spare time, I will develop this repo in more depth (types, units, 
>> etc) because it looks like a reasonably educational task. 
>>
>>
> FWIW I also came up with an even more interesting benchmark for GUIs, that 
> I called "The Draggable Rectangle Challenge"
>
> Here's one description
>
>
> https://eidolon-language.quora.com/Draggable-rectangle-challenge-part-I-the-introduction
>
> the solutions (in fairly portable Scheme, Racket-compatible) are described 
> on the blog.
>
> The code (presented by me on Racketfest) is also available in the repo 
> (with the required modules for Racket):
>
> https://github.com/panicz/sracket
>
> (BTW slides for the Racketfest talk can be found here: 
> https://github.com/panicz/writings/tree/master/talks/racketfest)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/02154b24-742a-4082-b7c7-d8f0cf50a67c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: 7 GUIs

2019-06-13 Thread Maciek Godek


W dniu niedziela, 2 czerwca 2019 01:47:20 UTC+2 użytkownik Matthias 
Felleisen napisał:
>
>
> Someone recently mentioned the “7 GUIs” task. I spent a couple of days to 
> write up minimal solutions: 
>
>  https://github.com/mfelleisen/7GUI/blob/master/task-7.rkt 
>
> In my spare time, I will develop this repo in more depth (types, units, 
> etc) because it looks like a reasonably educational task. 
>
>
FWIW I also came up with an even more interesting benchmark for GUIs, that 
I called "The Draggable Rectangle Challenge"

Here's one description

https://eidolon-language.quora.com/Draggable-rectangle-challenge-part-I-the-introduction

the solutions (in fairly portable Scheme, Racket-compatible) are described 
on the blog.

The code (presented by me on Racketfest) is also available in the repo 
(with the required modules for Racket):

https://github.com/panicz/sracket

(BTW slides for the Racketfest talk can be found here: 
https://github.com/panicz/writings/tree/master/talks/racketfest)

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/e02e37bd-7fec-4fad-b354-359c7b827133%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.