e to install Nix once.
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
ectively
> choose an older toolchain for compatibility purposes, bug 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
__
e else can give you a more accurate answer.
Sincerly
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> 2. There is only one RTS linker with a single symbol table. 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
e same instance due 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.h
. 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
ecome some "old deep" knowledge as it is
burried in autotools now ?
Anyway implementing this would be a lot of work put might pay 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?
Wh
nd having one working clone and one for browsing.
Than you need two clones, but not n (you would have to mantain with
darcs..)
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 th
tomaticaly so that git pull will rebase 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 some
> 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 mail
pbranchname
Or you could write a two line sh script writing all 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
__
= man git-log (more convinient to type)
The only execption: git-clone doesn't work in all cases, git 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
On Tue, Aug 12, 2008 at 03:17:59PM -0400, Isaac Dupree wrote:
> Thomas Schilling wrote:
> > I encourage everyone to add useful tips and examples both from users who
> > already use Git and later on, once we have gathered more experience. I
> > believe that Git has some features which can improv
cache yet
which 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
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-paramet
e recent ghc 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
> "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
___
sers / resulting abstract syntax tree is suited
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
__
le name?
Don't know about these modules:
> 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
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 there
ng kind 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 patc
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 mailing
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 t
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 t
[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-pkg-
tor `M' (3)
main.hs:7:12: Not in scope: `.!.' (4)
Calling M.f (1) works fine whereas calling M.(.!.) results in the error
messages.
Is possible somehow? Can I find more information in the ghc docs?
Marc Weber
___
Glasgow-haskel
"))) (VarE GHC.Base.++) (Just (AppE (VarE show) (SigE
(VarE 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
On Thu, Mar 15, 2007 at 07:11:16PM +0100, Daniel Fischer wrote:
> Hi,
> I'm trying to install a ghc on a sidux box (something akin to debian, I
> believe). apt-get install seemed to work, but running ghc results in:
> /usr/local/lib/ghc-6.6/ghc-6.6: error while loading shared libraries:
> librea
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
> script
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:
*
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#id3
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 t
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? Lets
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
___
ed 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
___
Gl
> 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.
> 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 co
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
___ _
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
> > 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 -> [S
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 doe
> 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
:xs) = ([],xs);
> myBreak (x:xs) = let (a,b) =
> myBreak xs
>in (x:a,b)
Marc Weber
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
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 ([1]http://www.haskell.org
> $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/.
> > $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, ...
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 deve
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
Glasgow-haskell-users@haskell.or
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 "." be
forall c. (C c, Show c) => 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
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])
I've tried building ghc with
make all; make install
But when compiling one of my programs I get
GHC stage restriction: `view'
is used in a top-level splice, and must be imported, not
defined locally
What did I do wrong?
Marc
___
Glasgow-haskell-users
56 matches
Mail list logo