Re: [Haskell-cafe] A Modest Records Proposal

2012-04-02 Thread Kyle Murphy
year will be to not read any email on the 1st. I'll just wait until the 2nd to read it all. Foolproof! Hmm, nope, still failed. I was following along until it got to HERP at which point I scrolled back up to see that it was sent on the 1st and then continued to read and LOL. -R. Kyle Murphy

Re: [Haskell-cafe] Converting wiki pages into pdf

2011-09-08 Thread Kyle Murphy
it might not actually work, although I see no reason why it shouldn't. It's also fragile, as if wikipedia changes just about anything it could all brake, but that's the risk you run anytime you resort of site scraping. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Thu, Sep 8

Re: [Haskell-cafe] Re: Haskell and scripting

2010-05-05 Thread Kyle Murphy
of functional programming, are simply too foreign to most peoples imperative way of approaching problems. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Wed, May 5, 2010 at 16:29, Limestraƫl limestr...@gmail.com wrote: Yes, the xmonad approach is very neat, but I see 2 major (IMO

Re: [Haskell-cafe] Re: Learning about Programming Languages (specifically Haskell)

2010-05-04 Thread Kyle Murphy
printUpTo with 100 -} main :: IO () main = printUpTo 100 --- End Code --- -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Mon, May 3, 2010 at 13:15, Samuel Williams space.ship.travel...@gmail.com wrote: Dear Kyle, I've recevied the following program. You did a fantastic job

Re: [Haskell-cafe] Haskell and the Software design process

2010-05-04 Thread Kyle Murphy
enough to inherit contracts from functions used and display these derived contracts this would be a very simple way to find all the edge cases of your code. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Tue, May 4, 2010 at 12:56, John Lato jwl...@gmail.com wrote: On Tue

Re: [Haskell-cafe] Re: Learning about Programming Languages (specifically Haskell)

2010-05-03 Thread Kyle Murphy
, and passes them both to pass. -} run :: Int - [Door] run n = foldl (flip pass) (replicate n *Closed*) [0..n] main = print $ run 100 --- End Code --- -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Mon, May 3, 2010 at 06:43, Rafael Gustavo da Cunha Pereira Pinto

Re: [Haskell-cafe] Strict type system allows for a maximum number of programming errors to be caught at compile time.

2010-05-03 Thread Kyle Murphy
be higher. The only argument to support non-strict typing would be if you could show that it takes less time to track down runtime bugs than it does to fix compile time type errors, and any such claim I'd be highly skeptical of. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Kyle Murphy
That's also the approach Yi uses. I'm fairly certain there's a library on hackage that makes writing up programs in that style fairly trivial, although I can't remember the details right now. I'd look up Yi as a starting point. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat

Re: [Haskell-cafe] GSoC Project: A Haddock + Pandoc documentation tool

2010-04-09 Thread Kyle Murphy
in a similar direction. At the very least those of us not in both the web-devel and haskell-cafe mailing lists might want to check the other one out. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Fri, Apr 9, 2010 at 14:12, Evan Laforge qdun...@gmail.com wrote: 3) Configuration

Re: [Haskell-cafe] Happstack basic question

2010-03-11 Thread Kyle Murphy
accessed through the proxy). I don't know enough about happstack to answer his question, but I can see from the documentation you provided that there doesn't seem to be any way to specify address to bind to as Dmitry stated in his original e-mail. -R. Kyle Murphy -- Curiosity was framed, Ignorance

Re: [Haskell-cafe] Happstack basic question

2010-03-11 Thread Kyle Murphy
as didn't realize you could initialize a socket using the Network.Socket functions and just pass that instead. The example in your latest mail is much clearer. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Thu, Mar 11, 2010 at 09:35, Martin Kiefel m...@nopw.de wrote

Re: [Haskell-cafe] First time haskell - parse error!

2010-03-09 Thread Kyle Murphy
) in Just (s1 ++ s2 ++ s3 ++ s4) else Just Bad Guess -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Tue, Mar 9, 2010 at 17:42, Brent Yorgey byor...@seas.upenn.edu wrote: On Tue, Mar 09, 2010 at 08:42:44PM +0100, Sebastian Hungerecker wrote: On 09.03.2010 20:04

Re: [Haskell-cafe] Hoogle is great but ...

2009-10-26 Thread Kyle Murphy
I likewise agree this isn't a job for Hoogle, but on a related note see my previous post in here about needing better documentation (specifically a proper manual for most hackage pages, not just a bare bones API doc): http://www.haskell.org/pipermail/haskell-cafe/2009-October/067969.html -R. Kyle

Re: [Haskell-cafe] Is there a way to embed a Haskell interpreter/compiler in a browser. I think this would be a safer language than JavaScript.

2009-10-26 Thread Kyle Murphy
on something like that being available on any browser except your own. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Mon, Oct 26, 2009 at 03:22, Mathijs Kwik bluescreen...@gmail.com wrote: There used to be http://www.haskell.org/haskellwiki/Yhc/Javascript, which is a great plan

Re: [Haskell-cafe] How can i safely change the value of specified key ?

2009-10-22 Thread Kyle Murphy
use map or zip like so: map (\x - (x,x)) [1,2,3] -- applies a function to each member, in this case the lambda \x - (x,x) which just makes a tuple zip [1,2,3] [1,2,3] -- combines two lists into one by making each element of the joined list a tuple of one element from each list -R. Kyle Murphy

Re: [Haskell-cafe] why cannot i get the value of a IORef variable ?

2009-10-21 Thread Kyle Murphy
is why when you try to store [1,2,3] in the IORef you get back [(),(),()]. Try this instead and it should work: let aaa = unsafePerformIO $ newIORef ([] :: [Int]) -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Thu, Oct 22, 2009 at 01:02, zaxis z_a...@163.com wrote: let

Re: [Haskell-cafe] Re: Documentation (was: ANN: text 0.5, a major revision of the Unicode text library)

2009-10-19 Thread Kyle Murphy
://hackage.haskell.org/package/DeepArrow Bad API docs (but once again with a link to average manual/tutorial): http://hackage.haskell.org/package/actor -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat. On Mon, Oct 12, 2009 at 16:29, John Lato jwl...@gmail.com wrote: From: Derek