Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  [erlyweb] private component functions

Cy6erBr4in
Posted: Sun Dec 07, 2008 11:50 pm Reply with quote
Joined: 16 Oct 2008 Posts: 9
Hi all!

Actually I have a little experience with Erlyweb, and I`m going to make my first live project.

As far as I understand from documentation I can declare for private usage only whole module (component), but the question is - is it possible to have some private functions in the module instead of private module?

Thanks in advance!

--
With Best Regards,
Alexander Dergachev

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---


Post received from mailinglist
View user's profile Send private message
Guest
Posted: Tue Dec 09, 2008 3:51 am Reply with quote
Guest
Yeah, sure, simply don't export the functions. In other words, use an
-export() directive at the top of the file with only the public
functions of a module.

On Sun, Dec 7, 2008 at 3:50 PM, Alexander Dergachev
<cy6erbr4in@gmail.com> wrote:
> Hi all!
>
> Actually I have a little experience with Erlyweb, and I`m going to make my
> first live project.
>
> As far as I understand from documentation I can declare for private usage
> only whole module (component), but the question is - is it possible to have
> some private functions in the module instead of private module?
>
>
> Thanks in advance!
>
> --
> With Best Regards,
> Alexander Dergachev
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum