Re: Glasgow-haskell-users Digest, Vol 212, Issue 5

2021-10-11 Thread Dominic Steinitz
controllable and reproducible manner. This is actually easier than it sounds: `curl https://nixos.org/nix/install | sh` and `nix-env -I ghc`. If you get the same error with that then we can try adding `iconv` explicitly. Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.org Twitter

Re: accelerate-llvm problems

2017-02-22 Thread Dominic Steinitz
No go at the moment - I am using my tiny macbook on holiday which is on too old a version of Xcode. When I try to upgrade it tells me I am out of space. I think rather than fight I will wait until I get back to a machine with more resources. > On 22 Feb 2017, at 07:02, Dominic Steinitz wr

Re: accelerate-llvm problems

2017-02-22 Thread Dominic Steinitz
all llvm-general with -fshared-llvm (or, use my fork, which the > stack.yaml files point to). > > > -Trev > > P.S. On mobile, apologies for the terse reply. > On Wed, 22 Feb 2017 at 10:34 AM, Dominic Steinitz <mailto:idontgetoutm...@gmail.com>> wrote: > I

accelerate-llvm problems

2017-02-21 Thread Dominic Steinitz
I am trying to build accelerate-llvm but getting the ghc panics below. Here’s my config > bash-3.2$ ghc-pkg list | grep llvm > ghc-pkg list | grep llvm >llvm-general-3.8.0.0 >llvm-general-pure-3.5.0.0 >llvm-general-pure-3.5.1.0 >llvm-general-pure-3.8.0.0 > bash-3.2$ ghc-pkg list |

Floating Point Exceptions

