Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

README about creating keys seems wrong #114

Closed
talex5 opened this issue Mar 15, 2017 · 0 comments
Closed

README about creating keys seems wrong #114

talex5 opened this issue Mar 15, 2017 · 0 comments

Comments

@talex5
Copy link
Contributor

talex5 commented Mar 15, 2017

The example in the README says to use:

let lang_key =
  let doc = Key.Doc.create
      ~doc:"The default language for the application." [ "l" ; "lang" ]
  in
  Key.create ~doc ~stage:`Both ~default:"en" "language" Key.Desc.string

It's not clear what Key is here. Maybe it is Mirage.Key or Functoria_key? But neither has a submodule called Doc.

samoht added a commit to samoht/functoria that referenced this issue Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant