I do like the second form better, especially since the actual code being
run is not obscured by simply being the last argument to a long log
function.
martin
On Thu, Sep 2, 2021 at 1:55 PM David Storrs wrote:
> I often find that for debugging I want to see a log message saying "I'm
> about to
Nice, I'll be following this with interest! What are the pros and cons of
developing a new syntax highlighting format from scratch, versus e.g.
parsing and reusing the kate style files? For the latter route this haskell
package is a good source of inspiration:
One helpful thing to do is expand the GUI section of awesome-racket
https://github.com/avelino/awesome-racket
I just sent them a PR for GUI-helpers.
martin
On Thu, Nov 21, 2019 at 9:21 AM James Platt wrote:
>
> On Nov 20, 2019, at 3:31 AM, Jack Firth wrote:
>
> > Would it have helped if the
I just figured this out for my current project; I'm not sure it's the best
way but it's a working way :) I have a subclass of text% that mixes in
html-text-mixin, and then I populate it via render-html-to-text. You can
see the code here:
d.rkt
>
> In my application I decided not to install required modules, but instead
> to check if the required modules are present and report a helpful error
> message if they are not installed.
>
> Hope this helps.
>
> On Thursday, November 7, 2019 at 5:37:31 PM UTC+8, Martin D
I have the following code, which in sequence calls the load-file dialog,
loads the file, processes it and populates a textbox:
(define (try v e)
(if v (success v) (failure e)))
(define (load-and-process-file textbox parse fmt)
(define f #f)
(let* [(text
(do
Is there a good way to call out to the indentation code drracket uses from
within vim? even just manually piping the whole file through an indenter
would be fine.
martin
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this
the message takes only the space it needs and is thus flushed to
> the left.
>
>
> On Sun, Oct 13, 2019 at 8:11 AM Martin DeMello
> wrote:
>
>> I'm trying to create a message% with the text left-justified rather than
>> centred, and have been searching through the
I'm trying to create a message% with the text left-justified rather than
centred, and have been searching through the docs with no luck. Is there a
way to do it, or a widget I should be using instead? My use case is to
provide a status message at the bottom of a frame.
martin
--
You received
Not used it myself, but there's this IUP binding:
https://chust.org/repos/scheme-iup/index
martin
On Sat, Aug 3, 2019 at 4:42 AM Stephen De Gabrielle
wrote:
> Hi
>
> Has anyone done any work on using racket with other UI toolkits?
>
> I don’t think so but I thought it was worth asking - just
I've googled around a lot but couldn't find anything. I would like racket
to be the main program, and consume a C++ library so I can play with it
interactively in a repl, and write small racket programs to automate C++
object creation and method calls. Writing a glue-code main.cpp would be
fine,
I don't know about scheme being racket; both chicken and gambit seem to
have reasonably active communities.
I was also surprised at the 16k hits for pony, which has essentially no
ecosystem yet. but actually doing the google search it seems like there's
tons of noise in there.
martin
On Wed,
Chicken scheme has an option for that:
http://wiki.call-cc.org/man/4/Non-standard%20read%20syntax#keyword
I'm a fan; it makes the code pretty pleasant to read.
martin
On Wed, Oct 14, 2015 at 9:29 AM, Jukka Tuominen <
jukka.tuomi...@finndesign.fi> wrote:
> Yoda like that would, but to me it
One problem with generalising find-max and find-min into a single hof is
that they are closer in spirit to a fold than a find. The name find- makes
you think that the passed in function should be a predicate on one element,
not two. How about something like first-by?
> (first-by stringstring
Hi,
I'm working on the drracket-vim-tool, so I'm using a copy installed from my
local directory. Is there a better way to reflect changes than quitting and
restarting drracket?
martin
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To
I have a small GUI app that is taking up a lot of memory - 135MB even when
run from a compiled executable and 235MB when run via "racket gui.rkt". Is
this expected? If not, could someone please take a quick look and see if
I'm doing something obviously wrong?
Code is here:
you want to do. Can you give an example
> interaction?
>
> Robby
>
> On Sunday, September 6, 2015, Martin DeMello <martindeme...@gmail.com>
> wrote:
>
>> I'm trying to override the automatic backward-sexp highlighting in
>> drracket to highlight the sexp based
17 matches
Mail list logo