2016-12-07 Thread Dominic Steinitz
ppy to have a go at it if someone could provide help and guidance. There seems to have been some discussion of it on the ghc-devs mailing list in September (https://mail.haskell.org/pipermail/ghc-devs/2016-September/date.html) but not much in the way of write up. Dominic Steinitz domi...@

Stack traces in ghci

2016-12-05 Thread Dominic Steinitz
; > > > ByteCodeLink.lookupCE > During interactive linking, GHCi couldn't find the following symbol: > > hmatrixzm0zi18zi0zi0zm7aYEqJARQEvKYNyM4UGAPZZ_InternalziUtil_zdfIndexableVectorDouble_closure > This may be due to you not asking GHCi to load extra object

Re: GHC Performance / Replacement for R?

2016-08-31 Thread Dominic Steinitz
ytestring expertise to debug. Maybe there's a GHC problem underlying; or maybe it's shortcoming of bytestring. Simon | -Original Message- | From: Glasgow-haskell-users [mailto:glasgow-haskell-users- <mailto:glasgow-haskell-users-> | boun

GHC Performance / Replacement for R?

2016-08-25 Thread Dominic Steinitz
I am trying to use Haskell as a replacement for R but running into two problems which I describe below. Are there any plans to address the performance issues I have encountered? 1. I seem to have to jump through a lot of hoops just to be able to select the data I am interested in. {-# LANGUA

Re: CMM-to-ASM: Register allocation wierdness

2016-06-16 Thread Dominic Steinitz
> Hi, I am implementing unicode normalization in Haskell. I > challenged myself to match the performance with the best C/C++ > implementation, the best being the ICU library. I am almost there, > beating it in one of the benchmarks and within 30% for others. I am > out of all application level tri

Re: SIMD

2015-04-13 Thread Dominic Steinitz
c.haskell.org/trac/ghc/ticket/10229 <https://ghc.haskell.org/trac/ghc/ticket/10229>) but I am trying to understand what other options might be available to speed things up. Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.wordpress.com > On 13 Apr 2015, at 13:37, Geoffrey

SIMD

2015-04-11 Thread Dominic Steinitz
imd not found in upstream origin Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.wordpress.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

Re: [Haskell-cafe] Parallel Profiling

2015-04-01 Thread Dominic Steinitz
Hi Amos, Thanks very much - I am taking a look. Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.wordpress.com On 30 Mar 2015, at 22:05, Amos Robinson wrote: > Hi Dominic, > > A few years ago we wrote a program for analysing DPH runs, dph-event-seer. It > provides a

Parallel Profiling

2015-03-30 Thread Dominic Steinitz
that would allow me to construct my own analyses rather than display them via GTK. There is ghc-events but that seems to be just for parsing the logs and I couldn’t find anything that used it in the way I would like to (apart from threadscope and ghc-events-analyze of course). Thanks Dominic

Equality Constraints (a ~ b)

2015-01-11 Thread Dominic Steinitz
/docs/users_guide.pdf section 7.11. Folk on #ghc referred me to http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/. I can find papers that refer to ~ in F_C (aka FC?) but as far as I can tell not in the Haskell language itself. Many thanks Dominic Steinitz domi...@steinitz.org

RE: ANNOUNCE: GHC 7.10.1 Release Candidate 1

2014-12-29 Thread Dominic Steinitz
I counted about 10 people (including me) who appear to be actively keen on it on reddit: http://www.reddit.com/r/haskell/comments/2pnjdk/is_overloadedrecordfields_getting_it_into_7101/. I would guess there are others. Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.wordpress.com

Re: CPP Help (was Re: Latest Template Haskell Breaks Package)

2014-12-24 Thread Dominic Steinitz
Thank you very much everyone. I now have a version of yarr which compiles under ghc 7.8.3. I have yet to do the conditional compilation hackery to support back versions but then I can make a release. What a great community :-) Dominic Steinitz domi...@steinitz.org http

Re: CPP Help (was Re: Latest Template Haskell Breaks Package)

2014-12-23 Thread Dominic Steinitz
> $ cabal --version > cabal-install version 1.19.1 > using version 1.19.1 of the Cabal library Dominic Steinitz domi...@steinitz.org http://idontgetoutmuch.wordpress.com On 23 Dec 2014, at 15:54, Carter Schonwald wrote: > what version of cabal-install are you using? > > On

Re: CPP Help (was Re: Latest Template Haskell Breaks Package)

2014-12-23 Thread Dominic Steinitz
How very clever of you and thank you very much. Changing ‘ to 1 does fix the problem. I would have thought this would work > cabal install --with-gcc=gcc-4.9 But sadly I still got the same error. Do I need a special version of cpphs? Dominic Steinitz domi...@steinitz.org h

CPP Help (was Re: Latest Template Haskell Breaks Package)

2014-12-23 Thread Dominic Steinitz
imitiveOrd ty where { \ > minM' (con a#) (con b#) =\ > IO (\s ->\ > let r# = if le a# b# then a# else b# \ > in case touch# r# s of s' ->

Re: Problems installing 7.6.2 on MACOS

2013-03-27 Thread Dominic Steinitz
Answering my own question: it seems I made a rookie mistake and specified --prefix=/Library/Haskell which is where 7.4.1 lives. I just specified --prefix=/usr/lib and as far as I can tell everything works. On 27 Mar 2013, at 11:40, Dominic Steinitz wrote: > Hi, > > I fol

Problems installing 7.6.2 on MACOS

2013-03-27 Thread Dominic Steinitz
Hi, I followed the instructions pointed to from here: http://www.haskell.org/ghc/download_ghc_7_6_2#macosx_x86_64 > bash-3.2$ ./configure --prefix=/Library/Haskell > bash-3.2$ sudo make install But sadly I get: > bash-3.2$ ghc-pkg list > ghc-pkg: missing --global-package-db option, location

Re: Is there a workaround for this bug?

2013-01-01 Thread Dominic Steinitz
using Integer literals (use Ints?). Sorry. > > Simon > > | -Original Message- > | From: glasgow-haskell-users-boun...@haskell.org > [mailto:glasgow-haskell-users- > | boun...@haskell.org] On Behalf Of Dominic Steinitz > | Sent: 26 December 2012 18:14 > |

Is there a workaround for this bug?

2012-12-26 Thread Dominic Steinitz
AFAICT this bug fix http://hackage.haskell.org/trac/ghc/ticket/7239 did not make it into 7.6.1. Also I am happily working on the Haskell Platform with 7.4.1 and I'd rather avoid upgrading if possible. Is there a workaround? I've attached my code below along with the error message (which is the

hp2ps Bug?

2011-08-17 Thread Dominic Steinitz
If I use profiling on windows with relative path names e.g. the first line in the .hp file is something like: JOB "ScriptUsage.exe -t ..\FPF\TradeDesc\TradesTags.txt -f ..\out\FPOs - u ..\Data\LogStarted090511c +RTS -H256M -hc" then hp2ps produces nonsense. If I replace this line with: JOB "Sc

Re: HPC gives spurious results if sources are compiled with -cpp

2009-07-18 Thread Dominic Steinitz
Ian Lynagh wrote: > On Wed, Jul 15, 2009 at 04:05:14PM +0000, Dominic Steinitz wrote: >> Simon Marlow gmail.com> writes: >> >>> On 14/07/2009 10:08, Dominic Steinitz wrote: >>>> Trac doesn't seem to work for us so I'm sending this bug report

Re: HPC gives spurious results if sources are compiled with -cpp

2009-07-15 Thread Dominic Steinitz
Simon Marlow gmail.com> writes: > > On 14/07/2009 10:08, Dominic Steinitz wrote: > > Trac doesn't seem to work for us so I'm sending this bug report by email. > > What's the symptom? > > Cheers, > Simon > I hit "New Bug" and

HPC gives spurious results if sources are compiled with -cpp

2009-07-14 Thread Dominic Steinitz
Trac doesn't seem to work for us so I'm sending this bug report by email. ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 ghc.exe -fhpc -cpp --make CommonHPC.hs -o CommonHPC commonHPC hpc markup CommonHPC --fun-entry-count This gives no entry counts for fact in Co

Re: GADT Strangeness

2009-01-10 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > | Is it worth noting it here > | http://haskell.org/haskellwiki/Upgrading_packages#Changes_to_GADT_matching > | or is it something that has always existed with GADTs and I just didn't > | trip over it? > > I've added a para. Good idea. Thanks very much. I'm slightly

Re: GADT Strangeness

2009-01-03 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > | If I remove -XScopedTypeVariables from this http://hpaste.org/13230 > then | I get the following error message: | | > > Asn1cTestNew.hs:55:27: | > GADT pattern match in non-rigid > context for `INTEGER' | > Solution: add a type signature | > > In the pattern:

GADT Strangeness

2008-12-21 Thread Dominic Steinitz
If I remove -XScopedTypeVariables from this http://hpaste.org/13230 then I get the following error message: > Asn1cTestNew.hs:55:27: > GADT pattern match in non-rigid context for `INTEGER' > Solution: add a type signature > In the pattern: INTEGER > In the definition of `referenc

Re: GADT Type Checking GHC 6.10 versus older GHC

2008-11-28 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > | > arbitrarySeq :: Sequence a -> Gen RepSeqVal > | > arbitrarySeq Nil = > | >return (RepSeqVal Nil Empty) > | > arbitrarySeq (Cons (CTMandatory (NamedType n i t)) ts) = > | >do u <- arbitraryType t > | > us <- arbitrarySeq ts > | > case u of > | >

Re: GADT Type Checking GHC 6.10 versus older GHC

2008-11-28 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > | > I also feel that the type errors given when working with existential > | > types, especially GADTs with existentials, are confusing. I think > | > | I am using existential types to test GADT code. See > | http://www.haskell.org/haskellwiki/QuickCheck_/_GADT which no

Re: GADT Type Checking GHC 6.10 versus older GHC

2008-11-28 Thread Dominic Steinitz
Ignore my last email. I was accidentally using > The Glorious Glasgow Haskell Compilation System, version 6.9.20080616 Mind you I am still having problems just not the same ones. I'll report back later. Dominic. ___ Glasgow-haskell-users mailing list

GADT Type Checking GHC 6.10 versus older GHC

2008-11-27 Thread Dominic Steinitz
> In my case, we had rigid type signatures all over the place. The > wiki document says that the type must be rigid at the point of the > match. I guess that's what we were violating. If the code I posted > isn't supposed to type check then I would like to report, as user > feedback, that GADTs

Re: GADT Type Checking GHC 6.10 versus older GHC

2008-11-22 Thread Dominic Steinitz
Dominic Steinitz blueyonder.co.uk> writes: > > packaged form for my flavour of linux. I will put some work into doing this > today and report back. > > Dominic. > Phew - I installed the windows 6.10.1 package and everything to do with GADTs still se

Re: GADT Type Checking GHC 6.10 versus older GHC

2008-11-22 Thread Dominic Steinitz
Jason Dagit codersbase.com> writes: > > > On Fri, Nov 21, 2008 at 8:57 AM, Simon Peyton-Jones microsoft.com> wrote: > You need a type signature for the case expression. As Daniel says, this is worth a readhttp://haskell.org/haskellwiki/Upgrading_packages%23Changes_to_GADT_matching#Changes_to_

Re: 6.10.1 Bug?

2008-11-18 Thread Dominic Steinitz
Dominic Steinitz wrote: > According to the hackage page, the Haskell Cryptography Library has a > build failure. I couldn't find a bug reference when I searched for > milestone 6.10.1 on trac. Should I report it? Has it been fixed? > > Thanks, Dominic. > > http://ha

6.10.1 Bug?

2008-11-17 Thread Dominic Steinitz
According to the hackage page, the Haskell Cryptography Library has a build failure. I couldn't find a bug reference when I searched for milestone 6.10.1 on trac. Should I report it? Has it been fixed? Thanks, Dominic. http://hackage.haskell.org/packages/archive/Crypto/4.1.0/logs/failure/ghc-6.10

Re: Rebuilding ghc

2008-06-16 Thread Dominic Steinitz
Ian Lynagh wrote: > On Mon, Jun 16, 2008 at 08:12:49AM +0100, Dominic Steinitz wrote: >> Thanks. I put the flag in the right place and got further but see below. >> >>> ../compiler/ghc-inplace -H32m -O2 -fasm -Rghc-timing -optc-O2 -I../includes >>> -I. -Iparal

Re: Rebuilding ghc

2008-06-16 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > | Where do I put -fno-ds-multi-tyvar so that the build system knows > to use | it? I'm going to try build.mk. | | Ok that didn't work and I > couldn't find anything about | -fno-ds-multi-tyvar in the > documentation. > > Yes, in GhcLibHcOpts in build.mk is a good place.

Re: Rebuilding ghc

2008-06-13 Thread Dominic Steinitz
Simon Peyton-Jones wrote: > Sorry about this -- it's my fault. I did validate a fix to the > desugarer, but ndp isn't part of 'validate'. Turns out that the > change to the desugarer provoked quite subtle and longstanding bug in > the simplifier. > > To get rolling again, use -fno-ds-multi-tyvar

Re: Rebuilding ghc

2008-06-12 Thread Dominic Steinitz
This is becoming a bit of an odyssey ("a series of vicissitudes"). I now get a bug in ghc. Should I report it? Dominic. > /home/dom/ghc/compiler/stage1/ghc-inplace -package-name ndp-0.2 > -hide-all-packag > es -i -idist/build -i. -idist/build/autogen -Idist/build -Iinclude -odir > dist/bu > ild

Re: Rebuilding ghc

2008-06-12 Thread Dominic Steinitz
>>> Configuring editline-0.2... >>> Setup: Version mismatch between ghc and ghc-pkg: >>> /home/dom/ghc/compiler/stage1/ghc-inplace is version 6.9.20080606 >>> /home/dom/ghc/utils/ghc-pkg/ghc-pkg-inplace is version 6.9.20080612 > > From the above error, I suspect that you need to run "make distclea

Re: Rebuilding ghc

2008-06-12 Thread Dominic Steinitz
Judah Jacobson wrote: > On Tue, Jun 10, 2008 at 1:39 PM, Dominic Steinitz > <[EMAIL PROTECTED]> wrote: >> I've built ghc previously and I assumed to keep it up to date I just did > > From that error, I suspect you have a conflict in the editline > package, an

Rebuilding ghc

2008-06-10 Thread Dominic Steinitz
I've built ghc previously and I assumed to keep it up to date I just did darcs pull followed by make but I got errors and according to the rebuilding instructions http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding I shouldn't have done that. I therefore followed the instructions but

Re: Building ndp Problem

2008-06-07 Thread Dominic Steinitz
Manuel M T Chakravarty wrote: > Dominic Steinitz: >> I wanted to try out data parallel haskell. I followed the instructions >> on http://haskell.org/haskellwiki/Data_Parallel_Haskell/PackageNDP but I >> get the following error: >> >>> [EMAIL PROTECTED]:~/

Building ndp Problem

2008-05-25 Thread Dominic Steinitz
I wanted to try out data parallel haskell. I followed the instructions on http://haskell.org/haskellwiki/Data_Parallel_Haskell/PackageNDP but I get the following error: > [EMAIL PROTECTED]:~/ghc/libraries> make make.library.ndp > make: *** No rule to make target `build.library.ndp', needed by > `

Building GHC

2008-05-16 Thread Dominic Steinitz
When I look at the instructions http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources they say the distribution is split in two but when I look at http://darcs.haskell.org/ it seems to be split in three ghc-HEAD-2007-12-16-..> 16-Dec-2007 14:25 102M ghc-HEAD-2007-12-16-..> 16-De

Re: 5.04.2 RPM Dependencies

2003-03-11 Thread Dominic Steinitz
I tried the RPM for 7.2 and it seemed to work with --force and --nodeps (it asked for libreadline.so.4 which was already there). Dominic Steinitz - Original Message - From: "Simon Marlow" <[EMAIL PROTECTED]> To: "Jon Fairbairn" <[EMAIL PROTECTED]>; &quo

5.04.2 RPM Dependencies

2003-03-10 Thread Dominic Steinitz
rpms to do this? By the way I didn't have this problem with 5.04.1. Dominic Steinitz ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

GHCI Can't Find Module But GHC Can

2002-06-25 Thread Dominic Steinitz
done. Loading object (static) ../lib/XmlPP.o ... done. Loading object (static) ../lib/XmlParse.o ... done. Loading object (static) ../lib/XmlTypes.o ... done. final link ... done. can't find module `IOMisc' Prelude> Dominic Steinitz ___ Gla

Updating the net package

2002-06-11 Thread Dominic Steinitz
le of ghc if I can. Many thanks, Dominic Steinitz ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Raw Sockets

2002-03-03 Thread Dominic Steinitz
How do I use raw sockets? According to the documentation I can use AF_RAW. It also refers the user to the implementation in fptools/hslibs/net/SocketPrim.lhs. Do I really need to do this and if so how do I get it? This compiles and runs as expected: module Main(main) where import SocketPrim (Fa