[Haskell-cafe] Re: Adding new entry to list

2010-07-08 Thread Johnny Morrice
Hi there Jack, I have modified your program. However, where you were attempting to use direct recursion to compute totalSales, I have used functions from the prelude. I have also provided a recursive definition totalSalesRec. Here is a lesson on recursion from the Haskell wikibook

[Haskell-cafe] Announce snm-0.0.2: The Simple Nice-Looking Manual Generator

2010-07-26 Thread Johnny Morrice
Hi list, Recently, I've been working on a compiler/programming language project.[2] I became rather unstuck when I started spending more time documenting the semantics instead of actually getting to work on the implementation. Hence this program! snm allows you to write clean, web-friendly

[Haskell-cafe] Re: Announce snm-0.0.2: Oops

2010-07-27 Thread Johnny Morrice
Sorry if I have left typos, it's very late I knew it was a bit late to be uploading things, I forgot to say where anyone interested might download this: it's on Hackage so just cabal install snm Cheers Johnny ___ Haskell-Cafe mailing list

[Haskell-cafe] Typefuck: Brainfuck in the type system

2009-11-16 Thread Johnny Morrice
Greetings list, I was um well, drinking beer and thought it would be amusing to write a brainfuck interpreter which runs within the GHC type checker so I did, using type families. I haven't decided whether or not to put it on hackage (it is rather silly after all) but I have a link to a

Re: [Haskell-cafe] Typefuck: Brainfuck in the type system

2009-11-16 Thread Johnny Morrice
My personal opinion is that such f-bombs really have no place on what is a font of software dissemination. My point of view is a fallacy however. Consider a new, viable programming language which has a syntax based entirely on GG-Allin lyrics. Obviously this would disgust a decent programmer

[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 75, Issue 51

2009-11-24 Thread Johnny Morrice
1) the uncensored version 2) Monadam* 3) Monada** 4) Monad*** 5) Mona Putting stars in place of letters in no way makes a word less offensive. Consider the word 'ing'. It's about context. I think it's wise that such a word have a star put in it in the weekly news or a journal

Re: [Haskell-cafe] Is there any experience using Software Transactional Memory in substantial applications?

2010-08-08 Thread Johnny Morrice
My opponent gave me that link: http://logicaloptimizer.blogspot.com/2010/06/so-microsofts-experiments-with-software.html I enjoy the article you linked but I sort of skimmed it because it was a little boring, however its main point seem to be: 1. Ghostbusters. 2. Artificial intelligence is