Is there a way in Daml/Haskell to export functions like java’s protected
? i.e. so they are only visible to a certain module(s)?
The reason I ask this is that I like to keep my test script
s in a separate file, but I often don’t want to export
things like ‘helper’ functions which are internal to the module.
I suppose I could move the ‘helper’ functions into a separate module to segregate the ‘public’ and ‘private’ API, but that still doesn’t hide the private functions.