Re: [Haskell-cafe] Mathematics and Statistics libraries

2012-03-27 Thread Vivian McPhail
Date: Sun, 25 Mar 2012 17:54:11 +0400 From: Aleksey Khudyakov alexey.sklad...@gmail.com Subject: Re: [Haskell-cafe] Mathematics and Statistics libraries To: haskell-cafe@haskell.org Message-ID: 4f6f2383.6070...@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On

Re: [Haskell-cafe] Cabal license combinations

2011-02-09 Thread Vivian McPhail
It seems then that a package should be the least restrictive combination of all the licenses in all the contained modules. Omit the words least restrictive and I think you are correct. To combine licences, just aggregate them. There is no lattice of subsumption; no more or less

Re: [Haskell-cafe] Cabal license combinations

2011-02-08 Thread Vivian McPhail
On Mon, 2011-02-07 at 14:42 +, Malcolm Wallace wrote: It seems then that a package should be the least restrictive combination of all the licenses in all the contained modules. Omit the words least restrictive and I think you are correct. OK. To combine licences, just

[Haskell-cafe] Cabal license combinations

2011-02-07 Thread Vivian McPhail
Dear All, There was recently a discussion on haskell-cafe ( http://www.mail-archive.com/haskell-cafe@haskell.org/msg86472.html) about licenses of libraries such as hmatrix and the combination of various different licences. One question was about per-package versus by-file licenses: In Haskell

Re: [Haskell-cafe] GPL License of H-Matrix and prelude numeric

2011-01-25 Thread Vivian McPhail
Hi, On Wed, 2011-01-26 at 08:18 +1000, Ivan Lazar Miljenovic wrote: Or else because the developers _wanted_ to license it under the GPL. Some people do, you know. Sure, but I agree it would be nice to know whether the authors chose the GPL, or applied it because of linking with GPLed

Re: [Haskell-cafe] hmatrix's fitModel function crashes ghc(i)

2010-11-07 Thread Vivian McPhail
On 7 November 2010 15:19, Vivian McPhail haskell.vivian.mcph...@gmail.comwrote: Message: 29 Date: Sat, 6 Nov 2010 13:22:10 +0100 From: Roel van Dijk vandijk.r...@gmail.com Subject: [Haskell-cafe] hmatrix's fitModel function crashes ghc(i) To: Haskell Caf? haskell-cafe@haskell.org Message

[Haskell-cafe] hmatrix's fitModel function crashes ghc(i)

2010-11-06 Thread Vivian McPhail
Message: 29 Date: Sat, 6 Nov 2010 13:22:10 +0100 From: Roel van Dijk vandijk.r...@gmail.com Subject: [Haskell-cafe] hmatrix's fitModel function crashes ghc(i) To: Haskell Caf? haskell-cafe@haskell.org Message-ID: aanlktim5egsl_bz+ruv-=d-z3db65sc8o=ckqltcy...@mail.gmail.com

RE: [Haskell-cafe] Candlestick charts

2010-09-30 Thread Vivian McPhail
Hi Message-ID: aanlktinrozniqf4+ykxofho0fb=3b_7tfdux=vvbg...@mail.gmail.com Hi - What are the libraries to use in Haskell to generate a stock candlestick chart like http://stockcharts.com/h-sc/ui?s=SPYp=Db=5g=5id=p05007254056http://stockcharts.com/h-sc/ui?s=SPYp=Db=5g=5id=p05007254056 I will

[Haskell-cafe] Why Mathematical Soundness Matters.

2007-04-20 Thread Vivian McPhail
Hi All, This is in regard to previous posts about mathematical preludes. class Set a class (Set s) = SemiGroup s o where semigroup_op :: o - (s,s) - s -- closure -- associative class (SemiGroup s o) = Monoid s o where identity :: o - s class (Monoid s o) = Group s o where

[Haskell-cafe] Type level programming to eliminate array bound checking, a real world use

2007-04-10 Thread Vivian McPhail
Hi All,Inspired by Oleg's Eliminating Array Bound Checking through Non-dependent types http://okmij.org/ftp/Haskell/types.html#branding,I am attempting to write code that will receive an array from C land and convert it to a type safe representation. The array could have n dimensions where n

Re: [Haskell-cafe] Why the Prelude must die

2007-03-24 Thread Vivian McPhail
I agree with Sven, but... What I want to push is a 'mathematically sound' numeric prelude. A proper numerical prelude should have bona fide mathematical obects like groups, rings, and fields underlying common numerical classes. It would be edifying to the student who discovered that the

[Haskell-cafe] Re: Re: HS-Plugins 1.0 chokes on simple test, WinXP GHC-6.6 (Conal Elliott)

2007-03-18 Thread Vivian McPhail
Hi, I just setup and installed hs-plugins from darcs on WinXP using ghc-6.6 and MSYS. The hs-plugin test suite all passes. Can you send me something that generates your error and I'll have a look at it. Vivian Message: 2 Date: Sat, 17 Mar 2007 18:06:12 -0700 From: Conal Elliott [EMAIL

[Haskell-cafe] Re: Why is type 'b' forced to be type 'm a' and not possibly 'm a - m a'

2006-09-20 Thread Vivian McPhail
Vivian McPhail wrote: class Forkable a where fork :: String - a - a - a What I would like to be able to do is differentiate between Forkable (m a - b) and Forkable (function type - b). Have you tried this combination of instances? instance Forkable (IO a) where

[Haskell-cafe] Re: Why is type 'b' forced to be type 'm a' and not possibly 'm a - m a' (Anatoly Zaretsky)

2006-09-18 Thread Vivian McPhail
Message: 6 Date: Fri, 15 Sep 2006 18:36:35 +0300 From: Anatoly Zaretsky [EMAIL PROTECTED] Subject: Re: [Haskell-cafe] Why is type 'b' forced to be type 'm a' and not possibly 'm a - m a' To: Vivian McPhail [EMAIL PROTECTED] Cc: Haskell Cafe haskell-cafe@haskell.org Message-ID

[Haskell-cafe] Why is type 'b' forced to be type 'm a' and not possibly 'm a - m a'

2006-09-14 Thread Vivian McPhail
Dear Haskell Cafe, I have a problem I can't get my head around. The code below sets the problem out. What I need to be able to do is commented out. This code works, the only problem is that what I need is that an argument will be evaluated before it is passed, so ((and fries eats)