[Gsll-devel] extra info in the example section

N J raphexion at gmail.com
Tue Apr 27 10:40:48 UTC 2010


Hey,

I have a suggestion that might be obvious for all experts but
nonetheless a little help for newbies like myself. Especially since
gsll might be the first lisp package they (like me) want to try out.

In the example section in the web page, would it be possible to add a
small "getting started". Maybe it can be combined with the first
example. For example.

Getting started

Make sure that your are able to load the system.

    (asdf:operate 'asdf:load-op :gsll)

This should load up the system without errors. The last lines should
be looking something like:

    ; registering #<SYSTEM GRID {1003EC1961}> as GRID
    ; loading system definition from /usr/share/common-lisp/systems/c-array.asd
    ; into #<PACKAGE "ASDF0">
    ; registering #<SYSTEM C-ARRAY {1002D0F471}> as C-ARRAY
    NIL
    *

Then make sure that you use the gsll package, run the following

    (in-package :gsl)

This should tell you that the gsll package is ready with the following line:

    #<PACKAGE "GSLL">

Now you are ready to try out one of the many gsl functions

    (jacobian-elliptic-functions 0.2d0 0.81d0)

which should give you something like this:

    0.19762082367187703d0
    0.9802785369736752d0
    0.9840560289645665d0

If the above steps have worked successful, you are ready to jump into
the amazing world of gsll.




More information about the gsll-devel mailing list