Re: [racket-dev] Math library pushed

2012-11-16 Thread Ray Racine
>From the cheap seats. Built clean. Except for warning below. Test failed as libffi as initially was not found by the dynamic load. After adjusting version in mpfr.rkt. Test produced pi ... 4888 Applicable lib version on Ubuntu 12.10. /usr/lib/x86_64-linux-gnu/libmpfr.so.4 /usr/lib/x86_64-l

Re: [racket-dev] Math library pushed

2012-11-16 Thread Matthew Flatt
I'll add version numbers along with other changes. At Fri, 16 Nov 2012 18:26:20 -0500, Ryan Culpepper wrote: > I get this message (during doc build, actually): > > raco setup: error running: (lib math/scribblings/math.scrbl) > ffi-lib: couldn't open "libmpfr.so" (libmpfr.so: cannot open shared >

Re: [racket-dev] Math library pushed

2012-11-16 Thread Ryan Culpepper
I get this message (during doc build, actually): raco setup: error running: (lib math/scribblings/math.scrbl) ffi-lib: couldn't open "libmpfr.so" (libmpfr.so: cannot open shared object file: No such file or directory) I have /usr/lib/libmpfr.so.1, which is symlinked to /usr/lib/libmpfr.so.1.2

Re: [racket-dev] [plt] Push #25698: master branch updated

2012-11-16 Thread Neil Toronto
On 11/16/2012 03:31 PM, Ryan Culpepper wrote: On 11/16/2012 04:43 PM, Neil Toronto wrote: (FWIW, you're right about libmpfr not being needed at compile time. Well, it shouldn't be. I used Eli's nifty interaction-fakery code forms in the `math/bigfloat' docs, for example.) If you made bigfloats

Re: [racket-dev] [plt] Push #25698: master branch updated

2012-11-16 Thread Ryan Culpepper
On 11/16/2012 04:43 PM, Neil Toronto wrote: On 11/16/2012 02:10 PM, mfl...@racket-lang.org wrote: 9a48e5d Matthew Flatt 2012-11-16 14:03 : | math: avoid import at unnecessary phase | | This repair avoids using at compile time external libraries that | are needed at run time. : M collects/mat

Re: [racket-dev] [plt] Push #25698: master branch updated

2012-11-16 Thread Neil Toronto
On 11/16/2012 03:02 PM, Matthew Flatt wrote: At Fri, 16 Nov 2012 14:43:56 -0700, Neil Toronto wrote: If so, it's a little weird, because libmpfr isn't supposed to be loaded until its first export is used. The constants are all delayed (their names are bound to macros that expand to uses of `forc

Re: [racket-dev] [plt] Push #25698: master branch updated

2012-11-16 Thread Matthew Flatt
At Fri, 16 Nov 2012 14:43:56 -0700, Neil Toronto wrote: > On 11/16/2012 02:10 PM, mfl...@racket-lang.org wrote: > > 9a48e5d Matthew Flatt 2012-11-16 14:03 > > : > > | math: avoid import at unnecessary phase > > | > > | This repair avoids using at compile time external libraries that > > | are need

Re: [racket-dev] [plt] Push #25698: master branch updated

2012-11-16 Thread Neil Toronto
On 11/16/2012 02:10 PM, mfl...@racket-lang.org wrote: 9a48e5d Matthew Flatt 2012-11-16 14:03 : | math: avoid import at unnecessary phase | | This repair avoids using at compile time external libraries that | are needed at run time. : M collects/math/private/matrix/matrix-sequences.rkt | 4 +--

Re: [racket-dev] Math library pushed

2012-11-16 Thread Jens Axel Søgaard
A fix is even better! Thanks, Jens Axel 2012/11/16 Matthew Flatt : > At Fri, 16 Nov 2012 21:21:29 +0100, Jens Axel Søgaard wrote: >> 2012/11/16 Matthew Flatt : >> >> > * require: unknown module >> > module name: #> > "/Users/mflatt/proj/plt/collects/math/special-functions.rkt" >> typed-

Re: [racket-dev] Math library pushed

2012-11-16 Thread Matthew Flatt
At Fri, 16 Nov 2012 21:21:29 +0100, Jens Axel Søgaard wrote: > 2012/11/16 Matthew Flatt : > > > * require: unknown module > > module name: # > "/Users/mflatt/proj/plt/collects/math/special-functions.rkt" > typed-module5)> > > > >So far, this one looks like a problem with finding a su

Re: [racket-dev] Math library pushed

2012-11-16 Thread Jens Axel Søgaard
2012/11/16 Matthew Flatt : > * require: unknown module > module name: # "/Users/mflatt/proj/plt/collects/math/special-functions.rkt" > typed-module5)> > >So far, this one looks like a problem with finding a submodule in a >".zo" file --- that is, a bug that I will have to track d

Re: [racket-dev] Math library pushed

2012-11-16 Thread Matthew Flatt
I'm seeing two build problems on Mac OS X: * No "libmpfr.dylib" This looks like a problem with `math/private/matrix/matrix-sequences' importing `math/matrix' at too many phases. Removing the `for-syntax' and `for-template' imports let me get past this one. (I won't be able to run `m

Re: [racket-dev] Replacing the splay tree token-tree% with an rb-tree?

2012-11-16 Thread Robby Findler
On Fri, Nov 16, 2012 at 1:02 PM, Danny Yoo wrote: > >> I wanted to surprise you by getting this all working by mid-week, but it's >> taking longer than I thought... :) So I might as well run it by you to make >> sure the idea is sound before I go further on this track. > > > The core rb implement

Re: [racket-dev] Replacing the splay tree token-tree% with an rb-tree?

2012-11-16 Thread Danny Yoo
> I wanted to surprise you by getting this all working by mid-week, but it's > taking longer than I thought... :) So I might as well run it by you to > make sure the idea is sound before I go further on this track. > The core rb implementation is almost done. The search-by-position, insert-befor

[racket-dev] Math library pushed

2012-11-16 Thread Neil Toronto
I've just made the initial commit for the math library. You will all notice the build time increase. Some will notice that "(require math)" imports a bunch of goodies that Racket didn't have before. About half is documented so far, and half has coverage in the test cases. Some things are known