On Fri, Nov 8, 2013 at 2:12 AM, Jay McCarthy wrote:
> There is not. I think you should add something into your documentation
> that says
>
> "Run racket -e '(require laurent/init)'"
>
Side question: Is there a difference with `racket -l laurent/init`?
>
> after installing.
Ok.
To remove weig
I've posted a comment to the commit, and will study the issue further.
https://github.com/plt/racket/commit/7323dde0ea
On Thu, Nov 7, 2013 at 3:03 PM, Matthew Flatt wrote:
> The intent of the "mywbr" span is to allow a line break between "/" and
> the following character (since we sometimes h
There is not. I think you should add something into your documentation that says
"Run racket -e '(require laurent/init)'"
after installing. In my mind, this was not an oversight in the design,
but a purposeful thing.
Jay
On Thu, Nov 7, 2013 at 11:20 AM, Laurent wrote:
> Is there something sim
Don't feel lonely. Keep putting your stuff in github. Update your
readme, put in some examples, maybe in a submodule as unit tests:
(module+ test (require rackunit))
--
Anthony Carrico
signature.asc
Description: OpenPGP digital signature
Racket Users list:
http://lis
On Wed, Nov 6, 2013 at 7:41 AM, Greg Hendershott
wrote:
> I've attended a few things in Boston via Meetup.com, lately.[1] I've
> thought, dang, I wish there were one for Racket.
My thoughts exactly ;)
> Question for NEU folks, or others with local space: If someone like
> Daniel did the organiz
The intent of the "mywbr" span is to allow a line break between "/" and
the following character (since we sometimes have long identifiers where
characters like "/" are a helpful break point). The "mywbr" style sets
the span width to 0 to avoid rendering any space.
Danny Yoo was the last person to
At Thu, 7 Nov 2013 08:39:41 -0800, Eric Dobson wrote:
> I use raco expand a bunch when debugging macros to see the final
> output and see why it doesn't match up with my expectations. One issue
> I have is that the pretty printer decides to only use 80ish columns
> when my terminal is 200 wide, thi
Umm, ok.
I retract my comment.
I had not inferred that from the.docs.
Stephan
Stephan Houben
Op 7 nov. 2013 17:56 schreef "Neil Toronto" het
volgende:
> Huh. It looks like they're also using Shewchuk's O(n*log(n)) average-case
> distillation algorithm. Like Racket's math library does. :D
>
> Ne
Is there something similar to the `install-collection' field in info.rkt
but for package installation instead of collection installation?
In particular, I'd like to run some interaction with the user to create
some default files.
Laurent
Racket Users list:
http://lists.ra
I know about the macro stepper and it doesn't work for my use case. I
don't have a simple macro, I have the entire TR typechecker/optimizer.
Thus splitting it out into its own module is not feasible. Also
because of how TR works there is one major macro application and the
macro stepper cannot see
Neil Van Dyke writes:
> "raco expand"? If you've not yet tried the Macro Stepper feature of
> DrRacket, you are in for a treat.
And for Emacs fans, Geiser provides macro-expansion-at-a-keypress.
Konrad.
Racket Users list:
http://lists.racket-lang.org/users
"raco expand"? If you've not yet tried the Macro Stepper feature of
DrRacket, you are in for a treat.
Racket's theoretical foundation for phases, Racket's syntax objects,
"syntax-parse", DrRacket's Macro Stepper, and DrRacket's online Check
Syntax (on-the-fly error highlighting when people ar
Huh. It looks like they're also using Shewchuk's O(n*log(n))
average-case distillation algorithm. Like Racket's math library does. :D
Neil ⊥
On 11/07/2013 04:24 AM, Stephan Houben wrote:
The competition does it better, see Python's fsum:
import math
janus = [31.0, 2e+34, -1.2345678901235e+80
I use raco expand a bunch when debugging macros to see the final
output and see why it doesn't match up with my expectations. One issue
I have is that the pretty printer decides to only use 80ish columns
when my terminal is 200 wide, this makes the output really ugly and
hard to read. If this was a
Laurent writes:
> so many useful ones anyway. Each client module would then require the
> module with the unit system it needs, i.e. measures/si or
> measures/atomic.
>
> The units are now in a separate file but I did not try to build another base.
> But at least it's possible to r
Todd O'Bryan writes:
> I just found a lovely Java expression to emphasize the inexactness of
> doubles to my AP students. The problem--which I think is from
> HtDP/1e--is to find the value of a bag of coins given the number of
> pennies, nickels, dimes, and quarters. In BlueJ's code pad (or si
In racket/base, you can also simply use bignums instead:
> (define janus
'(31.0 2e+34 -1.2345678901235e+80 2749.0 -2939234.0 -2e+33
3.2e+270 17.0 -2.4e+270 4.2344294738446e+170 1.0 -8e+269 0.0
99.0))
> (exact->inexact (apply + (map inexact->exact janus)))
4.2344294738446e+170
No n
Thank you all. Your examples are really surprising to me.
On Thu, Nov 7, 2013 at 6:20 PM, Todd O'Bryan wrote:
> I just found a lovely Java expression to emphasize the inexactness of
> doubles to my AP students. The problem--which I think is from
> HtDP/1e--is to find the value of a bag of coins
The competition does it better, see Python's fsum:
import math
janus = [31.0, 2e+34, -1.2345678901235e+80, 2749.0, -2939234.0, -2e+33,
3.2e+270, 17.0, -2.4e+270, 4.2344294738446e+170, 1.0, -8e+269,
0.0, 99.0]
print(math.fsum(janus))
# 4.2344294738446e+170
The fsum algorithm is interest
I just found a lovely Java expression to emphasize the inexactness of
doubles to my AP students. The problem--which I think is from
HtDP/1e--is to find the value of a bag of coins given the number of
pennies, nickels, dimes, and quarters. In BlueJ's code pad (or similar
in DrJava, jGrasp, etc.)
>
20 matches
Mail list logo