Skip to content

Instantly share code, notes, and snippets.

@gjaldon
Created November 7, 2016 19:19
Show Gist options
  • Save gjaldon/1564596a68371d5625dbfd21ce0eac66 to your computer and use it in GitHub Desktop.
Save gjaldon/1564596a68371d5625dbfd21ce0eac66 to your computer and use it in GitHub Desktop.
File "canopy_store.ml", line 122, characters 37-39:
Error: This expression has type
Store.key ->
(unit -> string Lwt.t) ->
([> `Article of C.content_t
| `Config of string
| `Raw of string * Ptime.t
| `Redirect of Uri.t ]
as 'a)
Canopy_utils.KeyMap.t -> 'a Canopy_utils.KeyMap.t Lwt.t
but an expression was expected of type
Store.key -> Store.value Lwt.t -> 'b -> 'b Lwt.t
Type unit -> string Lwt.t is not compatible with type
Store.value Lwt.t
Command exited with code 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment