Re: [Haskell-cafe] why does a foldr not have a space leak effect?

2012-07-23 Thread Ivan Lazar Miljenovic
: it isn't _always_ needed (short lists, values are evaluated soon after the fold, etc.), but it's easier to always prefer foldl' over foldl rather than having to go through your code base and selectively replace foldl with foldl'. On Monday, July 23, 2012 9:44:59 PM UTC-5, Ivan Lazar Miljenovic wrote

Re: [Haskell-cafe] Is haskell.org down?

2012-07-05 Thread Ivan Lazar Miljenovic
Not anymore! On 5 July 2012 15:13, C K Kashyap ckkash...@gmail.com wrote: Regards, Kashyap ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Inferring Safety

2012-07-05 Thread Ivan Lazar Miljenovic
On 5 July 2012 01:35, Joachim Breitner m...@joachim-breitner.de wrote: Hi, Am Mittwoch, den 04.07.2012, 21:10 +1000 schrieb Ivan Lazar Miljenovic: So what's going on here? you are likely hit by http://hackage.haskell.org/trac/ghc/ticket/5989 Ahhh, that looks like it; thanks Joachim

[Haskell-cafe] Inferring Safety

2012-07-04 Thread Ivan Lazar Miljenovic
-GraphViz.html -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] how to check thunk

2012-07-02 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] how to check thunk

2012-07-02 Thread Ivan Lazar Miljenovic
On 2 July 2012 22:17, Austin Seipp mad@gmail.com wrote: On Mon, Jul 2, 2012 at 6:56 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: If you've taken over maintainership, should we remove it from haskell-pkg-janitors? I haven't removed it from haskell-pkg-janitors because I

Re: [Haskell-cafe] About using type to do type alias.

2012-06-25 Thread Ivan Lazar Miljenovic
use magiclouds#gmail.com. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] About using type to do type alias.

2012-06-25 Thread Ivan Lazar Miljenovic
PM, Magicloud Magiclouds wrote: Here is the code, I joined two modules in one paste. Both of them cannot pass compiling. http://hpaste.org/70418 On Mon, Jun 25, 2012 at 2:16 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com (mailto:ivan.miljeno...@gmail.com) wrote: On 25 June 2012 12:50

Re: [Haskell-cafe] About using type to do type alias.

2012-06-25 Thread Ivan Lazar Miljenovic
in this case. Cheers, Arlen On Monday, 25 June 2012 at 5:46 PM, Magicloud Magiclouds wrote: Here is the code, I joined two modules in one paste. Both of them cannot pass compiling. http://hpaste.org/70418 On Mon, Jun 25, 2012 at 2:16 PM, Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] What extension do I need to write type Job = Map k a?

2012-06-13 Thread Ivan Lazar Miljenovic
this? type Job = Map k a Does that even make sense? What are the types of `k' and `a' in Job? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] What extension do I need to write type Job = Map k a?

2012-06-13 Thread Ivan Lazar Miljenovic
. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell

Re: [Haskell-cafe] GHC 7.4 and TypeSynonymInstances

2012-06-07 Thread Ivan Lazar Miljenovic
/ghc/ticket/4841 I'll clarify the docs a bit. That makes more sense now, thanks! Simon | -Original Message- | From: haskell-cafe-boun...@haskell.org [mailto:haskell-cafe- | boun...@haskell.org] On Behalf Of Ivan Lazar Miljenovic | Sent: 06 June 2012 23:34 | To: Haskell Cafe

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Ivan Lazar Miljenovic
.). But you're going to want to use the darcs repository at http://code.haskell.org/gtk2hs/ . -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-06 Thread Ivan Lazar Miljenovic
! Greetings from Namibia ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] GHC 7.4 and TypeSynonymInstances

2012-06-06 Thread Ivan Lazar Miljenovic
*Bump* Especially as there is now a version of the Haskell Platform based around GHC-7.4.1, I would appreciate it if this behaviour could be clarified. On 20 April 2012 15:25, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Has there been a change in the behaviour/requirement

Re: [Haskell-cafe] darcs patch dependencies in dot format

2012-05-16 Thread Ivan Lazar Miljenovic
Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] darcs patch dependencies in dot format

2012-05-16 Thread Ivan Lazar Miljenovic
mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Can Haskell outperform C++?

2012-05-06 Thread Ivan Lazar Miljenovic
://donsbot.wordpress.com/2007/11/29/use-those-extra-cores-and-beat-c-today-parallel-haskell-redux/ ? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Creating a dependency graph (in the hope it may show some structure)

