* ghc -fglasgow-exts --make -shared -oHs2lib.a
/tmp/Hs2lib924498/Hs2lib.hs dllmain.o -static
-fno-warn-deprecated-flags -O2 -package ghc -package Hs2lib
-i/home/phyx/Documents/Haskell/Hs2lib -optl-Wl,-s
-funfolding-use-threshold=16 -optc-O3 -optc-ffast-math
Linking a.out ...
*** /usr/bin/ld: /tm
What is it?
A preprocessor and library which allow you to create dynamic libs
from arbitrary annotated Haskell programs with one click. It also
allows you to use the generated lib in C, C++ and C# just by including
the generated header files.
At a minimum it can be considered the inverse
Err, I mean size and alignment.
On Sat, Jul 2, 2011 at 8:03 AM, Phyx wrote:
> It's all done by the tool itself. It uses hsc2hs to calculate the
> offset and size of the structures, but generating the actual
> structures is done inside the tool itself.
>
> Regards,
> Tamar
ee, you can automatically mashall haskell datatypes into C
> structs.
>
> Are there portable libraries that do that ? Or do you do this by yourself ?
>
>
> 2011/7/1 Phyx
>>
>> What is it?
>>
>>
>> A preprocessor and library which allow you to creat
What is it?
A preprocessor and library which allow you to create dynamic libs
from arbitrary annotated Haskell programs with one click. It also
allows you to use the generated lib in C, C++ and C# just by including
the generated header files.
At a minimum it can be considered the inverse
If oktober 7th would do you can get it at
http://www.haskell.org/ghc/dist/current/dist/
http://www.haskell.org/ghc/dist/current/dist/ghc-7.1.20101007-i386-windows.e
xe
maybe a newer build would show up soon.
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org]
I'm curious, what are those minor annoying things?
-Original Message-
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of David Virebayre
Sent: Monday, August 02, 2010 13:11
To: Rustom Mody
Cc: haskell-cafe@haskell.org
Subject: Re: [Haskell-cafe]
I still like the original design on http://imgur.com/NjiVh a lot better, It has
a simple modern design to it in my opinion :)
-Original Message-
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Christopher Done
Sent: Saturday, July 17, 2010 19
Hey Daniel,
You were right, that is the correct way of doing it, I just found out the
type I was trying to print didn't have the context at that level anymore, I
had to look one position higher in the ast.
Thanks,
Phyx
-Original Message-
From: Daniel Gorín [mailto:dgo...@dc.u
July 17, 2010 14:58
To: Phyx
Cc: Andrew Coppin; haskell-cafe@haskell.org
Subject: Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site
Have you got SVG or PNG versions of those logos?
On 17 July 2010 14:54, Phyx wrote:
> Hi Chris,
> I like it, I just have 2 small observat
allery/logos/web/Windows7_v_Web.jpg
The colors I believe are much nicer on those.
Regards,
Phyx
-Original Message-
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Christopher Done
Sent: Saturday, July 17, 2010 14:32
To: Andrew Coppin
Cc: h
I understand that part, but the strings are generated from SDocs, and So
unless internally SDoc doesn't use String then I'm afraid there's nothing I
can do about that :/
Or rather, Is there a way to efficiently make CWStrings from SDocs?
Regards,
Phyx
On Tue, Jul 13, 2010 at
n Tue, Jul 13, 2010 at 3:30 PM, Magnus Therning wrote:
> On Tue, Jul 13, 2010 at 13:29, Phyx wrote:
> > Hello
> >
> > I'm wondering if anyone ever benchmarked marshalling in Haskell/GHC. No
> > matter how much I optimize my Haskell code my program still seems to ru
Hello
I'm wondering if anyone ever benchmarked marshalling in Haskell/GHC. No
matter how much I optimize my Haskell code my program still seems to run
slow, which leads me to beleive that Marshalling is painfully slow.
Does anyone know a way I can test this and fix it?
Regards,
;t get the predicates printer out
"(t_amCk, [a]) -> (t_amCk, [a]) -> (t_amCk, [a])" is what I get instead of
"Num t => (t, [a]) -> (t, [a]) -> (t, [a])"
:(
Guess I'll go take a look at hint to see if it does anything else
Cheers,
Phyx
-Original Me
I was wondering how given a Type I can get a pretty printed type out of it.
I'm currently using showSDocUnqual . pprType . snd . tidyOpenType
emptyTidyEnv
But this has the problem that predicates don't get printed, anyone know how
GHCi does this?
Tha
I was wondering how given a Type I can get a pretty printed type out of it.
I'm currently using showSDocUnqual . pprType . snd . tidyOpenType
emptyTidyEnv
But this has the problem that predicates don't get printed, anyone know how
GHCi does this?
Tha
>I've experimented with LHS, NoWeb, and NuWeb. LHS is useless -- you can
>achieve the exact same effect with standard comments. I can't figure out why
>it exists. NuWeb is nice, but immature -- I >had trouble getting it to
>generate correct output without jumping through hoops.
>NoWeb is my curr
rites. So while this might be useful for other means, It's not really
that much better in terms of performance.
Regards,
Phyx
-Original Message-
From: Thomas Schilling [mailto:nomin...@googlemail.com]
Sent: Sunday, April 18, 2010 18:21
To: Phyx
Cc: Gwern Branwen; haskell-cafe@haskell.
s for all the help,
Phyx
> I did some more digging around and it would seem that the error was being
> printed from the load call (depanal does some parsing ofcourse to find the
> imports).
>I managed to silence that using loadWithLogger (const $ return ())
>LoadAllTargets
).
That stopped it from showing part of the error, but can’t figure out what’s
showing the module name at the end. “Printf”
From: Daniel Peebles [mailto:pumpkin...@gmail.com]
Sent: Saturday, May 22, 2010 03:02
To: Phyx
Cc: Thomas Schilling; haskell-cafe@haskell.org
Subject: Re: [Haskell-cafe
Hi,
I tried that, setting it to (\_ _ _ _ -> return ()) and it still did the
same, also tried setting it to undefined to see whether the code that's
printing the error is using it, and it didn't crash
So I assume it's not.
---
*VsxParser> getModInfo True
"C:\\U
org
Subject: Re: [Haskell-cafe] making the GHC Api not write to stderr
hi,
i tried this too, but i did not get it. a very nice workaround is to use
hint [1].
have fun
martin
[1]: http://hackage.haskell.org/package/hint
On 20.05.2010 20:05, Phyx wrote:
> I was wondering how to forcibly qui
st if the API just
allowed me to turn off this behavior of writing to stderr.
From: Jean-Denis Koeck [mailto:jdko...@gmail.com]
Sent: Thursday, May 20, 2010 21:59
To: Phyx
Subject: Re: [Haskell-cafe] making the GHC Api not write to stderr
Maybe this
<http://nominolo.blogspot.com/2010/0
I was wondering how to forcibly quiet down the API. I have a custom handler
in place, but when I call the function on failure both my handler gets
called and somewhere somehow errors get printed to the stderr, which I
really need to avoid.
My current code looks like
getModInfo :: Bool -> St
I wouldn't do this because the installed tools will be written with that
elevated rights, so you can only invoke them from an elevated prompt, which
is a bit cumbersome.
-Original Message-
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Zura_
S
Right, the problem is that under windows 7 and vista the Program Files
folder if not "yours" as in you don't have direct permission to write there
without elevation.
You could go to the Haskell folder, and grand your current user full rights,
but any new tools installed will inherit the original
rce checked
but if typechecking failes, I get no information at all (an error), while I
should be able to still get the renamed source.
Any suggestions?
Cheers,
Phyx
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailm
Hi all,
I have a few questions about the GHC lexer (currently using GHC Glasgow
Haskell Compiler, Version 6.13.20100320, for Haskell 98, stage 2 booted by
GHC version 6.12.1)
And I notice that when invoking the lexer I get a few unexpected results
that I was hoping someone could clarify.
T
Ah, That's a shame :( I guess for now I'll just write the buffer out to disc
first and switch it later on if the feature gets added.
Thanks,
Phyx
-Original Message-
From: Thomas Schilling [mailto:nomin...@googlemail.com]
Sent: Sunday, April 18, 2010 18:21
To: Phyx
Cc: Gwe
return $ ApiOk True
this fails with a ghc panic
: panic! (the 'impossible' happened)
(GHC version 6.12.1 for i386-unknown-mingw32):
no package state yet: call GHC.setSessionDynFlags
Please report this as a GHC bug: http://www.haskell.org/ghc/reporta
Hi all,
I was finally able to solve this by deleting the user package.conf.d
completely. I think there was some problem with the package.cache file, It must
have gotten corrupted somehow.
Cheers,
Phyx
-Original Message-
From: Ivan Lazar Miljenovic [mailto:ivan.miljeno...@gmail.com
let modName = mkModuleName "string:internal" ß problem again, dont know
how to create the dependency graph then.
graph <- depanal [modName] True
(\a->setSession $ a { hsc_mod_graph = graph }) =<< getSession
value <- fmap typecheckedSource (typeChec
Yes I am, I'm running it all as the same user.
-Original Message-
From: Ivan Lazar Miljenovic [mailto:ivan.miljeno...@gmail.com]
Sent: Saturday, April 17, 2010 00:45
To: Phyx
Cc: 'Ben Millwood'; haskell-cafe@haskell.org; daniel.is.fisc...@web.de
Subject: Re: [Haskell-ca
the
tools as admins only, so I don't really want to continue using it like that.
-Original Message-
From: thebenmach...@googlemail.com [mailto:thebenmach...@googlemail.com] On
Behalf Of Ben Millwood
Sent: Friday, April 16, 2010 20:57
To: Phyx
Cc: Ivan Lazar Miljenovic; haskell-c
(use -v for more information)
And even if I pass it cpphs it doesn't find it. Odd, I'll try Ben's
suggestion and if not I'll just reinstall everything
-Original Message-
From: daniel.is.fisc...@web.de [mailto:daniel.is.fisc...@web.de]
Sent: Friday, April 16,
ilto:thebenmach...@googlemail.com] On
Behalf Of Ben Millwood
Sent: Friday, April 16, 2010 20:57
To: Phyx
Cc: Ivan Lazar Miljenovic; haskell-cafe@haskell.org
Subject: Re: [Haskell-cafe] ghc package problem
On Fri, Apr 16, 2010 at 2:40 PM, Phyx wrote:
> So same error. This isn't just limited
2
random-1.0.0.2
rts-1.0
template-haskell-2.4.0.0
time-1.1.4
C:\Users\Phyx\AppData\Roaming\ghc\i386-mingw32-6.13.20100320\package.conf.d:
QuickCheck-2.1.0.3
WinDll-0.1.9
cpphs-1.11
ghc-paths-0.1.0.6
haskell-src-exts-1.9.0
haskell98-1.0.1.1
mtl-1.1.0.2
r
ind-module "Language.Haskell.Exts"
C:/msys/1.0/local\lib\package.conf.d:
C:\Users\Phyx\AppData\Roaming\ghc\i386-mingw32-6.13.20100320\package.conf.d:
haskell-src-exts-1.9.0
So it should be able to find it.
I'm using a snapshot of GHC 6.13
$ ghc -v
Glasgow Haskell Compiler, Version 6.13
10 13:36
To: haskell-cafe@haskell.org
Cc: Phyx
Subject: Re: [Haskell-cafe] ghc package problem
Am Freitag 16 April 2010 11:28:54 schrieb Phyx:
> Hi all,
>
>
>
> I'm having a rather weird problem,
>
>
>
> Ghc-pkg list shows a package installed but doing a ghc -make will
Hi all,
I'm having a rather weird problem,
Ghc-pkg list shows a package installed but doing a ghc -make will give an
error saying that It can't find a module that's supposed to be in the
installed package.
And cabal install always reinstall all the dependencies on every change. It
doesn
tance Foo Int# Int where
bar = iBox
Regards,
Phyx
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
tance Foo Int# Int where
bar = iBox
Regards,
Phyx
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
43 matches
Mail list logo