I've got haskell mode working with Emacs and ghc, this works okay, though
the mode seems a little rough-edged, and the indentation appears slightly
wonky at times.
Bug reports welcome,
Stefan Haskell-mode maintainer
___
Haskell-Cafe
Hello Donald,
Friday, October 21, 2005, 5:52:32 AM, you wrote:
DBS Ok, so a rough structure of the final lib would be:
DBS DataData System
DBS | | |
DBS ByteArray (?) PackedString Posix
DBS
On 21 October 2005 02:36, John Meacham wrote:
I think a lot of benefit can be had by making ForeignPtr a product
type rather than a union one. being able to unbox it in constructors
and opening it to CPR analysis is key for tight inner loop code which
pointers will most definitly be involved
On 20 October 2005 14:03, Gracjan Polak wrote:
$ ghc --make THTest1.hs
Chasing modules from: THTest1.hs
Skipping THTest1TH( ./THTest1TH.hs, ./THTest1TH.o )
Compiling THTest1 ( THTest1.hs, THTest1.o )
Loading package base-1.0 ... linking ... done.
Loading package
Folks, ideas on this? It's a major showstopper for me since it
prevents me from deploying the Haskell app for my customer :(.
Thanks, Joel
On Oct 19, 2005, at 5:06 PM, Joel Reymont wrote:
This fails also but the C call to getprotobyname succeeds.
Prelude Network.BSD.getProtocolByName
On 21 October 2005 02:53, Donald Bruce Stewart wrote:
john:
On Thu, Oct 20, 2005 at 10:45:28AM +0100, Simon Marlow wrote:
I think when this is ready it should replace Data.PackedString.
I don't necessarily mean put it into fptools/libraries/base - we
could just remove the existing
Please try the updated installer for 6.4.1. I believe this is caused by
the same bug in the dynamic linker that was fixed in the update. At
least, I can reproduce your bug with the 6.4.1 installation I have, but
not with a fresh build.
Cheers,
Simon
On 21 October 2005 13:20, Joel
Folks,
I stumbled upon this when binding the Zlib library and want to make
sure I'm doing this right.
foreign import ccall unsafe uncompress uncompress_ ::
Ptr Word8 - Ptr CULong - Ptr Word8 - CULong - IO CInt
You give this function the address of your size as second argument
and it
Is there a particular reason why StablePtr cannot provide a fixed
memory address? Then 4 bytes of memory won't need to be allocated so
that C could write to them and C could just modify the Haskell variable.
On Oct 21, 2005, at 3:17 PM, Simon Marlow wrote:
yes, something like
with $
I don't really have the time, but here's some debugging
code that'll maybe help diagnosing why/if WinSock is failing
to start up:
- compile the attached initws.c via ghc,
foo$ ghc -c initws.c
- run some tests
foo$ ghc -package net IWS.hs initws.o -e initWS 1 1 = print
foo$ ghc
On Oct 21, 2005, at 4:22 PM, Stefan Monnier wrote:
You mean you'd like
data TableInfo = TableInfo {
avgPot :: Double,
No, I would actually like to offset avgPot 4 spaces from TableInfo.
which is much better. I'd personally prefer
case findprop attr
| $ ghc --make THTest1.hs
| Chasing modules from: THTest1.hs
| Compiling THTest1TH( ./THTest1TH.hs, ./THTest1TH.o )
| Compiling THTest1 ( THTest1.hs, THTest1.o )
|
| THTest1.hs:10:4: `incrSelf' is not a (visible) method of class
`IncrSelf'
This is definitely a bug. I'll look
On 10/21/05, Joel Reymont [EMAIL PROTECTED] wrote:
On Oct 21, 2005, at 4:22 PM, Stefan Monnier wrote:
You mean you'd like
data TableInfo = TableInfo {
avgPot :: Double,
No, I would actually like to offset avgPot 4 spaces from TableInfo.
Can I throw a vote
On Oct 21, 2005, at 5:54 PM, J. Garrett Morris wrote:
Can I throw a vote in for handling
data T = T { granularity :: (Int, Int, Int, Int)
, items :: Map (Int, Int, Int, Int) [Item] }
How is this supposed to align? It aligns like this for me.
Thanks, Joel
--
Hello Simon,
Friday, October 21, 2005, 4:25:11 PM, you wrote:
Ok, so a rough structure of the final lib would be:
DataData System
| | |
ByteArray (?) PackedString Posix
Hello All,
I am asking help with using QuickCheck. I tried everything I could think
of, but invariably as soon as I start invoking the quickCheck function
on my property it fails with
*Data.FingerSearchTreeUtil
Top level:
No instance for (Show (IO ()))
arising from use of `print' at
Benjamin Franksen wrote:
I am asking help with using QuickCheck. I tried everything I could think
of, but invariably as soon as I start invoking the quickCheck function
on my property it fails with
No instances for (Arbitrary (OrdSeq Int), Show (OrdSeq Int))
You need to define an
On Fri, Oct 21, 2005 at 07:58:10PM +0200, Benjamin Franksen wrote:
I am asking help with using QuickCheck. I tried everything I could think
of, but invariably as soon as I start invoking the quickCheck function
on my property it fails with
interactive:1:0:
No instances for (Arbitrary
John Meacham wrote:
We should make 'PackedString' the UTF8 wrapper though and provide
Data.ByteArray as a separate library.
What exactly would an UTF8 wrapper do? Would it have a different
interface than a list (cons/nil/null/head/tail) and how would that be
implemented? If not, why isn't a
On Friday 21 October 2005 20:14, Udo Stenzel wrote:
Benjamin Franksen wrote:
I am asking help with using QuickCheck. I tried everything I could
think of, but invariably as soon as I start invoking the quickCheck
function on my property it fails with
No instances for (Arbitrary
On 2005-10-21, Udo Stenzel [EMAIL PROTECTED] wrote:
--===1618538460==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol=application/pgp-signature; boundary=vGgW1X5XWziG23Ko
Content-Disposition: inline
--vGgW1X5XWziG23Ko
Content-Type: text/plain; charset=us-ascii
On Friday 21 October 2005 20:24, Andrew Pimlott wrote:
On Fri, Oct 21, 2005 at 07:58:10PM +0200, Benjamin Franksen wrote:
I am asking help with using QuickCheck. I tried everything I could
think of, but invariably as soon as I start invoking the quickCheck
function on my property it fails
On Fri, Oct 21, 2005 at 09:09:41PM +0200, Benjamin Franksen wrote:
Many thanks! I wish I had remembered that I had this kind of problem
before: ghc reports two errors, of which the /second/ one is the 'real'
problem and the first one is just a by-product.
The case in your original message is
On Fri, Oct 21, 2005 at 03:19:36PM +0100, Joel Reymont wrote:
Is there a particular reason why StablePtr cannot provide a fixed
memory address? Then 4 bytes of memory won't need to be allocated so
that C could write to them and C could just modify the Haskell variable.
because haskell
kr.angelov:
2005/10/19, Simon Marlow [EMAIL PROTECTED]:
On 19 October 2005 01:08, Donald Bruce Stewart wrote:
Ah!! So what's going on on Linux, I wonder. Could it be something
about
6.4.1? Are we seeing the difference between ForeignPtrs from 6.4 to
6.5? I will investigate.
I
simonmar:
On 21 October 2005 02:53, Donald Bruce Stewart wrote:
john:
On Thu, Oct 20, 2005 at 10:45:28AM +0100, Simon Marlow wrote:
I think when this is ready it should replace Data.PackedString.
I don't necessarily mean put it into fptools/libraries/base - we
could just remove the
26 matches
Mail list logo