2012-05-01 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell

[Haskell] ANNOUNCE: planar-graph-1.0

2012-04-27 Thread Ivan Lazar Miljenovic
be of many use to people, but as I described in the blog post, I've been using this as a test bed for graph library design (specifically usage of abstract node/edge identifiers, using half-edges and the serialisation/encoding setup). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http

Re: [Haskell] ANNOUNCE: planar-graph-1.0

2012-04-27 Thread Ivan Lazar Miljenovic
) I stand corrected! -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell-cafe] ANNOUNCE: planar-graph-1.0

2012-04-27 Thread Ivan Lazar Miljenovic
be of many use to people, but as I described in the blog post, I've been using this as a test bed for graph library design (specifically usage of abstract node/edge identifiers, using half-edges and the serialisation/encoding setup). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http

Re: [Haskell-cafe] ANNOUNCE: planar-graph-1.0

2012-04-27 Thread Ivan Lazar Miljenovic
what the ordering was, so I didn't need any will adding this keep it planar checks.) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] [Haskell] ANNOUNCE: planar-graph-1.0

2012-04-27 Thread Ivan Lazar Miljenovic
) I stand corrected! -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell] Types of when and unless in Control.Monad

2012-04-22 Thread Ivan Lazar Miljenovic
for the reasons you state. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] desactivate my Show instance implementations temporarily

2012-04-22 Thread Ivan Lazar Miljenovic
the defaults? Thanks in advance, TP ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] desactivate my Show instance implementations temporarily

2012-04-22 Thread Ivan Lazar Miljenovic
On 22 April 2012 19:55, TP paratribulati...@free.fr wrote: On Sunday 22 April 2012 19:37:19 Ivan Lazar Miljenovic wrote: Is there any particular reason you're *not* using the defaults? This is a good question which I have asked myself. I have searched about the topic, and found that: http

Re: [Haskell-cafe] static linking with ghc?

2012-04-22 Thread Ivan Lazar Miljenovic
://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell] ANNOUNCE: graphviz-2999.13.0.0

2012-04-19 Thread Ivan Lazar Miljenovic
. - The `TestParsing` script will no longer crash and refuse to continue if an IO-based error (e.g. unable to successfully call `dot`) occurs. - A typo was spotted by **Gabor Greif**. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell] ANNOUNCE: graphviz-2999.13.0.0

2012-04-19 Thread Ivan Lazar Miljenovic
2012 22:52, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: I'm hoping the second part of the version number isn't ominous, but I've just uploaded the latest release in my bindings for the Graphviz suite of graph visualisation tools. The changes in this release are: * Added support

[Haskell-cafe] ANNOUNCE: graphviz-2999.13.0.0

2012-04-19 Thread Ivan Lazar Miljenovic
. - The `TestParsing` script will no longer crash and refuse to continue if an IO-based error (e.g. unable to successfully call `dot`) occurs. - A typo was spotted by **Gabor Greif**. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] ANNOUNCE: graphviz-2999.13.0.0

2012-04-19 Thread Ivan Lazar Miljenovic
2012 22:52, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: I'm hoping the second part of the version number isn't ominous, but I've just uploaded the latest release in my bindings for the Graphviz suite of graph visualisation tools. The changes in this release are: * Added support

Re: [Haskell-cafe] ANNOUNCE: graphviz-2999.13.0.0

2012-04-19 Thread Ivan Lazar Miljenovic
://ivanmiljenovic.wordpress.com/2011/10/16/graphviz-in-vacuum/) [FAQ]: http://projects.haskell.org/graphviz/faq.html -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] GHC 7.4 and TypeSynonymInstances

2012-04-19 Thread Ivan Lazar Miljenovic
.html#id3003826 Is this behaviour deliberate, or a bug? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: signed-multiset-0.1

2012-04-17 Thread Ivan Lazar Miljenovic
membership. Notre Dame Journal of Formal Logic/, 31(3):346--368, 1990. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http

Re: [Haskell-cafe] Guide for converting existing code to Conduit 0.4?

2012-04-09 Thread Ivan Lazar Miljenovic
strengths you touted for Conduit that usage of different types made for better error messages, etc.? As such, why have you now switched to a single type and thus causing these kinds of problems again? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] ghci can't load file whose name contains non-ASCII chars?

2012-03-28 Thread Ivan Lazar Miljenovic
://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] HughesPJ vs. Wadler-Leijen

