.
Get in touch if you want to see a demo.
You can find more info and links on the haskell wiki.
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
hunting,
etc.
Have a look at hack-nix. However only recent ghcs are supported well.
This means you have to install the Nix package manager. (-
www.nixos.org).
http://github.com/MarcWeber/hack-nix
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow
. This is
the problem you ran into. There's no workaround that I'm aware
of.
Are there already bug tracker items for these two problems?
I've tried finding them but didn't succeed. This would be a fast way to
document this issue even if its unlikely to be fixed soon.
Marc Weber
to some global state IORefs or such.
But I'd appreciate hearing that this changed recently.
My knowledge can be outdated.
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo
this. But restarting ghc multiple times wastes resources..
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
of one
day. Of course this applies not only to haskell systems..
Hopefully it will not result in breakages occur more often because they
will become cheaper?
What do you think?
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell
clone does
(?)
(Don't ask me why)
maybe
git show commit-id:file is of interest as well (you told about git show)
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo
hashes to a
temp file etc..
If you just start gitk it will keep all hashes in memory.. so you can
recover from those as well (unless using the update menu item or running
the garbage collector)
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Using merge you also get a more accurate reflection of the project
history, i.e. you can see that the two branches were being developed
independently.
Timestamps will be preserved so not all information is lost..
Marc
___
Glasgow-haskell-users
or merge depending on your
settings (AFAIK)
So if you have an active project you end up having dozens of remote
branches but only some heads you are working on or you want to backup
(in case someone else rewrits history or such)
HTH
Marc Weber
___
Glasgow
..)
Why do you want to switch for a minute? There are tools such as gitk/
qgit letting you browse the repository (and all file contents) without
switching. I don't think that recompilation is a real issue.
Marc Weber
___
Glasgow-haskell-users mailing list
remembers conflict resolutions automatically.
It works best on orthogonal branches of course :)
Read about Linus complaint in man git-rerere to find out why I've
written this script
Sincerly Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell
On Sat, Jun 28, 2008 at 01:00:17PM -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jun 28, at 12:32, Tyson Whitehead wrote:
What do people think about implicit function argument?
http://www.haskell.org/ghc/docs/latest/html/users_guide/other-type-extensions.html#implicit-parameters
for bootstrapping than
ghc-6.4.
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
to add some import statements? Or do you suggest hacking my own fuzzy
approach?
Is it easy to explain the main difference between your output and the
output produced by the GHC parser?
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow
GHC API should preserve and provide access to comments
http://hackage.haskell.org/trac/ghc/ticket/1886
What does this lead to?
Introspection? So you can get haddock comments from ghci?
This would be interesting
Marc Weber
___
Glasgow-haskell-users
Hi.
I'm totally puzzled:
ghc-pkg describe ghc shows BitSet as exposed module.
When grepping the whole ghc source code the only occurance I can find is
in the package.in file for the ghc package.
But that't it
Trying to load it using GHC-api or ghci fails ?
Is this module depreceated and only
:
Java
JavaGen
PrintJava
Does anyone know?
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
of
pipe sending events/ commands replies..)
But maybe you can think of someting easier ?
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Hi Ian,
thanks for your feedback.
I should have taken more care.
change line 198
let (tokenLines :: [[Token]]) =
to
let tokenLines
May I ask you to (amend-)record it?
I don't mind wether darcs lists me as author of this tiny minor fix.
Or is it easier for you to apply another
Now there is
http://mawercer.de/hasktags_patch3
(fixed exhausted pattern match when processing literate haskell files)
No aborts while tagging the core libraries, some extra libraries and
HAppS libs. (45 packages tested)
___
Glasgow-haskell-users
Hi Simon,
thanks for pointing me to the ticket (therby telling me that hasktags
was not really usable before ?). The ticket can be marked as fixed now I
hope.
I've tried enhancing it but I don't know wether it still finds
everyting in all cases. So more testing is needed.
I've included a small
I've hacked on hasktags again
http://mawercer.de/hasktags.hs
I'd like to merge changes into the ghc distribution or ask someone to do
so.
changes:
a) full qualified module names are added as well now
b) hack: removed empty tokens so that getcons finds
[..] rqBody::
See
http://hackage.haskell.org/trac/hackage/ticket/207
Discussion takes place on haskell-cafe
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Hello!
I've noticed an odd display problem with ghci and vim. The problem occurs
with ghci-6.6 and vim-6 on Mac OS X 10.4.9 (Terminal.app and uxrvt in
X11.app) and with ghci-6.2.2, ghci-6.6.1 and vim-7.0 on OpenBSD 4.1 (via
PuTTY from Windows).
1 - Resize your terminal window to 40
[EMAIL PROTECTED] /pr/source/wxh/wxhaskell-0.9.4 $ ghc-pkg-wrapper-6.6.1
unregister wx
ghc-pkg: cannot find package wx
[EMAIL PROTECTED] /pr/source/wxh/wxhaskell-0.9.4 $ ghc-pkg-wrapper-6.6.1
describe wx
name: wx
version: 0.10.1
license: AllRightsReserved
[...]
What does happen here?
GHC.Err.undefined) (ForallT [d_1] [] (VarT d_1))) [
*ABC Language.Haskell.TH
Now
(ForallT [d_1] [] (VarT d_1)
should be
(ForallT [] [] (VarT d_1)
shouldn't it?
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
On Wed, Mar 14, 2007 at 11:18:20AM +, Simon Marlow wrote:
We already have support for man pages, I think we should try to avoid
duplication here. If your GHC man page is installed correctly, then 'man
ghc' should give you a nice consise list of options (see attached file, and
scripts
Hi
I did notice a lot of times that I just didn't remember the name of
option X. How to look it up? Walk through html or pdf documentation?
This forces me launching either firefox, entering shortcut odocghc
(pointing to ghc help) ... HTML help ... flag reference .. which
subtopic to look at?
The description of the -M option looks like this:
-M Generate dependency information suitable for use in a Makefile.
(copied from
http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3152912)
It should contain the hint that it writes this information to a Makefile.
I'm
On Tue, Mar 13, 2007 at 02:37:09PM +0100, Marc Weber wrote:
The description of the -M option looks like this:
-M Generate dependency information suitable for use in a Makefile.
(copied from
http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3152912)
It should
On Tue, Mar 13, 2007 at 01:57:10PM +0100, Marc Weber wrote:
Hi
I did notice a lot of times that I just didn't remember the name of
option X. How to look it up? Walk through html or pdf documentation?
Just printing a link to ghc online docs is not enough because:
* maybe no internet
Is there a way to ask ghc-pkg to list all availible packages found in
the user lib or system lib or lib given by path? If I have read the
documentation corretly it says: no.
Is there any reason for this restriction?
Can I query ghc-pkg to list pgk-config files (user/ system)?
mfg
Marc
by DrIft. They can be used as reference
as well (I think many haskell programmers dive into source when looking
at some library features ? At least I do)
Or is there already an option to register arbitrary files along with a
package?
Marc Weber
___
Glasgow
l1 = 2 .*. 3 .*. abc .*. (Just 4) .*. HNil
hlistTest = do
print $ 2 .*. HNil
print $ (hOccursMany l1 :: [Maybe Int])
[EMAIL PROTECTED] /pr/haskell/test/HList $
I should have used HCons instead of .*. which is bound to HExtend. (but
also to HCons in another module) ...
Then it compiles
some simple fix that would make code generated by GreenCard work, or is there
some alternative tool that will make it work? What's the status of C2HS?
c2hs seems to be quite stable. It's used in gtk2hs which exists for a
long time now. c2hs is one way only. There is yet another tool: hdirect.
I didn't knew about :ctags of ghci.
Some time ago I've tweaked cabal to start ghci with package options
given in the .cabal file.
Perhaps it might be useful for someone:
module Main where
import Distribution.Simple
import Distribution.Simple.Configure
import Distribution.Simple.LocalBuildInfo
I'm trying to learn more about HList.
While setting up a small test application I got the following error..
ghc(i) tells me to add -fallow-incoherent-instances but doesn't
recognize it ?
Is this a bug?
[EMAIL PROTECTED] /pr/haskell/test/HList $ ghci -package HList HListTestMain.hs
___
154c154
let wordlines = map words aslines
---
let wordlines = map mywords aslines
161a162,174
-- my words is mainly copied from Data.List.
-- difference abc::def is split into three words instead of one.
mywords :: String - [String]
Without really knowing in which context this function is going to be
HaskTags.hs from ghc distribution.
Marc
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
How to track this error down?
When not using cabal adding OldNew.hs to the include path everything is
fine
--- command run --
$ rm -fr dist; cWC; cat MW/OldNew.hs; ghc --show-iface dist/build/MW/OldNew.hi;
cd testapp/; cat test.hs; ghc -package mwutil --make test.hs' /tmp/f
cWC does
[] = ([],[])
myBreak (':':':':xs) = ([],
::++xs)
myBreak (' ':xs) = ([],xs);
myBreak (x:xs) = let (a,b) =
myBreak xs
in (x:a,b)
Marc Weber
On Wed, Jan 10, 2007 at 09:24:40PM +, Fernand Lacas wrote:
Hello,
This is my first post on this mailing list and I hope it will not be
too off-topic.
My point is that I have worked a little on the porting of the last
(0.21) version of HDirect
$ghc-pkg --where-from ParseError
package parsec: defining modules: Text.ParserCombinators.Parsec.Error,
Text.ParserCombinators.Parsec
?
This is what I've done by now... It took me some days to notice that the
./ghc-pkg symlinks to ghc-pkg-6.5 which calls the ghc-pkg from /usr/lib/...
Has somene already implemented something like:
$ghc-pkg --where-from ParseError
package parsec: defining modules: Text.ParserCombinators.Parsec.Error,
Text.ParserCombinators.Parsec
?
lambdabot @index does what I want, but not with my libs installed only
locally..
This might be used by any
$ghc-pkg --where-from ParseError
package parsec: defining modules: Text.ParserCombinators.Parsec.Error,
Text.ParserCombinators.Parsec
Have you tried Hoogle?
http://haskell.org/hoogle/
I know it. But I don't know yet which source it takes (haskell - source,
haddck html files, ...) ?
My
There is already lines.
Why not generalise it to take an additional parameter '\n' and call it
split or splitBy?
There are some cases where you want to split a list not on '\n'.
Marc
___
Glasgow-haskell-users mailing list
I'm not sure on which mail of this thread I should append MHO.
What happens if two programmers happen to choose the same package
name? (Prepend the location on the filesystem? ;-)
If something like a package name is introduced I would prefer not
separating package and module name with a .
) = CObj c
deriving (C) ?
-
?
Or is this already possible?
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
On Thu, Apr 20, 2006 at 10:35:20PM +0100, Simon Peyton-Jones wrote:
Currently
-fglasgow-exts
implies
-fth
That is, you get Template Haskell if you specify -fglasgow-exts. The
trouble is that if you don't know about TH, then the error messages can
be deeply strange, as Marc
On Mon, Apr 17, 2006 at 01:20:34PM +0200, Marc Weber wrote:
GHC stage restriction: `view'
is used in a top-level splice, and must be imported, not
defined locally
The solution was to change
where elemFromList = listToMaybe $ drop 1 $(dropWhile (/= view) $ (xs++[x]))
into :
where elemFromList
51 matches
Mail list logo