[Haskell] ANNOUNCE: Release of 'randproc' package v0.1

2011-06-22 Thread David Banas
Announcing the release of v0.1 of 'randproc', a library for working with random processes. http://www.haskell.org/haskellwiki/Random_Processes ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell] ANNOUNCE: release v0.2 of RandProc library

2011-06-27 Thread David Banas
v0.2 of the `RandProc` library has been released to HackageDB. http://hackage.haskell.org/package/randproc Changes in this release: * Improved several severe performance bottlenecks. (The `goodDie` space can now actually be checked, without exhausting memory/time.) *

[Haskell] ANNOUNCE: RandProc v0.4 released.

2011-07-03 Thread David Banas
v0.4 of `RandProc` has just been posted to Hackage: http://hackage.haskell.org/package/randproc In this release: * Examples of using the `RandProc` library to work problems from `Random Processes` text have been added. * `README` file has been fleshed out a bit.

[Haskell] ANNOUNCE: broker-haskell v0.1

2015-08-16 Thread David Banas
The initial release of broker-haskell, a Haskell binding to Broker (libbroker), the messaging library for Bro, a network security tool. Provides: - Language.Broker After downloading/extracting compressed tarball: davids-air-2:broker-haskell-0.1.0.0 dbanas$ cabal configure --prefix=$HOME

[Haskell] Redundant entries in .cabal file?

2015-08-15 Thread David Banas
Hi all, Does anyone know why I’m getting redundant entries in my ‘cabal init’ generated .cabal file: library exposed-modules: Language.Broker, Language.Broker ? Is it because I’m using a *.hsc file, as my source, and cabal is finding both files: Broker.hsc, and Broker.hs in the

[Haskell] libiconv trouble?

2015-08-15 Thread David Banas
Anyone else hit this, after updating to the new Haskell Platform? Davids-MacBook-Air-2:tmp dbanas$ ghci GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help command line: can't load .so/.DLL for: libiconv.dylib (dlopen(libiconv.dylib, 5): image not found) Thanks, -db

Re: [Haskell] libiconv trouble?

2015-08-15 Thread David Banas
when I comment out the two lines, above, in my .bash_profile file, ghci works fine. Thanks! On Aug 15, 2015, at 1:34 PM, Brandon Allbery allber...@gmail.com wrote: On Sat, Aug 15, 2015 at 4:26 PM, David Banas capn.fre...@gmail.com wrote: Davids-MacBook-Air-2:tmp dbanas$ ghci GHCi, version

[Haskell] ETA on 7.10.3?

2015-09-01 Thread David Banas
Hi, Does anyone have an ETA for ghc v7.10.3? (I'm trying to decide between waiting and backing up to 7.8.2, for a particular project.) Thanks, -db ___ Haskell mailing list Haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell

Re: [Haskell] ETA on 7.10.3?

2015-09-02 Thread David Banas
.) Thanks, -db On Sep 2, 2015, at 12:05 AM, Ben Gamari <b...@smart-cactus.org> wrote: > David Banas <capn.fre...@gmail.com> writes: > >> Hi, >> >> Does anyone have an ETA for ghc v7.10.3? >> (I'm trying to decide between waiting and backin

[Haskell-cafe] Trouble with `foldl` in composition chain.

2011-06-26 Thread David Banas
When profiling this code: consolidateRPR :: [Sample] - [Sample] smplUnionRecursRev :: [Sample] - Sample - [Sample] sortSamps :: [Sample] - [Sample] smplSetUnion :: [Sample] - [Sample] smplSetUnion = consolidateRPR . (foldl

Re: [Haskell-cafe] [Haskell-Cafe] Constructive Probability Theory and RandProc's σ-algebras

2011-07-06 Thread David Banas
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

[Haskell-cafe] Getting segmentation fault when profiling, despite `-K100M'.

2011-08-16 Thread David Banas
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'

[Haskell-cafe] Failed link to mixed-language shared object.

2011-08-18 Thread David Banas
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_'

Re: [Haskell-cafe] Failed link to mixed-language shared object.

2011-08-19 Thread David Banas
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

Re: [Haskell-cafe] Failed link to mixed-language shared object

2011-08-21 Thread David Banas
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

Re: [Haskell-cafe] Make shared library - questions

2011-08-28 Thread David Banas
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

[Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-06 Thread David Banas
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'

Re: [Haskell-cafe] Request for help: Recompile of ghc producing ...-ghc7.4.2.sos, which break project builds.

2013-04-27 Thread David Banas
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

[Haskell-cafe] Question about Newtype op() function arguments.

2013-06-07 Thread David Banas
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 -

Re: [Haskell-cafe] Question about Newtype op() function arguments.

2013-06-12 Thread David Banas
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

Re: [Haskell-cafe] Why are field selectors functions?

2013-08-09 Thread David Banas
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

[Haskell-cafe] Trouble installing haskeline: ExitFailure 139

2013-09-14 Thread David Banas
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/

TH Show instance not working.

2017-08-19 Thread David Banas
Hi all, Does anyone know why this code: module Language.P4.UtilTest where import Language.P4.Util (mkShow) data Dummy = BogusChar | Nonsense Int $(mkShow ''Dummy) is producing this error: Davids-Air-2:P4 dbanas$ stack ghc -- UtilTest.hs -ddump-splices [1 of 1] Compiling

Re: TH Show instance not working.

2017-08-20 Thread David Banas
declaration with two clauses ([FunD "show" > [Clause ..., Clause ...]]). > Both pretty-print to the same text, but only the second one is actually > valid. When there is only one constructor, both alternatives end up the same. > > Li-yao > > On 08/20/2017 02:16 A