On Thu, Oct 3, 2013 at 2:31 PM, Corentin Dupont
corentin.dup...@gmail.comwrote:
test :: Bool - IO ()
test foo = do
let bar = case foo of
True - Foo;
False - Bar
return ()
while this one does (just adding one space in front of True and False):
test :: Bool - IO ()
On Sat, Sep 21, 2013 at 12:35 PM, Bardur Arantsson s...@scientician.netwrote:
On 2013-09-20 18:31, Brandon Allbery wrote:
[--snip--]
unless you have a very clever representation that can store
in terms of some operation like sin(x) or ln(x).)
I may just be hallucinating, but I think
On Sat, Sep 21, 2013 at 12:43 PM, David Thomas davidleotho...@gmail.comwrote:
Sure. An interesting, if not terribly relevant, fact is that there are
more irrational numbers that we *can't* represent the above way than that
we can (IIRC).
I think that kinda follows from diagonalization... it
On Sat, Sep 21, 2013 at 11:12 PM, Michael Xavier
mich...@michaelxavier.netwrote:
I've run into some strangeness with the process package. When you kill
some processes on the command line you correctly get a non-zero exit
status. However when using the process package's terminateProcess (which
On Fri, Sep 20, 2013 at 12:17 PM, damodar kulkarni
kdamodar2...@gmail.comwrote:
Ok, let's say it is the effect of truncation. But then how do you explain
this?
Prelude sqrt 10.0 == 3.1622776601683795
True
Prelude sqrt 10.0 == 3.1622776601683796
True
Because there's no reliable difference
On Sat, Sep 14, 2013 at 4:57 PM, David Banas capn.fre...@gmail.com wrote:
Has anyone else hit an unexplained *ExitFailure 139* when trying to
install the *haskeline* package?
139 sounds like how the shell passes on Segmentation fault (core dumped).
--
brandon s allbery kf8nh
On Thu, Sep 12, 2013 at 6:00 PM, David Thomas davidleotho...@gmail.comwrote:
I've long been interested in a scripting language designed to be spoken.
Not interested enough to go about making it happen... but the idea is
fascinating and possibly useful.
On Fri, Sep 6, 2013 at 11:04 AM, Johannes Emerich johan...@emerich.dewrote:
Desugaring of an equivalent source file shows that id is applied to the
anonymous function, which is then applied to 1.
The following example of a function that is not polymorphic in its return
type behaves closer to
On Wed, Sep 4, 2013 at 10:21 AM, yi lu zhiwudazhanjiang...@gmail.comwrote:
I want to read a text file, and store it in a *String*. But readFile will
get *IO String*. I search with google and they tell me it is not
necessarily to do so. Can you explain to me why is this? Furthermore, How
to
On Tue, Sep 3, 2013 at 6:56 PM, Simon Yarde simonya...@me.com wrote:
I've found that setting the send buffer size causes send to truncate the
ByteString to the buffer size, but that successive sends continue to
succeed when the buffer should be full.
I see no actual flow control here. That
On Tue, Sep 3, 2013 at 3:35 PM, Mathijs Kwik math...@bluescreen303.nlwrote:
You can always try the attached docx! :)
Which likewise showed nothing.
--
brandon s allbery kf8nh sine nomine associates
allber...@gmail.com
On Tue, Sep 3, 2013 at 7:58 PM, Joey Adams joeyadams3.14...@gmail.comwrote:
On Tue, Sep 3, 2013 at 6:56 PM, Simon Yarde simonya...@me.com wrote:
I'm new to Haskell and have reached an impasse in understanding the
behaviour of sockets.
The crux of my line of enquiry is this; how can my
On Sat, Aug 24, 2013 at 11:00 AM, TP paratribulati...@free.fr wrote:
main = do
$(makeLetStatement a)
-- print a
Is that the actual indentation you used? Because it's wrong if so, and the
error you would get is the one you're reporting. Indentation matters in
Haskell.
In an equation for
On Mon, Aug 19, 2013 at 11:43 AM, Kyle Miller kmill31...@gmail.com wrote:
Or, three other options: 1) make MIN_INT outside the domain of abs, 2)
make the range of abs be some unsigned int type, or 3) use Integer (i.e.,
use a type which actually represents integers rather than a type which can
On Mon, Aug 19, 2013 at 1:48 PM, jabolo...@google.com wrote:
What is the proper way to implement a non-monadic function that checks
whether a given value is correct and gives a proper error message
otherwise ? What is the recommended option ?
* Either String a
Preferred, usually, since
On Mon, Aug 19, 2013 at 2:09 PM, Brandon Allbery allber...@gmail.comwrote:
Alternatively, have you considered using your own ADT? `data Validity =
Success | Failure String` would give you more readable / comprehensible
code without needing to worry about assumptions or common usage
On Mon, Aug 19, 2013 at 2:59 PM, jabolo...@google.com wrote:
I'd say that if you were in the context of the IO monad, maybe you'd
prefer to use exceptions instead of 'Either' or 'Maybe'.
Even in IO, exceptions should be reserved for truly exceptional conditions
(of the program cannot safely
On Sat, Aug 17, 2013 at 1:35 PM, Hartmut Pfarr
hartmut0...@googlemail.comwrote:
(The example is identical to the first 5-liner-example in the package
documentation)
As I read it, the example has a typo: it should be using `query_` instead
of `query`. See
On Sat, Aug 17, 2013 at 5:59 PM, Hartmut Pfarr
hartmut0...@googlemail.comwrote:
query_ conn select 2 + 2
I've no errors any more.
But: I don't see any result (for sure, it is not coeded yet)
Yes, because you're not capturing it; it's the return value from `query_`,
which you are throwing
On Fri, Aug 16, 2013 at 10:04 AM, Thiago Negri evoh...@gmail.com wrote:
I just stumbled upon the Applicative term.
Arrows are quite difficult for me to understand at the moment.
I guess it needs time to digest.
But, as I understand so far, Applicative and Arrows looks like the same
thing.
On Fri, Aug 16, 2013 at 10:49 AM, Tom Ellis
tom-lists-haskell-cafe-2...@jaguarpaw.co.uk wrote:
On Fri, Aug 16, 2013 at 10:26:42AM -0400, Brandon Allbery wrote:
My understanding is that there's a rework of Arrow in progress that may
change this in the future, since *theoretical* Arrows
On Tue, Aug 13, 2013 at 10:45 PM, bri...@aracnet.com wrote:
fooBar =
do putStrLn foo
return True
so then I thought, aha!, all I need to do is understand the type of
return True and all will be revealed to me. Well, it's this:
Control.Monad.Trans.Reader.ReaderT
On Sat, Aug 10, 2013 at 7:39 AM, Dominic Steinitz domi...@steinitz.orgwrote:
no location info:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
ghc: could not execute: opt
The ghc documentation
(
On Sat, Aug 10, 2013 at 11:38 AM, Niklas Hambüchen m...@nh2.me wrote:
(Also fact that hpaste just went away, invalidating all my links to
hpastes, is similarly bad.)
Those at least are recoverable, just replace hpaste.org with
lpaste.net(content is still there). But still.
--
brandon s
On Sat, Aug 10, 2013 at 12:53 PM, Dominic Steinitz domi...@steinitz.orgwrote:
Thank you very much. I used Homebrew. Now I can compile albeit with a
warning. I have yet to try running it.
Loading package repa-3.2.3.1 ... linking ... done.
You are using a new version of LLVM that hasn't been
On Thu, Aug 8, 2013 at 9:54 AM, Eduardo Sato eduardo.s...@gmail.com wrote:
The only problem now is that I want to distribute a wxHaskell application
on mac OS X. I tried using macosx-app and cabal-macosx (
https://github.com/michaelt/cabal-macosx) to make an app file. It runs
fine on my
On Thu, Aug 8, 2013 at 12:04 PM, Eduardo Sato eduardo.s...@gmail.comwrote:
Would it be necessary to change Info.plist?
I don't believe so; Info.plist is the externally visible interface details,
but these libraries should be hidden inside the app bundle and not visible
outside of it. When the
On Tue, Aug 6, 2013 at 4:03 AM, J. Stutterheim j.stutterh...@me.com wrote:
I have to admit that I am a bit torn about using `pure`. On the one hand,
if you actually have a pure value, it feels pretty intuitive to me. But
what about
pure (putStrLn Hi)
`putStrLn Hi` is not a pure value...
On Tue, Aug 6, 2013 at 9:10 PM, Richard A. O'Keefe o...@cs.otago.ac.nzwrote:
I bet you can find an abundance of C programmers who think that
strcmp is an intuitive name for string comparison (rather than
compression, say).
Them and a small and slowly shrinking group of folks who find it
On Fri, Aug 2, 2013 at 8:49 PM, blackbox.dev.ml
blackbox.dev...@gmail.comwrote:
Is there any specific reason why GHC is written in a parser GENERATOR
(Happy) and not in MONADIC PARSER COMBINATOR (like parsec)?
Is Happy faster / handles better errors / hase some great features or
anything
On Fri, Jul 26, 2013 at 5:08 PM, Micah Cowan mi...@cowan.name wrote:
I was wondering if there was a way to do it in pure Haskell (i.e., no
GHC pragmas required), and also the specific reason for why the above
example doesn't work without the pragma (I think it's just that in
general a - b is
On Sun, Jul 14, 2013 at 7:54 AM, Clark Gaebel cgae...@uwaterloo.ca wrote:
Oops sorry I guess my point wasn't clear.
Why ord based when hashable is faster? Then there's no reason this has to
be in base, it can just be a
Did the point about stable fly overhead?
--
brandon s allbery kf8nh
On Mon, Jul 15, 2013 at 10:31 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
If I understand correctly, this function is proposed to be added to
Data.List which lives in base... but the proposals here are about
using either Sets from containers or HashSet from
On Fri, Jul 12, 2013 at 2:25 PM, Evan Laforge qdun...@gmail.com wrote:
In the broader scheme, it seems perverse to be using CPP in the first
place. I use it to configure imports and exports, e.g. to swap out a
driver backend on different OSes, and to export more symbols when
testing. Would
On Thu, Jul 11, 2013 at 1:33 PM, Vlatko Basic vlatko.ba...@gmail.comwrote:
data CmpFunction a = CF (a - a - Bool)
that contains comparing functions, like ==, , ..., and I'm trying to
declare the Show instance for it like this
instance Show (CmpFunction a) where
show (CF
On Thu, Jul 11, 2013 at 2:11 PM, Vlatko Basic vlatko.ba...@gmail.comwrote:
The problem here isn't quite what you think it is; (==) is not a
constructor, therefore it is a *variable*. It's exactly the same problem as
a = 5
-- ...
foo a = 3 -- this does NOT compare with the
On Thu, Jul 11, 2013 at 2:58 PM, Vlatko Basic vlatko.ba...@gmail.comwrote:
Hm, I thought it is a pattern match with constant, as in f ('a':xs) ==
I wonder what you'd make of this definition, then?
(*) `on` f = \x y - f x * f y
According to the enlightenment above, I'd say (*) is a
On Wed, Jul 3, 2013 at 6:26 AM, B B blackbox.dev...@gmail.com wrote:
Could you please answer one additional question - why you, while creating
GHCJS didn't base on emscripten? Why haven't you patched it and created
custom solution?
I'd like to point out that the LLVM code from GHC is
On Mon, Jul 1, 2013 at 8:34 AM, Johannes Waldmann
waldm...@imn.htwk-leipzig.de wrote:
and note that the install script says:
Z3 shared libraries were installed at /usr/local/lib, make sure this
directory is in your LD_LIBRARY_PATH environment variable.
Only applicable on Linux (and setting
On Mon, Jul 1, 2013 at 3:43 AM, Tom Ellis
tom-lists-haskell-cafe-2...@jaguarpaw.co.uk wrote:
is OK but
f (g x
y z)
is not.
It seems to me that this means
f x1 x2
x3 x4
is not. The OP was initially asking about this situation.
If you wrote that in a do, the
On Mon, Jul 1, 2013 at 9:56 AM, Tikhon Jelvis tik...@jelv.is wrote:
I've thought about writing an automatic indenting tool for Haskell (or,
more accurately, a pretty-printer) for another project I have, and this is
the main thing that threw me off. While automatic indentation might make
sense
On Mon, Jul 1, 2013 at 11:19 AM, Vlatko Basic vlatko.ba...@gmail.comwrote:
Anybody else getting this spam emails from j...@eukor.com every time a
message is sent to Cafe?
Yes, and I'm hoping a list admin steps in soon.
The irony is, it's their *anti*spam filter. They decided to use one of
On Sat, Jun 22, 2013 at 9:49 PM, Michael Orlitzky mich...@orlitzky.comwrote:
On 06/22/2013 01:28 PM, Mark Lentczner wrote:
3) Do not resize the terminal window
and
5) Take a screen shot of the whole terminal window
are mutually exclusive?
No, he wants a window shot, not a whole-screen
On Tue, Jun 18, 2013 at 1:57 PM, Jacques Carette care...@mcmaster.cawrote:
In trying to install the lens package, it eventually tries to install
transformers-compat-0.1.1.1 which in turn depends on transformers-0.3.0.0
-- however that asksk for
On Sun, Jun 16, 2013 at 4:03 PM, bri...@aracnet.com wrote:
Changing the declaration to GLdouble - GLdouble - GLdouble - IO() and
using
(0.0::GLdouble) fixes it, and I'm not clear on why it's not automagic.
There are many times I see the
Haskell never automagics types in that context; if it
On Sun, Jun 16, 2013 at 4:42 PM, bri...@aracnet.com wrote:
On Sun, 16 Jun 2013 16:15:25 -0400
Brandon Allbery allber...@gmail.com wrote:
On Sun, Jun 16, 2013 at 4:03 PM, bri...@aracnet.com wrote:
Changing the declaration to GLdouble - GLdouble - GLdouble - IO()
and
using
(0.0
On Thu, Jun 13, 2013 at 10:48 AM, Niklas Hambüchen m...@nh2.me wrote:
As for the user account creation and uploading packages you don't own,
Hackage 2 (any day now) has fixes for both.
Does Hackage 2 have SSL at least for the web interface?
Doesn't look like it. :(
--
brandon s allbery
On Sun, Jun 2, 2013 at 7:22 PM, Ting Lei tin...@gmail.com wrote:
In particular, I wanted to avoid having an IO in the return type because
introducing the impurity
(by that I mean the IO monad) for this simple task is logically
unnecessary. All examples involing
Anything that comes into or
On Sun, Jun 2, 2013 at 8:01 PM, Thomas Davie tom.da...@gmail.com wrote:
On 2 Jun 2013, at 16:48, Brandon Allbery allber...@gmail.com wrote:
(String is a linked list of Char, which is also not a C char; it is a
constructor and a machine word large enough to hold a Unicode codepoint
On Sat, Jun 1, 2013 at 1:55 PM, nadine.and.he...@pobox.com wrote:
a Dell laptop and a desktop. I compiled this message with ghc -O2
--make ex429.lhs and ran it on each machine. On the Dell I get:
136342232
./ex429 8.66s user 0.02s system 99% cpu 8.695 total
When I run this exact same
On Thu, May 30, 2013 at 3:15 AM, Kees Bleijenberg
k.bleijenb...@lijbrandt.nl wrote:
argument. The dll is in the PATH. I don't understand why it needs the -L
argument. I'll figure this out later. If I use -lglasPng.dll (additional
.dll) it doesn't work either.
Unix has standard places to
On Thu, May 30, 2013 at 11:46 AM, Kees Bleijenberg
k.bleijenb...@lijbrandt.nl wrote:
Brandon, thanks again for your explanation
Are you sure about the non existing search order for dynamic loaded dll’s?
I.e.
On Wed, May 29, 2013 at 9:40 AM, Kees Bleijenberg
k.bleijenb...@lijbrandt.nl wrote:
If I compile with ghc --make testGlasPng.hs –lglasPng I get: ….\ld.exe:
cannot find –lglasPng. Collect 2: ld returned 1 exit status.
**
Ld can’t find lglasPng (with the l in front, does it trim the l?).
On Tue, May 14, 2013 at 11:17 AM, John knowledge1...@gmail.com wrote:
listPairs = [(a*b, y) | a - [0..], b - [0..], (a*b) 5, (a*b) 500,
(y*y) 1001, mod y x == 0]
Now I have it as you said, however the compiler complains about all y and x
and says they are NOT in scope.
Why is it so? I
On Wed, May 8, 2013 at 9:54 PM, Niklas Hambüchen m...@nh2.me wrote:
If I run these steps one by one in ghci, garbage ends up in my handle as
expected.
However, if I let main = do ... this whole block in order to pack it
in a test case, it does not happen, neither in ghci nor ghc.
ghci is
On Thu, May 9, 2013 at 10:19 AM, Niklas Hambüchen m...@nh2.me wrote:
On 09/05/13 20:50, Brandon Allbery wrote:
ghci is in many ways like an endless (or at least until :l/:r)
do-block. In particular, the handle remains in scope after you run your
commands at the prompt, so it is not garbage
On Sun, May 5, 2013 at 7:55 AM, Raphael Gaschignard dasur...@gmail.comwrote:
Forgive me if I'm wrong, but I feel like I've seen such suggestions in
GHC errors before.
If so, does that mean there's some sort of mechanism in the compiler
already in place for such error recognition? Like some
Bleh, I could have sworn that thing had a real usage message at some
point... which means there is in fact a problem and you should file a bug
against runhaskell.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Fri, May 3, 2013 at 5:30 AM, Adrian May
adrian.alexander@gmail.comwrote:
How about this: can you guys give me a detailed example of a justified
deprecation: one so extremely obviously called for that even I would agree.
I just want to understand the kind of logic that's applied over
On Fri, May 3, 2013 at 10:35 AM, Niklas Hambüchen m...@nh2.me wrote:
runhaskell -fno-warn-unused-matches Myfile.hs
[some compile error]
runhaskell -fno-warn-unused-matches Myfile.hs
[no output whatsoever but exit code 127]
runhaskell -asdf Myfile.hs
ghc: unrecognised flags: -asdf
On Fri, May 3, 2013 at 10:54 AM, Guy guytsalmave...@yahoo.com wrote:
http://hackage.haskell.org/**trac/ghc/wiki/**DefaultSuperclassInstanceshttp://hackage.haskell.org/trac/ghc/wiki/DefaultSuperclassInstances
I'm surprised that the various superclass proposals haven't got more
attention,
On Thu, May 2, 2013 at 1:27 AM, Adrian May
adrian.alexander@gmail.comwrote:
Let's face it: this decision to change the default syntax in GHC7 means
that right now Haskell looks about as stable as Ruby on Rails.
I just tried to use Flippi. It broke because of the syntax change so I
tried
On Thu, May 2, 2013 at 10:36 AM, Adrian May
adrian.alexander@gmail.comwrote:
I think you're missing the point of the platform!
I suppose I did miss the point of the platform: I was trying to build it,
which requires at least part of the
Having to build it already indicates that
On Sun, Apr 28, 2013 at 3:59 AM, harry volderm...@hotmail.com wrote:
Dan Doel dan.doel at gmail.com writes:
However, another thing to consider is that getting rid of data type
contexts was accepted into the language standard.
... which means that implementers should be free to fix data
On Sat, Apr 27, 2013 at 11:47 AM, David Banas capn.fre...@gmail.com wrote:
dbanas@dbanas-lap:~/prj/AMI-Tool$ make
rm -f libami.so
ghc -o libami.so -shared -dynamic -package parsec -lHSrts -lm -lffi -lrt
AMIParse.o AMIModel.o ami_model.o ExmplUsrModel.o Filter.o
On Thu, Apr 25, 2013 at 6:38 AM, harry volderm...@hotmail.com wrote:
If I understand correctly, the problem with datatype contexts is that if we
have e.g.
data Eq a = Foo a = Foo a
the constraint Eq a is thrown away after a Foo is constructed, and any
method using Foos must repeat Eq a in
On Thu, Apr 11, 2013 at 1:38 AM, Christopher Howard
christopher.how...@frigidcode.com wrote:
Hi. For my own learning, I wanted to see how the exp function is
implemented in GHC. I have GHC 7.4.1 source code open, but I'm having
trouble figuring out which file the actual function definition is
On Thu, Apr 11, 2013 at 1:19 AM, Richard A. O'Keefe o...@cs.otago.ac.nzwrote:
On 11/04/2013, at 12:56 PM, Brandon Allbery wrote:
Xcode 4.2 and on do not use /Developer at all. You have an older Xcode
on your system somehow, which does not understand newer object files; you
should remove
can dig up the relevant Apple
knowledge base article.
On 12/04/2013, at 2:44 AM, Brandon Allbery wrote:
(Newer Xcode should actually complain and tell you to run the removal
script on startup, because its presence can even break Xcode under some
circumstances.)
4.6.1 was the latest available
On Wed, Apr 10, 2013 at 3:26 AM, Florian Hofmann
fhofm...@techfak.uni-bielefeld.de wrote:
I might be mistaken, but is there a bug in the Show instance of PortNum?
Not a bug, an annoying misdesign (IMO). A PortNum is actually in network
byte order. If you extract it, you get the original port;
On Wed, Apr 10, 2013 at 12:39 PM, Dominic Steinitz domi...@steinitz.orgwrote:
interactive:1:6:
Could not deduce (repa-3.2.3.1:Data.Array.Repa.Eval.Elt.Elt
(ad-3.4:Numeric.AD.Internal.Types.AD s a))
DANGER WILL ROBINSON!
It's showing package names+versions on the
On Wed, Apr 10, 2013 at 8:36 PM, Richard A. O'Keefe o...@cs.otago.ac.nzwrote:
/Developer/usr/bin/strip: object: /home/cshome/o/ok/.cabal/bin/cabal
malformed object (unknown load command 15)
Xcode 4.2 and on do not use /Developer at all. You have an older Xcode on
your system somehow, which
On Mon, Apr 8, 2013 at 1:32 AM, Luke Evans l...@eversosoft.com wrote:
Unfortunately, it looks like
/Library/Frameworks/GHC.framework/Versions/7.4.2-x86_64/usr/lib/ghc-7.4.2/libffi.dylib
is pointing to the dodgy library too, e.g.:
otool
-L
On Mon, Apr 8, 2013 at 12:10 AM, Luke Evans l...@eversosoft.com wrote:
Unfortunately, it looks like my cabal build failure occurs in a temporary
and very short-lived directory. So presumably the dodgy FFI gets copied
into there from elsewhere. I wonder if I can find the source...
It's
On Tue, Apr 2, 2013 at 8:37 PM, Daryoush Mehrtash dmehrt...@gmail.comwrote:
I am trying to use the Cont in Control.Monad.Cont but it seems to be
missing
Prelude import Control.Monad.Cont
Prelude Control.Monad.Cont :t Cont
It's gone; try cont (lowercase).
mtl2 replaced the old standalone
On Mon, Mar 25, 2013 at 8:53 AM, Corentin Dupont
corentin.dup...@gmail.comwrote:
Workflow is impressive! I didn't know you could serialize IO
states/computations.
In certain constrained cases you can. General case, as I said earlier, is
kinda impossible without serializing the entire machine
On Sun, Mar 24, 2013 at 4:16 PM, Corentin Dupont
corentin.dup...@gmail.comwrote:
Hi Daniel,
in my game the handlers are supplied by the players as part of little
programs that they submit. An haskell interpreter is reading the program
code submitted and inserts it in the game.
So there is an
On Sun, Mar 24, 2013 at 5:44 PM, Corentin Dupont
corentin.dup...@gmail.comwrote:
But I always bothered me that this state is not serializable...
I am not quite sure how to respond to that. You seem to be asking for magic.
That kind of state has never been sanely serializeable. Not in Haskell,
On Sat, Mar 23, 2013 at 11:26 PM, Luke Evans l...@eversosoft.com wrote:
I'm curious about using Haskell for metaprogramming.
It looks like I can dynamically compile, load and run some Haskell with
the plugins package. Actually I've briefly tried this and it seems to work
for some simple
On Wed, Mar 20, 2013 at 9:02 AM, Jesper Särnesjö sarne...@gmail.com wrote:
This solution seems to work perfectly for me. Since the foreign code
is allowed to run uninterrupted, the GPU switch happens, and since the
GUI actions stay on the main thread, the program's window responds to
keyboard
On Mon, Mar 18, 2013 at 4:31 PM, OWP owpmail...@gmail.com wrote:
Let me rephrase that, of course they will survive politically. People
built these tools and if built, they will be use but will they survive
efficiently? In the future, if a particular specialized architecture
is somewhat
On Sun, Mar 17, 2013 at 7:58 PM, Jason Dagit dag...@gmail.com wrote:
On Sat, Mar 16, 2013 at 6:53 PM, Jesper Särnesjö sarne...@gmail.comwrote:
To be clear, I think this isn't really an OpenGL problem, but rather
one related to FFI or event handling. If anyone could explain to me,The
release
On Tue, Mar 12, 2013 at 1:52 PM, Carlos Camarao carlos.cama...@gmail.comwrote:
Sorry, I think my sentence:
To define (+) as an overloaded operator in Haskell,
you have to define and use a type class.
is not quite correct. I meant that to define any operator in Haskell you
have to
On Tue, Mar 12, 2013 at 3:21 PM, Tycho Andersen ty...@tycho.ws wrote:
Below is some sample output from a failing package:
ps168825:~/playground$ cabal install network
Resolving dependencies...
Configuring network-2.4.1.2...
configure: WARNING: unrecognized options: --with-compiler,
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov malikov@gmail.comwrote:
checking whether to use -liconv... setup: Unable to link against
the iconv library.
Failed to install darcs-2.8.4
cabal: Error: some packages failed to install:
What is actually going on here?
On Sun, Mar 3, 2013 at 1:59 PM, Dmitry Malikov malikov@gmail.comwrote:
On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov malikov@gmail.comwrote:
checking whether to use -liconv... setup: Unable to link against
the iconv
On Fri, Mar 1, 2013 at 12:08 PM, Albert Y. C. Lai tre...@vex.net wrote:
On 13-03-01 05:10 AM, Malcolm Wallace wrote:
Doesn't Cabal tend to install library packages under the .cabal folder?
So blowing it away gets rid of the problematic ones. (And everything
else.)
You need to perform
On Thu, Feb 28, 2013 at 6:09 AM, C K Kashyap ckkash...@gmail.com wrote:
Say I have a haskell function 'f' that does a forkIO and starts an action
a. I create a DLL of this haskell code and inovke f from C. Can I
expect the a to continue to run once f has returned to C?
While you're off in C
On Wed, Feb 27, 2013 at 8:37 AM, Corentin Dupont
corentin.dup...@gmail.comwrote:
Hi Chris,
Thanks!
That's true for the user number. What should I do? Encrypt it?
It's not that you have a user number, or even that it's accessible: it's
that it's the entirety of access control, meaning that if
On Sun, Feb 24, 2013 at 6:31 AM, Martin Drautzburg martin.drautzb...@web.de
wrote:
Just a silly quick question: why isn't right-recursion a similar problem?
Very roughly:
Left recursion is: let foo n = n + foo n in ...
Right recursion is: let foo 1 = 1; foo n = n + foo (n - 1) in ...
In
On Sat, Feb 23, 2013 at 1:58 PM, C K Kashyap ckkash...@gmail.com wrote:
What I am really looking for is a small sample code that demonstrates how
TLS package can be used to connect to a webserver or imapserver.
TLS isn't actually SSL, despite SSL getting blessed as TLS 0.9. Various
attempts
On Tue, Feb 19, 2013 at 10:11 AM, Branimir Maksimovic bm...@hotmail.comwrote:
In C usual way is to set some bit in integer variable by shifting or
oring,
and than check flag integer variable by anding with particular flag value.
What is Haskell way?
You can do that, but a somewhat more
On Tue, Feb 12, 2013 at 11:32 PM, bri...@aracnet.com wrote:
actualy native code compiler. Can't regex be done effectively in haskell
? Is it something that can't be done, or is it just such minimal effort to
link to pcre that it's not worth the trouble ?
PCRE is pretty heavily optimized.
On Wed, Feb 13, 2013 at 11:32 AM, Nicolas Bock nicolasb...@gmail.comwrote:
Since I have very little experience with Haskell and am not used to
Haskell-think yet, I don't quite understand your statement that regexes are
seen as foreign to Haskell-think. Could you elaborate? What would a more
On Wed, Feb 13, 2013 at 12:46 PM, David Thomas davidleotho...@gmail.comwrote:
The fact that parsec and attoparsec exist and can be pressed into service
with reasonable performance (I think?) on tasks for which regexps are
suitable is probably another big part of the reason no one's done it
On Wed, Feb 13, 2013 at 5:45 PM, o...@cs.otago.ac.nz wrote:
On 13.02.2013 21:41, Brandon Allbery wrote:
The native solution is a parser like parsec/attoparsec.
Aleksey Khudyakov alexey.sklad...@gmail.com replied
Regexps only have this problem if they are compiled from string. Nothing
On Sat, Feb 9, 2013 at 3:56 AM, Johan Holmquist holmi...@gmail.com wrote:
The code goes into production and, disaster. The new improved
version runs 3 times slower than the old, making it practically
unusable. The new version has to be rolled back with loss of uptime
and functionality and
On Wed, Feb 6, 2013 at 6:45 AM, Jan Stolarek jan.stola...@p.lodz.pl wrote:
nevertheless I objected to his opinion, claiming that if compiler
performed such a high-level
optimization - replace underlying data structure with a different one and
turn one algorithm into
a completely different
On Mon, Feb 4, 2013 at 3:53 PM, Albert Y. C. Lai tre...@vex.net wrote:
Toronto is an international metropolis with three globally renowned
universities, multiple major-player high-tech labs, a world-class orchestra
and several world-class choirs, and fine cuisines from almost all cultures.
On Thu, Jan 31, 2013 at 1:31 AM, Junior White efi...@gmail.com wrote:
Hi Cafe,
I downloaded the latest hugs98 source package, unzip and build, I get
the following link errors. It seems many symbols are not defined, am I
missing same depending libraries?
I don't think anyone is maintaining
1 - 100 of 390 matches
Mail list logo