[Haskell-cafe] GHC Platform-independent object files

Hugo Pacheco hpacheco at gmail.com
Thu Jul 27 10:26:07 UTC 2017


That would work, but seems too limitative.
I was hoping more for some sufficiently-obfuscated intermediate files that
GHC could read (e.g., .hc).

On Thu, Jul 27, 2017 at 10:52 AM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:

> 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
>



-- 
www.di.uminho.pt/~hpacheco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170727/61321db2/attachment.html>


More information about the Haskell-Cafe mailing list