[Haskell-cafe] Haskell Weekly News: Issue 234

2012-09-05 Thread Daniel Santa Cruz
Welcome to issue 243 of the HWN, an issue covering crowd-sourced bits of information about Haskell from around the web. This issue covers the week of August 26 to September 01, 2012. Quotes of the Week * companion_cube: "I don't understand this article at all" edwardk: "Well, when you fin

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Niklas Hambüchen
You are right, if I escape as you describe, it works. However, all the makes it quite hard to read in code, and as people often read the code when dealing with Haskell, I will probably stick with the non-inline approach. That also gives a nice blue highlighting in haddocks in addition to the monos

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Simon Hengel
On Wed, Sep 05, 2012 at 09:11:47PM +0100, Niklas Hambüchen wrote: > When you write: > > -- | This function returns the string @hello@ > > and you have a function called hello in scope, haddock will hyperlink > the the above hello to that function, which is confusing if your > monospace string has

Re: [Haskell-cafe] Haskell seems setup for iterative numerics; i.e. a standard example is Newton's method where lazy evaluation ...

2012-09-05 Thread Carter Schonwald
in the mean time I suggest using Hmatrix then :) On Wed, Sep 5, 2012 at 4:10 PM, KC wrote: > The REPA package/library doesn't have LU factorization, eigenvalues, etc. > > > On Wed, Sep 5, 2012 at 12:59 PM, Carter Schonwald > wrote: > > Hello KC, > > you should check out the Repa library then an

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Niklas Hambüchen
When you write: -- | This function returns the string @hello@ and you have a function called hello in scope, haddock will hyperlink the the above hello to that function, which is confusing if your monospace string has actually nothing to do with that function. In other words: Haddock always link

Re: [Haskell-cafe] Haskell seems setup for iterative numerics; i.e. a standard example is Newton's method where lazy evaluation ...

2012-09-05 Thread KC
The REPA package/library doesn't have LU factorization, eigenvalues, etc. On Wed, Sep 5, 2012 at 12:59 PM, Carter Schonwald wrote: > Hello KC, > you should check out the Repa library then and see how it works for you. > Cheers > -Carter > > On Wed, Sep 5, 2012 at 12:46 PM, KC wrote: >> >> separ

[Haskell-cafe] Pointer to clarifying page "Hask" for beginners who take too naively claims of "rigor" Was: Re: From monads to monoids in a small category

2012-09-05 Thread Jay Sulzberger
On Tue, 4 Sep 2012, Alexander Solla wrote: On Tue, Sep 4, 2012 at 4:21 PM, Alexander Solla wrote: On Tue, Sep 4, 2012 at 3:39 AM, Alberto G. Corona wrote: "Monads are monoids in the category of endofunctors" This Monoid instance for the endofunctors of the set of all elements of (m a)

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Simon Hengel
On Wed, Sep 05, 2012 at 08:53:26PM +0100, Niklas Hambüchen wrote: > OK, but how to prevent it from linking to foo if I have a function foo > in my module? Hmm, I'm not sure if I understand the problem. Can you give a minimal example? Cheers, Simon ___

Re: [Haskell-cafe] Haskell seems setup for iterative numerics; i.e. a standard example is Newton's method where lazy evaluation ...

2012-09-05 Thread Carter Schonwald
Hello KC, you should check out the Repa library then and see how it works for you. Cheers -Carter On Wed, Sep 5, 2012 at 12:46 PM, KC wrote: > separates control from computation. > > It seems as if Haskell would be better for iterative matrix methods > rather than direct calculation. > > -- > --

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Niklas Hambüchen
OK, but how to prevent it from linking to foo if I have a function foo in my module? On 05/09/12 20:50, Simon Hengel wrote: > On Wed, Sep 05, 2012 at 08:40:37PM +0100, Niklas Hambüchen wrote: >> Is it possible to use inlined monospaced font in Haddock that does *not* >> replace < and > to links an

Re: [Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Simon Hengel
On Wed, Sep 05, 2012 at 08:40:37PM +0100, Niklas Hambüchen wrote: > Is it possible to use inlined monospaced font in Haddock that does *not* > replace < and > to links and does *not* link to Haskell functions (like > @ and ' and " and ` do)? Have you tried to escape stuff within @. e.g.: @\@

[Haskell-cafe] Monospace code in Haddock

2012-09-05 Thread Niklas Hambüchen
Is it possible to use inlined monospaced font in Haddock that does *not* replace < and > to links and does *not* link to Haskell functions (like @ and ' and " and ` do)? Like: -- | This function gives you @str@ something :: String The @ above of course makes everything unreadable (as it thinks

Re: [Haskell-cafe] From monads to monoids in a small category

2012-09-05 Thread Alberto G. Corona
Alexander, In my post (excuses for my dyslexia) I try to demonstrate that the codomain (m a), from the point of view of C. Theory, can be seen as 'a' plus, optionally, some additional element, so a monadic morphism (a -> m a) is part of a endofunctor in (m a -> m a) When considering the con

[Haskell-cafe] Haskell seems setup for iterative numerics; i.e. a standard example is Newton's method where lazy evaluation ...

2012-09-05 Thread KC
separates control from computation. It seems as if Haskell would be better for iterative matrix methods rather than direct calculation. -- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/ha

Re: [Haskell-cafe] From monads to monoids in a small category

2012-09-05 Thread Alberto G. Corona
Thanks, Kristopher 2012/9/4 Kristopher Micinski : > Your post feels similar to another one posted recently... > > http://web.jaguarpaw.co.uk/~tom/blog/2012/09/02/what-is-a-monad-really.html > > just fyi, :-), > > kris > > On Tue, Sep 4, 2012 at 6:39 AM, Alberto G. Corona wrote: >> "Monads are mon

[Haskell-cafe] [CUFP 2012] Birds of a Feather sessions

2012-09-05 Thread Ashish Agarwal
= Birds of a Feather sessions (BOFs) Commercial Users of Functional Programming Workshop (CUFP 2012) http://cufp.org/bofs-2012 Co

[Haskell-cafe] Research Position, Leeds: Parallel functional visualization

2012-09-05 Thread David Duke
I have an open position in the Visualization group at Leeds for a researcher to work on one of two projects, the second of which is specific to Haskell: We are seeking to appoint an ambitious researcher within the Visualization and VR group at Leeds to work on one of two projects, (i) time-var

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-05 Thread Roman Cheplyaka
* Andrea Vezzosi [2012-09-05 03:13:56+0200] > I've pushed the discussed changes to the repo[1], it'd be good if you > (and other users) could test them before they get to hackage. > > [1] darcs get http://patch-tag.com/r/Saizan/syb-with-class/ I confirm that it fixed my problem. Thank you! --