This is a great idea. Also I want to point out that:
1. Sometimes it's OK to start by sharing a repo on Git{Hub Lab}. Not
everything needs to go on pkgs.racket-lang.org immediately, to be
visible and share, especially early on.
(To be clear, I'm not saying, "oh only perfect 1.0 things should be a
> 90% of the reason I made `raart` is because of this.
>
> https://docs.racket-lang.org/raart/index.html#%28def._%28%28lib._raart%2Fdraw..rkt%29._table%29%29
>
> (require raart
> (draw-here (table (text-rows THE-TABULAR-DATA)))
Although I didn't see one in the docs, it looks like you have an
examp
You're probably looking for `real->decimal-string`.
Also take a look at ~r instead of ~a, as the former is only for numbers.
On Fri, Mar 15, 2019 at 5:57 PM wrote:
> Hi all,
>
> I've been looking through the docs for a way to print decimals to a
> defined precision.
>
> I can get close to what
sigh good greif I was being blind its all of a page or so below ~a
thank you Jon
On Friday, March 15, 2019 at 12:58:58 PM UTC-5, Jon Zeppieri wrote:
>
>
> https://docs.racket-lang.org/reference/strings.html?q=~r#%28def._%28%28lib._racket%2Fformat..rkt%29._~7er%29%29
>
> On Fri, Mar 15, 2019 at 1:
https://docs.racket-lang.org/reference/strings.html?q=~r#%28def._%28%28lib._racket%2Fformat..rkt%29._~7er%29%29
On Fri, Mar 15, 2019 at 1:57 PM wrote:
> Hi all,
>
> I've been looking through the docs for a way to print decimals to a
> defined precision.
>
> I can get close to what I want using s
Hi all,
I've been looking through the docs for a way to print decimals to a defined
precision.
I can get close to what I want using something like ~a and giving it a set
width without having to build a function to do so. I mean I can build a
function to do as its just a bit of string manip but
An alternative is to write it in whatever editor you like (Emacs) and then
either use DrRacket to render it to scribble or do it directly from the
command line:
$ scribble ./my_scribble_file.scrbl
This will generate "./my_scribble_file.html", which you can then view in a
browser. If you regenera
2 N D C A L L F O R P A P E R S
== TFP 2019 ==
20th Symposium on Trends in Functional Programming
12-14 June, 2019
I have just published Issue 4 at
http://racket-news.com/2019/03/racket-news-issue-4.html
Grab a coffee and enjoy!
--
Paulo Matos
--
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,
Hi all,
suppose I have a struct `(struct fish (size name) #:transparent)` and a
sub-type `(struct shark fish (scares-people?) #:transparent)`. What if I
want all sharks to have size 'large by default whenever I create one, so
that I create them via:
(define white-shark (shark "The big white" #
I think we should all work towards making our existing code in this area
more discoverable, so we can get a better sense of what libraries for
working with tables exist in the wild. To those of you who own Racket
packages that provide any functionality related to data tables: I recommend
adding
11 matches
Mail list logo