ocsigen / tutorial-deprecated

Deprecated. Please use repository tuto instead.
http://ocsigen.org/tuto/manual/
10 stars 17 forks source link

Precision about opened module. #40

Closed dannywillems closed 7 years ago

dannywillems commented 8 years ago

When we go in the documentation of Eliom_form_sigs.LINKS (http://ocsigen.org/eliom/dev/api/client/Eliom_form_sigs.LINKS, I supposed make_uri comes from this signature which is included in Eliom_content.Html.D), the make_uri signature has a labeled argument for the service, but we don't need to use this label, why?

Drup commented 8 years ago

As @vasilisp suggested in another PR, please use linkified module names.

As for not using the label, it may work, but it's kind of fishy ...

dannywillems commented 8 years ago

@Drup

use linkified module names

What do you mean?

EDIT: I see what you mean. I will do it.

dannywillems commented 8 years ago

@Drup I create it with {{{ }}} or with <<a_api project="..." subproject="..." | val f >>? There is no documentation about the syntax.

Drup commented 8 years ago

If you look a bit below, you can see this:

<<a_api project="eliom" subproject="server"|val Eliom_tools.F.head>>

That's the good syntax, be careful to change the project/subproject target when appropriate.