other way.
The other 2 definitions don't even compile.
I posted two new type-signatures and two new definitions. I'm quite
sure the right combination would work.
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
(shiftIP ptr)
shiftMyIP ip = unsafePerformIO . alloca $ \ptr - poke ptr ip peek
= (shiftIP ptr) or
shiftMyIP ip = unsafePerformIO . alloca $ \ptr - poke ptr ip
shiftIP ptr peek ptr
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell
occurred.
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
of it, I
didn't want to start something on my own if that is the case...
This is pretty much that the GHCi debugger does expect it restores the
environment at the end of a breakpoint.
If you have GHC-6.6 or greater, try: let n = 2 in GHC.Base.breakpoint ()
--
Cheers,
Lemmih
really pay more attention.
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
GHC.Prim.eqWord# (GHC.Prim.and# __word 4294901760 ww_sIw) __word 0
of wild21_XHW {
GHC.Base.False - __word 2; GHC.Base.True - __word 0
}
}
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http
flags. They cannot be turned on after
GHC starts processing the file.
See
http://www.haskell.org/ghc/docs/latest/html/users_guide/static-dynamic-flags.html
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http
://www.cse.unsw.edu.au/~dons/code/hs-plugins/scripts/Setup-with-ghc.lhs
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
creeps in everywhere.
Also may things are easy to program via foldl.
I wonder how to avoid these numerous cost pitfalls.
Maybe, the complier could do more optimization?
How about using 'foldr'?
--
Cheers,
Lemmih
___
Glasgow-haskell-users mailing list
changing Data.Bits at all (crypto defines
Word128, Word192 and Word256 which are instances of Bits).
--
Cheers,
Lemmih
crypto: http://www.haskell.org/crypto/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org
it.
Conjure (a bittorrent client) is using STM quite heavily. It isn't
usable as a whole but it has some interesting parts.
Darcs repository: http://darcs.haskell.org/~lemmih/conjure/
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow
++ : is a class
expectOneName [x] = x
expectOneName [] = error $ No such symbol in plugin: ++ symbol
expectOneName _ = error $ Ambiguous symbol in plugin: ++ symbol
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
:
http://darcs.haskell.org/hIDE/packages/hidePlugin/src/Hide/Plugin/LoaderMidLevel.hs
There isn't much to test yet, unfortunately.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org
On 5/5/06, Geoffrey Alan Washburn [EMAIL PROTECTED] wrote:
Lemmih wrote:
On 5/4/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote:
geoffw:
I have an application written in OCaml that I'm interested in
porting over to Haskell, and I was wondering what the best way
to replace
= x + 1
Prelude GHC runStmt session add1 2
3
Prelude GHC :q
Leaving GHCi.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On 5/4/06, wld [EMAIL PROTECTED] wrote:
Hi,
On 5/4/06, Lemmih [EMAIL PROTECTED] wrote:
You can also use the GHC library:
Prelude :m GHC
Prelude GHC GHC.init (Just /home/david/coding/haskell/ghc/usr/lib/ghc-6.5)
Prelude GHC session - newSession Interactive
Prelude GHC setSessionDynFlags
Implementing 'dot' without the 'while' loop and STRefs will make it
shorter and faster, btw.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
arguments, and, since that's fairly rare, wouldn't give Joe
Hacker any noticeable speed up.
Are we at the end of what we can get without whole-program
optimizations or are there other optimizations that apply to C--
representing a lazy PL?
--
Friendly,
Lemmih
On 2/28/06, Ashley Yakeley [EMAIL PROTECTED] wrote:
I'm trying to build GHC from source. But the ghc repository at
http://darcs.haskell.org/ghc seems to be missing ghc/lib/compat/Cabal?
Did you run 'sh darcs-all get'?
--
Friendly,
Lemmih
?
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On 2/24/06, Bulat Ziganshin [EMAIL PROTECTED] wrote:
Hello Lemmih,
Friday, February 24, 2006, 1:15:51 PM, you wrote:
clean differs from Haskell in support of unique types and strictness
annotations. the last is slowly migrates into GHC in form of shebang
patters, but i think
username
- type your password when prompted
- let me know when you've done this
Done.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
called main? Does ghc
-fglasgow-exts --make Main -o exec work?
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
a profiling version of the library and not being able to
rebuild it easily is a bit limiting.
* GHCi compatibility.
hIDE is currently using ghc-api[1] because the real library exports
symbols that clashes with GHCi.
--
Friendly,
Lemmih
[1] ghc-api: http://scannedinavian.com/~lemmih/ghc-api
at all. Just pass
--enable-library-profiling to the setup script when you're configuring
the library.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell
-options for profiling options.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
to the author.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
at
research.microsoft.com/~simonpj/papers/stm/stm.ps, if you haven't
already.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_a lot_
prettier when using the layout to structure the program.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
?) and I was wondering how to solve this nicely.
Any hints or pointers would be greatly appreciated.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On Fri, 25 Feb 2005 18:27:03 +, Duncan Coutts
[EMAIL PROTECTED] wrote:
On Fri, 2005-02-25 at 19:05 +0100, Lemmih wrote:
Greetings fellow Haskellers and other readers,
During my ongoing research on doing whatever I feel like, I
discovered that using C++ libaries in GHCi (no problems
to overcome the name mangling (extern C functions calling C++,
nothing fancy). Is there a way to make that more GHCi friendly or
should I explore other options?
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http
be
evaluated since it's not necessary for the function to terminate.
Check 'replicateM_' from Control.Monad.
runNReps :: Int - IO a - IO ()
runNReps = replicateM_
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users
from CVS because I cabalized it on my own
before realizing others had already done it.
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
in the package database
format? I haven't been following all this, so I am a bit at
a loss what to do.
Has anyone else managed to install HaXml successfully? Any
advice?
Peter
--
Friendly,
Lemmih
___
Glasgow-haskell-users mailing list
Glasgow
36 matches
Mail list logo