In the light of the reoccurring version bounds discussion there is one more variable to consider:
The story so far:
- I used cabal freeze to have cabal.config in place.
- Things were running smoothly for a couple of months.
- Recently did 'cabal update'.
- cabal install --only-dep stopped working with 'Dependency tree exhaustively searched'.
- Applying a change to cabal.config solves problem:
- Works again.
Now the real question:
How do I know why this suddenly stopped resolving? Did somebody change version ranges on some of dependent packages? How do i know which one got changed?
If this is really due the feature of hackage being able to retro-change dependency versions then it means that builds that used to work can suddenly become broken.submitted by gracjan
[link] [5 comments]
I would like to perform program slicing on binary files using Haskell language.
Do you know if a Haskell library exists in order to do so? Or maybe a library to perform program slicing on other high-level source code? Or maybe a good way to write one by myself?
EDIT: I'm planning to work on programs compiled to ELF format for PowerPC or ARM targets. (Knowing the syntax and semantics of such binary files it's possible to perform a safe slicing on them.)liberh
[link] [10 comments]
HsQML allows you to bind declarative user interfaces written in QML against a Haskell back-end, but sometimes you can't just let QML hog all the graphical fun to itself. This latest release allows you incorporate 3D (OpenGL) graphics rendered from Haskell into your QML scenes using the new Canvas module.
The screenshot below shows off the OpenGL demo in the samples package. The colourful triangle is rendered using the regular Haskell Platform's OpenGL bindings, but HsQML sets up the environment so that it renders into a special HaskellCanvas element inside the QML scene. If you run the actual program you can see it being animated too, moving around and changing colour.
This release also adds the Objects.Weak module which allows you to hold weak references to QML objects and keep track of their life cycles using finalisers. The new FactoryPool abstraction uses these primitives to help you efficiently keep track of instances you've created, especially for when you need to fire change signals on them for data-binding.
London Haskell User Group
I've been fortunate enough to get a speaking slot at the London Haskell User Group and will be giving a talk on Building Pragmatic User Interfaces in Haskell with HsQML on the 26th of November. Please feel free to come along and watch. You can RSPV on the group's meet-up page.
The talk should be videoed and materials will be available online afterwards.
release-0.3.2.0 - 2014.11.13
* Added OpenGL canvas support.
* Added weak references and object finalisers.
* Added FactoryPool abstraction.
* Added To-only custom marshallers.
* Added Ignored type.
* Relaxed Cabal dependency constraint on 'text'.
Whose idea was this and why? Why would I ever not want to see the whole build log? It's enormously annoying as I can't use the command-line output as the list of errors to work on; I have to go and actually find the build log file.
Even "first 10 lines of the build log" would have been more useful.submitted by AshleyYakeley
[link] [15 comments]