Re: [racket-dev] Math library pushed

2012-11-17 Thread Jay McCarthy
I just read the documentation. This is great stuff. Some choices quotes and comments: "[sum] is like (apply + xs), but incurs rounding error only once when adding inexact numbers. (In fact, the inexact numbers in xs are summed separately using flsum.)" "Use (random-natural k) instead of (random

Re: [racket-dev] Math library pushed

2012-11-17 Thread Jens Axel Søgaard
Hi All, Thanks to Asumu, Erich and a few others on the irc channel I got it working. I tried rebasing, but couldn't make it work. I am not sure why. The resulting pull request still had the entire history. Then I tried making a new branch. Reseting to a point before Neils initial commit. Then fe

Re: [racket-dev] Math library pushed

2012-11-17 Thread Robby Findler
Well, you can also use git rebase. It basically the same as that, but easier. Robby On Sat, Nov 17, 2012 at 12:29 PM, Kevin Tew wrote: > Use git format-patch to create patch files for your range of commits and > then apply them to the current head using git am > > Kevin > > > On 11/17/2012 06:57

Re: [racket-dev] Math library pushed

2012-11-17 Thread Kevin Tew
Use git format-patch to create patch files for your range of commits and then apply them to the current head using git am Kevin On 11/17/2012 06:57 AM, Jens Axel Søgaard wrote: 2012/11/16 Neil Toronto : I've just made the initial commit for the math library. You will all notice the build time

Re: [racket-dev] Math library pushed

2012-11-17 Thread Jens Axel Søgaard
2012/11/16 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 te

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] 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

[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