[Haskell-cafe] Re: Richer (than ascii) notation for haskell source?

2008-05-14 Thread Patrick Surry
Lots of folk have suggested writing code with Unicode symbols, but that doesn't really get me where I'm thinking of. Back in the day, I spent many happy hours writing math(s) in amstex style, peppered with latex backslash references/macros for greek symbols, set operators as well as character

[Haskell-cafe] RE: Richer (than ascii) notation for haskell source?

2008-05-14 Thread Patrick Surry
Sorry, missed a mail digest: LyX and lhs2tex sound more like what I mean. Patrick -Original Message- From: Patrick Surry Sent: Wednesday, May 14, 2008 10:24 PM To: 'haskell-cafe@haskell.org' Subject: Re: Richer (than ascii) notation for haskell source? Lots of folk have suggested

[Haskell-cafe] Data structure to manage collection of sets with efficient lookup, intersection?

2008-05-05 Thread Patrick Surry
New to Haskell, with a mental block about how to represent this situation efficiently: I have an unknown function f which is defined on subsets of some universal set (say integers 1...N). I know the values of f for some subsets, and using those can infer values on other subsets. So what

[Haskell-cafe] Help understanding sharing

2008-04-14 Thread Patrick Surry
I'm new to Haskell and trying to get a better understanding of sharing (and ultimately memoization). I've read SOE and various of the tutorials, as well as browsing around the wiki and old mailing lists. Most of the examples of memoization seem to revolve around Fibonacci, and are based