ARM guys use native ghc to build arm binaries
2012/8/24 Taylor Hedberg t...@tmh.cc:
Thiago Negri, Fri 2012-08-24 @ 13:27:32-0300:
Is it possible to compile Haskell code targetting a OS/arch that
differs from the one where the compiler (GHC) is running?
No, GHC doesn't currently support
Hi. I need map equivalent for Bijection type which is defined in fclabels:
data Bijection (~) a b = Bij { fw :: a ~ b, bw :: b ~ a }
instance Category (~) = Category (Bijection (~)) where ...
I can define this function as follows:
mapBij :: Bijection (-) a c - Bijection (-) [a] [b] - Bijection
If you remove the second argument (which you don't use), you have the
function `liftBij` that is in fclabels.
Erik
On Mon, Aug 27, 2012 at 3:55 PM, Sergey Mironov ier...@gmail.com wrote:
Hi. I need map equivalent for Bijection type which is defined in fclabels:
data Bijection (~) a b = Bij {
Hi,
Sergey Mironov wrote:
I need map equivalent for Bijection type which is defined in fclabels:
data Bijection (~) a b = Bij { fw :: a ~ b, bw :: b ~ a }
instance Category (~) = Category (Bijection (~)) where ...
I can define this function as follows:
mapBij :: Bijection (-) a c - Bijection
For a caching library, I need to know the runtime usage of memory of the
program and the total amount of memory, the total memory used by all the
programs etc.
I need not do profiling or monitoring but to do different things inside my
program depending on memory usage.
The search is difficult
Yes, you are right, I don't really need the second argument. I am not
skilled enough to join the discussion, but I do understand your
solution. Thanks!
Sergey
2012/8/27 Tillmann Rendel ren...@informatik.uni-marburg.de:
Hi,
Sergey Mironov wrote:
I need map equivalent for Bijection type
On Mon, Jul 30, 2012 at 3:33 PM, Ross Paterson r...@soi.city.ac.uk wrote:
On Mon, Jul 30, 2012 at 01:46:24PM +0100, Niklas Broberg wrote:
On Wed, Jul 25, 2012 at 12:22 PM, Ross Paterson r...@soi.city.ac.uk wrote:
As I understand it, the plan is to modify the following packages in
On Mon, Aug 27, 2012 at 9:57 AM, Erik Hesselink hessel...@gmail.com wrote:
I'm seeing this again, on abstract-deque-0.1.6. Ross, can you fix it again?
Hang on a second.
The reason you're seeing build breakage is that the .cabal files of the
broken packages were edited in-place without
Hi,
Here is a simple shell script (upper.hs):
import Data.Char
main = interact $ map toUpper
which composes fine with other scripts:
bash-3.2$ yes | head -n 3 | runghc upper.hs
Y
Y
Y
but not always:
bash-3.2$ yes | runghc upper.hs | head -n 3
Y
Y
Y
stdout: hFlush: resource vanished (Broken
Hello,
this happens because head probably closes the file descriptor after 3
lines, and then the Haskell program tries to write to a closed handle
(i.e., it's stdout is not there anymore). The best thing to do depends on
the program. One fairly simple option would be to handle the exception, and
On Mon, Aug 27, 2012 at 1:55 PM, Eric Tanter etan...@dcc.uchile.cl wrote:
Here is a simple shell script (upper.hs):
shell script means a script written in the shell's programming language.
This is probably best referred to as a Haskell script.
bash-3.2$ yes | runghc upper.hs | head -n 3
Y
Hi,
Am Montag, den 27.08.2012, 18:20 +0200 schrieb Alberto G. Corona :
For a caching library, I need to know the runtime usage of memory of
the program and the total amount of memory, the total memory used by
all the programs etc.
I need not do profiling or monitoring but to do
Thanks Brandon and Iavor for your (fast!) responses.
Installing a silent handler as suggested by Brandon worked nicely.
-- Éric
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Joachim:
Thanks a lot
2012/8/27 Joachim Breitner m...@joachim-breitner.de
Hi,
Am Montag, den 27.08.2012, 18:20 +0200 schrieb Alberto G. Corona :
For a caching library, I need to know the runtime usage of memory of
the program and the total amount of memory, the total memory used by
On Mon, Aug 27, 2012 at 7:52 PM, Bryan O'Sullivan b...@serpentine.com wrote:
On Mon, Aug 27, 2012 at 9:57 AM, Erik Hesselink hessel...@gmail.com wrote:
I'm seeing this again, on abstract-deque-0.1.6. Ross, can you fix it
again?
Hang on a second.
The reason you're seeing build breakage is
On Mon, Aug 27, 2012 at 10:52:59AM -0700, Bryan O'Sullivan wrote:
On Mon, Aug 27, 2012 at 9:57 AM, Erik Hesselink hessel...@gmail.com wrote:
I'm seeing this again, on abstract-deque-0.1.6. Ross, can you fix it again?
Hang on a second.
The reason you're seeing build breakage is that
On Mon, Aug 27, 2012 at 07:39:39PM +0100, Erik Hesselink wrote:
If we do agree that we want to prevent this problem for a while (which
I'm not sure about), we should probably do it by preventing uploads
for packages like this. That way, package maintainers will know what
is going on, just like
On Mon, Aug 27, 2012 at 09:03:18PM +0100, Brent Yorgey wrote:
On Mon, Aug 27, 2012 at 10:52:59AM -0700, Bryan O'Sullivan wrote:
On Mon, Aug 27, 2012 at 9:57 AM, Erik Hesselink hessel...@gmail.com wrote:
I'm seeing this again, on abstract-deque-0.1.6. Ross, can you fix it
again?
On Mon, Aug 27, 2012 at 11:39 AM, Erik Hesselink hessel...@gmail.comwrote:
Yes, you are right. So the question is how long to support systems
with the old cabal 0.10. This is the one included with the previous
haskell platform (and thus lots of linux distro's), which is less than
a year old.
On Mon, Aug 27, 2012 at 4:23 PM, Bryan O'Sullivan b...@serpentine.comwrote:
On Mon, Aug 27, 2012 at 11:39 AM, Erik Hesselink hessel...@gmail.comwrote:
Yes, you are right. So the question is how long to support systems
with the old cabal 0.10. This is the one included with the previous
Well, this one looks like it was my fault because I never read this thread
and this morning I uploaded that package (abstract-deque) with the
conditional in the test-suite. The reason this conditional isn't there now
is that the package was hacked in place to remove tests, which is fine.
On Aug 27, 2012 8:40 PM, Erik Hesselink hessel...@gmail.com wrote:
The other question is how useful test suites in a released package
are. Aren't they much more useful (and used more often) in source
repositories?
Having tests available in a released package allows one to verify that the
On 8/26/12 9:10 PM, Sebastien Zany wrote:
Thanks Wren. That was my guess too, but it seems not necessary:
http://stackoverflow.com/questions/12103309/when-is-a-composition-of-catamorphisms-a-catamorphism
Well, sure. I was meaning in the general case. If you have the right
kind of
On 8/27/12 6:27 PM, Tristan Seligmann wrote:
On Aug 27, 2012 8:40 PM, Erik Hesselink hessel...@gmail.com wrote:
The other question is how useful test suites in a released package
are. Aren't they much more useful (and used more often) in source
repositories?
Having tests available in a
24 matches
Mail list logo