On Mon, Nov 28, 2011 at 23:55, Willem O wrote:
> And I added this function:
> createPoint :: Int -> Point
> createPoint x = Point x
> When I loaded the file containing all this into ghci and executed 'Vector $
> map createPoint [1..5]' the result was '(1, 2, 3, 4, 5)' (without the
> quotes).
Note
On Tue, Nov 29, 2011 at 7:43 AM, Michael Snoyman wrote:
> Hi all,
>
> Since the release of deepseq 1.2, we've had a bit of a problem: when
> using the newest versions of packages on Hackage, there is no NFData
> instance available for the containers types. When GHC 7.4 comes out
> with its newer v
Hi all,
Since the release of deepseq 1.2, we've had a bit of a problem: when
using the newest versions of packages on Hackage, there is no NFData
instance available for the containers types. When GHC 7.4 comes out
with its newer version of containers, this will be addressed, but
we'll still have p
Purely out of curiosity, would it be more efficient for GHC to use the new
built-in exception handling instructions in LLVM?
http://blog.llvm.org/2011/11/llvm-30-exception-handling-redesign.html
Cheers,
Greg___
Haskell-Cafe mailing list
Haskell
Please try the following:
raptor:~ root# rm -rf /Library/Haskell/
raptor:~ root# cd ~dpp/Library/
raptor:Library root# rm -rf Haskell/
raptor:Library root# cd ..
raptor:dpp root# rm -rf .cabal/
raptor:dpp root#
I think the issue is that the installer was trying to install on top of an
existing i
Yes, thank you. Here's my simple fix:
newtype Point = Point Int
instance Show Point where show (Point a) = [chr $ a + 48]
data Vector = Vector [Point]
instance Show Vector where
show (Vector ys) =
let show' [z] = show z
show' (x:xs) = show x ++ ", " ++ show' xs
On Mon, Nov 28, 2011 at 04:20:54PM -0600, Antoine Latter wrote:
> On Mon, Nov 28, 2011 at 4:12 PM, Willem Obbens wrote:
> > Hello,
> > I get this error when I try to derive an instance of the Show typeclass:
> > Abc.hs:21:60:
> > Couldn't match expected type `Vector' with actual type `[Point]'
On Mon, Nov 28, 2011 at 4:12 PM, Willem Obbens wrote:
> Hello,
> I get this error when I try to derive an instance of the Show typeclass:
> Abc.hs:21:60:
> Couldn't match expected type `Vector' with actual type `[Point]'
> In the first argument of `show'', namely `xs'
> In the second a
Hello,
I get this error when I try to derive an instance of the Show typeclass:
Abc.hs:21:60:Couldn't match expected type `Vector' with actual type
`[Point]'In the first argument of `show'', namely `xs'In the second
argument of `(++)', namely `show' xs'In the second argument of
On 29 November 2011 07:28, Daniel Díaz Casanueva wrote:
> Hi Cafe,
>
> I only feel curious about what would be the consequences of becoming the
> Overloaded Strings feature (currently, an extension) to be default in
> Haskell. This is not a proposal. I just want to know what pros and
> cons there
Hi Cafe,
I only feel curious about what would be the consequences of becoming the
Overloaded Strings feature (currently, an extension) to be default in
Haskell. This is not a proposal. I just want to know what pros and
cons there are.
Thanks!
___
Haskel
On 22/11/2011, at 10:55 AM, Bryan O'Sullivan wrote:
Be aware that Chart is pretty slow on large data sets.
I've noticed this too. I believe the issue is with the cairo bindings
- hopefully a new version
of gtk2hs will fix this:
http://www.mail-archive.com/haskell-cafe@haskell.org/msg94451.h
Call for Participation
==
14th International Symposium on
Practical Aspects of Declarative Languages (PADL 2012)
http://research.microsoft.com/~crusso/padl12
Philadelphia, Pennsylvania, USA, January 23-24, 2012
Hi,
On 26.11.2011, at 01:29, Philippe Sismondi wrote:
> I just tried to install the Haskell Platform 64-bit on OS X Snow Leopard
> 10.6.8. The install fails with "an error". This is all I see in
> /var/log/install.log:
>
> 11-11-25 6:22:01 PM Installer[53992]The Installer encountere
On Wed, Nov 23, 2011 at 9:39 PM, Erik Hesselink wrote:
> Hi all,
>
> I've found and solved a problem with mime-mail, and Michael Snoyman
> asked me to send a request for feedback to -cafe, so here goes.
>
> In short, the issue is with address headers containing 'special'
> (non-ascii) characters.
15 matches
Mail list logo