[Haskell-cafe] GHC Platform-independent object files

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jul 27 09:52:40 UTC 2017


On 27 July 2017 at 19:30, Hugo Pacheco <hpacheco at gmail.com> wrote:
> Hi cafe,
>
> I am wondering if there is any easy way to distribute a Haskell
> module/library in a platform-independent manner without revealing the source
> code, that can be seamlessly linked with GHC?
> I am thinking about some sort of GHC object files or any intermediate
> representation such as C,LLVM or Haskell Core.
> My use case would be to release a small utility module as part of a student
> assignment without revealing its source code to students.

It's probably overkill, but maybe a Docker image containing the
compiled libraries and have the students do their work within the
image as well?

>
> Thanks,
> hugo
>
> --
> www.di.uminho.pt/~hpacheco
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list