#7056: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name
`.drectve'
+---
Reporter: songpp | Owner:
Type: bug | Status: new
#7253: Top-level bindings in ghci
--+-
Reporter: Feuerbach | Owner:
Type: feature request | Status: new
Priority: normal| Component: GHCi
#7253: Top-level bindings in ghci
--+-
Reporter: Feuerbach | Owner:
Type: feature request | Status: new
Priority: normal| Component: GHCi
#7234: Linker spews useless error message and failes.
--+-
Reporter: timthelion| Owner:
Type: bug | Status: new
Priority: normal|
#7254: Parallel processing and the -Nn flag
--+-
Reporter: mcandre | Owner:
Type: feature request | Status: new
Priority: normal|
#7254: Parallel processing and the -Nn flag
--+-
Reporter: mcandre | Owner:
Type: feature request | Status: new
Priority: normal|
#7254: Parallel processing and the -Nn flag
--+-
Reporter: mcandre | Owner:
Type: feature request | Status: new
Priority: normal|
#367: Infinite loops can hang Concurrent Haskell
--+-
Reporter: simonpj | Owner: ezyang
Type: bug | Status: new
Indeed -- lovely notational tricks, Iavor Edward! I think I'd be happy
with one of these variations. At least worth experimenting with.
-- Conal
On Mon, Sep 17, 2012 at 8:05 PM, Carter Schonwald
carter.schonw...@gmail.com wrote:
1) kudos to iavor and edward on the slick notation invention!
On Sun, Sep 16, 2012 at 5:49 PM, Simon Peyton-Jones
simo...@microsoft.com wrote:
[...]
Type inference
~
I'm a little unclear about the implications for inference. One route
might be this. Suppose we are trying to solve a constraint
[W] (a:'(k1,ks)) ~ '( t1, t2 )
where a is
Please see my responses inline.
On Sep 16, 2012, at 11:49 AM, Simon Peyton-Jones wrote:
Eta rules
~~
* We want to add eta-rules to FC. Sticking to pairs for now, that would
amount to
adding two new type functions (Fst, Snd), and three new, built-in axioms
axPair k1 k2
On Sun, Sep 16, 2012 at 11:49 AM, Simon Peyton-Jones
simo...@microsoft.com wrote:
I don't really want to eagerly eta-expand every type variable, because (a)
we'll bloat the constraints and (b) we might get silly error messages. For
(b) consider the insoluble constraint
[W] a~b
where a
Dear Haskellers,
Well-Typed is partnering with Skills Matter to offer two Haskell
courses in London, targeting professional developers who want to
learn Haskell.
[If you're a Haskell expert already, but know people who might be
interested in these courses, feel free to forward this mail.]
Fast
Welcome to issue 244 of the HWN, an issue covering crowd-sourced bits
of information about Haskell from around the web. This issue covers the
week of September 9 to September 15, 2012.
Inbox
As you might have heard, GHC 7.6.1 is out for all platforms. I would
say get it while it is still hot,
On 19/09/12 08:52, Andres Löh wrote:
Registration for all these events is open. I hope to see many
of you there.
Is there an informal hangout without the £225 price-tag
Cheers,
Andres
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Is there an informal hangout without the £225 price-tag
Certainly a great idea. I guess there's most likely some informal
meeting after the Haskell eXchange. Perhaps Neil Mitchell knows if
there are any concrete plans yet? He's been putting together the
program for the conference.
Cheers,
Hi list,
Oops, I hit send too prematurely, sorry for the seeming bluntness (but
it is still a blunt message, can't apologize for that I suppose):
On 19/09/12 09:14, Claude Heiland-Allen wrote:
On 19/09/12 08:52, Andres Löh wrote:
Registration for all these events is open. I hope to see many
Hi.
Oops, I hit send too prematurely, sorry for the seeming bluntness (but it is
still a blunt message, can't apologize for that I suppose):
No need to apologize. There's a need for informal meetings as much (or
even more) as there is for courses and conferences.
Perhaps a monthly informal
I'm happy to announce a new major release of the grid package:
http://hackage.haskell.org/package/grid
https://github.com/mhwombat/grid/wiki (wiki)
WHAT'S NEW:
The GridMap module provides ordered maps from tiles on a grid to values. This
module is a wrapper around Grid and Map, in order
Do you have some data that you'd like to understand better? I'm happy to
announce a new package called som that may help:
http://hackage.haskell.org/package/som
https://github.com/mhwombat/som/wiki (wiki)
A Kohonen Self-organising Map (SOM) maps input patterns onto a regular grid
2011/12/1 Irene Knapp ireney.kn...@gmail.com:
The typical trick to force GHC to statically link a C library
is to give the full path to the .a of it as one of the object
files in the GHC invocation that does the final linking. This
means you don't need any -l or -L flags pertaining to that
Hi,
I usually just copy those .a files (that should be linked statically)
into `ghc --print-libdir`.
HTH Christian
Am 19.09.2012 13:06, schrieb Jason Dusek:
2011/12/1 Irene Knapp ireney.kn...@gmail.com:
The typical trick to force GHC to statically link a C library
is to give the full path
2012/9/19 Christian Maeder christian.mae...@dfki.de:
I usually just copy those .a files (that should be linked statically) into
`ghc --print-libdir`.
Wow, it worked! But this isn't the sort of change I'd to a user's
system that I'd like to encode in a Makefile...
--
Jason Dusek
pgp //
On Wed, Sep 19, 2012 at 7:06 AM, Jason Dusek jason.du...@gmail.com wrote:
What I attempted was building a binary with only some C libraries
statically linked, with this command line:
# Build https://github.com/erudify/sssp on Ubunut 12.04
ghc -outputdir ./tmp -v --make -O2 sssp.hs -o
I need to implement fast two-level loops, and I am learning using seq to make
calls tail-recursive.
I write programs to compute
main = print $ sum [i*j|i::Int-[1..2],j::Int-[1..2]]
This program (compiled with -O2) runs twenty times slower than the unoptimized
(otherwise the loop gets
Hi cafe
looking at
http://www.haskell.org/haskellwiki/Simple_Servers
The last two solutions compared are forkIO vs. explicit event support
(based on what was System.Event).
Further reading appears to indicate that event support has been
integrated into the runtime.
Is it true that writing a
Now I have discovered the right version...
main = print (f 1 0::Int) where
f i s = (if i=2 then (f (i+1) (s + g 1 0)) else s) where
g j s = (if j=2 then (g (j+1) (s + i*j)) else s)
- 原始邮件 -
发件人: sdiy...@sjtu.edu.cn
收件人: haskell-cafe@haskell.org
发送时间: 星期三,
A follow-up question.
I still haven't got the monadic version working, and the real use case involves
IO actions.
I looked at http://www.haskell.org/haskellwiki/Recursion_in_a_monad and adapted
the 'tail-recursive' snippet on the page into
main = do
let
f 0 acc =
On Wed, Sep 19, 2012 at 7:24 PM, sdiy...@sjtu.edu.cn wrote:
main = do
let
f 0 acc = return acc
f n acc = do
v - return 1
f (n-1) (v+acc)
f 100 100 = print
Try this
main = do
let
So how do I force IO actions whose results are discarded (including IO ()) to
be strict?
main = do
s-newIORef (1::Int)
let
f :: Int - Int - IO Int
f 0 !acc = return acc -- note strict accumulator
f n !acc = do
v
Hi!
On 19/09/12 19:00, sdiy...@sjtu.edu.cn wrote:
So how do I force IO actions whose results are discarded (including IO ()) to
be strict?
() - foo :: IO () -- should work as it pattern matches, can wrap it in
a prettier combinator
!_ - foo :: IO a -- could work with -XBangPatterns
I've not
On Wed, Sep 19, 2012 at 8:00 PM, sdiy...@sjtu.edu.cn wrote:
So how do I force IO actions whose results are discarded (including IO ()) to
be strict?
In your particular case it looks like you want
Data.IORef.modifyIORef'. If your version of GHC doesn't include it you
can write it like so:
--
Hi all,
I am pleased to announce the first release of One-Liner, a package for writing
short and concise generic instances of type classes. It works a bit like
Scrap-Your-Boilerplate, but it uses the new constraint kinds instead of the
Typeable class.
On hackage:
On 12-09-18 07:37 PM, Richard O'Keefe wrote:
On 19/09/2012, at 1:43 AM, Stefan Monnier wrote:
The problem with that is that some people DO end some headings with
a full stop; for them your special syntax is not natural.
Markdown/ReST is already using the no syntax idea (e.g. compared to
On 9/18/12 8:32 AM, Jan Stolarek wrote:
Hi list,
I have yet another question about folds. Reading here and there I encountered
statements that
foldr is more important than foldl, e.g. in this post on the list:
http://www.haskell.org/pipermail/haskell-cafe/2012-May/101338.html
I want to know
On 9/18/12 4:27 AM, o...@okmij.org wrote:
There has been a recent discussion of ``Church encoding'' of lists and
the comparison with Scott encoding.
I'd like to point out that what is often called Church encoding is
actually Boehm-Berarducci encoding. That is, often seen
newtype ChurchList a
Hi,
Is it true that writing a simple server using forkIO now integrates
native event loops implicitly?
Yes.
IO manager handles event driven stuff. Thanks to this, we can enjoy
(light) thread programming using forkIO.
One last question. When writing C code, using epoll apis explicitly
can
On Wed, Sep 19, 2012 at 8:36 PM, wren ng thornton w...@freegeek.org wrote:
P.S. It is actually possible to write zip function using Boehm-Berarducci
encoding:
http://okmij.org/ftp/ftp/Algorithms.html#zip-folds
Of course it is; I just never got around to doing it :)
If you do, you
Welcome to issue 244 of the HWN, an issue covering crowd-sourced bits
of information about Haskell from around the web. This issue covers the
week of September 9 to September 15, 2012.
Inbox
As you might have heard, GHC 7.6.1 is out for all platforms. I would
say get it while it is still hot,
Pointers.
Seriously.
In Haskell one could use STRef rather than the cumbersome Foreign.Ptr,
though STRef too can be kludgy.
I know not whether safe, pure, immutable pointers would be possible in
Haskell, but in my experience STRef can work well enough.
Cheers,
Strake
Kazu Yamamoto (山本和彦) k...@iij.ad.jp wrote:
One last question. When writing C code, using epoll apis explicitly
can impose some blocking. Is the same to be said for GHC.Event?
I don't understand your question.
All system calls issued from the network package use non-blocking.
You don't
All system calls issued from the network package use non-blocking.
You don't have to worry about blocking at all.
Almost. Especially when interfacing with C code you should include the
-threaded option to GHC to link against the multi-threaded run-time
system. Otherwise your Haskell code
Alle 15 e 37 del 18/09/12, Ramana Kumar si espresse così:
I would like you to consider adding http-conduit to the [haskell] repo.
I have submitted a pull request which does this at archhaskell/habs on
github.
I maintain a [haskell-extra] repository that include http-conduit. This
repo is
Your habs-extra repo works really well. Thanks for making it, and for
mentioning it!
I hope it will get merged soon :)
On Wed, Sep 19, 2012 at 6:22 PM, Ramana Kumar ram...@member.fsf.org wrote:
On Wed, Sep 19, 2012 at 6:04 PM, Fabio Riga rifa...@gmail.com wrote:
Alle 15 e 37 del 18/09/12,
44 matches
Mail list logo