News for hackers. Stuff that matters.
Re:The Haskell user experience by TazeTSchnitzel on Wednesday August 05, 2015 @07:43AM (#10009049)
The Haskell Platform obscuring Cabal's existence bit me. I didn't know how to use Cabal, so for a while I didn't install any packages, or know the correct way to build them.
Re:The Haskell user experience by haxeny1 on Wednesday August 05, 2015 @11:40AM (#10010562)
I can relate to that because it took me a while to using cabal repl actively as i code. Once i discovered cabal repl, I found that i could test my database (yesod) business logic during my normal development cycle. This was very re-assuring to me, coming from an oo, java background. Writing tests is nice, although having a small function to test a particular usecase while development is quite empowering. The only caveat, being, I seem to have to export my tests as part of the main module. There are ways to restructure it, say creating DBObject (export crud/management) DBObject.Internal (will all methods exported).

This is one place i miss the selective export of features that Eiffel provides. I am still not certain as to why other languages (except perhaps sather) completely ignored this seemingly simple syntactic feature that would have saved so many of us from creating parallel hierarchies as in java or artificial structures in haskell.

Re:The Haskell user experience by gohrt on Wednesday August 05, 2015 @01:02PM (#10011167)
That's intentional and good. Bleeding-edge packages are a headache to manage, due to complex dependencies. You should really wring everything you can out of Platform, and feel like an advanced Haskell programmer, before dealing with Cabal.
Re:The Haskell user experience by thesteamboat on Wednesday August 05, 2015 @01:24PM (#10011329)
I think that sentiment adds to the list of things that make it hard for someone to go from an intermediate level of skill to advanced level of skill.