Dec
4
answered Haskell equivilant of numpy's imshow
Nov
15
answered Error while compiling the example code from Graphics-Rendering-Plot-Gtk
Nov
15
comment Error while compiling the example code from Graphics-Rendering-Plot-Gtk
The type error in those two lines is because you need to add Linear to setRangeFromData XAxis Lower Linear and setRange YAxis Lower Linear (-1.25) (1.25). Apologies, I did not update the example file when the API changed.
Nov
15
comment Error while compiling the example code from Graphics-Rendering-Plot-Gtk
As for the second problem, how to quit nicely, Graphics.Rendering.Plot.Gtk is for interactive display through GHCi and you would destroy the window using destroy figure. If you want to incorporate the plot in a standalone executable then use Graphics.UI.Gtk.Plot.plotNew and onDestroy. See the source for destroy to see how to get the window to pass to onDestroy.
Oct
29
comment Haskell Gloss : direction vector to angle for rotation
@user2407038: I think that atan2 (fst dir) (snd dir) is uncurry atan2 dir. Note that atan2 takes snd first, not fst.
Oct
17
answered GHCi cannot find modules of my program
Sep
25
comment Gtk2hs give runtime error "Require gtk+ version 3"
Have you installed the gtk3 package in Haskell (rather than gtk)?: hackage.haskell.org/package/gtk3
Aug
30
comment How can I use `cabal repl` instead of `ghci` in `ghc-mod`?
github.com/serras/emacs-haskell-tutorial/blob/master/…
Aug
15
comment Structure sharing Vector in Haskell
Have a look at Data.Sequence at http://hackage.haskell.org/package/containers-0.2.0.1/docs/Data-Sequence.html
Jul
27
comment Any way to add patterns, type signature, to a function in GHCi?
@HostileFork, not at the moment. There is a suggestion that an entire multiline input can be restored from the input history but it is not yet implemented.
Jul
27
answered Any way to add patterns, type signature, to a function in GHCi?
Jul
27
comment How can I safely use WebKitGTK from a forked thread?
You may need to explicitly run in the bound thread with Control.Concurrent.runInBoundThread.
Jul
25
comment Good math libraries for haskell like pylab and scipy for python?
ODE solvers are now in the hmatrix-gsl package.
Jul
24
comment How do I get `cabal repl` to read `.ghci` *after* compiling my project's modules?
try setting :set -i.. to where the source files are, not the object files.
Jul
23
comment How do I get `cabal repl` to read `.ghci` *after* compiling my project's modules?
Maybe it is because you have to tell GHCi how to find your module. In that case try :set -i/path/to/my/files/ before :m
Jul
7
comment GHC not generating dyn_hi
If it is this bug then you'll have to wait for 7.8.3 or install HEAD once the bug is fixed. You can add your cc on the bug Trac page.
Jul
7
comment GHC not generating dyn_hi
Is (ghc.haskell.org/trac/ghc/ticket/9176) anything to do with your problem?
Jun
27
comment Haskell - Instance Declaration on hMatrix
Alberto (the package author) agrees with vivian that this answer is incorrect.
Jun
27
revised Haskell - Instance Declaration on hMatrix
added Alberto's comment
Jun
27
awarded Yearling
1 2 3 4 5