Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/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. how more efficient read/write a file ? ( anyzhen )
2. Re: apt cabal hackage (csmagic)
3. Re: apt cabal hackage (Antoine Latter)
4. Re: apt cabal hackage (csmagic)
5. Re: apt cabal hackage (Antoine Latter)
6. Re: apt cabal hackage (csmagic)
----------------------------------------------------------------------
Message: 1
Date: Sat, 24 Sep 2011 10:04:24 +0800
From: " anyzhen " <[email protected]>
Subject: [Haskell-beginners] how more efficient read/write a file ?
To: " Beginners " <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
consider this :
i want load a 4G file(or some bigger file) ,and the process data operation
just like 010 to 101( XOR bits ) , is it some efficient function down it ?
such hPutStr hPutChar is Char layer , is exist bit layer operations?
thanks for any help
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110924/4027dbe7/attachment-0001.htm>
------------------------------
Message: 2
Date: Sat, 24 Sep 2011 09:12:53 +0530
From: csmagic <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID:
<CAB9Cb3WdJELif311OKo=hfyeg-r9ahmf8_f0oi9fp+exk6g...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Thu, Sep 22, 2011 at 4:20 PM, Amy de Buitl?ir <[email protected]> wrote:
> csmagic <csmagic <at> gmail.com> writes:
>
> >
> > Thanks Joey, AmyNow I want to go 'backwards'.For example I have
> > Language.Haskell.Exts.SyntaxI want to dig into it. Where/How do I start?
>
> Using either Hayoo or Hoogle, search for "Language.Haskell.Exts.Syntax".
> Click on
> the results to find out more about this module (what package it's in, what
> methods it contains, etc.) Does that answer your question?
>
Trying out the graphviz package...
$ cabal list|grep -i graphviz
gives
cabal: <stdout>: invalid argument
and nothing else
But still
$ cabal install graphviz
still seems to install
What gives?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110924/8d98dbcd/attachment-0001.htm>
------------------------------
Message: 3
Date: Sat, 24 Sep 2011 00:15:04 -0500
From: Antoine Latter <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Cc: [email protected]
Message-ID:
<cakjsnqgupffqqudskarggcjs+ftezdpm591j1w_sisfkeuk...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Fri, Sep 23, 2011 at 10:42 PM, csmagic <[email protected]> wrote:
>
>
> On Thu, Sep 22, 2011 at 4:20 PM, Amy de Buitl?ir <[email protected]> wrote:
>>
>> csmagic <csmagic <at> gmail.com> writes:
>>
>> >
>> > Thanks Joey, AmyNow I want to go 'backwards'.For example I have
>> > Language.Haskell.Exts.SyntaxI want to dig into it.? Where/How do I
>> > start?
>>
>> Using either Hayoo or Hoogle, search for "Language.Haskell.Exts.Syntax".
>> Click on
>> the results to find out more about this module (what package it's in, what
>> methods it contains, etc.) Does that answer your question?
>
> Trying out the graphviz package...
>
> $ cabal list|grep -i graphviz
> gives
> cabal: <stdout>: invalid argument
> and nothing else
>
Your example works great for me. What OS are you using, and what
version of cabal?
You could also try:
> cabal list graphviz
But that doesn't give you all of the power of regular expressions.
> But still
> $ cabal install graphviz
> still seems to install
>
> What gives?
------------------------------
Message: 4
Date: Sat, 24 Sep 2011 11:13:48 +0530
From: csmagic <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID:
<CAB9Cb3XCXiiHEf0jxFajZXN_xisvbKUkZwcnkY3L5ZOpgv=l...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Sat, Sep 24, 2011 at 10:45 AM, Antoine Latter <[email protected]> wrote:
> On Fri, Sep 23, 2011 at 10:42 PM, csmagic <[email protected]> wrote:
> >
> >
> > On Thu, Sep 22, 2011 at 4:20 PM, Amy de Buitl?ir <[email protected]>
> wrote:
> >>
> >> csmagic <csmagic <at> gmail.com> writes:
> >>
> >> >
> >> > Thanks Joey, AmyNow I want to go 'backwards'.For example I have
> >> > Language.Haskell.Exts.SyntaxI want to dig into it. Where/How do I
> >> > start?
> >>
> >> Using either Hayoo or Hoogle, search for "Language.Haskell.Exts.Syntax".
> >> Click on
> >> the results to find out more about this module (what package it's in,
> what
> >> methods it contains, etc.) Does that answer your question?
> >
> > Trying out the graphviz package...
> >
> > $ cabal list|grep -i graphviz
> > gives
> > cabal: <stdout>: invalid argument
> > and nothing else
> >
>
> Your example works great for me. What OS are you using, and what
> version of cabal?
>
> You could also try:
>
> > cabal list graphviz
>
> But that doesn't give you all of the power of regular expressions.
>
$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
[I just did a cabal update cabal. Did not do anything as far as I can see]
$ uname -rv
2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011
$ cat /etc/debian_version
wheezy/sid
On a related note I find a lot of libghc6-something-or-other which are all
described as dummy packages.
Is Debian not the best system to play around with Haskell?
I gather gentoo is where the most haskell development happens...
> > But still
> > $ cabal install graphviz
> > still seems to install
> >
> > What gives?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110924/25b5aa12/attachment-0001.htm>
------------------------------
Message: 5
Date: Sat, 24 Sep 2011 00:55:57 -0500
From: Antoine Latter <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Cc: [email protected]
Message-ID:
<CAKjSnQHSLUkSSOgDjV0nS_nszF3M7bg4CekQ=ri5epp6pjq...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Sat, Sep 24, 2011 at 12:43 AM, csmagic <[email protected]> wrote:
> On Sat, Sep 24, 2011 at 10:45 AM, Antoine Latter <[email protected]> wrote:
>>
>> On Fri, Sep 23, 2011 at 10:42 PM, csmagic <[email protected]> wrote:
>> >
>> >
>> > On Thu, Sep 22, 2011 at 4:20 PM, Amy de Buitl?ir <[email protected]>
>> > wrote:
>> >>
>> >> csmagic <csmagic <at> gmail.com> writes:
>> >>
>> >> >
>> >> > Thanks Joey, AmyNow I want to go 'backwards'.For example I have
>> >> > Language.Haskell.Exts.SyntaxI want to dig into it.? Where/How do I
>> >> > start?
>> >>
>> >> Using either Hayoo or Hoogle, search for
>> >> "Language.Haskell.Exts.Syntax".
>> >> Click on
>> >> the results to find out more about this module (what package it's in,
>> >> what
>> >> methods it contains, etc.) Does that answer your question?
>> >
>> > Trying out the graphviz package...
>> >
>> > $ cabal list|grep -i graphviz
>> > gives
>> > cabal: <stdout>: invalid argument
>> > and nothing else
>> >
>>
>> Your example works great for me. What OS are you using, and what
>> version of cabal?
>>
>> You could also try:
>>
>> > cabal list graphviz
>>
>> But that doesn't give you all of the power of regular expressions.
>
My only guess is that something is odd about your terminal - I've
never seen that error message before, on linux or anywhere else.
> $ cabal --version
> cabal-install version 0.10.2
> using version 1.10.1.0 of the Cabal library
>
> [I just did a cabal update cabal. Did not do anything as far as I can see]
>
> $ uname -rv
> 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011
>
> $ cat /etc/debian_version
> wheezy/sid
>
> On a related note I find a lot of libghc6-something-or-other which are all
> described as dummy packages.
>
> Is Debian not the best system to play around with Haskell?
> I gather gentoo is where the most haskell development happens...
>
I used to do Haskell development on Ubuntu - I would install the base
libraries from apt, and then use 'cabal' user installs to do the rest.
These days I work on a Mac, where I start with the Haskell Platform
installer.
There's an active Debian+Haskell group; I don't know much about gentoo
(maybe they don't advertise as much).
Sorry I couldn't be of much help with the odd error.
Antoine
------------------------------
Message: 6
Date: Sat, 24 Sep 2011 11:40:21 +0530
From: csmagic <[email protected]>
Subject: Re: [Haskell-beginners] apt cabal hackage
To: [email protected]
Message-ID:
<cab9cb3ufjnte8ucj9ecmzw4p+pwwwj9nuakv-my8cg3t0mi...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Sat, Sep 24, 2011 at 11:25 AM, Antoine Latter <[email protected]> wrote:
> On Sat, Sep 24, 2011 at 12:43 AM, csmagic <[email protected]> wrote:
> > On Sat, Sep 24, 2011 at 10:45 AM, Antoine Latter <[email protected]>
> wrote:
> >>
> >> On Fri, Sep 23, 2011 at 10:42 PM, csmagic <[email protected]> wrote:
> >> >
> >> >
> >> > On Thu, Sep 22, 2011 at 4:20 PM, Amy de Buitl?ir <[email protected]>
> >> > wrote:
> >> >>
> >> >> csmagic <csmagic <at> gmail.com> writes:
> >> >>
> >> >> >
> >> >> > Thanks Joey, AmyNow I want to go 'backwards'.For example I have
> >> >> > Language.Haskell.Exts.SyntaxI want to dig into it. Where/How do I
> >> >> > start?
> >> >>
> >> >> Using either Hayoo or Hoogle, search for
> >> >> "Language.Haskell.Exts.Syntax".
> >> >> Click on
> >> >> the results to find out more about this module (what package it's in,
> >> >> what
> >> >> methods it contains, etc.) Does that answer your question?
> >> >
> >> > Trying out the graphviz package...
> >> >
> >> > $ cabal list|grep -i graphviz
> >> > gives
> >> > cabal: <stdout>: invalid argument
> >> > and nothing else
> >> >
> >>
> >> Your example works great for me. What OS are you using, and what
> >> version of cabal?
> >>
> >> You could also try:
> >>
> >> > cabal list graphviz
> >>
> >> But that doesn't give you all of the power of regular expressions.
> >
>
> My only guess is that something is odd about your terminal - I've
> never seen that error message before, on linux or anywhere else.
>
It seems to be happening elsewhere also:
http://hackage.haskell.org/trac/hackage/ticket/856
Also its more likely a locale issue than a terminal one because I get the
same error when I replace the pipe with a redirection to a file.
And yet my locales dont seem to be odd in any way (I can see)
$ locale
LANG=en_US
LANGUAGE=
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
$ locale -a
C
C.UTF-8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
POSIX
> > $ cabal --version
> > cabal-install version 0.10.2
> > using version 1.10.1.0 of the Cabal library
> >
> > [I just did a cabal update cabal. Did not do anything as far as I can
> see]
> >
> > $ uname -rv
> > 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011
> >
> > $ cat /etc/debian_version
> > wheezy/sid
> >
> > On a related note I find a lot of libghc6-something-or-other which are
> all
> > described as dummy packages.
> >
> > Is Debian not the best system to play around with Haskell?
> > I gather gentoo is where the most haskell development happens...
> >
>
> I used to do Haskell development on Ubuntu - I would install the base
> libraries from apt, and then use 'cabal' user installs to do the rest.
> These days I work on a Mac, where I start with the Haskell Platform
> installer.
>
> There's an active Debian+Haskell group; I don't know much about gentoo
> (maybe they don't advertise as much).
>
> Sorry I couldn't be of much help with the odd error.
>
> Antoine
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110924/cc34ebaf/attachment.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 39, Issue 27
*****************************************