How does pattern matching work with HList?

I would like to pass a HList to a function and only match if a certain field had a certain value.

On Jan 6, 2006, at 7:14 AM, [EMAIL PROTECTED] wrote:


        *Test> :t accessor
        accessor :: (HasField l r v) => r -> l -> v

--
http://wagerlabs.com/





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

Reply via email to