
// Make sure that the GSL library is loaded.
#! --if *-mingw32
using "lib:libgsl-0";
#! --else
using "lib:libgsl";
#! --endif

// Load the gslsort function from the corresponding bitcode module. The C
// source for the module is in gslsort.c; you'll first have to compile this
// to a bitcode module using llvm-gcc as follows (or just run 'make'):
// llvm-gcc -emit-llvm -c gslsort.c -o gslsort.bc
using "bc:gslsort";

// Example:
let x = {0.7,-1.0,-0.5,0.3};
x; gslsort x; x;
