On 5/5/11 10:36 AM, Scott Kilpatrick wrote:
I'm looking for "real" code that uses the kind of GHC rewrite rule
that specializes a polymorphic function with another one, as described
here<http://www.haskell.org/ghc/docs/latest/html/users_guide/rewrite-
rules.html#rule-spec>.  Can anyone point me to any popular packages in
Hackage that make use of this?

Perhaps not the easiest example to look through, but just check out the base package. In particular, there are a number of functions which get specialized implementations for Int, Int#, Word, etc.

--
Live well,
~wren

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to