Imagine we have this simple program:
module Main(main) where
main = do
x - getLine
putStrLn x
Now I want to run it somehow, enter résumé 履歴書 резюме and see this
string printed back as résumé 履歴書 резюме. Now, the first problem is
that my computer runs Windows, which means that I can't
As mentioned before, the way to handle this specific problem is to use either
the pChainl or pChainr parser combinators, as e.g. found on:
http://hackage.haskell.org/packages/archive/uu-parsinglib/2.7.4.1/doc/html/Text-ParserCombinators-UU-Derived.html
and many similar libraries. So one can
I ran into the problem that for the packages which I install using
cabal install
The generated html does not contain links to the sources. This issue was raised
before in:
http://stackoverflow.com/questions/1587635/haddock-for-cabal-installed-modules
I have been looking into the documentation
This should be possible using higher-order terms, as in
http://hackage.haskell.org/packages/archive/compdata/latest/doc/html/Data-Comp-Multi-Term.html
The only complication I see is that the Dag nodes would get
heterogeneous types requiring existential quantification with a
`Typeable`
On 21 February 2013 21:18, Doaitse Swierstra doai...@swierstra.net wrote:
I ran into the problem that for the packages which I install using
cabal install
The generated html does not contain links to the sources. This issue was
raised before in:
Have you tried running ghci inside Emacs?
Отправлено с iPhone
21.02.2013, в 13:58, Semyon Kholodnov joker...@gmail.com написал(а):
Imagine we have this simple program:
module Main(main) where
main = do
x - getLine
putStrLn x
Now I want to run it somehow, enter résumé 履歴書
Dear all,
The School of Computer Science at the University of Nottingham
is currently advertising a PhD position on applying functional
programming techniques to optimisation problems:
http://www.cs.nott.ac.uk/~ajp/PhD-opportunities.htm
This would be a great position for someone who is
You can also set the locale encoding for a handle (e.g.
System.IO.stdin) from code using `System.IO.hSetEncoding` [0].
Erik
[0]
http://hackage.haskell.org/packages/archive/base/latest/doc/html/System-IO.html#v:hSetEncoding
On Thu, Feb 21, 2013 at 12:07 PM, Alexander V Vershilov
-- Forwarded message --
From: Semyon Kholodnov joker...@gmail.com
Date: Thu, 21 Feb 2013 16:26:58 +0400
Subject: Re: [Haskell-cafe] How to input Unicode string in Haskell program?
To: Alexander V Vershilov alexander.vershi...@gmail.com
I know that this problem doesn't exist on
On Wed, Feb 20, 2013 at 9:20 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
My (getting-long-in-the-tooth-and-could-do-with-a-rewrite) SourceGraph
package does identify these definitions.
What a coincidence, then! I was trying to use SourceGraph for other
reasons but it didn't work
I have released versions 0.0.0.1 and 0.0.0.2 (the latter being
documentation improvements but it hasn't yet been built) of mcpi:
http://hackage.haskell.org/package/mcpi
https://github.com/DougBurke/hmcpi
It is a very simple, and very incomplete, interface to MineCraft: Pi edition
Thanks, I see now where my mistake was.
Laziness (or call by name) is needed to make the step from
(\e a z - a (f z e))
(head l)
(foldr (\e a z - a (f z e)) id (tail l) z)
(f z (head l))
to
\z - foldr (\e a z - a (f z e)) id (tail l) (f z (head l))
without evaluating foldr
Are there any good websockets client libraries for haskell. I've been searching
for one but can only come up with server implementations.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
websockets package has basic support for client-side applications:
http://hackage.haskell.org/packages/archive/websockets/0.7.2.1/doc/html/Network-WebSockets.html#g:12
AFAIK it is the only available option right now (except implementing it
yourself.)
Thanks,
Yuras
On Thu, 2013-02-21 at
Yes, Jasper's websockets has a client in recent versions that works really
nicely since server and client have the same APIs.
The example was a little hidden:
https://github.com/jaspervdj/websockets/blob/master/example/client.hs
On Thu, Feb 21, 2013 at 10:09 PM, Stephen Olsen
Hi Cafe,
when I try to create core files with the above options, ghc panics with
this message:
ghc: panic! (the 'impossible' happened)
(GHC version 7.6.2 for x86_64-unknown-linux):
make_exp (App _ (Coercion _))
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I
16 matches
Mail list logo