2010/6/9 Sam Tobin-Hochstadt sa...@ccs.neu.edu:
4. We should have a Try Racket in the browser link, like this:
http://tryruby.org/
Perhaps the IRC-bot thingie could be used as a starting point?
--
Jens Axel Søgaard
_
For list-related
contemplate
hijacking strings starting with $, that is, if a string starts with $ then
the remaining part of the string is parsed as an infix expression.
I came to my senses eventually.
http://planet.racket-lang.org/package-source/soegaard/infix.plt/1/0/planet-docs/manual/index.html
--
Jens Axel Søgaard
of foo ?
--
Jens Axel Søgaard
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/dev
it on my todo.
--
Jens Axel Søgaard
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/dev
Paul Anderson uses it to write on top of a Keynote presentation.
Keep 'em coming.
--
Jens Axel Søgaard
2011/7/13 John Clements cleme...@brinckerhoff.org
Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8
*short* videos on getting started programming in DrRacket.
http
2011/8/5 Stephen Chang stch...@ccs.neu.edu
For online, full-text search, couldn't one just use google and add
site:docs.racket-lang.org to the query?
The Google stemmer is well-suited for natural languages.
It sucks for Scheme/Racket identifiers.
Try for example to find cons* or list? .
reasonable function on rationals which,
when restricted to integers, coincides with the usual definition of gcd?
Not sure, but this seems relevant.
http://trac.sagemath.org/sage_trac/ticket/10771
--
Jens Axel Søgaard
_
For list-related administrative
* it will work in small sizes too
Who cares about unbalanced parentheses in logos?
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
something else to be aware of.
John
_
Racket Developers list:
http://lists.racket-lang.org/dev
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers
2012/5/29 Eli Barzilay e...@barzilay.org:
I have made a possibly useful improvement to the JS search code.
It's not pushed, yet, but I dropped the revised JS code on the
pre-built pages so you can try it out here:
http://pre.racket-lang.org/docs/html/search/
and compare searches with the
directly. That said, it might make sense to
go the FFI-route for matrix computations. Getting the details
right for the more advanced algorithms is hard, very hard.
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
Is the following a fair summary?
The idea is to divide the real axis in three parts.
x y z
Here x is a real (double), y is a slightly larger than +max.0,
and z is a very large.
Now sqrt(x) is just a real (double).
Let y be an exact integer only slightly larger than +max.0.
Even
2012/8/15 Neil Toronto neil.toro...@gmail.com:
Other options:
1. Raise an error when the vector isn't filled.
2. Return a (Vectorof (U T #f)) (better than (Vectorof (U T 0))?).
3. Always return a vector whose length is the number of iterations.
Or a variation of 2.:
4. Let the user
There is a similar problem with for/product: . The initial 1 is that an
integer, a real
or a complex?
(for/product: : Real ([i : Integer (in-range 0 5)]) (/ i))
Type Checker: Expected Integer, but got Exact-Rational in:
(for/product: : Real ((i : Integer (in-range 0 5))) (/ i))
It does not
wants, can
be accessed with char-general-category.
Cheers
P.
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
2012/9/4 Pierpaolo Bernardi olopie...@gmail.com:
On Tue, Sep 4, 2012 at 3:11 PM, Jens Axel Søgaard jensa...@soegaard.net
wrote:
Since the R5RS version of char-numeric? (according to the documentation)
tests for the ten digits, you can use:
(require (only-in r5rs char-numeric?))
Thanks
--- that is, a bug that I will have to track down and
fix.
This is the error, I ran into, when I tried to merge in documentation for the
number theory functions.
Is there a workaround?
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
A fix is even better!
Thanks,
Jens Axel
2012/11/16 Matthew Flatt mfl...@cs.utah.edu:
At Fri, 16 Nov 2012 21:21:29 +0100, Jens Axel Søgaard wrote:
2012/11/16 Matthew Flatt mfl...@cs.utah.edu:
* require: unknown module
module name: #resolved-module-path:(submod
/Users/mflatt
. Then fetching and merging the plt/racket
repository and finally cherry-picking the commits I needed.
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
).
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
Hi All,
I notice that there a few old pull requests on Github without any
form of comments. Even a we will look at this later comment
looks better to out siders, than none at all.
https://github.com/plt/racket/pulls
Any thoughts?
/Jens Axel
_
Racket Developers
is here:
https://github.com/soegaard/racket/blob/4b299ea66a77100538940794cd799cb88929b7e3/collects/data/bit-vector-bignum.rkt
The benchmark is here:
https://github.com/soegaard/racket/blob/4b299ea66a77100538940794cd799cb88929b7e3/collects/data/benchmark-bit-vector-representations.rkt
--
Jens Axel
' and 'count' operations optimized for the representation would
be a useful addition.
Good idea. I better rename the current count to size, and
then use count to count ones.
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
a function bit-vector-count that count the number
of set bits in the bit-vector.
There is an issue of potential confusion over names though.
In the data collection, the -count suffix normally returns the size of
the data structure.
For vectors the suffix -length is normally used.
--
Jens Axel
Hi All,
I made a mistake pushing some commits.
Rather than mess things more up, I hope
some one has enough git-fu to undo the commit.
Normally push refused to do anything but fast-forward
commits, but the commit looks wrong on Github.
/Jens Axel (with red ears)
_
2012/12/22 ntoro...@racket-lang.org:
1aebd17 Neil Toronto ntoro...@racket-lang.org 2012-12-21 22:59
| * Specialized row reduction for determinants; removed option to not do
| partial pivoting (it's never necessary otherwise)
Partial pivoting is used to reduce round-off error. If the matrix
Ignore the previous example. Here is the example again, now
with correct usage of case-lambda. The for/sum problem remains.
/Jens Axel
#lang typed/racket
(require math)
(: matrix-solve-upper
(All (A) (case-
((Matrix Real) (Matrix Real) - (Matrix Real))
2013/1/3 Neil Toronto neil.toro...@gmail.com:
I solved it by not using `for/sum' and writing this ridiculous function for
the recursive base case and the initial values in `x':
(: zero-of (case- (Real - Real)
(Number - Number)))
(define (zero-of x) 0)
Fortunately,
2013/1/4 Neil Toronto neil.toro...@gmail.com:
I gave `for/sum:' a little thought recently, though, and I couldn't think of
how to make it work without annotations. Maybe you'll have more success. I'm
less motivated to fix `for/sum:' than you are. :D
Here is my attempt. The only problem, is
This version blames the correct expression.
The error message itself is however in terms of the expanded
code and I see why that is a key problem.
/Jens Axel
for-sum.rkt
Description: Binary data
_
Racket Developers list:
http://lists.racket-lang.org/dev
2013/2/1 Asumu Takikawa as...@ccs.neu.edu:
On 2013-02-01 06:23:06 -0700, Jay McCarthy wrote:
I had originally tried to do that, but Github wasn't providing tar
balls for anything other than branch HEADs and tags. I'm surprised
that it works for you and not for me. Am I just crazy or did you
to work with multiple return
values was a pain because they don't compose (as in, functions can
produce them but can't receive them). Not sure if anything can be done
about this though.
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel
.)
David
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
2013/12/1 Matthew Flatt mfl...@cs.utah.edu:
What happens if you run `drracket` directly from the command line,
instead of using `open`?
Then I get to see that the error message, that tells me that
that I forgot to run make (well it says bytecode file needs re-compile).
And indeed I did forget
In DrRacket 6.0.0.1 open
pkgs/draw-pkgs/draw-lib/racket/draw/private/record-dc.rkt
and then click Run.
I see:
define-values: assignment disallowed;
cannot re-define a constant
constant: get-recorded-command1.1
Why?
I tried the exact same experiment with record-dc.rkt in version
Thanks for the tip on renaming. Just what I needed.
/Jens Axel
2013/12/3 Eli Barzilay e...@barzilay.org:
6 hours ago, Jens Axel Søgaard wrote:
In DrRacket 6.0.0.1 open
pkgs/draw-pkgs/draw-lib/racket/draw/private/record-dc.rkt
and then click Run.
I see:
define-values: assignment
In cases where the semantics of constructs are changed, should the
documentation have a margin note stating the version number of the
change?
I am in particular thinking of case:
.
Does anybody know what's going on?
Neil ⊥
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
It seems racket/match exports prop:match-expander, but not
match-expander? . Is that on purpose?
https://github.com/plt/racket/blob/master/racket/collects/racket/match/match.rkt
https://github.com/plt/racket/blob/master/racket/collects/racket/match/stxtime.rkt
/Jens Axel
2014-04-28 16:12 GMT+02:00 Matthias Felleisen matth...@ccs.neu.edu:
SAM:
Also, I think that in almost every course using DrRacket, the students
will need to learn how to choose languages, because they will switch
from one teaching language to the next. So I think this won't be
unfriendly.
for a folder in which to search for module that require foo and
rename the identifier in those modules.
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
?
- something else?
Sam
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
--
--
Jens Axel Søgaard
_
Racket
--
--
Jens Axel Søgaard
_
Racket Developers list:
http://lists.racket-lang.org/dev
This program returns #f - I was expecting to see #t.
#lang racket
(define a '(1 2 3))
(define b '(1 2 3))
(eq? a b)
Why not guarantee uniqueness of literals occurring in the same module?
/Jens Axel
_
Racket Developers list:
2015-02-17 14:26 GMT+01:00 Robby Findler ro...@eecs.northwestern.edu:
I don't think the libraries are sufficient as is, but I would resist
adding aliases.
A alternative: Added the word zip to the documentation index,
link it to map and have an example where in (map list ...) is used.
Also:
It worked.
Thanks!
2015-01-07 18:45 GMT+01:00 Matthew Flatt mfl...@cs.utah.edu:
I wasn't able to replicate the problem, but I think I see what could go
wrong. I've pushed an attempt at a repair.
At Wed, 7 Jan 2015 18:31:35 +0100, Jens Axel Søgaard wrote:
Hi All,
I got a contract when I
]
/Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/raco.rkt:
[running body]
/Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/main.rkt:
[running body]
make[2]: *** [plain-in-place] Error 1
make[1]: *** [cpus-in-place] Error 2
make: *** [in-place] Error 2
--
--
Jens Axel
48 matches
Mail list logo