
24 Nov
2020
24 Nov
'20
10:29 p.m.
Hi Haskellers, In a Haskell learning project I'm looking at using a couple of Haskell packages (from Hackage) for linear algebra and graphics. I've got a strong feeling my choices of these libraries are going to change as the project progresses and to avoid having to change references to these library functions throughout my modules I'd like to "wrap" them in modules of my own. Can anyone point me to a project where a Haskell library has been idiomatically wrapped this way? I can see newtypes and "smart" constructors of the wrapped types will go some way towards this, but I suspect there's more techniques I haven't yet learned. Thanks in advance, Stu