On Wed, Feb 21, 2007 at 02:14:10AM +0100, Marc Weber wrote:
> > > 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
[cc-ed to libraries, as they seem to be more appropriate for cabal topics]
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:
yes, i'd like to see something like this in cabal. cf also
http://www.mail-archive.
if we're talking interim solutions, also try something like:
echo ":ctags" | ghci -v0 Main.hs
And some more programming actually gave me that good reason once
again: the given ghci command only gives tags for exported definitions.
This just plain sucks for any reasonably sized module. :)
tru
On 21-feb-2007, at 16:15, Claus Reinke wrote:
Yes, there's Norman Ramsey and Kathleen Fisher's partial hasktags
implementation on top of the GHC API:
http://hackage.haskell.org/trac/ghc/ticket/946
I think incorporating small fixes to the existing hasktags in the
meantime is fine, though. W
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
I meant http://vim-taglist.sourceforge.net/ which provides a neat
interface and some extra convenience. It is somewhat dependent on
exuberant ctags.
thanks for the pointer. it also seems to depend on rerunning ex-ctags
on a file every time a buffer on it is opened (possibly also when the file
On 21-feb-2007, at 20:18, Claus Reinke wrote:
The good reason is that you do not actually want to have to specify
all the options that you need to get your program to compile, merely
to get tag information. To generate the tags for dazzle using ghci
I need to use
echo ":ctags"| ghci -v0 Main.hs
The good reason is that you do not actually want to have to specify
all the options that you need to get your program to compile, merely
to get tag information. To generate the tags for dazzle using ghci
I need to use
echo ":ctags"| ghci -v0 Main.hs -i../lib -i../lib/DData/ -fglasgow-exts -L../
Yes, there's Norman Ramsey and Kathleen Fisher's partial hasktags implementation
on top of the GHC API:
http://hackage.haskell.org/trac/ghc/ticket/946
I think incorporating small fixes to the existing hasktags in the meantime is
fine, though. We're still using it, and it may be a while before
Ian Lynagh wrote:
Hi Marc,
On Sat, Feb 17, 2007 at 05:12:13AM +0100, Marc Weber wrote:
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 thr
Indeed, Chris Ryder and Simon Thompson claim to have done so in this
paper (complete with source code)
http://www.cs.kent.ac.uk/pubs/2005/2266/content.pdf
Could this replace the "old-style" hasktags?
Cheers,
JP.
On 2/20/07, Ian Lynagh <[EMAIL PROTECTED]> wrote:
Better still, of course, if an
> > 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
Hi Marc,
On Sat, Feb 17, 2007 at 05:12:13AM +0100, Marc Weber wrote:
>
> 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 thr
Marc Weber wrote:
Without really knowing in which context this function is going to be
HaskTags.hs from ghc distribution.
Mm, yes. I meant I was to lazy to check which results are appropriate :)
K
___
Glasgow-haskell-users mailing list
Glasgow-haskel
> 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
Marc Weber wrote:
This small patch introduces a now mywords function which recognizes a::b as
words a,::,b
which is what we need here (?) It does work in the above example.
Here is the diff. Is it worth applying?
154c154
< let wordlines = map words aslines
---
let wordlines = map
While starting to learn more about webfunctions I have noticed that
hasktags doesn't recognize rwUserName and rwPasswd in the following code:
data LogInController =
LogInController {rLoggedIn::R Bool, rwUserName::RWE String, rwPasswd::RWE
String}
When using spaces it does
LogInController {rL
17 matches
Mail list logo