I have been subscribed to this list for over 20 years but these days all I ever
see are announcements of conferences which have at best a tangential
relationship with Haskell. Maybe it is time to call it a day?
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.org
Twitter
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
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 &l
with shared libraries.
>
> Then, install 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 <idontgetoutm...@gmail.com
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
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...@
, GHCi couldn't find the following symbol:
>
> hmatrixzm0zi18zi0zi0zm7aYEqJARQEvKYNyM4UGAPZZ_InternalziUtil_zdfIndexableVectorDouble_closure
> This may be due to you not asking GHCi to load extra object files,
> archives or DLLs needed by your current session. Restart GHCi, spe
sers->
| boun...@haskell.org <mailto:boun...@haskell.org>] On Behalf Of
Dominic Steinitz
| Sent: 25 August 2016 10:11
| To: GHC users <glasgow-haskell-users@haskell.org
<mailto:glasgow-haskell-users@haskell.org>>
| Subject: GHC Performance / Replacement for
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.
{-#
> 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
package/diagrams-contrib-1.3.0.7/docs/Diagrams-TwoD-Layout-Tree.html>.
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
___
Haskell mailing list
Haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
...@haskell.org wrote:
> I'm sorry to announce that this year haskell.org was not accepted for the
> 2016 Google Summer of Code.
>
>
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
___
Haskell mailing list
Haskell@hask
/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 Mainland mainl...@cs.drexel.edu wrote
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
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 amos.robin...@gmail.com wrote:
Hi Dominic,
A few years ago we wrote a program for analysing DPH runs, dph-event-seer
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
/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
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
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
# then a# else b# \
in case touch# r# s of s' - (# s', (con r#) #));\
}
PRIM_COMP_INST(Int, I#, (=#), (=#))
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
On 23 Dec 2014, at 15:06, Dominic Steinitz domi...@steinitz.org wrote:
Hi
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
http
$ 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 carter.schonw...@gmail.com wrote:
what version of cabal-install are you using
Dominic Steinitz dominic at steinitz.org writes:
Thanks for all the help everyone :-)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-darwin12.3.0
Host CPU: core-avx-i
Dominics-MacBook-Pro:Laplace dom$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.2
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
On 10 Aug 2013, at 18:41, Ozgur Akgun ozgurak...@gmail.com wrote:
Hi
\,\x86_64\])
]
But I don't have either llc or opt
Dominics-MacBook-Pro:Laplace dom$ llc
-bash: llc: command not found
Dominics-MacBook-Pro:Laplace dom$ opt
-bash: opt: command not found
Dominics-MacBook-Pro:Laplace dom$
What is the solution?
Thanks,
Dominic Steinitz
domi...@steinitz.org
http
Thank you very much. I used Homebrew. Now I can compile albeit with a warning.
I have yet to try running it.
Loading package repa-3.2.3.1 ... linking ... done.
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
Dominic Steinitz
domi...@steinitz.org
http
I will certainly volunteer (to mentor) next year if I feel I can add value.
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
On 2 Jun 2013, at 17:23, Edward Kmett ekm...@gmail.com wrote:
Public good is a nebulous concept, but it is something that each of the folks
it seems this
requires payment but there may be a free equivalent
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
On 28 May 2013, at 16:11, Edward Kmett ekm...@gmail.com wrote:
Hi Dominic,
The proposal is admittedly rather unfortunately opaque.
The parts I can shed
.
Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
How is it decided which Haskell projects get chosen? Do we discuss them here
and take a collective view?
Thanks, Dominic.
PS I should point out I have an interest in the proposal to port charts to use
diagrams
(http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/jbracker/1)
Can anyone tell me why I get a type error with testGrad2? What are my options?
Clearly I would like to be able find the gradient of my cost function for
different sets of observations.
Thanks, Dominic.
{-# LANGUAGE NoMonomorphismRestriction #-}
import Numeric.AD
default()
costFn ::
Answering my own question, what I needed was:
testGrad2 :: (Fractional a, Num a) =
(forall s . Mode s = [AD s a]) -
(forall s . Mode s = [[AD s a]]) -
[a] - [a]
testGrad2 ys xss = grad (costFn ys xss)
On 23 Apr 2013, at 10:44, Dominic Steinitz domi
underlying storage requirements, so there are a lot of little
issues in making that latter vision a reality.
-Edward
On Tue, Apr 9, 2013 at 10:46 AM, Dominic Steinitz domi...@steinitz.org
wrote:
Hi Cafe,
Suppose I want to find the grad of a function then it's easy I just
use http
vision a reality.
-Edward
On Tue, Apr 9, 2013 at 10:46 AM, Dominic Steinitz domi...@steinitz.org
wrote:
Hi Cafe,
Suppose I want to find the grad of a function then it's easy I just
use http://hackage.haskell.org/package/ad-3.4:
import Numeric.AD
import Data.Foldable (Foldable
Hi Cafe,
Suppose I want to find the grad of a function then it's easy I just
use http://hackage.haskell.org/package/ad-3.4:
import Numeric.AD
import Data.Foldable (Foldable)
import Data.Traversable (Traversable)
data MyMatrix a = MyMatrix (a, a)
deriving (Show, Functor, Foldable, Traversable)
Cool! Works for me. Many thanks, Dominic
On 3 Apr 2013, at 12:40, Edsko de Vries edskodevr...@gmail.com wrote:
I provide a ThreadScope binary on my site
(http://www.edsko.net/2013/01/24/threadscope-0-2-2/) which runs fine for me
on 10.8.3.
-E
On Mon, Apr 1, 2013 at 8:01 AM, Dominic
Alfredo Di Napoli alfredo.dinapoli at gmail.com writes:
Said that,has someone had any luck in running Threadscope on Mac OS X 10.8 at
all?
Thanks,
A.
I think I have encountered the same problem:
https://groups.google.com/d/msg/parallel-haskell/-lhrgNN8elw/KzqLM9BzoJwJ
In my
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 of
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 domi...@steinitz.org wrote:
Hi,
I
Aleksey Khudyakov alexey.skladnoy at gmail.com writes:
I've tried to run you program and I've got approximately same results
regardless of optimization level. Which versions of GHC, mwc-random,
vector and primitive do you use?
By approximate do you mean you are getting Monte Carlo noise
Andrey Yankin yankin013 at gmail.com writes:
Greetings to all!
repa?I wrote this rough sketch that shows what I am into. Apparently, program
is severely slow. I think reason is:Every time an element is requested from a
delayed array it is calculated
anew, which means that delayed
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
| To: glasgow-haskell-users@haskell.org
| Subject
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
Emil Hedevang emilhedevang at gmail.com writes:
Hi Haskell Cafe,
I need to perform very large numerical computations requiring tens of GB of
memory. The computations consist essentially of generation of random numbers
and discrete convolutions of large arrays of random numbers with
Dmitry Malikov malikov.d.y at gmail.com writes:
Playing around with repa arrays and got some questions.
1) How I can get list of indexes of array that suffice some predicate?
a1
AUnboxed (Z :. 3) (fromList [False,False,True])
it :: Array U (Z :. Int) Bool
Indexes of
Duncan Coutts duncan.coutts at googlemail.com writes:
This could in principle be fixed with an arity raising transformation,
Do you have a reference to arity raising transformations?
Thanks, Dominic.
___
Haskell-Cafe mailing list
Hi,
The release timetable
http://trac.haskell.org/haskell-platform/wiki/ReleaseTimetable says
there will be a new release of the Haskell Platform in May. Can someone
give an update on this?
Many thanks, Dominic.
___
Haskell mailing list
Hi,
I was trying to install ad (Automatic Differentiation) but got the
following error. I guess the answer is to upgrade my ghc (perhaps
someone could confirm) but I am using the Haskell Platform and would
rather stick with that. I see from http://hackage.haskell.org/platform/
that the next
On 07/04/2012 11:14, Ben Lippmeier wrote:
On 07/04/2012, at 9:33 AM, Chris Wong wrote:
On Sat, Apr 7, 2012 at 2:02 AM, Dominic Steinitz
idontgetoutm...@googlemail.com wrote:
Hi,
I'm trying to install REPA but getting the following. Do I just install
base? Or is it more complicated than
On 07/04/2012 15:42, Dominic Steinitz wrote:
On 07/04/2012 11:14, Ben Lippmeier wrote:
On 07/04/2012, at 9:33 AM, Chris Wong wrote:
On Sat, Apr 7, 2012 at 2:02 AM, Dominic Steinitz
idontgetoutm...@googlemail.com wrote:
Hi,
I'm trying to install REPA but getting the following. Do I just
Hi,
I'm trying to install REPA but getting the following. Do I just install
base? Or is it more complicated than that?
Thanks, Dominic.
Tests-MacBook-Pro:PDE Test$ cabal install repa
Resolving dependencies...
cabal: cannot configure repa-2.2.0.1. It requires base ==4.4.*
For the dependency
The link on http://www.haskell.org/ghc/docs/latest/html/users_guide/hpc.html to
http://www.haskell.org/hpc seems to be broken.
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
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
Charles-Pierre Astolfi cpa at crans.org writes:
Hi -cafe,
I have a question about Codec.Crypto.RSA: how to enforce that
(informally) decrypt . encrypt = id
Consider this code:
That's certainly what I would expect and one of the unit tests that comes with
Does anyone have any suggestions or do I have to start building haddock
myself?
Ok I built it from source rather than using the Haskell Platform exe and it now
works. Perhaps the packager of the Haskell Platform for Windows could take a
look at why the binary is behaving as it does?
Dominic.
malcolm.wallace malcolm.wallace at me.com writes:
I haven't been following closely, but how did you install haddock? From a
binary dist? Is it possible that
one of the Windows binary dists has a baked-in location for something on
the E: drive, which existed on
the packager's machine but
David Waern david.waern at gmail.com writes:
I think using --optghc=-package-conf is the correct way to point to
another package DB, so I'll look into why it doesn't work.
Perhaps another line of attack would be to see why haddock thinks I have
an E: drive?
..\ThirdParty\Haskell_Platform\2010.1.0.0\bin\haddock.exe BackendC\Core.hs
haddock.exe: can't find a package database at
E:\ghc\ghc-6.12.1lib\package.conf.d
But if I do haddock --help there is no option to set the package database and I
don't even have an E: drive.
I'm on windows in case that
Try --optghc=-package-conf --optghc=file, to point Haddock at the custom
DB.
Hi David, Thanks for the quick response. No dice I am afraid. Dominic. BTW this
(using optghc) used to work on previous versions of haddock (iirc 2.4 and 2.5).
David Waern david.waern at gmail.com writes:
2010/6/14 David Waern david.waern at gmail.com:
OK, it seems like the path from the ghc-paths package overrided what
you specified. I'm not sure this will work, but you could try:
haddock -B
wren ng thornton wren at freegeek.org writes:
or whatever).
Haskell and similar languages choose a particular set of coercions to
Nice explanation.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Mark Spezzano mark.spezzano at chariot.net.au writes:
Maybe there are books on Discrete maths or Algebra or Set Theory that deal
more with Hom Sets and Hom Functions?
Googling haskell category theory I got:
http://en.wikibooks.org/wiki/Haskell/Category_theory
Stephen Tetley stephen.tetley at gmail.com writes:
-- | Compose an arity 1 function with an arity 2 function.
-- B1 - blackbird
oo :: (c - d) - (a - b - c) - a - b - d
oo f g = (f .) . g
Extending the arity works quite nicely too:
-- | Compose an arity 1 function with an arity 3
I'm not sure how actively this is maintained or used but I couldn't get it to
build.
Downloading parameterized-data-0.1.3...
Configuring parameterized-data-0.1.3...
Preprocessing library parameterized-data-0.1.3...
Building parameterized-data-0.1.3...
src\Data\Param\FSVec.hs:1:46:
Warning:
Niklas Broberg niklas.broberg at gmail.com writes:
please? http://trac.haskell.org/haskell-src-exts
Niklas, I'd love to raise a bug for it but unfortunately I can't log on to
trac. I don't understand why but none of my colleagues can log on either. It's
been a long standing issue. I presume
Dominic Steinitz dominic at steinitz.org writes:
Niklas Broberg niklas.broberg at gmail.com writes:
please? http://trac.haskell.org/haskell-src-exts
Niklas, I'd love to raise a bug for it but unfortunately I can't log on to
Good news. Although I couldn't logon as guest, I've created
I've been generating Haskell using haskell-src-exts but the prettyprinter isn't
producing what I would expect.
I would expect parse . prettyPrint == id i.e. the AST should be unchanged if
you prettyprint it then parse it.
Here's an example generated expression:
App (App (Var (UnQual (Ident
Ian Lynagh wrote:
On Wed, Jul 15, 2009 at 04:05:14PM +, Dominic Steinitz wrote:
Simon Marlow marlowsd at 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
Simon Marlow marlowsd at 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 get
TICKET_CREATE privileges are required to perform
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
Erik de Castro Lopo mle+hs at mega-nerd.com writes:
Dominic Steinitz wrote:
Erik de Castro Lopo mle+hs at mega-nerd.com writes:
src/Data/Binary/Strict/IncrementalGet.hs:106:11:
parse error on input `{-# UNPACK'
This is a haddock error and I presume a bug
Dominic Steinitz dominic at steinitz.org writes:
Erik de Castro Lopo mle+hs at mega-nerd.com writes:
Dominic Steinitz wrote:
Erik de Castro Lopo mle+hs at mega-nerd.com writes:
src/Data/Binary/Strict/IncrementalGet.hs:106:11:
parse error on input
Erik de Castro Lopo mle+hs at mega-nerd.com writes:
src/Data/Binary/Strict/IncrementalGet.hs:106:11:
parse error on input `{-# UNPACK'
Is this a bug? Is there any way to work around it?
This is a haddock error and I presume a bug in haddock. I don't know whether
cabal installs
Duncan Coutts wrote:
On Sun, 2009-05-17 at 09:17 +0100, Dominic Steinitz wrote:
I get
d...@linux-6ofq:~/asn1 runghc Setup.hs configure
Configuring PER-0.0.20...
Setup.hs: At least the following dependencies are missing:
time -any -any
but I have time
d...@linux-6ofq:~/asn1 ghc-pkg list
There's a nice website for HPC but it looks a bit out of date.
http://projects.unsafeperformio.com/hpc/
I wanted to send a patch to the FAQ for using HPC with .lhs files (you
have to run ghc -E to generate .hs files and strip some of the the lines
ghc generates: {-# LINE 1 ASNTYPE.lhs #-} #line
The Glorious Glasgow Haskell Compilation System, version 6.10.2
d...@linux-6ofq:~/asn1 ghc-pkg --version
GHC package manager version 6.10.2
Here's my .cabal file.
Name:PER
Version: 0.0.20
License: BSD3
Author: Dominic Steinitz
Maintainer: dominic.stein
Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk writes:
Dominic Steinitz dominic.steinitz at blueyonder.co.uk wrote:
I want to use hpc to check that the ASN.1 library tests cover all the
code. When I run it with a set of tests that I *know* don't test
certain things, it reports
I want to use hpc to check that the ASN.1 library tests cover all the code.
When I run it with a set of tests that I *know* don't test certain things, it
reports that they have been covered i.e. there are not coloured in the markup
that hpc produces. I would have expected a lot of yellow.
It
Norman Ramsey nr at cs.tufts.edu writes:
I've got a fairly large GADT for which I wished to use
deriving (Show)
You will have to write one by hand. I tend to use Text.Pretty and then the
output is much more readable. It doesn't take long even for a what I would
consider a large GADT.
I am hoping some of you may have suggestions about other papers that
would be good tutorials in the use of GADTs.
Norman
Norman,
This is very much in a state of flux but it may be worth taking a look at
http://code.haskell.org/asn1/ASNTYPE.lhs. There's also
minh thu noteed at gmail.com writes:
http://www.haskell.org/haskellwiki/Haddock/FAQ
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
John Goerzen jgoerzen at complete.org writes:
Any idea how I get Haskell to send ICMP ECHO packets? (And, obviously,
receive the replies.)
SocketType claims to support Raw, which I think is the conventional
means for doing this. Whether all the infrastructure for that is there,
I don't
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: INTEGER
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
Thomas Hartman wrote:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/PBKDF2
Since no one took up my code review request I just did the best I
Also I'm open to folding this into a more established crypto package
if there are any takers... psst, dominic.
I've now had chance to
I'm probably doing something wrong but this example doesn't compile for
me under ghc 6.10.1
(http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#4):
catch (openFile f ReadMode)
(\e - hPutStr stderr (Couldn't open ++f++: ++ show e))
Run.hs:77:24:
Claus Reinke wrote:
btw, if your handler cannot return the same type as your action, is this
the right place to catch the exceptions?
That was an example, the real code looks something like this:
do d - getCurrentDirectory
t - getCurrentTime
let u = asn1c. ++ show (utctDay
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
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
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
| RepTypeVal
Thomas Hartman wrote:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/PBKDF2
Since no one took up my code review request I just did the best I
could and uploaded to hackage. There were indeed some mistakes in my
initial post, fixed now. (Code review is still wished, though!)
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 have
we, the DPH team, are at the moment in the very unfortunate situation
of not having a proper machine for running our benchmarks on. Could a
kind soul maybe give us (i.e., me) access to a quadcore or 2xquadcore
x86 Linux or OS X machine? I only need to build ghc on it and run
small
Having been a happy user of QuickCheck 2 for many years, I now find it
won't build under ghc 6.10.1. Before I investigate further, has anyone
encountered this problem and has a fix?
Thanks, Dominic.
C:\Users\Dom\QuickCheckSetup build
Preprocessing library QuickCheck-2.0...
Building
Jason Dagit dagit at codersbase.com writes:
On Fri, Nov 21, 2008 at 8:57 AM, Simon Peyton-Jones simonpj at
microsoft.com wrote:
You need a type signature for the case expression. As Daniel says, this is
worth a
Dominic Steinitz dominic.steinitz at 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 seems to work.
Dominic
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://hackage.haskell.org/packages/archive
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.
In the crypto package, I have two functions
encrypt :: AESKey a = a - Word128 - Word128
decrypt :: AESKey a = a - Word128 - Word128
which are exported.
I also have
class (Bits a, Integral a) = AESKey a
instance AESKey Word128
instance AESKey Word192
instance AESKey Word256
unexported
1 - 100 of 264 matches
Mail list logo