#470: build fails on Linux/sparc (genprimopcode: parse error at)
---+
Reporter: arekm | Owner: nobody
Type: bug | Status: assigned
Priority: normal| Milestone: 6.4.2
#696: segmentation fault in ./genprimopcode (x86_64)
-+--
Reporter: taral | Owner: simonmar
Type: bug | Status: new
Priority: normal |
#696: segmentation fault in ./genprimopcode (x86_64)
-+--
Reporter: taral | Owner: simonmar
Type: bug | Status: new
Priority: normal |
#637: Ctrl-Break handler doesn't work in forked threads in -threaded RTS
+---
Reporter: [EMAIL PROTECTED] | Owner: simonmar
Type: bug| Status: new
Priority: normal
Something to do with Parsec, maybe?
For what it's worth, the darcs repo version of genprimopcodes compiled
with GHC 6.4 does parse the attached vore-primops.txt.
On 3/1/06, Ian Lynagh [EMAIL PROTECTED] wrote:
[ ... ]
../utils/genprimopcode/genprimopcode --data-decl
Can you tell which process is crashing? Is it the GHC process that is
interpreting Setup.hs, or the process invoked by Setup.hs to build the
package?
One thing you could try is compiling Setup.hs to a binary, and running
that instead.
Also, if you could run Setup like this and send us the
FWIW, here's the inner loop of the accumulating parameter factorial
compiled with yesterday's HEAD on x86_64, via C:
Fac_zdwfac_info:
movq%rsi, %rax
testq %rsi, %rsi
jne .L4
movq%rdi, %rbx
jmp *(%rbp)
.L4:
leaq-1(%rsi), %rsi
Ashley Yakeley wrote:
Lemmih wrote:
Did you run 'sh darcs-all get'?
Oh, that wasn't in the README. Thanks. But now I get this:
/usr/bin/ghc -H16m -O -I. -Iinclude -Rghc-timing -I../../../libraries
-fglasgow-exts -no-recomp-c System/Directory/Internals.hs -o
On Wed, Mar 01, 2006 at 12:24:17PM +, Simon Marlow wrote:
There's a ticket open on this one:
http://cvs.haskell.org/trac/ghc/ticket/470
The ticket does give more info (isSpace isn't working correctly). If
you could track this down further, that would be great.
Looks like a
Michael Marte wrote:
I am trying to turn a prototype written in Haskell into something
I can call from a Visual Studio C++ 6.0 program. (The prototype is
so clean and fast that there is no point in recoding everything.)
So I followed the instructions in section 11.5 of the ghc manual
(Building
On Wed, 2006-03-01 at 12:59 +, Ian Lynagh wrote:
On Wed, Mar 01, 2006 at 12:24:17PM +, Simon Marlow wrote:
There's a ticket open on this one:
http://cvs.haskell.org/trac/ghc/ticket/470
The ticket does give more info (isSpace isn't working correctly). If
you could
Ian Lynagh wrote:
On Wed, Mar 01, 2006 at 12:24:17PM +, Simon Marlow wrote:
There's a ticket open on this one:
http://cvs.haskell.org/trac/ghc/ticket/470
The ticket does give more info (isSpace isn't working correctly). If
you could track this down further, that would be great.
Can you tell which process is crashing? Is it the GHC process that is
interpreting Setup.hs, or the process invoked by Setup.hs to build the
package?
I suspect it is the GHC process that is invoked by Setup.hs, but I do not
have any hard evidence to support this.
One thing you could try is
Hello *,
before filing a bug report, I want others to comment on my problem.
Maybe it's my fault, not ghc's.
I wrapped up some Haskell modules in a Win32 DLL.
Loading the DLL dynamically (with LoadLibrary) works fine. However,
whether I actually use the library or not, the program (an
Simon Marlow wrote:
The configure script has mis-detected your GHC version somehow. Could
you look through the output of configure, and see what it says about
GHC?
Nothing special:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target
We demonstrate that Haskell as it is, with no TH or other
pre-processors, can rather concisely represent semi-structured
documents and the rules of their processing. In short, Haskell can
implement SXML (ssax.sourceforge.net), right in its syntax and with
the *open* and extensible set of `tags'.
There is a prototype translation of Haskell to Isabelle/HOL and
Isabelle/HOLCF written by Paolo Torrini. Unlike the Programatica
translation, it uses a shallow encoding of the type system. Constructor
classes (not available in Isabelle) are translated using theory
morphisms. Programatica is used
Ashley Yakeley wrote:
Simon Marlow wrote:
Simon I have discussed doing some form of thread-local state, which
covers many uses of implicit parameters and is much preferable IMO.
Thread-local state doesn't change your types, and it doesn't require
passing any extra parameters at runtime. It
Gerwin - I did some work on this a number of years ago for the related
language Miranda. This builds on logical renderings of Haskell (and also
Miranda). The translations are reported in
A Logic for Miranda, Revisited. Simon Thompson. Formal Aspects of
Computing, (7), March 1995.
Simon
Replying to an old thread...
Bernd Holzmüller wrote:
Could not find module `Control.Monad.Writer': use -v to see a list
of the files searched for
I just installed Visual Haskell and ran into the same problem, and the
solution I found was to right click on References in the project and
Thanks for all the replies I got, they have been helpful!
Cheers,
Gerwin
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
Jim Apple wrote:
class MyMap f a b where
myMap :: (a - b) - f a - f b
instance (Functor f) = MyMap f a b where
myMap = fmap
instance (Ord a, Ord b) = MyMap Data.Set.Set a b where
myMap = Data.Set.map
OK (I guess).
But my point was that I want to use
do notation for Sets (in
Claus,
I urge you to read our paper Understanding functional dependencies via
Constraint Handling Rules, which you can find here
http://research.microsoft.com/%7Esimonpj/papers/fd%2Dchr/.
It will tell you more than you want to know about why relaxing
apparently-conservative rules is entirely
Ross Paterson [EMAIL PROTECTED] wrote:
On Wed, Mar 01, 2006 at 08:26:14AM +, Henrik Nilsson wrote:
I'm increasingly convinced that the records should be left alone for
Haskell', possibly modulo some minor tweaks to polish the system.
Yes, no alternative candidate is available
On 28 February 2006 18:42, Jacques Carette wrote:
What *problem* are you actually trying to solve here?
The problem that 'realToFrac (0/0 :: Float) :: Double' doesn't give you
NaN, and similarly for the other special float values.
If it is
conversion between floating point types, then there
On 3/1/06, Johannes Waldmann [EMAIL PROTECTED] wrote:
But my point was that I want to use
do notation for Sets (in fact, for any kind of collection)
so I'd need the original Functor and Monad.
I understand this for Monad. Why not just redefine Functor, Oleg-style?
I couldn't use ghc's
Niklas Broberg wrote:
Ben Rudiak-Gould wrote:
Are there uses of overlapping
instances for which this isn't flexible enough?
Certainly!
Hmm... well, what about at least permitting intra-module overlap in Haskell'
(and in GHC without -foverlapping-instances)? It's good enough for many
Ben Rudiak-Gould wrote:
I think all of these problems would go away if overlap was permitted
within a module but forbidden across modules. Are there uses of
overlapping instances for which this isn't flexible enough?
I dislike this on principle. I like the idea that modules can be
On Tue, Feb 28, 2006 at 07:12:28PM -, Claus Reinke wrote:
Anyway, there is already a ticket for overlapping instances, I think --
why don't you just add to that.
that might work. apart from the fact that I really, really hate the
braindead wiki markup processor, especially when editing
On Thu, Mar 02, 2006 at 03:53:45AM -, Claus Reinke wrote:
- Mul recurses down a type in its second parameter
- types in Haskell are finite
- there is a non-terminating Mul inference
the problem is that we have somehow conjured up an infinite
type for Mul to recurse on without end!
On 2/28/06, Johannes Ahlmann [EMAIL PROTECTED] wrote:
hi,
i've noted that the new haskellwiki has dropped syntax highlighting
support for haskell code fragments. while i think that full highlighting
might be overkill, at least different color markup of code and comments
would certainly be
On Wednesday 01 March 2006 02:36, Brian Hulley wrote:
Ben Rudiak-Gould wrote:
Brian Hulley wrote:
Here is my proposed layout rule:
1) All layout keywords (where, of, let, do) must either be
followed by a single element of the corresponding block type, and
explicit block introduced by
Hello Alson,
Wednesday, March 1, 2006, 3:26:44 AM, you wrote:
AK class CollectionClass c e where
this works with -fglasgow-exts :
class CollectionClass c e where
toList :: c e - [e]
data Array i e = Array i i
instance CollectionClass (Array i) e where
toList a = []
btw, see chapter
[EMAIL PROTECTED] wrote:
I suggested:
f . g $ h x
or
f $ g $ h x
[..]
The second is just plain wrong. My reasoning is here for those who care:
http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/11256
If you want a left-associative operator, you're free to define
Benjamin Franksen wrote:
[snip]
I am used to hitting TAB key and get the correct number of spaces,
according to how I configured my editor (NEdit) for the current
language mode.
The only thing then is what happens when you type backspace or left arrow to
get back out to a previous
Christian Maeder [EMAIL PROTECTED] writes:
That should correspond to your taste as well, although someone
(ie. S.M.) proposed to disallow the dot as operator in haskell'.
From http://hackage.haskell.org/trac/haskell-prime/wiki/CompositionAsDot:
| We lose . as composition. Mostly this doesn't
On Wednesday 01 March 2006 13:35, Brian Hulley wrote:
Benjamin Franksen wrote:
[snip]
I am used to hitting TAB key and get the correct number of spaces,
according to how I configured my editor (NEdit) for the current
language mode.
The only thing then is what happens when you type
Am Mittwoch, 1. März 2006 01:26 schrieb Alson Kemp:
Although the discussion about Array refactoring died
down quickly on the Haskell' mailing list, I've been
noodling on refactoring the various Collections in
Haskell. In doing so, I've bumped into a problem with
type classes that I can't
Am Mittwoch, 1. März 2006 11:57 schrieb Benjamin Franksen:
TAB characters in program text should be forbidden by law. As well as
editors that by default insert a tab char instead of spaces.
As founding member of the church of The only good Tabbing involves Michaela,
I wholeheartedly agree.
Hawk didn't updated from GHC v4.04. It does contain dependencies on
functions that are present in my current (6.04) GHC distribution, but
they are not documented.
Those functions and constructors are (just a error log from ghc):
---
AQ.lhs:17:16: Not in scope: type
On Thu, 16 Feb 2006, Udo Stenzel [EMAIL PROTECTED] wrote:
hPutStr stdout $ foldr seq veryLongString veryLongString
There is no primitive to do this for arbitrary data types, but the
DeepSeq type class comes close. You can find DeepSeq and some more
hints on strict evaluation at
On Thu, 16 Feb 2006, Matthias Fischmann [EMAIL PROTECTED] wrote:
I wrote a module for sampling arbitrary probability distribution, so
far including normal (gaussian) and uniform.
- There is probably a better implementation out there already.
Please point me to it.
Martin Erwig and
Bulat,
BZAK class CollectionClass c e where
BZthis works with -fglasgow-exts :
Yup. Figured that out shortly after I e-mailed...
Thank you for providing the extra detail, though.
-fglasgow-exts fixed the problem, but I didn't have a
good idea why the problem went away.
Daniel,
data
Hello,
I am not familiar with the details of Hawk, but you can find STArray
in Data.Array.ST,
and the functions to read, write, and create them are 'readArray',
'writeArray', and 'newArray' (see Data.Array.MArray).
-Iavor
On 3/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hawk didn't updated
Duncan Coutts wrote:
hIDE and Visual Haskell use the ghc lexer and get near-instantaneous
syntax highlighting.
Hmm... I just installed Visual Haskell 0.1, and when I type in the editor,
CPU usage rises to about 70% and there's a noticeable delay before each
character appears on the screen.
Benjamin Franksen wrote:
TAB characters in program text should be forbidden by law.
Well... they are quite useful for lining things up if you're using a
proportional font, and I don't think proportionally-spaced code is a bad
idea. I want them to be optional. But it would be nice if parsers
Ketil Malde wrote:
Multi line comments are nice for commenting out blocks of code.
They're also nice for comments within a line. E.g. haskell-src-exts contains
the declaration
data HsQualConDecl
= HsQualConDecl SrcLoc
{- forall -} [HsName] {- . -} HsContext {- = -}
On Wed, 2006-03-01 at 22:58 +, Ben Rudiak-Gould wrote:
Duncan Coutts wrote:
hIDE and Visual Haskell use the ghc lexer and get near-instantaneous
syntax highlighting.
Hmm... I just installed Visual Haskell 0.1, and when I type in the editor,
CPU usage rises to about 70% and there's a
On Wed, 1 Mar 2006 12:35:44 -, Brian Hulley [EMAIL PROTECTED]
wrote:
The only thing then is what happens when you type backspace or left
arrow to get back out to a previous indentation?
The Borland IDEs have long supported various smart indentation
features, which can each be individually
Is there a way, in template haskell, to find out what instance declarations
exist? I'm not trying to accomplish anything specific right now, but I can
see two potential uses for this. One is to emit compile-time error messages
from TH code which would be more informative than the
50 matches
Mail list logo