
4 May
2010
4 May
'10
1 p.m.
Hello
I'm pleased to announce the release of my new library, named "has", written to aim to ease pain at inconvinience of Haskell's build-in records.
Hmm, nice work, looks interesting.
Thanks!
You can use the has in three steps (without counting installation).
1. Write {-# OPTIONS_GHC -fglasgow-exts #-} top of your code,
This is going out of style. It would be nice to know specifically what LANGUAGE extensions are necessary.
Ah, yes. {-# LANGUAGE TypeFamilies #-} is enough for that literate haskell file, But the has depends GHC's language extensions such as UndecidableInstances, OverlappingInstances and TypeFamilies. But I'll remove OPTIONS_GHC pragma from library codes. Thank you for your suggestion. -nwn