Re: [Haskell-cafe] Proposal: Non-recursive let

2013-07-17 Thread Markus Läll
important way. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] default instance for IsString

2012-04-22 Thread Markus Läll
/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list glasgow-haskell-us...@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- Markus Läll ___ Haskell

Re: [Haskell-cafe] default instance for IsString

2012-04-22 Thread Markus Läll
this is documented or somewhere I can contribute documentation? On Sun, Apr 22, 2012 at 4:47 AM, Markus Läll markus.l...@gmail.com wrote: ExtendedDefaultRules -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] default instance for IsString

2012-04-22 Thread Markus Läll
? -- Johan ___ Glasgow-haskell-users mailing list glasgow-haskell-us...@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe

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

2012-02-14 Thread Markus Läll
-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Type class for sequences with dependent types

2012-01-05 Thread Markus Läll
-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to split this string.

2012-01-02 Thread Markus Läll
, however it's interesting that Text has a function like that and not the String functions in the standard library. -- Anupam ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll

Re: [Haskell-cafe] Tupling functions

2011-09-15 Thread Markus Läll
. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-13 Thread Markus Läll
) -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Arrow instance of function type [a] - [b]

2011-07-06 Thread Markus Läll
, or is a newtype the only way to do it? -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Markus Läll
. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Reverse Show instance

2011-05-19 Thread Markus Läll
://www.haskell.org/mailman/listinfo/haskell-cafe -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Local copy of hackageDB

2011-04-07 Thread Markus Läll
This could be a nice feature and not hard to implement, maybe someone could take it up? 2011/4/7 José Pedro Magalhães j...@cs.uu.nl Yes, I have that tarball. I just don't know how to tell cabal-install to use it. Going to each package, individually unpacking and installing it is what I've

Re: [Haskell-cafe] [Haskell-beginners] how to modify show for a list of certain types

2011-04-02 Thread Markus Läll
Check out unlines! On Sat, Apr 2, 2011 at 4:32 PM, Manfred Lotz manfred.l...@arcor.de wrote: Hi there, I have a list of say type Record which I write to a file and read back from the file if required. The list's content is a single line in the file it doesn't matter how many records the

Re: [Haskell-cafe] Learn You a Haskell for Great Good - a few doubts

2011-03-04 Thread Markus Läll
) - (Integer,Integer) - Bool (a,b) `lt` (c,d) = let sum1 = (a + b) sum2 = (c + d) in if sum1 == sum2 then a c else sum1 sum2 Implementing fromEnum looks like a bit harder problem.. -- Markus Läll On Fri, Mar 4, 2011 at 5:12 AM, Daniel Fischer daniel.is.fisc

Re: [Haskell-cafe] Haskell IDE

2011-03-03 Thread Markus Läll
I have been using Notepad++ -- it has proper (I think) syntaks highlighting and in the latest version now has line wrapping a la kate: broken lines start at the indent level of the first one. -- Markus Läll On Fri, Mar 4, 2011 at 1:14 AM, Daniel Fischer daniel.is.fisc...@googlemail.com wrote

Re: [Haskell-cafe] Fwd: ANN: vector-buffer package 0.1

2011-02-15 Thread Markus Läll
the order of evaluation that IO monad forces you to otherwise have. Someone correct me if I'm wrong :) -- Markus Läll On Tue, Feb 15, 2011 at 8:08 AM, Alexander McPhail haskell.vivian.mcph...@gmail.com wrote: Hi list, Could someone explain why the error pointed out by Luke occurred? From

Re: [Haskell-cafe] Proving correctness

2011-02-11 Thread Markus Läll
== that all the apropriate functions exist. And it is correct only that far -- the value-level coding is still up to you, so no mind-reading... -- Markus Läll On Fri, Feb 11, 2011 at 1:16 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 11 February 2011 22:06, C K Kashyap ckkash

Re: [Haskell-cafe] How about Haskell Golf just like vimgolf.com

2011-01-04 Thread Markus Läll
days ago.) -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] record types and unique names

2010-12-30 Thread Markus Läll
function in another module and import qualified, or - write a typeclass with a 'name' function and fit the non-accessor function 'name' somehow into that... I think the best approach is the modular one, but this really depends on what you are doing. -- Markus Läll On Thu, Dec 30, 2010 at 7:01 PM

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-14 Thread Markus Läll
as the central? I mean -- if we don't trust DNS, then the main hackage has no special security advantages? -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Markus Läll
are just playing around and developing things for themselves. -- Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Markus Läll
On Thu, Dec 9, 2010 at 11:04 PM, Richard O'Keefe o...@cs.otago.ac.nz wrote: On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have

Re: [Haskell-cafe] type level program

2010-10-25 Thread Markus Läll
by Alexey Khudyakov (which does type-level binary encoding(!) for natural numbers) As for the terminology, I can't tell.. Out of intrest, is this kind of type-level stuff to prove things about your container types and operations on them? -- Markus Läll On Mon, Oct 25, 2010 at 12:52 PM, Patrick Browne

Re: [Haskell-cafe] What is -

2010-08-08 Thread Markus Läll
Hi Michael, although I never used it myself, lists seem strange in the way that when combining list monads, then all the values go through the chain one by one -- x will be 1 first, then 2, then 3 and so on.. Try it out, to see. (I think the result is then also a list of all combinations of

Re: [Haskell-cafe] Removing alternate items from a list

2010-06-10 Thread Markus Läll
Yep, the test is done by a rookie. If I get more time, I'll try to look into testing a little more, and redo the timing (if anyone doesn't do it firs) -- using optimizations, more runs per function and the criterion package. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Removing alternate items from a list

2010-06-09 Thread Markus Läll
it too late and didn't want to restart... At least for the last two functions it showed a similar difference in seconds as with no -O2) Markus Läll ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Removing alternate items from a list

2010-06-09 Thread Markus Läll
)= a:c:e:rest matchPattern10 (a:_:c:_:rest) = a:c:rest matchPattern10 (a:_:rest) = a:rest matchPattern10 (rest) = rest On Wed, Jun 9, 2010 at 11:47 PM, Markus Läll markus.l...@gmail.com wrote: So out

Re: [Haskell-cafe] Haskell, Queries and Monad Comprehension

2010-05-25 Thread Markus Läll
I would be intrested in seeing this! Could you paste or upload it somewhere? 2010/5/24 C. McCann c...@uptoisomorphism.net: 2010/5/23 Günther Schmidt gue.schm...@web.de: is there anybody currently using Haskell to construct or implement a query language? I've a half-baked, type-indexed (in