On Sun, Apr 17, 2011 at 7:48 PM, Antoine Latter aslat...@gmail.com wrote:
Hello folks,
The docs for binary-0.5.0.2 on Hackage claim that their is a Binary
instance for lazy ByteStrings, but there does not seem to be such an
instance in my local install of binary-0.5.0.2.
In addition
Someone on the ghc-users list might have an idea. I recommend filing a
bug report:
http://hackage.haskell.org/trac/ghc/wiki/ReportABug
Even if the behavior isn't wrong, in could use a better error message!
Antoine
2011/4/14 Michal Konečný mikkone...@googlemail.com:
Hi,
I have stumbled
On Tue, Apr 12, 2011 at 11:40 AM, Jon Kristensen
technol...@jonkristensen.com wrote:
Hello Haskellers!
I have developed a very simple logging library to be extendable and
easy-to-use. You can see the current release at
http://hackage.haskell.org/package/hlogger/. The SimpleHLogger module is
On Tue, Apr 12, 2011 at 12:57 PM, Alberto G. Corona agocor...@gmail.com wrote:
Hi Cafe:
http://hackage.haskell.org/trac/ghc/ticket/1245
I also want some kind of syntactic sugar for H. Lists.
The absence of syntactic sugar makes heterogeneous list to look scary.
People in haskell is
On Sun, Apr 10, 2011 at 6:26 PM, Serguei Son serguei@gmail.com wrote:
I call GSL's gsl_ran_ugaussian function in the following way (using
bindings-gsl):
module Main where
import Bindings.Gsl.RandomNumberGeneration
import Bindings.Gsl.RandomNumberDistributions
import Foreign
import
On Fri, Apr 8, 2011 at 3:48 PM, Warren Harris warrensomeb...@gmail.com wrote:
I'm trying out GHC-7.0.3-x86_64 for Mac OS X and see what seems to be a bug
in System.Time.diffClockTimes. The TimeDiff tdPicosec field returns values
that seem to jump around erratically:
test = do
startTime -
On Mon, Apr 4, 2011 at 7:30 AM, Max Bolingbroke
batterseapo...@hotmail.com wrote:
On 4 April 2011 11:34, Daniel Fischer daniel.is.fisc...@googlemail.com
wrote:
If there's only a single encoding recognised, UTF-8 surely should be the
one (though perhaps Windows users might disagree, iirc,
On Fri, Apr 1, 2011 at 6:30 AM, Jiri Skala jaskal...@gmail.com wrote:
Hi all,
I've read on this page
http://hackage.haskell.org/trac/ghc/wiki/Platforms
the ppc64 arch is registerised.
I succeeded to build ghc-7.0.2 on ppc64 (Fedora) with
GhcUnregisterised=YES. Switching off this option
On Fri, Apr 1, 2011 at 6:30 AM, Jiri Skala jaskal...@gmail.com wrote:
Hi all,
I've read on this page
http://hackage.haskell.org/trac/ghc/wiki/Platforms
the ppc64 arch is registerised.
I succeeded to build ghc-7.0.2 on ppc64 (Fedora) with
GhcUnregisterised=YES. Switching off this option
On Wed, Mar 30, 2011 at 5:27 PM, Yves Parès limestr...@gmail.com wrote:
Hello,
To access a haskell type from C code, do we have to make this type instance
of Storable (and so to also define an homomorph structure on the C side), or
does FFI specifies some C function to enable C code to access
On Tue, Mar 29, 2011 at 6:15 PM, Ertugrul Soeylemez e...@ertes.de wrote:
Hello John,
Sorry that I'm late. And honestly one day for request submissions is a
bit narrow.
I have a request, too: Right now it is difficult to compose
enumeratees. An equivalent of (.) for enumeratees would be
On Tue, Mar 22, 2011 at 2:20 PM, Edward Kmett ekm...@gmail.com wrote:
If you add an instance of IsString to handle leaf construction you can get
it down to
Fruits + do
Apple
Mango
Arbitrary + do
1
...
But I also don't see the point of doing this in a
2011/3/22 Daniel Schüssler anotheraddr...@gmx.de:
Hello,
turns out that you can define the group operation of the symmetric group on 3
elements in this abstract way (via the isomorphism to the group of bijective
functions from a three-element type to itself):
s3mult g2 g1 = fromFun
On Fri, Mar 18, 2011 at 6:39 PM, Artyom Kazak artyom.ka...@gmail.com wrote:
Hi Café!
roots (http://hackage.haskell.org/package/roots) is a package to solve
equations like f(x)==0.
In RootFinder class there is an 'defaultNSteps' value, which is used as
maximal count of iterations functions
On Fri, Mar 18, 2011 at 9:22 PM, Mario Blažević blama...@acanac.net wrote:
I've sent an e-mail to Haskell Café this morning about my troubles with
Trac confirmation e-mails. The e-mail must have reached the server, because
it showed up in the mailing list archive:
On Thu, Mar 17, 2011 at 12:51 AM, C K Kashyap ckkash...@gmail.com wrote:
I had started exploring the internal - PS constructor route looking at the
base64 encoding implementation by Bryan (which is really fast -
On Thu, Mar 17, 2011 at 12:51 AM, C K Kashyap ckkash...@gmail.com wrote:
I had started exploring the internal - PS constructor route looking at the
base64 encoding implementation by Bryan (which is really fast -
On Thu, Mar 17, 2011 at 12:30 AM, C K Kashyap ckkash...@gmail.com wrote:
Hi,
I was wondering if this is a defect -
Prelude import Data.Time.Calendar
Prelude Data.Time.Calendar read 2011-10-10 :: Day
interactive:1:1:
No instance for (Read Day)
arising from a use of `read'
The ghc-binary package is used internal to GHC, and isn't gauranteed to be
present from one version to the next, nor do I expect the GHC team to
promise it will have a stable interface.
You'd really be better of instaling the package binary, or something
similar.
On Mar 14, 2011 5:34 AM,
The ghc-binary package is used internal to GHC, and isn't gauranteed to be
present from one version to the next, nor do I expect the GHC team to
promise it will have a stable interface.
You'd really be better of instaling the package binary, or something
similar.
On Mar 14, 2011 5:34 AM,
On Mon, Mar 14, 2011 at 9:44 AM, bri...@aracnet.com wrote:
On Mon, 14 Mar 2011 02:33:13 -0400
Brandon S Allbery KF8NH allber...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/13/11 03:16 , bri...@aracnet.com wrote:
ghc: fdWriteBuf: resource vanished (Broken pipe)
On Thu, Mar 10, 2011 at 7:41 PM, eldavido eldavi...@hotmail.com wrote:
Hi,
I´m doing a project in haskell and I need to define an operator that
concatenate some own defined data types, just like the operator ++ does for
lists. I don´t see how to define the operator recursively since this
On Wed, Mar 9, 2011 at 3:54 PM, balodja balo...@zlug.asia wrote:
Hello,
I use addFinalizer from System.Mem.Weak for performing some actions on
data just before that is reclaimed by GC. Registered in this way
finalizer is called surprisingly early for me, much earlier the data is
tend to be
On Thu, Feb 24, 2011 at 12:57 PM, Chung-chieh Shan
ccs...@cs.rutgers.edu wrote:
Arnaud Clère arnaud.cl...@free.fr wrote in article
ik64e9$j6a$1...@dough.gmane.org in gmane.comp.lang.haskell.cafe:
On 24/02/2011 09:30, o...@okmij.org wrote:
The sort of laziness needed for non-deterministic
On Thu, Feb 24, 2011 at 10:15 PM, Chung-chieh Shan
ccs...@cs.rutgers.edu wrote:
On 2011-02-24T16:20:46-0600, Antoine Latter wrote:
On Thu, Feb 24, 2011 at 12:57 PM, Chung-chieh Shan wrote:
What
we need is a way to tell the garbage collector that the store reference
and the cell reference
On Wed, Feb 23, 2011 at 8:48 AM, Volker Wysk p...@volker-wysk.de wrote:
Hello
I'm new to Cabal, and I'm trying to Cabalize my library HsShellScript, with
help by Howard Golden. I'm using the Simple Build Infrastructure.
1. I'm irritated by the fact, that calling the Cabal with runhaskell
On Tue, Feb 22, 2011 at 3:03 PM, Alberto G. Corona agocor...@gmail.com wrote:
Recently I had to navigatate trough data structures chained with mutable
referenes in th STM monad. The problem is that their values are enveloped in
Either or Maybe results.
functional compositions in the Either of
On Tue, Feb 22, 2011 at 8:37 PM, Kurt Stutsman kstuts...@gmail.com wrote:
Ivan Lazar Miljenovic wrote:
On 23 February 2011 13:10, Kurt Stutsman kstuts...@gmail.com wrote:
I am trying to create an instance of a class for data types deriving from
Enum. When I try to specify this through a
On Sun, Feb 20, 2011 at 9:38 AM, tsuraan tsur...@gmail.com wrote:
I have a streaming network protocol where each message in the stream
is prefixed by a 64-bit message length marker. Lazy ByteStrings seem
to be an elegant way to wrap network communications, so I'm using
them. I have one
On Tue, Feb 15, 2011 at 10:17 AM, Axman axm...@gmail.com wrote:
Might be nice to say have stories from planet.haskell.org showing there,
which much more accurately shows what's happening in the haskell world than
a list updated by hand every now and then. Or maybe it could e updated with
the
On Sat, Feb 12, 2011 at 8:47 AM, Sebastiaan Visser hask...@fvisser.nl wrote:
Hi all,
During a little experiment I discovered there is no MonadFix instance
available for the STM monad. Is this absence the consequence of some deep
restriction of how STM works or 'just accidental'? Is there
On Sat, Feb 12, 2011 at 8:47 AM, Sebastiaan Visser hask...@fvisser.nl wrote:
Hi all,
During a little experiment I discovered there is no MonadFix instance
available for the STM monad. Is this absence the consequence of some deep
restriction of how STM works or 'just accidental'? Is there
On Thu, Feb 10, 2011 at 10:04 AM, Chris Smith cdsm...@gmail.com wrote:
On Thu, 2011-02-10 at 08:59 +0100, Ketil Malde wrote:
I disagree - the linked executable must, but not the wrapper by itself.
It's source code, i.e. text, thus a creative work, and therefore
covered by copyright - on its
It looks a bit suspicious that the haskell98 module is installed in
your user-level package database. Maybe that's okay, but I wouldn't
try it myself.
Do you know how that happened? What does `ghc-pkg list --user` show?
Antoine
On Thu, Feb 10, 2011 at 9:24 AM, Andrew Pennebaker
On Thu, Feb 3, 2011 at 2:44 PM, Steffen Schuldenzucker
sschuldenzuc...@uni-bonn.de wrote:
Dear cafe,
does anyone have an explanation for this?:
error (error foo)
*** Exception: foo
error $ error foo
*** Exception: *** Exception: foo
I don't know if this is relevant, but I thought that
On Wed, Feb 2, 2011 at 2:28 PM, Michael Snoyman mich...@snoyman.com wrote:
On Wed, Feb 2, 2011 at 10:15 PM, Felipe Almeida Lessa
felipe.le...@gmail.com wrote:
On Wed, Feb 2, 2011 at 11:57 AM, Michael Snoyman mich...@snoyman.com wrote:
As far as keep-alive goes, I still need to do a bit more
On Wed, Feb 2, 2011 at 3:01 PM, Felipe Almeida Lessa
felipe.le...@gmail.com wrote:
On Wed, Feb 2, 2011 at 6:30 PM, Antoine Latter aslat...@gmail.com wrote:
Or you could remove the socket from the map while it's in use.
And what about connection limits? We shouldn't create a thousand
On Wed, Feb 2, 2011 at 11:06 PM, Michael Snoyman mich...@snoyman.com wrote:
On Thu, Feb 3, 2011 at 12:00 AM, Antoine Latter aslat...@gmail.com wrote:
On Wed, Feb 2, 2011 at 3:01 PM, Felipe Almeida Lessa
felipe.le...@gmail.com wrote:
On Wed, Feb 2, 2011 at 6:30 PM, Antoine Latter aslat
1, 2011 at 1:34 AM, Antoine Latter aslat...@gmail.com wrote:
On Mon, Jan 31, 2011 at 4:59 PM, Arnaud Bailly arnaud.oq...@gmail.com
wrote:
Hello,
I recently tried to upgrade some package (eg. yesod) and it seems
that, in the process, I screwed up my Haskell packages setup.
When I am trying
On Mon, Jan 31, 2011 at 4:59 PM, Arnaud Bailly arnaud.oq...@gmail.com wrote:
Hello,
I recently tried to upgrade some package (eg. yesod) and it seems
that, in the process, I screwed up my Haskell packages setup.
When I am trying to do a simple:
ghc --make Crete1941
What command(s) did you
On Sun, Jan 30, 2011 at 5:38 PM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 27 January 2011 22:42, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
L.S.,
Only four days until the old Haskell.org server disappears; I found the
following missing:
http://www.haskell.org/yale/
On Thu, Jan 27, 2011 at 9:35 PM, Frank Kuehnel vince...@mac.com wrote:
Hi folks,
how do I make this work: I want a division algebra over a field k, and I want
to define
the conjugation of complex numbers, i.e. conj (C 1 2) but also the
conjugation of tensors of complex numbers
conj (C (C
On Wed, Jan 26, 2011 at 1:27 AM, Chris Smith cdsm...@gmail.com wrote:
On Tue, 2011-01-25 at 23:03 -0800, John Millikin wrote:
It's not possible for a .cabal file to specify which license the final
binaries will use -- it depends on what libraries are locally
installed, what flags the build
CCing commit...@haskell.org
Here's the wiki page: http://haskell.org/haskellwiki/Haskell.org_committee
And a neat twitter account, which can be viewed as RSS:
http://twitter.com/#!/haskellorg
Antoine
On Wed, Jan 19, 2011 at 1:07 PM, Neil Mitchell ndmitch...@gmail.com wrote:
On Tue, Jan 18, 2011 at 4:18 PM, Johan Tibell johan.tib...@gmail.com wrote:
Hi,
The docs for newArray# states:
Create a new mutable array of specified size (in bytes), in the
specified state thread, with each element containing the specified
initial value.
Why is the size in bytes? Is
What operating system/cpu are you using?
On Jan 12, 2011 8:08 PM, Michael Litchard mich...@schmong.org wrote:
this just started happening, don't know why.
Could anyone offer suggestions, troubleshooting methods?
ghci
GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help
Loading
On Tue, Jan 11, 2011 at 10:22 AM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 11 January 2011 00:02, Antoine Latter aslat...@gmail.com wrote:
On Mon, Jan 10, 2011 at 5:23 PM, Aaron Gray aaronngray.li...@gmail.com
wrote:
On 10 January 2011 22:30, Henning Thielemann
lemm...@henning
On Mon, Jan 10, 2011 at 10:17 AM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 10 January 2011 16:13, Daniel Fischer daniel.is.fisc...@googlemail.com
wrote:
On Monday 10 January 2011 16:45:36, Aaron Gray wrote:
This is interesting, what does the following line do :-
data Int24 =
On Mon, Jan 10, 2011 at 5:23 PM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 10 January 2011 22:30, Henning Thielemann lemm...@henning-thielemann.de
wrote:
John Lato schrieb:
You could use my word24 package[1] (GHC only) to provide non-aligned
24-bit word and int types with Storable
You might get more answers to this sort of question on the
haskell-cafe list. Even there, I think you might need to ask whoever
the authors were for a question like this :-)
On Sun, Jan 9, 2011 at 9:55 AM, John Smith volderm...@hotmail.com wrote:
Why does theStdGen require unsafePerformIO? I
On Sun, Jan 9, 2011 at 6:05 PM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 9 January 2011 21:30, Henning Thielemann lemm...@henning-thielemann.de
wrote:
On Sun, 9 Jan 2011, Aaron Gray wrote:
I am trying to work out how to use GHC.Ptr, Foreign.Storable,
Data.Storable.Endian, and
am
On Sun, Jan 9, 2011 at 8:11 PM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 10 January 2011 01:08, Antoine Latter aslat...@gmail.com wrote:
Although the 24-bit access might be difficult - how are they aligned?
They are non aligned, they are actually used as jump offsets in the byte
code
Hello,
I only use the 'Binary' class when I don't care about the specifics of
the serialization format, only that it be reasonably fast, compact and
stable.
When I need to comply with some particular format I use the functions
in Data.Binary.Builder and Data.Binary.Get directly. Sometimes I make
On Tue, Jan 4, 2011 at 7:08 PM, Tony Morris tonymor...@gmail.com wrote:
I am reading files with System.IO.readFile. Some of these files start
with a UTF-8 Byte Order Marker (0xef 0xbb 0xbf). For some functions that
process this String, this causes choking so I drop the BOM as shown
below. This
I don't think such abstractions are currently possible in Happstack,
but I'm CCing the happstack list to see if they have anything to add.
Happstack state methods require monomorphic types, as far as I've ever known.
Antoine
On Mon, Jan 3, 2011 at 10:00 AM, Markus Barenhoff al...@alios.org
For this I use:
'cabal haddock --internal'
Antoine
On Mon, Jan 3, 2011 at 2:39 PM, Edward Amsden eca7...@cs.rit.edu wrote:
When using Java, one can tell javadoc to generate documentation for
all members of a class, including private and protected members. This
is useful for generating
I would file a bug on the GHC bug tracker:
http://hackage.haskell.org/trac/ghc/newticket?type=bug
You will need to use the guest login to trac, though (in grey text at
the bottom of the page).
I've also CCed the GHC-users list, as there are folks over there that
might have knowledge of the
I am CCing the maintainer of the package, in case they know of any
good resources for using HsOpenSSL.
It sounds like the package is a wrapper around the OpenSSL library.
Have you checked any OpenSSL tutorials? It is often easy enough to
transfer that sort of knowledge to the equivalent Haskell
Have you tried it? Did you run in to any trouble?
Assuming you get locking correct there shouldn't be any trouble with this.
Take care,
Antoine
On Fri, Dec 31, 2010 at 4:19 AM, Eric Stansifer
eric.stansifer+hask...@gmail.com wrote:
Hello,
I wish to use a mutable array in multiple threads.
On Thu, Dec 30, 2010 at 8:15 AM, Henning Thielemann
lemm...@henning-thielemann.de wrote:
On Thu, 30 Dec 2010, Antoine Latter wrote:
I started for cleaner diffs and easier editing - I can add/remove a
line at the end without editing any other line. Eventually I grew to
like the look
On Thu, Dec 30, 2010 at 8:33 AM, Lauri Alanko l...@iki.fi wrote:
On Thu, Dec 30, 2010 at 07:04:11AM -0600, Larry Evans wrote:
On 12/29/10 22:40, Daryoush Mehrtash wrote:
Why do people put ; in do {}, or , in data fields, at the
beginning of the line?
--
It reflects the parse tree
Was there a typo in your email? Because those two definitions appear
identical. I could be missing something - I haven't read that book.
Antoine
On Wed, Dec 29, 2010 at 9:05 PM, Mark Spezzano
mark.spezz...@chariot.net.au wrote:
Hi,
Presently I am going through AJT Davie's text An Introduction
On Wed, Dec 29, 2010 at 7:22 PM, aditya siram aditya.si...@gmail.com wrote:
My brain turns into strange braid when I see this kind of thing. I
don't quite understand it and I've never used it in real world code
but I'll try and explain anyway. Caveat emptor.
Once when I was parsing a group of
Hi,
You're looking for 'when' as in:
do
condition - something
when condition $ other things
more things
http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-Monad.html#v:when
It is quite handy.
Take care,
Antoine
On Wed, Dec 29, 2010 at 10:14 PM, Magicloud
I started for cleaner diffs and easier editing - I can add/remove a
line at the end without editing any other line. Eventually I grew to
like the look of it.
Both styles are common, from what I can tell.
Antoine
On Wed, Dec 29, 2010 at 11:40 PM, Daryoush Mehrtash dmehrt...@gmail.com wrote:
Why
There are a couple of ways to handle this - either call
getSystemEncoding on the outside, before calling 'runWriter', and then
pass it in to your writer computation, or use 'WriterT IO' instead of
'Writer'.
That would be something like:
main = do
result - runWriterT ( computation involving
A 'Char' in Haskell represents a single Unicode code point.
On Sun, Dec 26, 2010 at 10:04 AM, michael rice nowg...@yahoo.com wrote:
How are characters encoded?
*Main System.Random Control.Monad.State.Lazy random (mkStdGen 0) ::
(Char,StdGen)
('\64685',40014 40692)
*Main System.Random
On Dec 26, 2010 2:01 PM, michael rice nowg...@yahoo.com wrote:
I lifted the code below from here:
http://en.wikibooks.org/wiki/Haskell/Monad_transformers
Since the wiki page doesn't say what needs to be imported, I'm guessing.
Not sure what is happening. Maybe someone can tell me.
Hi,
What would you be using the CString for? A CString is really a lot
less useful than a ByteString for almost all purposes. If I allready
had a ByteString, the only reason I would want to convert it to a
CString is to call a C function.
Take care,
Antoine
On Sun, Dec 26, 2010 at 7:40 PM,
On Fri, Dec 24, 2010 at 8:08 AM, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
You could use ADNS.Endian.endian from package hsdns in your Setup.hs to
define endianness at compile time.
Regards,
Henk-Jan van Tuyl
It looks like I've reimplemented the same thing in its own package:
package.
It is done! Although I spelled it wrong on my first try.
Take care,
Antoine
2010/12/25 Antoine Latter aslat...@gmail.com:
On Fri, Dec 24, 2010 at 8:08 AM, Henk-Jan van Tuyl hjgt...@chello.nl wrote:
You could use ADNS.Endian.endian from package hsdns in your Setup.hs to
define endianness
What commands did you enter to produce this error?
Ahanks,
Antoine
On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray aaronngray.li...@gmail.com wrote:
Missing Parsec library :-
scheme.o(.text+0x4fa):fake: undefined reference to
, but until that's more widely
distributed you'll want to get used to using the switch.
Take care,
Antoine
On Wed, Dec 22, 2010 at 10:36 AM, Aaron Gray aaronngray.li...@gmail.com wrote:
On 22 December 2010 16:27, Antoine Latter aslat...@gmail.com wrote:
What commands did you enter to produce
This is a bit tricky.
The type of 'f' is '[Int] - IO [Int]', which means that the type of 'lst'
is 'IO [Int]'.
So fmap (+1) tries to add one to the [Int] underneath the 'IO' type
constructor.
You can either use two 'fmap's, the first to lift up to IO and the second to
lift into the list, or you
I don't know about the ld warning, but cabal-install can never know
which version of cabal-install is installed, because it doesn't track
executables - it only tracks and knows about libraries.
Right after the warning is the line:
Installing executable(s) in /Users/matthew/.cabal/bin
So it
Way to go!
Are there tentative release notes, so I know what to look for?
Thanks,
Antoine
On Thu, Dec 16, 2010 at 12:36 PM, Ian Lynagh ig...@earth.li wrote:
We are pleased to announce the first release candidate for GHC 7.0.2:
http://www.haskell.org/ghc/dist/7.0.2-rc1/
This includes
Hi there,
The only version of template haskell which will work is the version
that the compiler was built against. So if you're working with ghc-7,
it is 2.5 or nothing.
Why doesn't HStringTemplate work with 2.5.0.0? What error were you getting?
Antoine
On Thu, Dec 16, 2010 at 6:23 AM,
On Thu, Dec 16, 2010 at 12:03 PM, John Smith volderm...@hotmail.com wrote:
On 15/12/2010 14:31, Lennart Augustsson wrote:
Yes, I think there should be a MonadFail distinct from MonadPlus.
Some types, like IO, are not in MonadPlus, but have a special
implementation of the fail method.
On Thu, Dec 16, 2010 at 12:56 PM, Daniel Peebles pumpkin...@gmail.com wrote:
I haven't tested this idea, but it occurred to me that this might be a good
place for data families:
data Z = Z
newtype S n = S n
-- Some nastiness to avoid having to see into the future?
type family Pred n :: *
is use two SSL connections for each client, but I would
like to avoid that.
Regards and hope I make myself clearer,
Mads
On Tue, 2010-12-14 at 17:20 -0600, Antoine Latter wrote:
Maybe I'm missing something - but shouldn't the code listening on the
Handle already be in it's own thread
2010/12/14 Tillmann Rendel ren...@informatik.uni-marburg.de:
Hi,
John Smith wrote:
I would like to formally propose that Monad become a subclass of
Applicative
A lot of code would break because of this change, but all problems should be
reported at compile time, and are easy to fix. In
Maybe I'm missing something - but shouldn't the code listening on the
Handle already be in it's own thread?
The general recipe is:
1. Bind a socket to port
2. Call Network.accept, then take the resultant Handle, call forkIO
with the TLS actions and the resultant handle. Go back to 1.
So even
Is there a discussion deadline, if this now a libraries proposal?
For something like this, you might want to advertise the discussion on
Plane Haskell, and the -cafe to get adequate discussion, as it seems
sure to break quite a few things. And reddit, although I consider that
a less contemplative
On Sun, Dec 12, 2010 at 6:37 PM, Mathijs Kwik bluescreen...@gmail.com wrote:
Hi all,
I read the paper about the new ghc7 event handling IO manager goodies.
This is all very exciting stuff. I didn't know GHC's RTS had these
smart async-IO facilities.
The paper pointed me at
One nice thing that WebSharp does is that you can annotate types and
functions and then use them on both sides - on the client and on the
server - almost transparently.
Then you can write common utility functions once, but you only
maintain one code-base and one build workflow.
I haven't used it
I only have some surface level questions/comments -
What existing packages is this similar to? How is it different from
any previous work in the area?
Also, likes looks like you don't need the 'Monad m' constraint on your
various Monad and Functor instances in Data.Iteration.Types, which I
think
compliant?
I haven't experimented too much with this sort of thing, since Cabal
defaults to the Haskell '98 language, and that's how I install most
things.
Thanks for your response,
Antoine
On Thu, Dec 9, 2010 at 2:07 PM, Permjacov Evgeniy permea...@gmail.com wrote:
On 12/09/2010 10:54 PM, Antoine Latter
Hi Sebastian,
I imagine that many of the instances are defined in the module that
defines the data type. For example, the STM instance is defined in the
same module as the STM type.
Are there any particular ones you're running into problems with?
Take care,
Antoine
On Thu, Dec 9, 2010 at 11:10
On Wed, Dec 8, 2010 at 11:12 AM, Duncan Coutts
duncan.cou...@googlemail.com wrote:
On 8 December 2010 17:02, Sönke Hahn sh...@cs.tu-berlin.de wrote:
Hi!
If you write a cabal setup script with user hooks, is there a way to tell
cabal-install that the setup script itself depends on some package
Hi Michael,
Cabal-install uses:
System.Directory.getAppUserDataDirectory cabal
in the module Distribution.Client.Config.
Antoine
On Tue, Dec 7, 2010 at 9:52 PM, Michael Snoyman mich...@snoyman.com wrote:
Hi all,
I'm trying to figure out how to determine the location of the .cabal
folder.
Inlcuding the ghc-users list.
On Mon, Dec 6, 2010 at 10:10 AM, Andrew Coppin
andrewcop...@btinternet.com wrote:
OK, so the other day I decided to take GHC 7.0.1 for a spin.
Suffice it to say, it definitely compiles stuff. So far, I've only tried
running it in a Windows XP virtual machine with
On Mon, Dec 6, 2010 at 7:15 AM, Duncan Coutts
duncan.cou...@googlemail.com wrote:
On 6 December 2010 11:02, Jacek Generowicz jacek.generow...@cern.ch wrote:
It a appears that a program which does not exist on my computer seems to
insist on a package version which does not exist in my universe,
Inlcuding the ghc-users list.
On Mon, Dec 6, 2010 at 10:10 AM, Andrew Coppin
andrewcop...@btinternet.com wrote:
OK, so the other day I decided to take GHC 7.0.1 for a spin.
Suffice it to say, it definitely compiles stuff. So far, I've only tried
running it in a Windows XP virtual machine with
On Mon, Dec 6, 2010 at 12:03 PM, Tyler Pirtle tee...@gmail.com wrote:
On Sun, Dec 5, 2010 at 9:46 PM, Antoine Latter aslat...@gmail.com wrote:
On Sun, Dec 5, 2010 at 10:45 PM, Tyler Pirtle tee...@gmail.com wrote:
Hi cafe,
I'm just getting into Foreign.Storable and friends and I'm confused
On Sun, Dec 5, 2010 at 10:45 PM, Tyler Pirtle tee...@gmail.com wrote:
Hi cafe,
I'm just getting into Foreign.Storable and friends and I'm confused
about the class storable. For GHC, there are instances of storable for
all kinds of basic types (bool, int, etc) - but I can't find the
actual
Hi Haskell,
I've recently created the 'smallstring' package[1] and put it on
Hackage. The goal was to create a string-like type with as little
memory overhead as possible, and to have equality and comparison
operations be competitive with the native String type. The idea is
that this type would
On Mon, Dec 6, 2010 at 12:09 AM, Alexander Dunlap
alexander.dun...@gmail.com wrote:
This looks really cool! Suggestion - would it be more efficient to
provide direct text - smallstring or bytestring - smallstring
functions rather than forcing clients to go through String? That might
be useful
Thanks, Ross.
Here's a Reddit post:
http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/
Antoine
On Sat, Dec 4, 2010 at 8:20 AM, Ross Paterson r...@soi.city.ac.uk wrote:
On Sat, Dec 04, 2010 at 02:01:44PM +, Ozgur Akgun wrote:
On Thu, Dec 2, 2010 at 3:29 PM, Andrew Coppin
andrewcop...@btinternet.com wrote:
Yes, it's me. And yes, I come with yet more questions.
With Haskell 98 (or, indeed, Haskell 2010) it is impossible to define a
polymorphic version of head that works for [], Set and ByteString. You can
use a
On Wed, Dec 1, 2010 at 10:16 PM, Robert Clausecker fuz...@gmail.com wrote:
Hi folks!
I want to test the new version 7 of GHC, but don't want to replace the
packaged version 6.12 with it. I'm not very advanced with the internals
of GHC and have some problems. So these are my questions:
I
201 - 300 of 586 matches
Mail list logo