Hi Henk-Jan,
thanks for the advice - using hmatrix already worked, but only with simple
matrices. I'll check the dependencies thanks.
Hi Jason,
thanks a lot for the response. Looks like I found a like minded soul. These
links indeed sound very relevent for me.
Thanks and see u around,
P
Phil,
I found Haskell to be a pretty steep slope at first too, but it helped me to
start out small and work my way up. And now its my favorite tool in the
arsenal!
One of the steps I took was to do quite a few of the Project Euler (
http://projecteuler.net/) problems, and then after cobbling toge
On Sun, 19 Dec 2010 21:32:00 +0100, gutti
wrote:
Try
to use the hmatrix package for vector and matrix calculations.
The haskell compilation works (no problem in GHCi mode), the gcc however
compilation fails with messages like:
EFA.o: In function `r1bo_info':
(.text+0x48): undefined reference
Hi Jason,
many,many thanks - it works. -- u saved the day
Haskell rather seems like a steeper slope to be honest,
but I find the whole language concept very fascinating.
What I can't imagine yet, how to address typical oo-problems especially
when its "not allowed" to update and change variabl
Hi Phil,
I hope your Haskell journey so far has been enjoyable. I'm rather new
myself, but I'm pretty sure the answer to your question is:
By default, ghc doesn't try to include all the libraries that you import
when you compile with "ghc test.hs". You can either specify these manually:
"ghc test
Hi,
I'm very new to Haskell and this Forum, just doing my first steps ... -- Try
to use the hmatrix package for vector and matrix calculations.
The haskell compilation works (no problem in GHCi mode), the gcc however
compilation fails with messages like:
EFA.o: In function `r1bo_info':
(.text
Am Montag 05 April 2010 17:39:29 schrieb Alex Rozenshteyn:
> I did try that; after adding a bunch of packages to the .cabal file and
> trying to build i get this:
> [ 1 of 81] Compiling Plugin.Dict.DictLookup ( Plugin/Dict/DictLookup.hs,
> dist/build/lambdabot/lambdabot-tmp/Plugin/Dict/DictLookup.o
I did try that; after adding a bunch of packages to the .cabal file and
trying to build i get this:
[ 1 of 81] Compiling Plugin.Dict.DictLookup ( Plugin/Dict/DictLookup.hs,
dist/build/lambdabot/lambdabot-tmp/Plugin/Dict/DictLookup.o )
Plugin/Dict/DictLookup.hs:33:4:
Ambiguous type variable `e'
Am Montag 05 April 2010 17:19:35 schrieb Alex Rozenshteyn:
> Anyone?
"base" isn't listed among the build-depends of the executable, so the
obvious thing is to add base to the build-depends and see what happens then
(might also be necessary for some other packages).
I'm not sure whether iteratin
Anyone?
On Wed, Mar 31, 2010 at 9:18 PM, Alex Rozenshteyn wrote:
> $ ghc-pkg check
>
> outputs nothing
>
> $ ghc-pkg list unix
> /var/lib/ghc-6.12.1/package.conf.d
>unix-2.4.0.0
> /home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d
>
> "unix" appears to be in the build-depends of the "Library"
$ ghc-pkg check
outputs nothing
$ ghc-pkg list unix
/var/lib/ghc-6.12.1/package.conf.d
unix-2.4.0.0
/home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d
"unix" appears to be in the build-depends of the "Library", but not in the
build-depends of "Executable lambdabot"
Adding "unix" to the second
On 1 April 2010 11:42, Alex Rozenshteyn wrote:
> Main.hs:11:7:
> Could not find module `System.Posix.Signals':
> It is a member of the hidden package `unix-2.4.0.0'.
> Perhaps you need to add `unix' to the build-depends in your .cabal
> file.
Interesting, because unix _is_ listed
I tend to install haskell packages from apt whenever possible. One such
package is "unix", which appears to come provided by the ghc6 debian
package. I'm trying to cabal install lambdabot and getting the following:
$ cabal install lambdabot
Resolving dependencies...
Configuring lambdabot-4.2.2.1
13 matches
Mail list logo