Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. profiling :: memory allocation (Konstantin Saveljev)
2. Re: which ones to use (Roelof Wobben)
3. Re: which ones to use (Magnus Therning)
4. Re: which ones to use
(Sumit Sahrawat, Maths & Computing, IIT (BHU))
5. Re: Iterating through lists (Dananji Liyanage)
----------------------------------------------------------------------
Message: 1
Date: Mon, 18 May 2015 15:03:55 +0300
From: Konstantin Saveljev <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] profiling :: memory allocation
Message-ID:
<cakncejpcj7+yyhqg3zuj_82ui0n1j5uvu-_udmh7km7qomv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
I'm trying to figure out how to reduce the allocation rate in my program.
But I'm stuck with the profile report which has the top allocator to be
shown like this:
COST CENTRE MODULE %time %alloc
>>= Internal 20.5 22.6
I do not understand what it actually means? Can anyone explain to me or is
there anything I can do so it shows some more information (instead of
showing the bind operator >>=) ?
Thanks,
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150518/b428ddf3/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 18 May 2015 12:43:35 +0200
From: Roelof Wobben <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] which ones to use
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Chakra linux.
Magnus Therning schreef op 18-5-2015 om 12:01:
> On 17 May 2015 at 21:23, Roelof Wobben <[email protected]> wrote:
>> Hello,
>>
>> My linux distro has haskell-platform not avaible.
>> But things like ghc and cabal are avaible.
> Which distro is it?
>
> /M
>
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
http://www.avast.com
------------------------------
Message: 3
Date: Mon, 18 May 2015 15:21:02 +0200
From: Magnus Therning <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] which ones to use
Message-ID:
<CAAExw5u8PO6Bm=c4=rmbcw63kqx_kvvkifp-t_smv3uou2w...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On 18 May 2015 at 12:43, Roelof Wobben <[email protected]> wrote:
> Chakra linux.
Since it's based on Arch can you use its repos?
There's an ArchHaskell repo with a few packages.
/M
--
Magnus Therning OpenPGP: 0xAB4DFBA4
email: [email protected] jabber: [email protected]
twitter: magthe http://therning.org/magnus
------------------------------
Message: 4
Date: Mon, 18 May 2015 19:08:26 +0530
From: "Sumit Sahrawat, Maths & Computing, IIT (BHU)"
<[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] which ones to use
Message-ID:
<CAJbEW8OqyC_JQ11O+NrfF01wUdQOf=hiscqz7qtmoko1jfw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Arch directly provides ghc-7.10.1 and cabal-install-1.22.2.0 in its
repositories. You can use those.
There used to be a haskell-platform package on the AUR, but it's been
deprecated in favor of the five packages (ghc, cabal-install, happy, alex,
haddock)
Take a look here: https://wiki.archlinux.org/index.php/Haskell
On 18 May 2015 at 18:51, Magnus Therning <[email protected]> wrote:
> On 18 May 2015 at 12:43, Roelof Wobben <[email protected]> wrote:
> > Chakra linux.
>
> Since it's based on Arch can you use its repos?
>
> There's an ArchHaskell repo with a few packages.
>
> /M
>
> --
> Magnus Therning OpenPGP: 0xAB4DFBA4
> email: [email protected] jabber: [email protected]
> twitter: magthe http://therning.org/magnus
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
--
Regards
Sumit Sahrawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150518/82657d5d/attachment-0001.html>
------------------------------
Message: 5
Date: Tue, 19 May 2015 08:30:57 +0530
From: Dananji Liyanage <[email protected]>
To: Henk-Jan van Tuyl <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Iterating through lists
Message-ID:
<caapsy8w613dggouypfogjkp2hvy9hvutp0lv8rp_k3o+nbb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thank you all!!
Got it working with Data.List.transpose
On Mon, May 18, 2015 at 5:09 PM, Henk-Jan van Tuyl <[email protected]>
wrote:
> On Mon, 18 May 2015 13:23:41 +0200, Dananji Liyanage <[email protected]>
> wrote:
>
> Hi All,
>>
>> I'm building a 9x9 grid like list, and I want to extract each column of
>> that grid.
>>
>> My input is a list of integers as follows;
>>
>> input = [0, 0, 0, 0, 0, 0, 4, 0, 9,
>> 0, 0, 0, 0, 8, 0, 0, 5, 0,
>> 7, 0, 2, 4, 5, 3, 6, 0, 0,
>> 6, 7, 0, 0, 0, 1, 5, 0, 2,
>> 2, 0, 8, 7, 0, 4, 3, 0, 1,
>> 9, 0, 4, 5, 0, 0, 0, 8, 6,
>> 0, 0, 6, 3, 1, 9, 8, 0, 7,
>> 0, 2, 0, 0, 7, 0, 0, 0, 0,
>> 1, 0, 7, 0, 0, 0, 0, 0, 0]
>>
>
> Try the function chunksOf of package split[0]
>
> Regards,
> Henk-Jan van Tuyl
>
>
> [0]
> http://haddocks.fpcomplete.com/fp/7.8/20140916-162/split/Data-List-Split-Internals.html#v:chunksOf
>
>
> --
> Folding@home
> What if you could share your unused computer power to help find a cure? In
> just 5 minutes you can join the world's biggest networked computer and get
> us closer sooner. Watch the video.
> http://folding.stanford.edu/
>
>
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> Haskell programming
> --
>
--
Regards,
Dananji Liyanage
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150519/b9c1180c/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 83, Issue 49
*****************************************