[Haskell-cafe] file name to module name

Corentin Dupont corentin.dupont at gmail.com
Wed Nov 2 08:57:44 UTC 2016


Hi there,
is there somewhere in the libraries a function to transform a file name
into a module name?
for exemple: "src/Data/List.hs"  --> "Data.List"

Thanks!
Corentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161102/02670456/attachment.html>


More information about the Haskell-Cafe mailing list