Re: Too many words written on referential transparency in Clojure and Haskell

2015-04-22 Thread Joel Ericson
Speaking of definitions of equality: Writing a university project jvm to llvm 'compiler', I found myself designing a type in Haskell whose Ord and Eq instances 'naturally' got defined in such a way that "less than AND equal to" made sense. I doubt anyone's sanity except mine survived the project.

Re: unusual question: how do you get morale?(or moral support)

2013-05-14 Thread Joel Ericson
My life is mostly about music and playing with structure. Programming falls into the second category. Right now, I'm having difficulty getting a job since it's much more fun to play the violin and program than to apply for jobs. If I were to get a programming job where I were to do mundane tasks in

Re: Standard alias for partial?

2012-06-20 Thread Joel Ericson
I propose using ☃. I don't think it has any other uses yet. ;) On Tue, Jun 19, 2012 at 8:57 PM, Joel Ericson wrote: > Only case I can see where it doesn't "work". > > user=> (def % partial) > #'user/% > user=> (map #(% + %) [1 2 3]

Re: Standard alias for partial?

2012-06-20 Thread Joel Ericson
Only case I can see where it doesn't "work". user=> (def % partial) #'user/% user=> (map #(% + %) [1 2 3]) ;trying to use #(% + %) instead of #(partial + %) ClassCastException java.lang.Long cannot be cast to clojure.lang.IFn user/eval2/fn--3 (NO_SOURCE_FILE:2) ; (Also: my first post in this group