patperry / hs-gsl-random Goto Github PK
View Code? Open in Web Editor NEWHaskell bindings to the GSL random number generators and distribution functions
License: Other
Haskell bindings to the GSL random number generators and distribution functions
License: Other
It could be very helpful if examples (like allocating RNG and generate samples from a gamma distribution) are provided with the package
I get the following error when running cabal install
/tmp/gsl-random-0.4.5-30897/gsl-random-0.4.5/Setup.lhs:28:9:
Couldn't match expected type `ProgramSearchPath
-> IO (Maybe FilePath)'
with actual type `IO (Maybe FilePath)'
In the return type of a call of `findProgramLocation'
Probable cause: `findProgramLocation' is applied to too many arguments
In the expression: findProgramLocation verbosity "gsl-config"
In the `programFindLocation' field of a record
Failed to install gsl-random-0.4.5
cabal: Error: some packages failed to install:
This is fixed for me by regenerating Setup.lhs by running cabal init to make a new Setup.hs file. Pull request to follow once I've figured out how to make one
I seem to be hitting an issue with 0.4.* revisions of the package. 'Cabal install'-ing the Hackage version of gsl-random works out fine, but then I try running a two-line program in GHCi and get this message:
Loading package gsl-random-0.4.1 ... linking ... : /usr/local/lib/gsl-random-0.4.1/ghc-6.12.1/HSgsl-random-0.4.1.o: unknown symbol _GLOBAL_OFFSET_TABLE_' ghc: unable to load package
gsl-random-0.4.1'
GHC version is 6.12.1, I'm running Ubuntu on my laptop.
Since the same 2-liner is working fine with 0.3.1, I assume that there must be something wrong with the recent transition to Cabal and elimination of M4 scripts. Am I missing something? Is there any workaround?
There are several GSL distributions that are currently not included. Could we incorporate the remaining distributions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.