2012-03-20 Thread Ivan Lazar Miljenovic
using `renderPretty`... I also found a few spacing/indentation related bugs in WL when I was writing wl-pprint-text; does it work better for you? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] Are there arithmetic composition of functions?

2012-03-19 Thread Ivan Lazar Miljenovic
. I have no intention to discuss, but please, Richard O'Keefe: WHICH GOOD REASONS?? Because there are no sensible ways of writing such instances? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

2012-03-16 Thread Ivan Lazar Miljenovic
available?). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

2012-03-16 Thread Ivan Lazar Miljenovic
On 17 March 2012 09:02, Erik de Castro Lopo mle...@mega-nerd.com wrote: Ivan Lazar Miljenovic wrote: One trivial solution is to assume ~/.cabal/bin is on the PATH and to ignore system-wide packages, which I think is even *more* sub-optimal (why install a new version of alex when it's already

Re: [Haskell-cafe] Leksah Install Issue (cabal experts please help)

2012-03-12 Thread Ivan Lazar Miljenovic
, then please let me know. Just build a newer version of cabal-install based upon Cabal-1.10 ? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Leksah Install Issue (cabal experts please help)

2012-03-12 Thread Ivan Lazar Miljenovic
On 13 March 2012 15:03, Hamish Mackenzie hamish.k.macken...@googlemail.com wrote: On 13 Mar 2012, at 16:56, Hamish Mackenzie wrote: On 13 Mar 2012, at 16:51, Hamish Mackenzie wrote: On 13 Mar 2012, at 15:56, Ivan Lazar Miljenovic wrote: Even if you cabal unpack and then modify the .cabal

Re: [Haskell-cafe] Leksah Install Issue (cabal experts please help)

2012-03-12 Thread Ivan Lazar Miljenovic
Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Installing gloss

2012-02-28 Thread Ivan Lazar Miljenovic
. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Disabling warning over ranges of source lines

2012-02-19 Thread Ivan Lazar Miljenovic
to disable *all* warnings. Cheers, Thomas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com http://IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] how to print out intermediate results in a recursive function?

2012-02-03 Thread Ivan Lazar Miljenovic
-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] ANN: combinatorics

2012-02-02 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] The State of Testing?

2012-02-02 Thread Ivan Lazar Miljenovic
On 03/02/2012 12:22 PM, Johan Tibell johan.tib...@gmail.com wrote: On Thu, Feb 2, 2012 at 4:46 PM, Conrad Parker con...@metadecks.org wrote: On 3 February 2012 08:30, Johan Tibell johan.tib...@gmail.com wrote: On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org wrote: I've

Re: [Haskell-cafe] Again, version conflicting problem with cabal-install

2012-02-02 Thread Ivan Lazar Miljenovic
of version conflicting exists?  By version conflicting I mean like following. This way, A is not installable by cabal. A needs B 0.1 A needs C 0.1 B needs C0.2 See the Dreaded Diamond Dependency Problem: http://www.well-typed.com/blog/9 -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Again, version conflicting problem with cabal-install

2012-02-02 Thread Ivan Lazar Miljenovic
. On Fri, Feb 3, 2012 at 2:04 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 3 February 2012 16:54, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hello,  As I recalled, ghc works in staticly link mode. So after one library is compiled, all its build dependencies

Re: [Haskell-cafe] Wow you have to check this out Haskell

2012-01-26 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] How to catch all exceptions that could be caught?

2012-01-11 Thread Ivan Lazar Miljenovic
SomeException for the type, as it is the base of the exception hierarchy. But it is usually recommended that you *don't* do this, as it even captures Ctrl-c invocations: http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#g:4 -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Copy .cabal folder to diff machine/user

2011-12-30 Thread Ivan Lazar Miljenovic
architecture (e.g. all x86_64) then it might be possible. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Copy .cabal folder to diff machine/user

2011-12-30 Thread Ivan Lazar Miljenovic
, then run ghc-pkg recache On Dec 30, 4:16 pm, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 31 December 2011 10:49, Vagif Verdi vagif.ve...@gmail.com wrote: Is it possible to copy .cabal and .ghc folders to different machine/ user and develop same project over there ? If you

Re: [Haskell-cafe] Splitting off many/some from Alternative

2011-12-14 Thread Ivan Lazar Miljenovic
On 14 December 2011 20:21, Gregory Crosswhite gcrosswh...@gmail.com wrote: On Dec 14, 2011, at 4:40 PM, Ivan Lazar Miljenovic wrote: [...] Apart from some basic combinators in Control.Monad or the definitions of monad transformers, how much of what you write in do-blocks is applicable

