When profiling this code:
consolidateRPR :: [Sample] - [Sample]
smplUnionRecursRev :: [Sample] - Sample - [Sample]
sortSamps :: [Sample] - [Sample]
smplSetUnion :: [Sample] - [Sample]
smplSetUnion = consolidateRPR . (foldl
in-line below.)
Looking forward to much more conversation with you (and others),
-db
On Jul 3, 2011, at 9:35 AM, Edward Kmett wrote:
On Sun, Jul 3, 2011 at 11:05 AM, David Banas dba...@banasfamily.net wrote:
v0.4 of `RandProc` has just been posted to Hackage:
http://hackage.haskell.org/package
Hi all,
I'm trying to profile a mixed language program, in which Haskell is NOT
the top layer and does not contain the `main' function. (C is/does.)
Is this effort doomed to fail?
I'm getting a segmentation fault, as soon as the first Haskell function
is called, despite having included `-K100M'
Hi all,
Does this trigger recollection in anyone:
dbanas@dbanas-eeepc:~/prj/haskell/AMIParse/trunk$ make
ghc -dynamic -o ami_test -L. -lami ami_test.o
./libami.so: undefined reference to `__stginit_haskell98_MarshalArray_'
./libami.so: undefined reference to `__stginit_haskell98_MarshalError_'
On Thu, 2011-08-18 at 20:32 -0700, David Banas wrote:
Hi all,
Does this trigger recollection in anyone:
dbanas@dbanas-eeepc:~/prj/haskell/AMIParse/trunk$ make
ghc -dynamic -o ami_test -L. -lami ami_test.o
./libami.so: undefined reference to `__stginit_haskell98_MarshalArray_'
./libami.so
ghc -dynamic -o ami_test -L. -lami ami_test.o
./libami.so: undefined reference to `__stginit_haskell98_MarshalArray_'
./libami.so: undefined reference to `__stginit_haskell98_MarshalError_'
collect2: ld returned 1 exit status
I was able to solve this by changing these lines:
import
I'm trying to compile shared library. This library will use as part of
plugin for some program.
If I compile library with option -dynamic my library has links for HS
libraries like libHSbase-4.2.0.2-ghc6.12.3.so and so on.
But program has crashed constantly.
Is it possible to make shared
Hi all,
I'm trying to build a shared, dynamic library for use with a C program.
I'm getting an `undefined symbol' error, when I try to run that C
program,
and was hoping that the last line in the output, below, might mean
something to someone.
I include the entire output of a `make rebuild'
On Saturday, April 27, 2013 6:37:43 AM UTC-7, David Banas wrote:
Recently, I had to recompile ghc, in order to get the -dyn versions of
the standard libraries installed. (The standard Ubuntu 12.10 64-bit Linux
distribution doesn't include them in its haskell-platform package, and
you can't
Hi All,
Referring to the following, which is taken from the *Control.Newtype
*documentation
page:
op ::
Newtypehttp://hackage.haskell.org/packages/archive/newtype/0.2/doc/html/Control-Newtype.html#t:Newtype
n
o = (o - n) - n -
Ah, so is the idea, then, to use *op()* when `n` wasn't actually
constructed formally, but rather assembled by the user, so as to match
the type of the accessor function normally supplied as the argument to the
constructor?
On 6/7/2013 4:51 PM, Tom Ellis wrote:
On Fri, Jun 07, 2013 at
Wouldn't the implementation hiding feature of the *newtype *idiom be
broken, if field selectors were not first class functions? For instance,
the following code (taken shamelessly from Ch. 10 of *Real World Haskell*):
module Parse (
runParser
) where
data ParseState = ParseState {
string
Has anyone else hit an unexplained *ExitFailure 139* when trying to install
the *haskeline* package?
Thanks,
-db
dbanas@dbanas-lap:~/prj$ cabal install -v haskeline
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Extracting
/home/dbanas/.cabal/packages/
13 matches
Mail list logo