#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11 12 13
Top Prev 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 Next
#haskell
<paolino> uhm, so when I add an instance I must add a line there, a type to the union with a constructor, and don't touch the parser ?
<paolino> isn't there a lift for types :) ?
<paolino> for classes with many methods, routing is not so elegant
<Cheery> > \x -> x
<lambdabot> Add a type signature
<Cheery> there was that module...
<Cale> @pl \x -> x
<lambdabot> id
<DynWind> hey, shim is pretty neat!
<Cheery> found it. :)
<Cheery> Text.Show.Functions
<emu> DynWind: ah its working? cool
<DynWind> its doing identifier completion, highlighting compiler warnings atleast
<paolino> uhm how do I route the collect function , it's not so immediate
<emu> how about types
<DynWind> yep, shows types too
<Cheery> I wonder.
<Cheery> Can you decompose function in haskell?
<Cheery> like, break it for printing?
<emu> break?
<emu> like debug?
<Cheery> yep.
<allbery_b> decompiling for display? that's Hard
<emu> there is a nice new debugger for ghci
<allbery_b> oh, that. dunno if ghci supports that
<emu> which you can set breakpoints
<emu> you need darcs head for that
<paolino> nmessenger,Saizan : the constructor is not in the argument
<Cheery> emu: I'm just wondering whether one could put the Text.Show.Functions -thing show input and output of function it prints.
<emu> trace?
<Cheery> kind of, yes.
<Cheery> I guess that's hard because it's not done.
<emu> you can insert your own trace statements
<emu> Hat performs program-wide tracing
<allbery_b> ...but only n very simple programs
<emu> admittedly i never got Hat to work, it seems to be unmaintained
<emu> the new ghci-debugger is probably the thing to try
<emu> i gotta get shim though, just what i wanted to see (but never have time to try)
<astrolabe> Hat is sort-of maintained, but I found I had to make many changes to my code to get hat to accept it.
<allbery_b> @where shim
<lambdabot> http://shim.haskellco.de/trac/shim
<emu> yea he says its tested on gnu emacs 22
<emu> (works for me)
<allbery_b> it falls over a lot
<emu> DynWind: unicode branch?
<DynWind> yeah, for the XFT eye-candy :)
<emu> yea well that eye-candy kills me
<emu> (i often run over remote X)
<emu> otherwise, cool!
<DynWind> I've gone back to running it inside konsole, though. Feels nicer on the eyes
Previous Page Next Page