In case you need ideas for interesting examples:
http://futureboy.us/frinkdocs/#SampleCalculations
The Frink language is a DSL for calculating with units.
http://futureboy.us/frinkdocs/
/Jens Axe
2013/10/26 Laurent :
> Ok, so I just hacked together a small lib for handling numbers with u
The latest snapshot builds for DrRacket include two new color schemes that
are an attempt to avoid bad colors for color-blind folk:
http://plt.eecs.northwestern.edu/snapshots/
http://www.cs.utah.edu/plt/snapshots/
They are based on Paul Tol's color schemes, specifically the one in the top
rig
Indeed, the notion of dimension is not really what I was after. My
intention was rather to provide a useful unit converter.
If my current units are in N, and I multiply by square seconds, I think
it's not always desirable for the measure to be automatically converted to
m.kg.
Currently it does not
That's a cool language!
Unfortunately time is running short and I don't think I'll do something
close to that (and there is actually little chance that I'll use this
package myself, so I'm not really committed to it).
But I think it's already quite usable.
And anyone who wants to contribute or even
Hi,
I've been using R to solve some machine learning problems, but I'd
really prefer to use Racket. In order to do so, I need probability
distributions, accurate definitions of some mathematical functions
like the Gamma and the log of the Gamma function, a decent plotting
library, and a numerical
If I evaluate this:
(list 'this '(is silly))
I get this:
'(this (is silly))
I just want to check I understand what is happening here.
list always returns a proper list hence I see no dotted notation here.
The return value is quoted which means it is a symbol? But there are
spaces so can it
Bo,
The quote form wraps fully-evaluated data, so let's peel away the quote
around the result and see what you have:
(this (is silly))
In quoted data, parentheses mean a list. So you have a list of two
elements:
this
(is silly)
The first element is a symbol. The second is a list of two furth
First, don't get hung up on that single-quote that you see when the
value of that expression is printed. Depending on your DrRacket
preferences, the single-quote might not even be printed (it isn't for
me). There are 3 different ways that different programs print Racket
lists, and each way is
You may wish to read through HtDP/2e:
http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html
strings: "silly"
symbols: 'silly
all lists are made from cons and empty,
list
quote '
quasiquote `
unquote ,
are abbreviations that expand to lists:
http://www.ccs.neu.edu/home/matthias/HtDP2
I'm deuteranomalous, and for me, 44AA99 and AA4499 are nearly
identical (AA4499 is ever so slightly darker, but their hues appear
identical). Also, 117733 and 882255 are similar, but not identical.
I think the main thing is that changing between red and green has very
little effect -- changes in b
Daniel King writes:
> I think Racket has the first three features (the math library looks
> awesome), but AFAICT it lacks a numerical optimizer. Has anyone
The math library *is* awesome (I have been discovering it myself
during the last weeks). The only other source of math/science code
I know
Laurent writes:
> Indeed, the notion of dimension is not really what I was after. My intention
> was rather
> to provide a useful unit converter.
Fair enough.
> If my current units are in N, and I multiply by square seconds, I
> think it's not always desirable for the measure to be automat
12 matches
Mail list logo