[Haskell-beginners] Placement in module hierarchy

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sun Oct 23 15:37:26 CEST 2011


On Sun, 23 Oct 2011 12:35:10 +0200, Moritz Fischer  
<haskell at pure-entropy.org> wrote:

> Hi list,
>
> I've been working on bindings for pcsclite. The library allows for  
> communicating with smartcard readers and RFID.
> (My final goal is to hook it up to talk to a Mifare DESFire RFID card.)
>
> Where would you place something like this?
>
> System.Smartcard?

I would place common functionality for all types of Mifare cards in  
System.SmartCard or System.IO.SmartCard
and DESFire specific functionality in System.SmartCard.DESFire or  
System.IO.SmartCard.DESFire

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--



More information about the Beginners mailing list