Re: [Haskell-cafe] Splitting off many/some from Alternative

2011-12-13 Thread Ivan Lazar Miljenovic
as opposed to a specific Monad? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Weird interaction between literate haskell, ghci and OverloadedStrings

2011-12-02 Thread Ivan Lazar Miljenovic
is running I can do:    Main :set -XOverloadedStrings Add :set -XOverloadedStrings to a (possibly local) .ghci file? It doesn't contain it within the same document, but then if it's a local one you could also add :load file.lhs in there so that you just have to type ghci. -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Program used for debugging

2011-12-01 Thread Ivan Lazar Miljenovic
On 2 December 2011 01:10, Yves Parès limestr...@gmail.com wrote: Hey, What do you mostly use for debugging? Simple calls to Debug.Trace.trace? Hpc? Hood? trace and ghci. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Overloaded Strings as default

2011-11-28 Thread Ivan Lazar Miljenovic
in explicit String values in the source code result in the compiler not knowing which instance to use (e.g. toLabel hi). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Mascot Poll Results

2011-11-27 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-25 Thread Ivan Lazar Miljenovic
-- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] FGL custom node identification (Label - Node lookup)

2011-11-24 Thread Ivan Lazar Miljenovic
and work out a way to incorporate such functionality. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] FGL custom node identification (Label - Node lookup)

2011-11-24 Thread Ivan Lazar Miljenovic
On 24 November 2011 20:42, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 November 2011 20:33, Thomas DuBuisson thomas.dubuis...@gmail.com wrote: All, The containers library has a somewhat primitive but certainly useful Data.Graph library.  Building a graph with this library

Re: [Haskell-cafe] FGL custom node identification (Label - Node lookup)

2011-11-24 Thread Ivan Lazar Miljenovic
would even let you choose the type of constraint); i.e. adding a node to a `(Hashable (NodeLabel g)) = HashableNodeMap g` would also add a `NodeLabel g - Node g` mapping to some internal lookup; is this what you're after? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Ivan Lazar Miljenovic
http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread Ivan Lazar Miljenovic
On 24 November 2011 09:10, David Barbour dmbarb...@gmail.com wrote: I don't like the lamb at all. But I like the idea of a language mascot. I really like Adam Chlipala's spidurweb: That to me is more of a logo than a mascot. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Superset of Haddock and Markdown

2011-11-20 Thread Ivan Lazar Miljenovic
On 21 November 2011 03:19, David Fox dds...@gmail.com wrote: On Fri, Nov 18, 2011 at 1:10 AM, Ertugrul Soeylemez e...@ertes.de wrote: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Wasn't there talk at one stage of integrating pandoc into haddock? I wouldn't mind Haddock depending

Re: [Haskell-cafe] Superset of Haddock and Markdown

2011-11-18 Thread Ivan Lazar Miljenovic
this flag through cabal. As in have an opt-in Cabal field? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Superset of Haddock and Markdown

2011-11-17 Thread Ivan Lazar Miljenovic
into haddock? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Documenting strictness properties for Data.Map.Strict

2011-11-17 Thread Ivan Lazar Miljenovic
?) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Can I have an alias for selector?

2011-11-17 Thread Ivan Lazar Miljenovic
. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE: graphviz-2999.12.0.4

2011-11-16 Thread Ivan Lazar Miljenovic
written a wrapper around /usr/share/dot which shows the program is outputting positional information. --Max ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Ivan Lazar Miljenovic
dependency problems down the line. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Ivan Lazar Miljenovic
artistic abilities, but even if we did, I don't see how a lamb relates to Haskell :/ -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] graphviz: dotizeGraph and graphToGraph not adding positions

2011-11-10 Thread Ivan Lazar Miljenovic
information. OK, a bug has crept in, I'll have a look at it next week. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Data.Vector.Unboxed

2011-11-09 Thread Ivan Lazar Miljenovic
mailing list archive at Nabble.com. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread Ivan Lazar Miljenovic
. The exception was: ExitFailure 1 Any ideas how to solve this? Looks like it's missing a dep on hxt. cabal unpack hSimpleDB then go into the directory, edit the .cabal file to add the dep, and cabal install in that directory. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread Ivan Lazar Miljenovic
it by adding '--constraint=hxt==9.0.\*' after your cabal-install command. You can also ask the author to add version ranges to the package. Is the escape needed if you're using single quotes? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Project Euler Problem 357 in Haskell

