Re: [Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-20 Thread Alex Jacobson
My experience with the mac stuff is that you are just better off building everything yourself. It runs in the background while you go eat dinner and then you are done. -Alex- Hugo Pacheco wrote: The binaries do work in Leopard, but it misses all library files, such as System.IO. How can I bu

[Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-13 Thread Alex Jacobson
Will this also work with Tiger or do I have to upgrade? -Alex- Manuel M T Chakravarty wrote: Ian Lynagh wrote: = The (Interactive) Glasgow Haskell Compiler -- version 6.8.2 ==

[Haskell] recursive deriving

2007-11-20 Thread Alex Jacobson
When you want automated deriving of show/read etc., you need all the components of your type also to be instances of show/read but you won't want to *require* them to be automatically generated verions. Standalone deriving does the wrong thing here. Standalone deriving should not cause an ove

Re: [Haskell] boilerplate boilerplate

2007-05-23 Thread Alex Jacobson
Actually independent deriving would help a lot but am not sure of the syntax. could it be something like derive (Ord,Eq,Read,Show,Typeable) (BlogEntry Name Title Body Emai) Perhaps this is what Neil Mitchell was suggesting with Derive that I was not understanding. If I can use derive like

Re: [Haskell] boilerplate boilerplate

2007-05-22 Thread Alex Jacobson
I'm not sure I understand how this solves my problem. Its possible that I can use Derive not to need all the newtype declarations at all, but, if I do need them, I'm not sure how Derive reduces the overall amount of boilerplate here. Perhaps I should define a TH function that takes $(ne

[Haskell] boilerplate boilerplate

2007-05-22 Thread Alex Jacobson
Consider this module for a blog entry that I will want to put in various generic collections that require Ord {-# OPTIONS -fglasgow-exts #-} module Blog.Types where import Data.Typeable import Data.Generics data BlogEntry = Entry EpochSeconds Name Email Title Body