module User:sig..end
type user = {
|
id : |
|
first_name : |
|
last_name : |
|
username : |
val create : id:int ->
first_name:string ->
?last_name:string option ->
?username:string option -> unit -> useruser in a concise manner
Read a user out of some JSON
val read : Yojson.Safe.json -> user