2011-11-08 Thread Ivan Lazar Miljenovic
mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Project Euler Problem 357 in Haskell

2011-11-08 Thread Ivan Lazar Miljenovic
in the Haskell version. Which  loop ? for( int i = 2 ; i = Lim ; i++) if ( ! prime[i] ) v.push_back( i ) ; -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] memorize function with number parameterized types in GHC

2011-11-06 Thread Ivan Lazar Miljenovic
that if O(1) lookup is really required, then that implies you use a static array, which requires you to pre-populate such an array with all possible values. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] Cabal install problem

2011-11-05 Thread Ivan Lazar Miljenovic
'?     Use -v to see a list of the files searched for. That means that the package hasn't listed mtl as a dependency in its .cabal file. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 99, Issue 9

2011-11-03 Thread Ivan Lazar Miljenovic
= do [a,b,c] - getArgs print $ tipos (read a) (read b) (read c) tipos :: Int - Int - Int - Double tipos a b c = fromIntegral b / fromIntegral b * fromIntegral c -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] ghc 7.2.1 Generics problem

2011-11-01 Thread Ivan Lazar Miljenovic
://www.haskell.org/pipermail/cvs-ghc/2011-April/061666.html [2]: http://code.galois.com/cgi-bin/gitweb?p=type-naturals/base.git;a=commitdiff;h=792a8b86185d4cc74bb3d0d31b481ff0de4cf0d6 -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Hackage feature request: E-mail author when a package breaks

2011-11-01 Thread Ivan Lazar Miljenovic
On 1 November 2011 21:35, Ketil Malde ke...@malde.org wrote: or even  Maintainer: Ketil Malde ketil at malde dot org  -- email me if you are human Though unless the hackage email bot is smart enough, this will result in a lot of unsendable emails... -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Libraries to compare trees?

2011-10-27 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-25 Thread Ivan Lazar Miljenovic
the maintainer is honest enough to state that they're still working on it... I mean, if base and containers keep changing, what can we _really_ say is a stable package? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-25 Thread Ivan Lazar Miljenovic
On 25 October 2011 20:17, Ketil Malde ke...@malde.org wrote: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Right, but first we need to define what all those terms _mean_... and it's no good saying your package is stable if you change the API in a large-scale fashion every release

Re: [Haskell-cafe] blanket license for Haskell Platform?

2011-10-25 Thread Ivan Lazar Miljenovic
library/application to the Platform (which is why so many large projects want it) to re-license them AFAIK, which may be difficult. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Ivan Lazar Miljenovic
explicitly to delete that node and any edge it may be in. The use case is is for manipulating existing Dot code better; generally speaking, if you are converting data _into_ a Dot graph, then you would do any such manipulations before you do the conversions. -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Operator precedence and associativity with Polyparse

2011-10-25 Thread Ivan Lazar Miljenovic
for this, except for doing p `orElse` q rather than try p | q. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Operator precedence and associativity with Polyparse

2011-10-25 Thread Ivan Lazar Miljenovic
set of combinators than Parsec, which I for one prefer because I don't have to worry about behaviour of existing combinators being different than what I want/need (as it stands, I already use a custom version of bracket from polyparse). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?

2011-10-25 Thread Ivan Lazar Miljenovic
that too. Unless you distro hasn't built GHC with dynamic library support. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell] cabal conflicting rules

2011-10-24 Thread Ivan Lazar Miljenovic
version of containers comes with which version of GHC) and are able to uninstall packages, which cabal-install can't do yet. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell mailing list Haskell@haskell.org

Re: [Haskell-cafe] hello Haskell

2011-10-24 Thread Ivan Lazar Miljenovic
moderating new users; I'd prefer something more concrete for dealing with possibly hacked accounts than just moderating them again. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 04:25, Brent Yorgey byor...@seas.upenn.edu wrote: On Mon, Oct 24, 2011 at 03:46:26PM +1100, Ivan Lazar Miljenovic wrote: Hmmm... might be interesting to try and use dot/neato/etc. to do the layout of a graph, and then use diagrams for the actual visualisation... I agree

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-24 Thread Ivan Lazar Miljenovic
. +1, not to mention all the to-level fields available in Haddock (portable, etc.) as well. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 16:02, Rustom Mody rustompm...@gmail.com wrote: On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 October 2011 13:51, Rustom Mody rustompm...@gmail.com wrote: How does diagrams compare with graphviz?  If this is an inappropriate

<    1   2   3   4   5   6   7   8   9   10   >