I am not able to compile using -fllvm.
Macintosh-0026bb610428:tmp mukesh$ ghc-7.4.1 -fllvm Hello.hs
/var/folders/b9/87kwc2nj7xd2qjt996h3635cgq/T/cc-btI6Vk.s:201:2:
error: instruction requires a CPU feature not currently enabled
jmpl *%eax ## TAILCALL
^
serialhex wrote:
Heinrich Apfelmus wrote:
I'm not so sure about the soon part, but yes, using FRP to make music is
part of the plan.
you know, i've been thinking about this recently, and while i need more
haskell skillz if i want to do some sound synthesis, i think it would be
really spiffy
On Fri, Feb 10, 2012 at 5:31 AM, Evan Laforge qdun...@gmail.com wrote:
You can also enforce invariants, etc. It would be a shame to have a
nice record update syntax only to be discouraged from using it because
it would tie you too tightly to the current shape of the data
structure. There
On 10 February 2012 12:06, Henning Thielemann
lemm...@henning-thielemann.de wrote:
I have uploaded three packages to Hackage that shall simplify maintaining
cabal packages under darcs revision control. They simplify tasks like
uploading packages after some tests, cabal version handling,
On Fri, 10 Feb 2012, Duncan Coutts wrote:
Would you mind giving me a breif explanation of the compiling
multiple local packages in the right order feature? I'd like to
understand what is missing in cabal-install in this respect.
Currently with cabal-install you can say:
cabal install ./a ./b
On 10 February 2012 14:00, Henning Thielemann
lemm...@henning-thielemann.de wrote:
On Fri, 10 Feb 2012, Duncan Coutts wrote:
Would you mind giving me a breif explanation of the compiling
multiple local packages in the right order feature? I'd like to
understand what is missing in
Hello, cafe!
I have somq questions about proper conduit usage in some usecases,
I can't find a good way to solve this problems
1). adding additional source to conduit processing [1]
Sometimes I want to run a Source and send use it to produce output
e.g.
have something like:
runSource ::
On Fri, 10 Feb 2012, Duncan Coutts wrote:
I wonder if you have any suggestions for UI changes/improvements for
cabal-install for working with related sets of local packages
(something it's fairly weak on at the moment). Are there things in
cabal-sort you think we should just lift directly into
I just thought about something: basically all these APIs provides a IO
[a] (where a is a randomly generable type) function.
Is there a problem with the approach that is to rely on lazy evaluation to
pass to pure code (either explicitely or through State) the infinite list
generated in IO and
On Fri, 10 Feb 2012, Henning Thielemann wrote:
On Fri, 10 Feb 2012, Duncan Coutts wrote:
I wonder if you have any suggestions for UI changes/improvements for
cabal-install for working with related sets of local packages
(something it's fairly weak on at the moment). Are there things in
Hi Carter
Yes both of these packages gloss-1.6.1.1 , OpenGL-2.5.0.0 (
http://hpaste.org/63397 ) are installed on my system.Could you please
tell me how did you resolve the issue.
Regards
Mukesh Tiwari
On Feb 10, 12:11 pm, Carter Schonwald carter.schonw...@gmail.com
wrote:
It may be a problem
/Users/mukesh/.ghc/i386-darwin-7.4.1/package.conf.d
you need the 64bit version of ghc on mac, not the 32 bit one, by default
all mac libs are 64 bit so this yields problems when linking to c libs
On Fri, Feb 10, 2012 at 10:58 AM, mukesh tiwari
mukeshtiwari.ii...@gmail.com wrote:
Hi Carter
On 10.02.2012 18:38, Yves Parès wrote:
I just thought about something: basically all these APIs provides a IO
[a] (where a is a randomly generable type) function.
Is there a problem with the approach that is to rely on lazy evaluation
to pass to pure code (either explicitely or through State)
Hi,
I've written a program that converts an XML file from a database into
another XML compatible with another database. Quite standard.
I'm using the mtl library for State and HaXml for XML parsing.
Is it possible to compile this program into a single static binary that
works on all Linux
It's more like Seed → [a]. IO is not really needed here.
You're absolutely right. I stand corrected.
1. One may want to generate values of different types and/or distibutions.
Yes, I saw this limitation before. But you can just generate one infinite
list (and then one seed) per distribution,
On Thu, Feb 9, 2012 at 10:03 PM, Donn Cave d...@avvanta.com wrote:
Quoth Evan Laforge qdun...@gmail.com,
On Thu, Feb 9, 2012 at 12:49 PM, Donn Cave d...@avvanta.com wrote:
...
For example, in a better world you could write stuff like
modifyConfig :: (Config - a) - (a - a) - Config - Config
Hi Carter
Thank you for reply. My mac is 32 bit ( I remember having some issue
with ghc-7.2.1 64 bit on 32 bit machine but probably that was on
Linux ). I will give it a shot.
Macintosh-0026bb610428:tmp mukesh$ uname -a
Darwin Macintosh-0026bb610428.local 11.3.0 Darwin Kernel Version
11.3.0: Thu
I've got the same problem on Debian 6 with a program compiled on Debian 7.
Apparantly problem arises from differencies between libc versions: the
newer one uses file /usr/lib/x86_64-linux-gnu/gconv/gconv-modules,
which isn't available on the older. You can see it with strace.
On Fri, Feb 10,
On Fri, Feb 10, 2012 at 13:38, mukesh tiwari
mukeshtiwari.ii...@gmail.comwrote:
Hi Carter
Thank you for reply. My mac is 32 bit ( I remember having some issue
with ghc-7.2.1 64 bit on 32 bit machine but probably that was on
Linux ). I will give it a shot.
Macintosh-0026bb610428:tmp mukesh$
To understand how liftM2 achieves the cartesian product, I think
one way is to find liftM2's implementation and (=) implementation
as part of []'s instantiation of the Monad class.
You can find the first in Control.Monad, and the second in
the standard prelude.
Lists are monads, and as John
ok, this is because i think you need a stand alone LLVM backend because ghc
7.4 provides some vectorization stuff that
dph uses, and so i'd suggest installing llvm on its own, or maybe its that
dph calls llvm tools as its compliling?
eg
brew install llvm
because if you look in cabal file
Hi,
Is it common to use happstack-state without happstack for
real-world code (web or otherwise)?
Thanks,
amindfv / Tom
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
Am Freitag, den 10.02.2012, 18:21 +0100 schrieb Morten Olsen lysgaard:
I tried with:
ghc --make -static -rtsopts=all -optl-pthread -optl-static Program.hs
When I copy the binary created over to my x86_64 Ubuntu 11.10 desktop
and run it I get:
Program: mkTextEncoding: invalid argument
On Fri, Feb 10, 2012 at 3:56 PM, Tom Murphy amin...@gmail.com wrote:
Hi,
Is it common to use happstack-state without happstack for
real-world code (web or otherwise)?
The package 'acid-state' is considered the successor to
happstack-state, and it doesn't include 'happstack' in it's name
On 10/02/2012 03:22, Donn Cave wrote:
modifyRecord :: RecordType r = (a - a) - (r - a) - r - r
data Config { tempo :: Int, ...}
f = modifyRecord tempo (+20)
I'm hoping I missed something, and that you don't intend the (r - a)
part of this in particular to be taken literally.
25 matches
Mail list logo